Line | |
---|
1 | #-- start of make_header ----------------- |
---|
2 | |
---|
3 | #==================================== |
---|
4 | # ${TITLE} ${CONSTITUENT} |
---|
5 | # |
---|
6 | # Generated ${DATE} by ${USER} |
---|
7 | # |
---|
8 | #==================================== |
---|
9 | |
---|
10 | include ${CMTROOT}/src/Makefile.core |
---|
11 | |
---|
12 | ifdef tag |
---|
13 | CMTEXTRATAGS = $(tag) |
---|
14 | else |
---|
15 | tag = $(CMTCONFIG) |
---|
16 | endif |
---|
17 | |
---|
18 | cmt_${CONSTITUENT}_${HASTARGETTAG} = 1 |
---|
19 | |
---|
20 | #-------------------------------------------------------- |
---|
21 | |
---|
22 | ifdef cmt_${CONSTITUENT}_has_target_tag |
---|
23 | |
---|
24 | tags = $(tag),$(CMTEXTRATAGS),target_${CONSTITUENT} |
---|
25 | |
---|
26 | ${PACKAGE}_tag = $(tag) |
---|
27 | |
---|
28 | ifdef READONLY |
---|
29 | cmt_local_tagfile = /tmp/CMT_$(${PACKAGE}_tag)_${CONSTITUENT}.make$(cmt_lock_pid) |
---|
30 | else |
---|
31 | cmt_local_tagfile = $(${PACKAGE}_tag)_${CONSTITUENT}.make |
---|
32 | endif |
---|
33 | |
---|
34 | else |
---|
35 | |
---|
36 | tags = $(tag),$(CMTEXTRATAGS) |
---|
37 | |
---|
38 | ${PACKAGE}_tag = $(tag) |
---|
39 | |
---|
40 | ifdef READONLY |
---|
41 | cmt_local_tagfile = /tmp/CMT_$(${PACKAGE}_tag).make$(cmt_lock_pid) |
---|
42 | else |
---|
43 | cmt_local_tagfile = $(${PACKAGE}_tag).make |
---|
44 | endif |
---|
45 | |
---|
46 | endif |
---|
47 | |
---|
48 | -include $(cmt_local_tagfile) |
---|
49 | |
---|
50 | ${CONSTITUENT} :: |
---|
51 | |
---|
52 | |
---|
53 | ifdef READONLY |
---|
54 | ${CONSTITUENT} :: |
---|
55 | @echo tags=$(tags) |
---|
56 | @echo cmt_local_tagfile=$(cmt_local_tagfile) |
---|
57 | endif |
---|
58 | |
---|
59 | |
---|
60 | dirs :: |
---|
61 | @if test ! -r requirements ; then echo "No requirements file" ; fi; \ |
---|
62 | if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi; \ |
---|
63 | /bin/rm -f checkuses |
---|
64 | |
---|
65 | javadirs :: |
---|
66 | @if test ! -d $(javabin) ; then $(mkdir) -p $(javabin) ; fi |
---|
67 | |
---|
68 | srcdirs :: |
---|
69 | @if test ! -d $(src) ; then $(mkdir) -p $(src) ; fi |
---|
70 | |
---|
71 | help :: |
---|
72 | @echo '${CONSTITUENT}' |
---|
73 | |
---|
74 | #-- end of make_header ------------------ |
---|
Note: See
TracBrowser
for help on using the repository browser.