Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the include into EXTRA DIST package.
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
index 3371adb..b3b8e89 100644 (file)
@@ -8,7 +8,6 @@ set(EXTRA_DIST
        src/xbt/fifo_private.h
        src/xbt/graph_private.h
        src/xbt/graphxml_parse.c
-       src/xbt/graphxml.l
        src/xbt/graphxml.c
        src/xbt/graphxml.dtd
        src/xbt/log_private.h
@@ -40,7 +39,6 @@ set(EXTRA_DIST
        src/surf/trace_mgr_private.h
        src/surf/surf_private.h
        src/surf/surfxml_parse.c
-       src/surf/simgrid_dtd.l
        src/surf/simgrid_dtd.c
        src/surf/simgrid.dtd
        src/surf/network_private.h
@@ -56,6 +54,7 @@ set(EXTRA_DIST
        src/include/surf/trace_mgr.h
        src/include/surf/surf.h
        src/include/surf/surfxml_parse_private.h
+       src/include/surf/surfxml_parse_values.h
        src/include/surf/random_mgr.h
        src/include/surf/surf_resource_lmm.h
        src/include/xbt/wine_dbghelp.h
@@ -68,7 +67,6 @@ set(EXTRA_DIST
        src/msg/mailbox.h
        src/simdag/private.h
        src/simdag/dax.dtd
-       src/simdag/dax_dtd.l
        src/simdag/dax_dtd.h
        src/simdag/dax_dtd.c
        src/gras/DataDesc/ddt_parse.yy.l
@@ -90,7 +88,20 @@ set(EXTRA_DIST
        src/smpi/private.h
        src/smpi/smpi_mpi_dt_private.h
        src/smpi/README
-       src/mk_supernovae.pl
+       
+       examples/gras/ping/ping.h
+       examples/gras/console/ping.h
+       examples/gras/mmrpc/mmrpc.h
+
+       tools/gras/gras_stub_generator.h
+       tools/tesh/run_context.h  
+       tools/tesh/tesh.h
+       
+       src/surf/network_ns3_private.h
+       src/surf/ns3/ns3_interface.h
+       src/surf/ns3/ns3_simulator.h
+       src/surf/ns3/my-point-to-point-helper.h
+       src/surf/ns3/red-queue.h
 )
 
 set(XBT_RL_SRC 
@@ -184,6 +195,14 @@ set(GTNETS_SRC
        src/surf/network_gtnets.c
 )
 
+set(NS3_SRC
+       src/surf/network_ns3.c
+       src/surf/ns3/ns3_interface.cc
+       src/surf/ns3/ns3_simulator.cc
+       src/surf/ns3/red-queue.cc
+       src/surf/ns3/my-point-to-point-helper.cc
+)
+       
 set(SURF_SRC 
        src/surf/surf_model.c
        src/surf/surf_action.c
@@ -303,6 +322,8 @@ set(LUA_SRC
        src/bindings/lua/simgrid_lua.c
        src/bindings/lua/lua_stub_generator.c
        src/bindings/lua/lua_console.c
+        src/bindings/lua/lua_utils.c
+        src/bindings/lua/lua_state_cloner.c
 )
 
 set(TRACING_SRC
@@ -313,8 +334,6 @@ set(TRACING_SRC
        src/instr/instr_paje_trace.c
        src/instr/instr_msg_task.c
        src/instr/instr_msg_process.c
-       src/instr/instr_msg_volume.c
-       src/instr/instr_smx.c
        src/instr/instr_surf.c
        src/instr/instr_smpi.c
        src/instr/instr_simdag.c
@@ -350,7 +369,7 @@ set(RNGSTREAM_SRC
        src/rngstreams/RngStream.c
 )
 
-set(install_HEADERS
+set(headers_to_install
        include/xbt/misc.h
        include/xbt/sysdep.h
        include/xbt/virtu.h
@@ -370,6 +389,7 @@ set(install_HEADERS
        include/xbt/graph.h
        include/xbt/fifo.h
        include/xbt/swag.h
+       include/xbt/lib.h
        include/xbt/matrix.h
        include/xbt/peer.h
        include/xbt/config.h
@@ -390,11 +410,12 @@ set(install_HEADERS
        include/simdag/simdag.h
        include/simdag/datatypes.h
        include/smpi/smpi.h
-       ${CMAKE_CURRENT_BINARY_DIR}/include/smpi/smpif.h
        include/smpi/mpi.h
        include/smpi/mpif.h
+       include/smpi/smpi_cocci.h
        include/surf/surfxml_parse.h
        include/surf/simgrid_dtd.h
+       include/surf/surf_routing.h
        include/gras/datadesc.h
        include/gras/transport.h
        include/gras/virtu.h
@@ -406,13 +427,16 @@ set(install_HEADERS
        include/amok/peermanagement.h
        include/amok/bandwidth.h
        include/instr/instr.h
-       ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
        include/gras.h 
        include/xbt.h
        include/simix/simix.h
        include/simix/datatypes.h
        include/simix/context.h
 )
+set(source_of_generated_headers
+       include/simgrid_config.h.in
+       include/smpi/smpif.h.in
+       src/context_sysv_config.h.in)
 
 ### depend of some variables setted upper
 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
@@ -478,6 +502,13 @@ if(HAVE_MC)
                )
 endif(HAVE_MC)
 
+if(HAVE_NS3)
+       set(simgrid_sources
+               ${simgrid_sources}
+               ${NS3_SRC}
+       )
+endif(HAVE_NS3)
+
 # WINDOWS
 if(WIN32)
        set(simgrid_sources
@@ -520,9 +551,15 @@ file(GLOB_RECURSE examples_to_install_in_doc
 "examples/*README"
 )
 
+
+    
 set(DOC_SOURCES
-       doc/contrib.doc
-       doc/FAQ.doc
+       doc/installSimgrid.doc
+       doc/bindings.doc
+       doc/options.doc
+       doc/use.doc
+       doc/tracing.doc
+       doc/pls.doc
        doc/gtut-howto-design.doc
        doc/gtut-howto.doc
        doc/gtut-introduction.doc
@@ -546,7 +583,7 @@ set(DOC_SOURCES
        doc/gtut-tour-16-exchangecb.doc
        doc/gtut-tour.doc
        doc/gtut-tour-recap-messages.doc
-       doc/history.doc
+       
        #doc/index-API.doc
        doc/index.doc
        doc/module-amok.doc
@@ -556,8 +593,6 @@ set(DOC_SOURCES
        doc/modules.doc
        doc/module-surf.doc
        doc/module-xbt.doc
-       doc/people.doc  
-       doc/publis.doc
        
        doc/gtut-files/01-bones.c
        doc/gtut-files/01-bones.output
@@ -598,7 +633,6 @@ set(DOC_SOURCES
        doc/webcruft/Paje_MSG_screenshot.jpg
        doc/webcruft/Paje_MSG_screenshot_thn.jpg
        doc/webcruft/poster_thumbnail.png
-       doc/webcruft/robots.txt
        doc/webcruft/simgrid_logo.png
        doc/webcruft/simgrid_logo_small.png
        doc/triva-graph_configuration.png
@@ -608,13 +642,11 @@ set(DOC_SOURCES
        doc/Doxyfile.in
        doc/footer.html.in
        
-       tools/doxygen/bibtex2html_table_count.pl
        tools/doxygen/doxygen_postprocesser.pl
        tools/doxygen/index_create.pl
        tools/doxygen/toc_create.pl
        tools/doxygen/bibtex2html_wrapper.pl
        tools/doxygen/fig2dev_postprocessor.pl
-       tools/doxygen/index_php.pl
        tools/doxygen/xbt_log_extract_hierarchy.pl
 )
 
@@ -626,10 +658,6 @@ set(DOC_FIGS
        ${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
 )
 
-set(DOC_bib
-       ${CMAKE_HOME_DIRECTORY}/doc/all.bib
-)
-
 file(GLOB_RECURSE add_src_files
 "teshsuite/*.c"
 "teshsuite/*.cxx"
@@ -661,17 +689,6 @@ set(add_src_files
        src/simix/smx_context_sysv_private.h
 )
 
-file(GLOB_RECURSE include_files
-"include/*.h"
-"teshsuite/*.h"
-"testsuite/*.h"
-"tools/*.h"
-"examples/*.h"
-"examples/*.hpp"
-"src/*.h.in"
-"include/*.h.in"
-)
-
 file(GLOB_RECURSE xml_files
 "examples/*.xml"
 "include/*.xml"
@@ -695,13 +712,8 @@ set(txt_files
 "testsuite/surf/trace_A.txt"
 "testsuite/surf/trace_B.txt"
 "examples/smpi/hostfile"
-"examples/msg/procmig.trace"
-"examples/msg/volume.trace"
-"examples/msg/ms.trace"
 "examples/msg/trace/file.trace"
 "examples/msg/link5_state.trace"
-"examples/msg/categories.trace"
-"examples/msg/tasks.trace"
 "examples/msg/fafard_state.trace"
 "examples/msg/jupiter_state.trace"
 "examples/msg/actions/actions_allReduce.txt"
@@ -728,6 +740,9 @@ set(txt_files
 "teshsuite/simdag/platforms/bob.fail"
 "teshsuite/simdag/platforms/bob.trace"
 "teshsuite/simdag/platforms/bob0_availability_file.trace"
+"teshsuite/simdag/platforms/bob0_state_file.trace"
+"teshsuite/simdag/platforms/bob2_availability_file.trace"
+"teshsuite/simdag/platforms/bob2_state_file.trace"
 "teshsuite/simdag/platforms/link1.bw"
 "teshsuite/simdag/platforms/link1.fail"
 "teshsuite/simdag/platforms/link1.lat"
@@ -803,13 +818,15 @@ buildtools/Cmake/tesh.pl
 
 # This is the complete list of what will be added to the source archive
 set(source_to_pack     
-       ${install_HEADERS}
+       ${headers_to_install}
+       ${source_of_generated_headers}
        ${XBT_RL_SRC}
        ${EXTRA_DIST}
        ${SMPI_SRC}
        ${GRAS_RL_SRC}
        ${XBT_SRC}
        ${GTNETS_SRC}
+       ${NS3_SRC}
        ${SURF_SRC}
        ${SIMIX_SRC}
        ${TRACING_SRC}
@@ -823,7 +840,6 @@ set(source_to_pack
        ${JEDULE_SRC}
        ${RNGSTREAM_SRC}
        ${add_src_files}
-       ${include_files}
        ${xml_files}
        ${tesh_files}
        ${txt_files}
@@ -831,6 +847,6 @@ set(source_to_pack
        ${bin_files}
        ${DOC_SOURCES}
        ${DOC_FIGS}
-       ${DOC_bib}
        ${README_files}
+       buildtools/Cmake/simgrid.nsi.in 
 )