Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove old trace files and add a picture for distrib.
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
1 ### define source packages
2
3 set(EXTRA_DIST 
4         src/portable.h
5         src/xbt/mallocator_private.h
6         src/xbt/dict_private.h
7         src/xbt/heap_private.h
8         src/xbt/fifo_private.h
9         src/xbt/graph_private.h
10         src/xbt/graphxml_parse.c
11         src/xbt/graphxml.l
12         src/xbt/graphxml.c
13         src/xbt/graphxml.dtd
14         src/xbt/log_private.h
15         src/xbt/ex_interface.h
16         src/xbt/backtrace_linux.c
17         src/xbt/backtrace_windows.c
18         src/xbt/backtrace_dummy.c
19         src/xbt/setset_private.h
20         src/xbt/parmap_private.h
21         src/xbt/mmalloc/attach.c
22         src/xbt/mmalloc/detach.c        
23         src/xbt/mmalloc/keys.c
24         src/xbt/mmalloc/mcalloc.c
25         src/xbt/mmalloc/mfree.c
26         src/xbt/mmalloc/mm_legacy.c             
27         src/xbt/mmalloc/mm.c
28         src/xbt/mmalloc/mmalloc.c
29         src/xbt/mmalloc/mmap-sup.c
30         src/xbt/mmalloc/mmcheck.c
31         src/xbt/mmalloc/mmemalign.c
32         src/xbt/mmalloc/mmprivate.h
33         src/xbt/mmalloc/mmstats.c
34         src/xbt/mmalloc/mmtrace.c
35         src/xbt/mmalloc/mrealloc.c
36         src/xbt/mmalloc/mvalloc.c
37         src/xbt/mmalloc/sbrk-sup.c
38         src/xbt/mmalloc/test/mmalloc_test.c
39         src/surf/maxmin_private.h
40         src/surf/trace_mgr_private.h
41         src/surf/surf_private.h
42         src/surf/surfxml_parse.c
43         src/surf/simgrid_dtd.l
44         src/surf/simgrid_dtd.c
45         src/surf/simgrid.dtd
46         src/surf/network_private.h
47         src/surf/network_gtnets_private.h
48         src/surf/gtnets/gtnets_interface.h
49         src/surf/gtnets/gtnets_simulator.h
50         src/surf/gtnets/gtnets_topology.h
51         src/surf/cpu_ti_private.h
52         src/surf/surf_routing_private.h
53         src/include/surf/surf_resource.h
54         src/include/surf/datatypes.h
55         src/include/surf/maxmin.h
56         src/include/surf/trace_mgr.h
57         src/include/surf/surf.h
58         src/include/surf/surfxml_parse_private.h
59         src/include/surf/random_mgr.h
60         src/include/surf/surf_resource_lmm.h
61         src/include/xbt/wine_dbghelp.h
62         src/include/xbt/xbt_os_time.h
63         src/include/xbt/xbt_os_thread.h
64         src/include/mc/datatypes.h
65         src/include/mc/mc.h
66         src/include/simix/context.h
67         src/msg/private.h
68         src/msg/mailbox.h
69         src/simdag/private.h
70         src/simdag/dax.dtd
71         src/simdag/dax_dtd.l
72         src/simdag/dax_dtd.h
73         src/simdag/dax_dtd.c
74         src/gras/DataDesc/ddt_parse.yy.l
75         src/gras/DataDesc/ddt_parse.yy.h
76         src/gras/Virtu/virtu_rl.h
77         src/gras/Virtu/virtu_sg.h
78         src/gras/Virtu/virtu_interface.h
79         src/gras/Virtu/virtu_private.h
80         src/gras/Transport/transport_interface.h
81         src/amok/Bandwidth/bandwidth_private.h
82         src/amok/amok_modinter.h
83         src/simix/private.h
84         src/simix/process_private.h
85         src/simix/host_private.h
86         src/simix/network_private.h
87         src/simix/smurf_private.h
88         src/simix/synchro_private.h
89         
90         src/smpi/private.h
91         src/smpi/smpi_mpi_dt_private.h
92         src/smpi/README
93         src/mk_supernovae.pl
94 )
95
96 set(XBT_RL_SRC 
97         src/xbt/xbt_rl_synchro.c
98         src/xbt/xbt_rl_time.c
99 )
100
101 set(XBT_SG_SRC 
102         src/xbt/xbt_sg_synchro.c
103         src/xbt/xbt_sg_time.c
104 )     
105
106 set(SMPI_SRC
107         src/smpi/smpi_base.c
108         src/smpi/smpi_bench.c
109         src/smpi/smpi_global.c
110         src/smpi/smpi_mpi.c
111         src/smpi/smpi_pmpi.c
112         src/smpi/smpi_c99.c
113         src/smpi/smpi_f77.c
114         src/smpi/smpi_comm.c
115         src/smpi/smpi_group.c
116         src/smpi/smpi_coll.c
117         src/smpi/smpi_mpi_dt.c
118 )
119
120
121 set(GRAS_RL_SRC
122         src/gras/rl_stubs.c
123         src/xbt/xbt_os_thread.c
124         src/gras/Transport/rl_transport.c
125         src/gras/Transport/transport_plugin_file.c
126         src/gras/Transport/transport_plugin_tcp.c
127         src/gras/Virtu/rl_emul.c
128         src/gras/Virtu/rl_process.c
129         src/gras/Virtu/rl_dns.c
130         src/gras/Msg/rl_msg.c
131         ${XBT_RL_SRC}
132 )
133
134 set(XBT_SRC 
135         src/xbt/snprintf.c
136         src/xbt/xbt_str.c
137         src/xbt/xbt_strbuff.c
138         src/xbt/xbt_sha.c
139         src/xbt/ex.c
140         src/xbt_modinter.h
141         src/gras_modinter.h
142         src/xbt/xbt_virtu.c
143         src/xbt/xbt_os_time.c
144         src/xbt/log.c
145         src/xbt/xbt_log_appender_file.c
146         src/xbt/xbt_log_layout_simple.c
147         src/xbt/xbt_log_layout_format.c
148         src/xbt/mallocator.c
149         src/xbt/dynar.c
150         src/xbt/dict.c
151         src/xbt/dict_elm.c
152         src/xbt/dict_cursor.c
153         src/xbt/dict_multi.c
154         src/xbt/heap.c
155         src/xbt/fifo.c
156         src/xbt/swag.c
157         src/xbt/graph.c
158         src/xbt/set.c
159         src/xbt/xbt_matrix.c
160         src/xbt/xbt_queue.c
161         src/xbt/xbt_synchro.c
162         src/xbt/xbt_peer.c
163         src/xbt/xbt_main.c
164         src/xbt/config.c
165         src/xbt/cunit.c
166         src/xbt/graphxml_parse.c
167         src/xbt/setset.c
168         src/xbt/parmap.c
169         src/xbt/xbt_replay_trace_reader.c
170         src/xbt/lib.c
171 )
172
173 if(HAVE_MMAP)
174         set(XBT_SRC
175         ${XBT_SRC}
176         src/xbt/mmalloc/mm.c    
177         )
178 endif(HAVE_MMAP)
179
180 set(GTNETS_SRC 
181         src/surf/gtnets/gtnets_simulator.cc
182         src/surf/gtnets/gtnets_topology.cc
183         src/surf/gtnets/gtnets_interface.cc
184         src/surf/network_gtnets.c
185 )
186
187 set(NS3_SRC
188         src/surf/network_ns3.c
189         src/surf/ns3/ns3_interface.cc
190         src/surf/ns3/ns3_simulator.cc
191         )
192
193 set(SURF_SRC 
194         src/surf/surf_model.c
195         src/surf/surf_action.c
196         src/surf/surf_routing.c
197         src/surf/surf_routing_full.c
198         src/surf/surf_routing_floyd.c
199         src/surf/surf_routing_rulebased.c
200         src/surf/surf_routing_dijkstra.c
201         src/surf/surf_routing_none.c
202         src/surf/surf_config.c
203         src/surf/maxmin.c
204         src/surf/fair_bottleneck.c
205         src/surf/lagrange.c
206         src/surf/trace_mgr.c
207         src/surf/random_mgr.c
208         src/surf/surf.c
209         src/surf/surfxml_parse.c
210         src/surf/cpu.c
211         src/surf/network.c
212         src/surf/network_im.c
213         src/surf/network_constant.c
214         src/surf/workstation.c
215         src/surf/workstation_ptask_L07.c
216         src/surf/cpu_ti.c
217         src/surf/cpu_im.c
218         src/xbt/xbt_sg_stubs.c
219 )
220
221 set(SIMIX_SRC 
222         src/simix/smx_global.c
223         src/simix/smx_deployment.c
224         src/simix/smx_environment.c
225         src/simix/smx_host.c
226         src/simix/smx_process.c
227         src/simix/smx_context.c
228         src/simix/smx_synchro.c
229         src/simix/smx_network.c
230         src/simix/smx_context_base.c
231         src/simix/smx_user.c
232         src/simix/smx_smurf.c
233         src/simix/smx_context_raw.c
234 )
235
236 set(MSG_SRC
237         src/msg/msg_config.c
238         src/msg/task.c
239         src/msg/host.c
240         src/msg/m_process.c
241         src/msg/gos.c
242         src/msg/global.c
243         src/msg/environment.c
244         src/msg/deployment.c
245         src/msg/msg_mailbox.c
246         src/msg/msg_actions.c
247 )
248
249 set(SIMDAG_SRC
250         src/simdag/sd_global.c
251         src/simdag/sd_link.c
252         src/simdag/sd_task.c
253         src/simdag/sd_workstation.c
254         src/simdag/sd_daxloader.c
255 )
256 if(HAVE_GRAPHVIZ)
257         set(SIMDAG_SRC 
258             ${SIMDAG_SRC} src/simdag/sd_dotloader.c
259         )
260 else(HAVE_GRAPHVIZ)
261         set(EXTRA_DIST
262             ${EXTRA_DIST} src/simdag/sd_dotloader.c
263         )
264 endif(HAVE_GRAPHVIZ)
265
266 set(GRAS_COMMON_SRC
267         src/gras/gras.c
268         src/gras/Transport/transport.c
269         src/gras/Transport/transport_private.h
270         src/gras/Msg/gras_msg_mod.c
271         src/gras/Msg/gras_msg_types.c
272         src/gras/Msg/gras_msg_exchange.c
273         src/gras/Msg/gras_msg_listener.c
274         src/gras/Msg/rpc.c 
275         src/gras/Msg/timer.c
276         src/gras/Msg/msg_interface.h
277         src/gras/Msg/msg_private.h
278         src/gras/Virtu/process.c
279         src/gras/Virtu/gras_module.c
280         src/gras/DataDesc/ddt_create.c
281         src/gras/DataDesc/ddt_convert.c
282         src/gras/DataDesc/ddt_exchange.c
283         src/gras/DataDesc/cbps.c
284         src/gras/DataDesc/datadesc.c
285         src/gras/DataDesc/datadesc_interface.h
286         src/gras/DataDesc/datadesc_private.h
287         src/gras/DataDesc/ddt_parse.c
288         src/gras/DataDesc/ddt_parse.yy.c
289 )
290
291 set(GRAS_SG_SRC
292         src/gras/Transport/sg_transport.c
293         src/gras/Transport/transport_plugin_sg.c
294         src/gras/Virtu/sg_emul.c
295         src/gras/Virtu/sg_process.c
296         src/gras/Virtu/sg_dns.c
297         src/gras/Msg/sg_msg.c
298         ${XBT_SG_SRC}
299 )
300
301 set(AMOK_SRC
302         src/amok/amok_base.c
303         src/amok/Bandwidth/bandwidth.c
304         src/amok/Bandwidth/saturate.c
305         src/amok/PeerManagement/peermanagement.c
306 )
307
308 set(LUA_SRC
309         src/bindings/lua/simgrid_lua.c
310         src/bindings/lua/lua_stub_generator.c
311         src/bindings/lua/lua_console.c
312 )
313
314 set(TRACING_SRC
315         src/instr/instr_routing.c
316         src/instr/instr_config.c
317         src/instr/instr_interface.c
318         src/instr/instr_paje.c
319         src/instr/instr_paje_trace.c
320         src/instr/instr_msg_task.c
321         src/instr/instr_msg_process.c
322         src/instr/instr_msg_volume.c
323         src/instr/instr_smx.c
324         src/instr/instr_surf.c
325         src/instr/instr_smpi.c
326         src/instr/instr_simdag.c
327         src/instr/instr_resource_utilization.c
328         src/instr/instr_private.h
329 )
330
331
332 set(JEDULE_SRC
333         include/instr/jedule/jedule_events.h
334         include/instr/jedule/jedule_output.h
335         include/instr/jedule/jedule_platform.h
336         include/instr/jedule/jedule_sd_binding.h
337         src/instr/jedule/jedule_events.c
338         src/instr/jedule/jedule_output.c
339         src/instr/jedule/jedule_platform.c
340         src/instr/jedule/jedule_sd_binding.c
341 )
342
343 set(MC_SRC
344         src/mc/mc_memory.c
345         src/mc/mc_checkpoint.c
346         src/mc/mc_state.c
347         src/mc/memory_map.c
348         src/mc/mc_global.c
349         src/mc/mc_dpor.c
350         src/mc/mc_request.c
351         src/mc/private.h
352 )
353
354 set(RNGSTREAM_SRC
355         src/rngstreams/RngStream.h
356         src/rngstreams/RngStream.c
357 )
358
359 set(install_HEADERS
360         include/xbt/misc.h
361         include/xbt/sysdep.h
362         include/xbt/virtu.h
363         include/xbt/str.h
364         include/xbt/strbuff.h
365         include/xbt/hash.h
366         include/xbt/function_types.h
367         include/xbt/asserts.h 
368         include/xbt/ex.h
369         include/xbt/log.h
370         include/xbt/module.h
371         include/xbt/mallocator.h
372         include/xbt/dynar.h
373         include/xbt/dict.h
374         include/xbt/set.h
375         include/xbt/heap.h
376         include/xbt/graph.h
377         include/xbt/fifo.h
378         include/xbt/swag.h
379         include/xbt/matrix.h
380         include/xbt/peer.h
381         include/xbt/config.h
382         include/xbt/cunit.h
383         include/xbt/graphxml_parse.h
384         include/xbt/graphxml.h
385         include/xbt/time.h
386         include/xbt/synchro.h
387         include/xbt/synchro_core.h
388         include/xbt/queue.h
389         include/xbt/setset.h
390         include/xbt/mmalloc.h
391         include/xbt/replay_trace_reader.h
392         include/xbt/parmap.h
393         include/mc/modelchecker.h
394         include/msg/msg.h
395         include/msg/datatypes.h
396         include/simdag/simdag.h
397         include/simdag/datatypes.h
398         include/smpi/smpi.h
399         ${CMAKE_CURRENT_BINARY_DIR}/include/smpi/smpif.h
400         include/smpi/mpi.h
401         include/smpi/mpif.h
402         include/surf/surfxml_parse.h
403         include/surf/simgrid_dtd.h
404         include/surf/surf_routing.h
405         include/gras/datadesc.h
406         include/gras/transport.h
407         include/gras/virtu.h
408         include/gras/emul.h
409         include/gras/process.h
410         include/gras/module.h
411         include/gras/messages.h
412         include/gras/timer.h
413         include/amok/peermanagement.h
414         include/amok/bandwidth.h
415         include/instr/instr.h
416         ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
417         include/gras.h 
418         include/xbt.h
419         include/simix/simix.h
420         include/simix/datatypes.h
421         include/simix/context.h
422 )
423
424 ### depend of some variables setted upper
425 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
426 if(${CONTEXT_THREADS}) #pthread
427         set(SURF_SRC
428                 ${SURF_SRC}
429                 src/xbt/xbt_os_thread.c
430                 src/simix/smx_context_thread.c
431                 )
432 else(${CONTEXT_THREADS}) # NOT pthread
433         set(EXTRA_DIST
434                 ${EXTRA_DIST}
435                 src/xbt/xbt_os_thread.c
436                 src/simix/smx_context_thread.c
437                 )
438 endif(${CONTEXT_THREADS})
439
440 if(${CONTEXT_UCONTEXT}) #ucontext
441         set(SURF_SRC
442                 ${SURF_SRC}
443                 src/simix/smx_context_sysv.c
444         )
445 else(${CONTEXT_UCONTEXT}) # NOT ucontext
446         set(EXTRA_DIST
447                 ${EXTRA_DIST}
448                 src/simix/smx_context_sysv.c
449         )
450 endif(${CONTEXT_UCONTEXT})
451
452 # -->HAVE_GTNETS
453 if(HAVE_GTNETS)
454         set(GTNETS_USED 
455                 ${GTNETS_SRC}
456         )
457 else(HAVE_GTNETS)
458         set(GTNETS_USED "")
459         set(EXTRA_DIST
460                 ${EXTRA_DIST}
461                 ${GTNETS_SRC}
462         )
463 endif(HAVE_GTNETS)
464
465 ### Simgrid Lib sources
466 set(simgrid_sources
467         ${XBT_SRC}
468         ${SURF_SRC}
469         ${GTNETS_USED}
470         ${SIMIX_SRC}
471         ${MSG_SRC}
472         ${TRACING_SRC}
473         ${SIMDAG_SRC}
474         ${GRAS_COMMON_SRC}
475         ${GRAS_SG_SRC}
476         ${AMOK_SRC}
477         ${JEDULE_SRC}
478         ${RNGSTREAM_SRC}
479 )
480
481 if(HAVE_MC)
482         set(simgrid_sources
483                 ${simgrid_sources}
484                 ${MC_SRC}
485                 )
486 endif(HAVE_MC)
487
488 if(HAVE_NS3)
489         set(simgrid_sources
490                 ${simgrid_sources}
491                 ${NS3_SRC}
492         )
493 endif(HAVE_NS3)
494
495 # WINDOWS
496 if(WIN32)
497         set(simgrid_sources
498                 ${simgrid_sources}
499                 src/xbt/win32_ucontext.c
500                 src/xbt/xbt_os_thread.c
501                 src/simix/smx_context_thread.c
502                 )
503 endif(WIN32)
504
505 ### Gras Lib sources
506 set(gras_sources
507         ${XBT_SRC}
508         ${GRAS_COMMON_SRC}
509         ${GRAS_RL_SRC}
510         ${AMOK_SRC}
511 )
512
513 if(${HAVE_LUA})
514         set(simgrid_sources
515                 ${simgrid_sources}
516                 ${LUA_SRC}
517         )
518 elseif(${HAVE_LUA})
519         set(EXTRA_DIST
520                 ${EXTRA_DIST}
521                 ${LUA_SRC}
522         )
523 endif(${HAVE_LUA})
524
525 file(GLOB_RECURSE examples_to_install_in_doc
526 "examples/*.c"
527 "examples/*.h"
528 "examples/*.cxx"
529 "examples/*.hpp"
530 "examples/*.rb"
531 "examples/*.lua"
532 "examples/*.java"
533 "examples/*.xml"
534 "examples/*README"
535 )
536
537 set(DOC_SOURCES
538         doc/contrib.doc
539         doc/FAQ.doc
540         doc/gtut-howto-design.doc
541         doc/gtut-howto.doc
542         doc/gtut-introduction.doc
543         doc/gtut-main.doc
544         doc/gtut-tour-00-install.doc
545         doc/gtut-tour-01-bones.doc
546         doc/gtut-tour-02-simple.doc
547         doc/gtut-tour-03-args.doc
548         doc/gtut-tour-04-callback.doc
549         doc/gtut-tour-05-globals.doc
550         doc/gtut-tour-06-logs.doc
551         doc/gtut-tour-07-timers.doc
552         doc/gtut-tour-08-exceptions.doc
553         doc/gtut-tour-09-simpledata.doc
554         doc/gtut-tour-10-rpc.doc
555         doc/gtut-tour-11-explicitwait.doc
556         doc/gtut-tour-12-staticstruct.doc
557         doc/gtut-tour-13-pointers.doc
558         doc/gtut-tour-14-dynar.doc
559         doc/gtut-tour-15-manualdatadef.doc
560         doc/gtut-tour-16-exchangecb.doc
561         doc/gtut-tour.doc
562         doc/gtut-tour-recap-messages.doc
563         doc/history.doc
564         #doc/index-API.doc
565         doc/index.doc
566         doc/module-amok.doc
567         doc/module-gras.doc
568         doc/module-msg.doc
569         doc/module-sd.doc
570         doc/modules.doc
571         doc/module-surf.doc
572         doc/module-xbt.doc
573         doc/people.doc  
574         doc/publis.doc
575         
576         doc/gtut-files/01-bones.c
577         doc/gtut-files/01-bones.output
578         doc/gtut-files/02-simple.c
579         doc/gtut-files/02-simple.output
580         doc/gtut-files/03-args.c
581         doc/gtut-files/03-args.output
582         doc/gtut-files/03-args.xml
583         doc/gtut-files/04-callback.c
584         doc/gtut-files/04-callback.output
585         doc/gtut-files/05-globals.c
586         doc/gtut-files/05-globals.output
587         doc/gtut-files/06-logs.c
588         doc/gtut-files/06-logs.output
589         doc/gtut-files/06-logs.output.error
590         doc/gtut-files/06-logs.output.fmt
591         doc/gtut-files/06-logs.output.fmt-bt
592         doc/gtut-files/06-logs.output.verbose
593         doc/gtut-files/07-timers.c
594         doc/gtut-files/07-timers.output
595         doc/gtut-files/08-exceptions.c
596         doc/gtut-files/08-exceptions.output
597         doc/gtut-files/09-datatype-dump.c
598         doc/gtut-files/09-simpledata.c
599         doc/gtut-files/09-simpledata.output
600         doc/gtut-files/10-rpc.c
601         doc/gtut-files/10-rpc.output
602         doc/gtut-files/11-explicitwait.c
603         doc/gtut-files/11-explicitwait.output
604         doc/gtut-files/11-explicitwait.xml
605         doc/gtut-files/gtut-platform-3nodes.xml
606         doc/gtut-files/gtut-platform.xml
607         doc/gtut-files/Makefile
608         doc/gtut-files/README
609         doc/gtut-files/test.xml
610         
611         doc/webcruft/awstats_logo3.png
612         doc/webcruft/Paje_MSG_screenshot.jpg
613         doc/webcruft/Paje_MSG_screenshot_thn.jpg
614         doc/webcruft/poster_thumbnail.png
615         doc/webcruft/robots.txt
616         doc/webcruft/simgrid_logo.png
617         doc/webcruft/simgrid_logo_small.png
618         doc/webcruft/fish.gif
619         doc/triva-graph_configuration.png
620         doc/triva-graph_visualization.png
621         doc/simgrid.css
622         
623         doc/Doxyfile.in
624         doc/footer.html.in
625         
626         tools/doxygen/bibtex2html_table_count.pl
627         tools/doxygen/doxygen_postprocesser.pl
628         tools/doxygen/index_create.pl
629         tools/doxygen/toc_create.pl
630         tools/doxygen/bibtex2html_wrapper.pl
631         tools/doxygen/fig2dev_postprocessor.pl
632         tools/doxygen/index_php.pl
633         tools/doxygen/xbt_log_extract_hierarchy.pl
634 )
635
636 set(DOC_FIGS
637         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules.fig
638         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules2.fig
639         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_test.fig
640         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_sat.fig
641         ${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
642 )
643
644 set(DOC_bib
645         ${CMAKE_HOME_DIRECTORY}/doc/all.bib
646 )
647
648 file(GLOB_RECURSE add_src_files
649 "teshsuite/*.c"
650 "teshsuite/*.cxx"
651 "teshsuite/*CMakeLists.txt"
652 "testsuite/*.c"
653 "testsuite/*.cxx"
654 "testsuite/*CMakeLists.txt"
655 "tools/*.c"
656 "tools/*.cxx"
657 "tools/*CMakeLists.txt"
658 "examples/*.c"
659 "examples/*.cxx"
660 "examples/*.lua"
661 "examples/*.rb"
662 "examples/*CMakeLists.txt"
663 "src/bindings/*.lua"
664 "src/bindings/*.rb"
665 "src/bindings/*.c"
666 "src/bindings/*.h"
667 "src/bindings/*CMakeLists.txt"
668 )
669 set(add_src_files
670         ${add_src_files}
671         CMakeLists.txt
672         src/smpi/smpicc.in
673         src/smpi/smpif2c.in
674         src/smpi/smpiff.in
675         src/smpi/smpirun.in
676         src/simix/smx_context_sysv_private.h
677 )
678
679 file(GLOB_RECURSE include_files
680 "include/*.h"
681 "teshsuite/*.h"
682 "testsuite/*.h"
683 "tools/*.h"
684 "examples/*.h"
685 "examples/*.hpp"
686 "src/*.h.in"
687 "include/*.h.in"
688 )
689
690 file(GLOB_RECURSE xml_files
691 "examples/*.xml"
692 "include/*.xml"
693 "src/*.xml"
694 "teshsuite/*.xml"
695 "testsuite/*.xml"
696 "tools/*.xml"
697 )
698
699 file(GLOB_RECURSE tesh_files
700 "examples/*.tesh"
701 "include/*.tesh"
702 "src/*.tesh"
703 "teshsuite/*.tesh"
704 "testsuite/*.tesh"
705 "tools/*.tesh"
706 )
707
708 set(txt_files
709 "testsuite/surf/trace_A_failure.txt"
710 "testsuite/surf/trace_A.txt"
711 "testsuite/surf/trace_B.txt"
712 "examples/smpi/hostfile"
713 "examples/msg/trace/file.trace"
714 "examples/msg/link5_state.trace"
715 "examples/msg/fafard_state.trace"
716 "examples/msg/jupiter_state.trace"
717 "examples/msg/actions/actions_allReduce.txt"
718 "examples/msg/actions/actions_reduce.txt"
719 "examples/msg/actions/actions.txt"
720 "examples/msg/actions/actions_barrier.txt"
721 "examples/msg/actions/actions_split_p0.txt"
722 "examples/msg/actions/actions_with_isend.txt"
723 "examples/msg/actions/actions_bcast.txt"
724 "examples/msg/actions/actions_split_p1.txt"
725 "examples/msg/actions/CMakeLists.txt"
726 "examples/msg/migration/migration.deploy"
727 "teshsuite/gras/datadesc/datadesc.little32_4"
728 "teshsuite/gras/datadesc/datadesc.little64"
729 "teshsuite/gras/datadesc/datadesc.big32_8_4"
730 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
731 "teshsuite/gras/msg_handle/test_rl.tesh"
732 "teshsuite/gras/msg_handle/test_sg_32.tesh"
733 "teshsuite/gras/msg_handle/test_sg_64.tesh"
734 "teshsuite/gras/empty_main/test_rl.tesh"
735 "teshsuite/gras/empty_main/test_sg.tesh"
736 "teshsuite/gras/small_sleep/test_sg_32.tesh"
737 "teshsuite/gras/small_sleep/test_sg_64.tesh"
738 "teshsuite/simdag/platforms/bob.fail"
739 "teshsuite/simdag/platforms/bob.trace"
740 "teshsuite/simdag/platforms/bob0_availability_file.trace"
741 "teshsuite/simdag/platforms/link1.bw"
742 "teshsuite/simdag/platforms/link1.fail"
743 "teshsuite/simdag/platforms/link1.lat"
744 "examples/gras/ping/test_rl.tesh"
745 "examples/gras/rpc/test_rl.tesh"
746 "examples/gras/spawn/test_rl.tesh"
747 "examples/gras/timer/test_rl.tesh"
748 "examples/gras/chrono/test_rl.tesh"
749 "examples/gras/mutual_exclusion/simple_token/test_rl.tesh"
750 "examples/gras/mmrpc/test_rl.tesh"
751 "examples/gras/all2all/test_rl.tesh"
752 "examples/gras/pmm/test_rl.tesh"
753 "examples/gras/synchro/test_rl.tesh"
754 "examples/gras/properties/test_rl.tesh"
755 "examples/gras/ping/test_sg_32.tesh"
756 "examples/gras/rpc/test_sg_32.tesh"
757 "examples/gras/spawn/test_sg_32.tesh"
758 "examples/gras/timer/test_sg_32.tesh"
759 "examples/gras/chrono/test_sg_32.tesh"
760 "examples/gras/mutual_exclusion/simple_token/test_sg_32.tesh"
761 "examples/gras/mmrpc/test_sg_32.tesh"
762 "examples/gras/all2all/test_sg_32.tesh"
763 "examples/gras/pmm/test_sg_32.tesh"
764 "examples/gras/synchro/test_sg_32.tesh"
765 "examples/gras/ping/test_sg_64.tesh"
766 "examples/gras/rpc/test_sg_64.tesh"
767 "examples/gras/spawn/test_sg_64.tesh"
768 "examples/gras/timer/test_sg_64.tesh"
769 "examples/gras/chrono/test_sg_64.tesh"
770 "examples/gras/mutual_exclusion/simple_token/test_sg_64.tesh"
771 "examples/gras/mmrpc/test_sg_64.tesh"
772 "examples/gras/all2all/test_sg_64.tesh"
773 "examples/gras/pmm/test_sg_64.tesh"
774 "examples/gras/synchro/test_sg_64.tesh"
775 "examples/gras/properties/test_sg.tesh"
776 )
777
778 set(txt_files
779         ${txt_files}
780         AUTHORS
781         ChangeLog
782         COPYING
783         LICENSE-LGPL-2.1
784         NEWS
785         TODO
786         configure
787         INSTALL
788 )
789
790 file(GLOB_RECURSE README_files
791 "*README"
792 )
793         
794 string(REPLACE "${CMAKE_HOME_DIRECTORY}/" "" README_files "${README_files}")
795
796 file(GLOB_RECURSE CMAKE_SOURCE_FILES
797 "buildtools/Cmake/Makefile.default"
798 "buildtools/Cmake/test_java.sh"
799 "buildtools/Cmake/*.cmake"
800 "buildtools/Cmake/*.h.in"
801 "buildtools/Cmake/*.pl"
802 "buildtools/Cmake/*.sh"
803 "buildtools/Cmake/test_prog/*.c"
804 "buildtools/Cmake/test_prog/*.cpp"
805 )
806
807 set(bin_files
808 tools/MSG_visualization/colorize.pl
809 tools/sg_unit_extractor.pl
810 tools/simgrid_update_xml.pl
811 buildtools/Cmake/tesh.pl
812 )
813
814 # This is the complete list of what will be added to the source archive
815 set(source_to_pack      
816         ${install_HEADERS}
817         ${XBT_RL_SRC}
818         ${EXTRA_DIST}
819         ${SMPI_SRC}
820         ${GRAS_RL_SRC}
821         ${XBT_SRC}
822         ${GTNETS_SRC}
823         ${SURF_SRC}
824         ${SIMIX_SRC}
825         ${TRACING_SRC}
826         ${MSG_SRC}
827         ${SIMDAG_SRC}
828         ${GRAS_COMMON_SRC}
829         ${GRAS_SG_SRC}
830         ${AMOK_SRC}
831         ${LUA_SRC}
832         ${MC_SRC}
833         ${JEDULE_SRC}
834         ${RNGSTREAM_SRC}
835         ${add_src_files}
836         ${include_files}
837         ${xml_files}
838         ${tesh_files}
839         ${txt_files}
840         ${CMAKE_SOURCE_FILES}
841         ${bin_files}
842         ${DOC_SOURCES}
843         ${DOC_FIGS}
844         ${DOC_bib}
845         ${README_files}
846 )