X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/03acfe2ff713206c4de1e93a005e86b0fbae9a74..3c072dea92bbf0e4df46b1d8d56cd62e68883b33:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index c3d36ec3e4..ed9474a827 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -195,10 +195,6 @@ SURF_SRC= \ surf/cpu_im.c \ xbt/xbt_sg_stubs.c -if CONTEXT_THREADS - SURF_SRC += xbt/xbt_os_thread.c -endif - GTNETS_SRC= \ surf/gtnets/gtnets_simulator.cc \ surf/gtnets/gtnets_topology.cc \ @@ -217,9 +213,11 @@ SIMIX_SRC= \ simix/smx_network.c if CONTEXT_THREADS - SURF_SRC += simix/smx_context_thread.c + SURF_SRC += xbt/xbt_os_thread.c simix/smx_context_thread.c + EXTRA_DIST += simix/smx_context_sysv.c else SURF_SRC += simix/smx_context_sysv.c + EXTRA_DIST += xbt/xbt_os_thread.c simix/smx_context_thread.c endif SMPI_SRC= \ @@ -382,6 +380,12 @@ else EXTRA_DIST+=$(JMSG_C_SRC) $(JMSG_JAVA_SRC) $(MSG_SRC) endif +LUA_SRC= simix/smx_context_lua.c bindings/lua/Msglua.c +if HAVE_LUA + simgrid_sources += $(LUA_SRC) +else + EXTRA_DIST += $(LUA_SRC) +endif ## ## Compile the libs CLEANFILES=supernovae_sg.c supernovae_gras.c supernovae_smpi.c