source: CMT/v1r16p20040901/fragments/make_header @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

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