Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv surf_parse -> surfxml_parse
[simgrid.git] / src / Makefile.am
index 02f4d6f..bc304b4 100644 (file)
@@ -20,6 +20,7 @@ EXTRA_DIST= \
         xbt/dict_private.h \
         xbt/heap_private.h \
         xbt/fifo_private.h \
+        xbt/graph_private.h \
         xbt/context_private.h xbt/context_win32.h xbt/context_win32.c\
         \
        surf/maxmin_private.h \
@@ -28,7 +29,7 @@ EXTRA_DIST= \
        surf/cpu_private.h \
        surf/workstation_private.h \
        surf/surf_timer_private.h \
-       surf/surf_parse.c \
+       surf/surfxml_parse.c \
        surf/surfxml.l \
        surf/surfxml.c \
        surf/surfxml.dtd \
@@ -39,7 +40,7 @@ EXTRA_DIST= \
        include/surf/maxmin.h \
        include/surf/trace_mgr.h \
        include/surf/surf.h \
-       include/surf/surf_parse_private.h \
+       include/surf/surfxml_parse_private.h \
        \
        include/xbt/xbt_portability.h \
        include/xbt/context.h \
@@ -112,6 +113,7 @@ COMMON_SRC=\
   xbt/heap.c                                                                 \
   xbt/fifo.c                                                                 \
   xbt/swag.c                                                                 \
+  xbt/graph.c                                                                \
   xbt/set.c                                                                  \
   xbt/module.c                                                               \
   xbt/config.c                                                               \
@@ -148,7 +150,7 @@ SG_SRC=  \
   surf/maxmin.c                                                              \
   surf/trace_mgr.c                                                           \
   surf/surf.c                                                                \
-  surf/surf_parse.c                                                          \
+  surf/surfxml_parse.c                                                          \
   surf/cpu.c   surf/network.c   surf/workstation.c                           \
   surf/surf_timer.c                                                               \
   surf/network_dassf.c                                                       \
@@ -217,6 +219,15 @@ config_unit.c: xbt/config.c
        @top_srcdir@/tools/sg_unit_extractor.pl $^
 
 simgrid_units_main.c: $(TEST_UNITS)
+
+else
+
+$(TEST_UNITS) simgrid_units_main.c: 
+       @echo "ERROR: Test units not generated."
+       @echo "ERROR: If you are using a CVS checkout, configure with the --enable-maintainer-mode flag"
+       @echo "ERROR: If not, please report the bug to the simgrid-devel mailing list."
+       @exit 1
+
 endif
 
 ###