portable.h \
\
xbt/mallocator_private.h \
- xbt/dynar_private.h \
xbt/dict_private.h \
xbt/heap_private.h \
xbt/fifo_private.h \
surf/gtnets/gtnets_interface.h \
surf/gtnets/gtnets_simulator.h \
surf/gtnets/gtnets_topology.h \
+ surf/cpu_ti_private.h \
\
include/surf/surf_resource.h \
include/surf/datatypes.h \
include/surf/surf.h \
include/surf/surfxml_parse_private.h \
include/surf/random_mgr.h \
+ include/surf/surf_resource_lmm.h \
\
include/xbt/wine_dbghelp.h \
include/xbt/xbt_os_time.h \
msg/mailbox.h \
\
simdag/private.h \
+ simdag/dax.dtd \
\
gras/DataDesc/ddt_parse.yy.l \
gras/Virtu/virtu_rl.h \
\
smpi/private.h \
smpi/smpi_coll_private.h \
+ smpi/smpi_mpi_dt_private.h \
smpi/README
#LIBRARY_VERSION= 0:0:0
surf/cpu.c surf/network.c surf/network_constant.c surf/workstation.c \
surf/surf_model_timer.c \
surf/workstation_ptask_L07.c \
+ surf/cpu_ti.c \
+ surf/cpu_im.c \
xbt/xbt_sg_stubs.c
if CONTEXT_THREADS
surf/gtnets/gtnets_interface.cc \
surf/network_gtnets.c
-# Separated because src/gras/rl_stubs also define the function xbt_context_mod_init() and xbt_context_mod_exit()
-# so there is an implementation of these functions in the simgrid library and an implementatin in the gras library
-CTX_SRC= simix/smx_context.c
-
SIMIX_SRC= \
simix/smx_global.c \
simix/smx_deployment.c \
simix/smx_environment.c \
simix/smx_host.c \
simix/smx_process.c \
+ simix/smx_context.c \
simix/smx_action.c \
- simix/smx_synchro.c
+ simix/smx_synchro.c \
+ simix/smx_network.c
if CONTEXT_THREADS
SURF_SRC += simix/smx_context_thread.c
smpi/smpi_sender.c \
smpi/smpi_receiver.c \
smpi/smpi_util.c \
- smpi/smpi_coll.c
+ smpi/smpi_coll.c \
+ smpi/smpi_mpi_dt.c
MSG_SRC= msg/msg_config.c \
msg/task.c msg/host.c msg/m_process.c msg/gos.c \
java/simgrid/msg/Sem.java
-SIMDAG_SRC= simdag/sd_global.c simdag/sd_link.c simdag/sd_task.c simdag/sd_workstation.c
+SIMDAG_SRC= simdag/sd_global.c simdag/sd_link.c simdag/sd_task.c simdag/sd_workstation.c \
+ simdag/sd_daxloader.c
GRAS_COMMON_SRC= \
gras/gras.c \
libgras_la_LDFLAGS = -no-undefined $(VERSION_INFO) @GRAS_DEP@ @LD_DYNAMIC_FLAGS@ -lm
libsimgrid_la_SOURCES = $(XBT_SRC) $(SURF_SRC) $(GTNETS_USED) \
- $(SIMIX_SRC) $(CTX_SRC) \
- $(MSG_SRC) $(SIMDAG_SRC) \
+ $(SIMIX_SRC) $(MSG_SRC) $(SIMDAG_SRC) \
$(GRAS_COMMON_SRC) $(GRAS_SG_SRC) $(AMOK_SRC)
libsimgrid_la_LDFLAGS = -no-undefined $(VERSION_INFO) @SIMGRID_DEP@ @LD_DYNAMIC_FLAGS@ -lm
# -Wl,--entry -Wl,simgrid_version
libsimgrid_la_SOURCES += $(JMSG_C_SRC) # add the binding support to the library
clean-local:
- -rm -rf .classes
+ -rm -rf .classes simgrid.jar
jardir = $(prefix)/jar
jar_DATA = simgrid.jar
cp $(srcdir)/surf/simgrid.dtd .classes/surf
$(JAR) cvf simgrid.jar -C .classes .
else
-EXTRA_DIST+=$(JMSG_C_SRC) $(MSG_SRC)
+EXTRA_DIST+=$(JMSG_C_SRC) $(JMSG_JAVA_SRC) $(MSG_SRC)
endif
if GRAMINE_MODE
BUILT_SOURCES=../include/surf/simgrid_dtd.h surf/simgrid_dtd.c \
../include/xbt/graphxml.h xbt/graphxml.c \
+ simdag/dax_dtd.h simdag/dax_dtd.c \
gras/DataDesc/ddt_parse.yy.c \
$(TEST_UNITS) @builddir@/simgrid_units_main.c
xbt/graphxml.c: xbt/graphxml.l
set -e;mkdir -p `dirname $@`; @LEX@ -o$@ -Pxbt_graph_parse_ --noline $^
sed 's/#include <unistd.h>/#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)\n# ifndef __STRICT_ANSI__\n# include <io.h>\n# include <process.h>\n# endif\n#else\n# include <unistd.h>\n#endif/g' -i $@
+simdag/dax_dtd.c: simdag/dax_dtd.l
+ set -e;mkdir -p `dirname $@`; @LEX@ -o$@ -Pdax_ --noline $^
+ sed 's/#include <unistd.h>/#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)\n# ifndef __STRICT_ANSI__\n# include <io.h>\n# include <process.h>\n# endif\n#else\n# include <unistd.h>\n#endif/g' -i $@
if HAVE_FLEXML
surf/simgrid_dtd.l: $(srcdir)/surf/simgrid.dtd
set -e; flexml -P graphxml --sysid=graphxml.dtd -H $@ -L $^
sed 's/extern *\([^ ]*[ \*]*\)/XBT_PUBLIC_DATA(\1) /' -i $@
sed 's/XBT_PUBLIC_DATA(\([^)]*\)) *\([^(]*\)(/XBT_PUBLIC(\1) \2(/' -i $@
+
+simdag/dax_dtd.l: simdag/dax.dtd
+ set -e; flexml -b 1000000 --root-tags adag -P dax_ --sysid=dax.dtd -S $@ -L $^
+ sed -i 's/SET(DOCTYPE)/SET(ROOT_dax__adag)/' simdag/dax_dtd.l # DOCTYPE not mandatory
+simdag/dax_dtd.h: simdag/dax.dtd
+ set -e; flexml --root-tags adag -P dax_ --sysid=dax.dtd -H $@ -L $^
+ sed 's/extern *\([^ ]*[ \*]*\)/XBT_PUBLIC_DATA(\1) /' -i $@
+ sed 's/XBT_PUBLIC_DATA(\([^)]*\)) *\([^(]*\)(/XBT_PUBLIC(\1) \2(/' -i $@
else
$(top_srcdir)/include/surf/simgrid_dtd.h surf/simgrid_dtd.l: $(top_srcdir)/src/surf/simgrid.dtd
@echo "ERROR: Please install it, or if you didn't modify this file, try this:"
@echo "ERROR: touch include/xbt/graphxml.h src/xbt/graphxml.l"
@exit 1
+simdag/dax_dtd.h simdag/dax_dtd.l: simdag/dax_dtd.dtd
+ @echo "ERROR: src/simdag/dax.dtd was modified, but the flexml program was not detected"
+ @echo "ERROR: Please install it, or if you didn't modify this file, try this:"
+ @echo "ERROR: touch src/simdag/dax_dtd.h src/simdag/dax_dtd.l"
+ @exit 1
endif
endif
endif