source: CMT/HEAD/mgr/fragments/nmake/constituents_header @ 487

Last change on this file since 487 was 487, checked in by rybkin, 15 years ago

See C.L. 382

  • 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 $(${PACKAGE}_tag).nmake] == 0
23!if [$(echo) (constituents.nmake) Rebuilding $(cmt_local_tagfile)] == 0
24!endif
25#!if [cmt build tag_makefile -tag_add=$(tags) >$(${PACKAGE}_tag).nmake] == 0
26!if [cmt build tag_makefile -tag_add=$(tags) >$(cmt_local_tagfile)] == 0
27!endif
28
29!if [$(echo) (constituents.nmake) Rebuilding $(cmt_final_setup)] == 0
30!endif
31!if [cmt -tag=$(tags) show setup >$(cmt_local_setup)] == 0
32!endif
33
34!if exist ($(cmt_final_setup)) && [ echo n|comp $(cmt_final_setup) $(cmt_local_setup) >nul 2>&1 ] == 0
35!if [ del $(cmt_local_setup) ] == 0
36!endif
37!else
38!if [ move /y $(cmt_local_setup) $(cmt_final_setup) >nul ] == 0
39!endif
40!endif
41
42!endif
43
44#!include $(${PACKAGE}_tag).nmake
45!include $(cmt_local_tagfile)
46
47all ::
48
49#--------------------------------------------------------
50
51#cmt_lock_setup = lock$(cmt_lock_pid).nmake
52#cmt_setup_pid  = $(bin)setup.nmake
53
54#config ::  ##$(${PACKAGE}_tag).nmake
55
56env.nmake ::
57        @set >env.nmake.tmp; $(cmtexe) check files env.nmake.tmp env.nmake
58
59all ::
60
61javadirs ::
62        @if not exist $(javabin) mkdir $(javabin)
63
64srcdirs ::
65        @if not exist $(src) mkdir $(src)
66
67dirs :: requirements
68        @if not exist $(bin) mkdir $(bin)
69
70requirements :
71        @if not exist requirements echo "No requirements file"
72
73#!if "$(QUICK)" == ""
74#dirs ::
75#       @if not exist requirements echo "No requirements file"
76#       $(echo) (constituents.nmake) Rebuilding setup.nmake
77#       @if not exist $(bin) mkdir $(bin)
78#       @$(cmtexe) -tag=$(tags) show setup   >$(cmt_setup_pid)
79#       $(echo) setup.nmake ok
80#!else
81#dirs ::
82#       @if not exist requirements echo "No requirements file"
83#       @if not exist $(bin) mkdir $(bin)
84#!endif
85
86.DEFAULT :
87        $(echo) "???"
88
89#-- end of constituents_header ------
Note: See TracBrowser for help on using the repository browser.