Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Wed, 30 May 2012 10:30:41 +0000 (12:30 +0200)
committerSamuel Lepetit <samuel.lepetit@inria.fr>
Wed, 30 May 2012 10:30:41 +0000 (12:30 +0200)
buildtools/Cmake/DefinePackages.cmake
include/xbt/RngStream.h [moved from src/rngstreams/RngStream.h with 100% similarity]
src/xbt/RngStream.c [moved from src/rngstreams/RngStream.c with 99% similarity]

index 948d959..ef6012d 100644 (file)
@@ -197,6 +197,7 @@ set(XBT_SRC
        src/xbt/xbt_socket.c
        src/xbt/xbt_socket_private.h
        src/xbt/xbt_trp_plugin_tcp.c
+       src/xbt/RngStream.c
 )
 
 if(HAVE_MMAP)
@@ -391,11 +392,6 @@ set(MC_SRC
        src/mc/mc_liveness.c
 )
 
-set(RNGSTREAM_SRC
-       src/rngstreams/RngStream.h
-       src/rngstreams/RngStream.c
-)
-
 set(headers_to_install
        include/xbt/misc.h
        include/xbt/sysdep.h
@@ -437,6 +433,7 @@ set(headers_to_install
        include/xbt/socket.h
        include/xbt/file_stat.h
        include/xbt/xbt_os_thread.h
+  include/xbt/RngStream.h
        include/simgrid/platf.h
        include/simgrid/modelchecker.h
        include/simgrid/simix.h
@@ -524,7 +521,6 @@ set(simgrid_sources
        ${AMOK_SRC}
        ${BINDINGS_SRC}
        ${JEDULE_SRC}
-       ${RNGSTREAM_SRC}
 )
 
 if(HAVE_MC)
similarity index 99%
rename from src/rngstreams/RngStream.c
rename to src/xbt/RngStream.c
index eb4f695..fb81143 100644 (file)
@@ -12,7 +12,7 @@
 \***********************************************************************/
 
 
-#include "RngStream.h"
+#include "xbt/RngStream.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>