Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Split the AC_CONFIG_FILES macro call to ease a future implementation of GRAMINE
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Sep 2006 21:55:28 +0000 (21:55 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Sep 2006 21:55:28 +0000 (21:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2813 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac

index 3e1c24b..d05da40 100644 (file)
@@ -260,11 +260,34 @@ fi
 #  src/amok/Makefile
 
 SG_CONFIGURE_PART(Generating files...)
 #  src/amok/Makefile
 
 SG_CONFIGURE_PART(Generating files...)
+
+# Core of the libraries
+
 AC_CONFIG_FILES([
   Makefile
   include/Makefile
   src/Makefile
   src/ucontext_stack.h
 AC_CONFIG_FILES([
   Makefile
   include/Makefile
   src/Makefile
   src/ucontext_stack.h
+])
+
+# Testsuite
+
+AC_CONFIG_FILES([  
+  testsuite/Makefile
+  testsuite/run_tests    
+  testsuite/gras/trp_tcp_usage  testsuite/gras/trp_file_usage
+],[
+    for file in                                                 \
+     testsuite/run_tests                                        \
+     testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
+    ; do                                                        \
+      test -e $file && chmod +x $file;                          \
+    done
+])
+
+# Examples, documentation and tools
+
+AC_CONFIG_FILES([
   examples/Makefile 
     examples/msg/Makefile           examples/msg/run_msg_test
     examples/simdag/Makefile       examples/simdag/test_simdag
   examples/Makefile 
     examples/msg/Makefile           examples/msg/run_msg_test
     examples/simdag/Makefile       examples/simdag/test_simdag
@@ -289,13 +312,8 @@ AC_CONFIG_FILES([
     doc/Doxyfile
   tools/graspe-slave            tools/Makefile
     tools/gras/Makefile
     doc/Doxyfile
   tools/graspe-slave            tools/Makefile
     tools/gras/Makefile
-  testsuite/Makefile
-  testsuite/run_tests    
-  testsuite/gras/trp_tcp_usage  testsuite/gras/trp_file_usage
 ],[
     for file in                                                 \
 ],[
     for file in                                                 \
-     testsuite/run_tests                                        \
-     testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
      tools/graspe-slave           tools/graspe-master           \
      \
      examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
      tools/graspe-slave           tools/graspe-master           \
      \
      examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \