From d025d7c1cb392baeaaed4b058f0ec82b9cb11fde Mon Sep 17 00:00:00 2001 From: alegrand Date: Mon, 26 Jun 2006 12:08:48 +0000 Subject: [PATCH] Cosmetics + adding simdag to the main compilation branch. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2431 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- configure.ac | 1 + examples/Makefile.am | 2 +- examples/simdag/Makefile.am | 10 ++++++++++ include/Makefile.am | 3 +++ src/Makefile.am | 13 +++++++++---- 5 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 examples/simdag/Makefile.am diff --git a/configure.ac b/configure.ac index 5843484dfc..a398013903 100644 --- a/configure.ac +++ b/configure.ac @@ -264,6 +264,7 @@ AC_CONFIG_FILES([ src/ucontext_stack.h examples/Makefile examples/msg/Makefile examples/msg/run_msg_test + examples/simdag/Makefile examples/gras/Makefile examples/gras/ping/Makefile examples/gras/ping/test_sg examples/gras/ping/test_rl examples/gras/rpc/Makefile examples/gras/rpc/test_sg examples/gras/rpc/test_rl diff --git a/examples/Makefile.am b/examples/Makefile.am index 37b3fb285a..30707eb747 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS= msg gras amok +SUBDIRS= msg gras amok simdag include $(top_srcdir)/acmacro/dist-files.mk diff --git a/examples/simdag/Makefile.am b/examples/simdag/Makefile.am new file mode 100644 index 0000000000..b29a672bb5 --- /dev/null +++ b/examples/simdag/Makefile.am @@ -0,0 +1,10 @@ +INCLUDES= -I$(top_srcdir)/include +AM_CFLAGS=-g + +#TESTS=run_msg_test +check_PROGRAMS=sd_test + +sd_test_SOURCES= sd_test.c +sd_test_LDADD= $(top_builddir)/src/libsimgrid.la + +include $(top_srcdir)/acmacro/dist-files.mk diff --git a/include/Makefile.am b/include/Makefile.am index 89efd8a2e0..12e39aea8f 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -21,6 +21,9 @@ nobase_include_HEADERS = \ msg/msg.h \ msg/datatypes.h \ \ + simdag/simdag.h \ + simdag/datatypes.h \ + \ surf/surfxml_parse.h \ surf/surfxml.h \ \ diff --git a/src/Makefile.am b/src/Makefile.am index f6b67794a2..3748c59b8e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,6 +52,8 @@ EXTRA_DIST= \ \ msg/private.h \ \ + simdag/private.h \ + \ gras/Transport/transport_interface.h \ gras/Virtu/virtu_interface.h gras/Virtu/virtu_private.h\ gras/Virtu/virtu_rl.h gras/Virtu/virtu_sg.h \ @@ -153,14 +155,14 @@ RL_SRC= \ gras/Msg/rl_msg.c SG_SRC= \ - xbt/context.c \ + xbt/context.c \ \ surf/maxmin.c \ surf/trace_mgr.c \ surf/surf.c \ - surf/surfxml_parse.c \ + surf/surfxml_parse.c \ surf/cpu.c surf/network.c surf/workstation.c \ - surf/surf_timer.c \ + surf/surf_timer.c \ surf/network_dassf.c \ surf/workstation_KCCFLN05.c \ \ @@ -168,7 +170,10 @@ SG_SRC= \ msg/task.c msg/host.c msg/m_process.c msg/gos.c \ msg/global.c msg/environment.c msg/deployment.c \ \ - gras/Transport/sg_transport.c gras/Transport/transport_plugin_sg.c \ + simdag/sd_global.c simdag/sd_link.c simdag/sd_task.c \ + simdag/sd_workstation.c \ + \ + gras/Transport/sg_transport.c gras/Transport/transport_plugin_sg.c \ \ gras/Virtu/sg_emul.c \ gras/Virtu/sg_process.c gras/Virtu/sg_time.c \ -- 2.20.1