1 | #-- start of constituents_header ------ |
---|
2 | |
---|
3 | !include $(CMTROOT)/src/NMakefile.core |
---|
4 | |
---|
5 | !if defined (tag) |
---|
6 | CMTEXTRATAGS = $(tag) |
---|
7 | !else |
---|
8 | tag = $(CMTCONFIG) |
---|
9 | !endif |
---|
10 | |
---|
11 | tags = $(tag),$(CMTEXTRATAGS) |
---|
12 | |
---|
13 | ${PACKAGE}_tag = $(tag) |
---|
14 | #cmt_local_tagfile = $(bin)$(tag).nmake |
---|
15 | cmt_local_tagfile = $(bin)$(${PACKAGE}_tag).nmake |
---|
16 | |
---|
17 | cmt_local_setup = $(bin)setup.nmake.tmp |
---|
18 | cmt_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 | |
---|
47 | all :: |
---|
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 | |
---|
56 | env.nmake :: |
---|
57 | @set >env.nmake.tmp; $(cmtexe) check files env.nmake.tmp env.nmake |
---|
58 | |
---|
59 | all :: |
---|
60 | |
---|
61 | javadirs :: |
---|
62 | @if not exist $(javabin) mkdir $(javabin) |
---|
63 | |
---|
64 | srcdirs :: |
---|
65 | @if not exist $(src) mkdir $(src) |
---|
66 | |
---|
67 | dirs :: requirements |
---|
68 | @if not exist $(bin) mkdir $(bin) |
---|
69 | |
---|
70 | requirements : |
---|
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 ------ |
---|