1 | #----------------------------------------------------------- |
---|
2 | # Copyright Christian Arnault LAL-Orsay CNRS |
---|
3 | # arnault@lal.in2p3.fr |
---|
4 | # See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
5 | #----------------------------------------------------------- |
---|
6 | |
---|
7 | !include $(CMTROOT)/src/NMakefile.core |
---|
8 | |
---|
9 | # |
---|
10 | # Basic tag management |
---|
11 | # |
---|
12 | !if defined (tag) |
---|
13 | CMTEXTRATAGS = $(tag) |
---|
14 | !else |
---|
15 | !if defined (CMTCONFIG) |
---|
16 | tag = $(CMTCONFIG) |
---|
17 | !else |
---|
18 | tag = VisualC |
---|
19 | !endif |
---|
20 | !endif |
---|
21 | |
---|
22 | tags = $(tag),$(CMTEXTRATAGS) |
---|
23 | |
---|
24 | # |
---|
25 | # Generic entry points for all targets |
---|
26 | # |
---|
27 | build_strategy = rebuild_makefiles |
---|
28 | build_dependencies = echo |
---|
29 | |
---|
30 | all :: check_config |
---|
31 | |
---|
32 | check_config :: |
---|
33 | $(cmtexe) check configuration |
---|
34 | |
---|
35 | configclean :: |
---|
36 | del *nmake* setup.* cleanup.* |
---|
37 | |
---|
38 | help :: dirs |
---|
39 | @echo -------------------------------------------------------------------------- |
---|
40 | @echo You may select one of the following make targets : |
---|
41 | @echo |
---|
42 | @echo help : this help |
---|
43 | @echo all : rebuild everything according to the $$(constituents) macro |
---|
44 | @echo (this is the default target) |
---|
45 | @echo clean : remove everything that can be rebuilt |
---|
46 | @echo configclean : remove configuration files (*.nmake) |
---|
47 | @echo |
---|
48 | @echo check : |
---|
49 | @echo run all applications defined with the -check option |
---|
50 | @echo |
---|
51 | @echo everywhere [target=...] : |
---|
52 | @echo o Rebuild on all plateforms specified in the $$(everywhere) macro |
---|
53 | @echo o Use "cmt show macro everywhere -tag=<site>" to check it |
---|
54 | @echo o The "target" option permits to transmit a target to the remote site |
---|
55 | |
---|
56 | |
---|
57 | !if [$(cmtexe) -quiet build constituents_makefile -tag=$(tags)] == 0 |
---|
58 | !endif |
---|
59 | |
---|
60 | !include constituents.nmake |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|