source: CMT/HEAD/src/NMakefile.header @ 469

Last change on this file since 469 was 469, checked in by rybkin, 16 years ago

See C.L. 370

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
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)
13CMTEXTRATAGS = $(tag)
14!else
15!if defined (CMTCONFIG)
16tag = $(CMTCONFIG)
17!else
18tag = VisualC
19!endif
20!endif
21
22tags      = $(tag),$(CMTEXTRATAGS)
23
24#
25#  Generic entry points for all targets
26#
27build_strategy = rebuild_makefiles
28build_dependencies = echo
29
30all :: check_config
31
32check_config ::
33        @$(cmtexe) check configuration
34
35configclean ::
36        del *nmake* setup.* cleanup.*
37
38help :: 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
57cmt_constituents_makefile = $(bin)constituents.nmake
58
59!IF !EXIST ("$(bin)")
60!if [mkdir "$(bin)"] == 0
61!endif
62!ENDIF
63
64!if [$(cmtexe) -tag=$(tags) build constituents_makefile -out=$(cmt_constituents_makefile)] == 0
65!endif
66
67!include $(cmt_constituents_makefile)
68#!include constituents.nmake
69
70
71
72
Note: See TracBrowser for help on using the repository browser.