Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hello module xbt/queue (classical producer/consumer synchronization scheme)
[simgrid.git] / src / Makefile.am
index f7a5c5d..3a57627 100644 (file)
@@ -49,7 +49,7 @@ EXTRA_DIST= \
        include/surf/surfxml_parse_private.h \
        \
        include/xbt/xbt_portability.h \
-       include/xbt/xbt_thread.h \
+       include/xbt/xbt_os_thread.h \
        include/xbt/context.h \
        \
        msg/private.h \
@@ -127,12 +127,23 @@ XBT_SRC=\
   xbt/graph.c                                                                \
   xbt/set.c                                                                  \
   xbt/xbt_matrix.c                                                           \
+  \
+  xbt/queue.c                                                                \
+  \
   xbt/xbt_peer.c                                                             \
+  \
   xbt/xbt_main.c                                                             \
+  \
   xbt/config.c                                                               \
   xbt/cunit.c                                                                \
   xbt/graphxml_parse.c
 
+XBT_RL_SRC = \
+  xbt/xbt_rl_synchro.c
+
+XBT_SG_SRC = \
+  xbt/xbt_sg_synchro.c
+
 SURF_SRC= \
   surf/maxmin.c                                                              \
   surf/lagrange.c                                                            \
@@ -152,7 +163,7 @@ GTNETS_SRC= \
 
 # Separated because we don't want it in libsimgrid4java
 CTX_SRC= xbt/context.c
-JCTX_SRC= java/jxbt_context.c java/jxbt_context.h xbt/xbt_thread.c
+JCTX_SRC= java/jxbt_context.c java/jxbt_context.h xbt/xbt_os_thread.c
 
 SIMIX_SRC= \
   simix/smx_global.c \
@@ -209,7 +220,7 @@ GRAS_COMMON_SRC= \
   gras/DataDesc/ddt_parse.c           gras/DataDesc/ddt_parse.yy.c         gras/DataDesc/ddt_parse.yy.h
 
 GRAS_RL_SRC= \
-  gras/rl_stubs.c                     xbt/xbt_thread.c                    \
+  gras/rl_stubs.c                     xbt/xbt_os_thread.c                    \
   \
   gras/Transport/rl_transport.c          \
   gras/Transport/transport_plugin_file.c   gras/Transport/transport_plugin_tcp.c  \
@@ -219,6 +230,8 @@ GRAS_RL_SRC= \
   gras/Virtu/rl_dns.c\
   \
   gras/Msg/rl_msg.c
+  
+GRAS_RL_SRC+=$(XBT_RL_SRC)
 
 GRAS_SG_SRC= gras/Transport/sg_transport.c  gras/Transport/transport_plugin_sg.c        \
   \
@@ -226,9 +239,10 @@ GRAS_SG_SRC= gras/Transport/sg_transport.c  gras/Transport/transport_plugin_sg.c
   gras/Virtu/sg_process.c        gras/Virtu/sg_time.c     \
   gras/Virtu/sg_dns.c\
   \
-  gras/sg_stubs.c                         \
   gras/Msg/sg_msg.c
 
+GRAS_SG_SRC+=$(XBT_SG_SRC)
+
 AMOK_SRC= \
   amok/amok_base.c \
   amok/Bandwidth/bandwidth.c amok/Bandwidth/saturate.c \