X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/762740361e42dd14f5d24d239a29a1e08895ef64..d32b7bd0e7f81e57a139a5bcd719d04d2825b1a4:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index dca45a9ebd..83066750c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -91,7 +91,9 @@ EXTRA_DIST= \ smpi/smpi_mpi_dt_private.h \ smpi/README \ \ - mk_supernovae.sh + mk_supernovae.sh \ + \ + bindings/ruby_bindings.h #LIBRARY_VERSION= 0:0:0 # | | | @@ -248,6 +250,9 @@ JMSG_C_SRC = \ JMSG_JAVA_SRC = \ java/simgrid/msg/MsgException.java \ java/simgrid/msg/JniException.java \ + java/simgrid/msg/TransferFailureException.java \ + java/simgrid/msg/HostFailureException.java \ + java/simgrid/msg/TimeoutException.java \ java/simgrid/msg/NativeException.java \ java/simgrid/msg/HostNotFoundException.java \ java/simgrid/msg/ProcessNotFoundException.java \ @@ -327,7 +332,7 @@ endif ### Declare the library content ### -lib_LTLIBRARIES= libsimgrid.la libgras.la libsmpi.la +lib_LTLIBRARIES= libsimgrid.la libgras.la libsmpi.la gras_sources=$(XBT_SRC) $(GRAS_COMMON_SRC) $(GRAS_RL_SRC) $(AMOK_SRC) simgrid_sources=$(XBT_SRC) $(SURF_SRC) $(GTNETS_USED) \ @@ -347,6 +352,13 @@ libsmpi_la_LIBADD = libsimgrid.la libsmpi_la_SOURCES = $(SMPI_SRC) libsmpi_la_LDFLAGS = $(VERSION_INFO) @SMPI_DEP@ @LD_DYNAMIC_FLAGS@ -lm +if HAVE_RUBY +lib_LTLIBRARIES += simgrid_ruby.la +simgrid_ruby_la_LIBADD = libsimgrid.la +simgrid_ruby_la_SOURCES = bindings/ruby/simgrid_ruby.c +simgrid_ruby_la_LDFLAGS = $(VERSION_INFO) @LD_DYNAMIC_FLAGS@ -lm -module +endif + # Windows users (at least, MSVC ones) need a def file. if IS_WINDOWS libgras_la_LDFLAGS += -Wl,--output-def,libgras.def @@ -377,7 +389,7 @@ else EXTRA_DIST+=$(JMSG_C_SRC) $(JMSG_JAVA_SRC) $(MSG_SRC) endif -LUA_SRC= simix/smx_context_lua.c bindings/lua/Msglua.c +LUA_SRC= simix/smx_context_lua.c bindings/lua/simgrid_lua.c #bindings/lua/Msglua.c if HAVE_LUA simgrid_sources += $(LUA_SRC) else @@ -387,7 +399,8 @@ endif RUBY_SRC= simix/smx_context_ruby.c \ bindings/ruby/rb_msg_process.c \ bindings/ruby/rb_msg_host.c \ - bindings/ruby/rb_msg_task.c + bindings/ruby/rb_msg_task.c \ + bindings/ruby/rb_application_handler.c if HAVE_RUBY simgrid_sources += $(RUBY_SRC) else