source: CMT/v1r25-branch/mgr/fragments/nmake/constituents_header @ 666

Last change on this file since 666 was 595, checked in by rybkin, 13 years ago

See C.L. 472

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1#-- start of constituents_header ------
2
3!include $(CMTROOT)/src/NMakefile.core
4
5!if defined (tag)
6CMTEXTRATAGS = $(tag)
7!else
8tag       = $(CMTCONFIG)
9!endif
10
11tags      = $(tag),$(CMTEXTRATAGS)
12
13${PACKAGE}_tag = $(tag)
14#cmt_local_tagfile = $(bin)$(tag).nmake
15cmt_local_tagfile = $(bin)$(${PACKAGE}_tag).nmake
16
17cmt_local_setup = $(bin)setup.nmake.tmp
18cmt_final_setup = $(bin)setup.nmake
19
20#!if "$(QUICK)" == "" || !exist ($(cmt_local_tagfile))
21
22#!if [$(echo) (constituents.nmake) Rebuilding $(cmt_local_tagfile)] == 0
23#!endif
24#!if [cmt build tag_makefile -tag_add=$(tags) >$(cmt_local_tagfile)] == 0
25#!endif
26
27#!if [$(echo) (constituents.nmake) Rebuilding $(cmt_final_setup)] == 0
28#!endif
29#!if [cmt -tag=$(tags) show setup >$(cmt_local_setup)] == 0
30#!endif
31
32#!if exist ($(cmt_final_setup)) && [ echo n|comp $(cmt_final_setup) $(cmt_local_setup) >nul 2>&1 ] == 0
33#!if [ del $(cmt_local_setup) ] == 0
34#!endif
35#!else
36#!if [ move /y $(cmt_local_setup) $(cmt_final_setup) >nul ] == 0
37#!endif
38#!endif
39
40#!endif
41
42#!include $(${PACKAGE}_tag).nmake
43!include $(cmt_local_tagfile)
44
45#all ::
46
47#--------------------------------------------------------
48
49#cmt_lock_setup = lock$(cmt_lock_pid).nmake
50#cmt_setup_pid  = $(bin)setup.nmake
51
52#config ::  ##$(${PACKAGE}_tag).nmake
53
54env.nmake ::
55        @set >env.nmake.tmp; $(cmtexe) check files env.nmake.tmp env.nmake
56
57all :: ;
58
59javadirs ::
60        @if not exist $(javabin) mkdir $(javabin)
61
62srcdirs ::
63        @if not exist $(src) mkdir $(src)
64
65#dirs :: requirements
66dirs ::
67        @if not exist $(bin) mkdir $(bin)
68
69#requirements :
70#       @if not exist requirements echo "No requirements file"
71
72#!if "$(QUICK)" == ""
73#dirs ::
74#       @if not exist requirements echo "No requirements file"
75#       $(echo) (constituents.nmake) Rebuilding setup.nmake
76#       @if not exist $(bin) mkdir $(bin)
77#       @$(cmtexe) -tag=$(tags) show setup   >$(cmt_setup_pid)
78#       $(echo) setup.nmake ok
79#!else
80#dirs ::
81#       @if not exist requirements echo "No requirements file"
82#       @if not exist $(bin) mkdir $(bin)
83#!endif
84
85#.DEFAULT :
86#        $(echo) "???"
87
88!if "$(use_requirements)" != ""
89$(use_requirements) : ;
90!endif
91
92#-- end of constituents_header ------
Note: See TracBrowser for help on using the repository browser.