1 | #-- start of make_header ----------------- |
---|
2 | |
---|
3 | #==================================== |
---|
4 | # ${TITLE} ${CONSTITUENT} |
---|
5 | # |
---|
6 | # Generated ${DATE} by ${USER} |
---|
7 | # |
---|
8 | #==================================== |
---|
9 | |
---|
10 | !include $(CMTROOT)/src/NMakefile.core |
---|
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 | cmt_${CONSTITUENT}_$(HASTARGETTAG) = 1 |
---|
23 | |
---|
24 | #-------------------------------------------------------- |
---|
25 | |
---|
26 | !if defined (cmt_${CONSTITUENT}_has_target_tag) |
---|
27 | |
---|
28 | tags = $(tag),$(CMTEXTRATAGS),target_${CONSTITUENT} |
---|
29 | |
---|
30 | ${PACKAGE}_tag = $(tag) |
---|
31 | |
---|
32 | #cmt_local_tagfile = $(${PACKAGE}_tag)_${CONSTITUENT}.nmake |
---|
33 | cmt_local_tagfile = $(bin)$(${PACKAGE}_tag)_${CONSTITUENT}.nmake |
---|
34 | |
---|
35 | !else |
---|
36 | |
---|
37 | tags = $(tag),$(CMTEXTRATAGS) |
---|
38 | |
---|
39 | ${PACKAGE}_tag = $(tag) |
---|
40 | |
---|
41 | #cmt_local_tagfile = $(${PACKAGE}_tag).nmake |
---|
42 | cmt_local_tagfile = $(bin)$(${PACKAGE}_tag).nmake |
---|
43 | |
---|
44 | !endif |
---|
45 | |
---|
46 | !include $(cmt_local_tagfile) |
---|
47 | |
---|
48 | !if defined (cmt_${CONSTITUENT}_has_target_tag) |
---|
49 | |
---|
50 | cmt_final_setup_${CONSTITUENT} = $(bin)setup_${CONSTITUENT}.make |
---|
51 | #cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make |
---|
52 | |
---|
53 | !else |
---|
54 | |
---|
55 | cmt_final_setup_${CONSTITUENT} = $(bin)setup.make |
---|
56 | #cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make |
---|
57 | |
---|
58 | !endif |
---|
59 | |
---|
60 | #cmt_final_setup = $(bin)setup.make |
---|
61 | |
---|
62 | #${CONSTITUENT} :: |
---|
63 | |
---|
64 | javadirs :: |
---|
65 | @if not exist $(javabin) mkdir $(javabin) |
---|
66 | |
---|
67 | srcdirs :: |
---|
68 | @if not exist $(src) mkdir $(src) |
---|
69 | |
---|
70 | dirs :: |
---|
71 | @if not exist requirements echo "No requirements file" |
---|
72 | @if not exist $(bin) mkdir $(bin) |
---|
73 | |
---|
74 | help :: |
---|
75 | @echo '${CONSTITUENT}' |
---|
76 | |
---|
77 | !if "$(use_requirements)" != "" |
---|
78 | $(use_requirements) : ; |
---|
79 | !endif |
---|
80 | |
---|
81 | #-- end of make_header ------------------ |
---|