[2] | 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_${CONSTITUENT} = /tmp/CMT_$(${PACKAGE}_tag)_${CONSTITUENT}.make$(cmt_lock_pid)
|
---|
| 30 | else
|
---|
| 31 | cmt_local_tagfile_${CONSTITUENT} = $(${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_${CONSTITUENT} = /tmp/CMT_$(${PACKAGE}_tag).make$(cmt_lock_pid)
|
---|
| 42 | else
|
---|
| 43 | cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag).make
|
---|
| 44 | endif
|
---|
| 45 |
|
---|
| 46 | endif
|
---|
| 47 |
|
---|
| 48 | -include $(cmt_local_tagfile_${CONSTITUENT})
|
---|
| 49 |
|
---|
| 50 | ifdef cmt_${CONSTITUENT}_has_target_tag
|
---|
| 51 |
|
---|
| 52 | ifdef READONLY
|
---|
| 53 | cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_${CONSTITUENT}_setup.make
|
---|
| 54 | cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make
|
---|
| 55 | else
|
---|
| 56 | cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.make
|
---|
| 57 | cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make
|
---|
| 58 | endif
|
---|
| 59 |
|
---|
| 60 | else
|
---|
| 61 |
|
---|
| 62 | ifdef READONLY
|
---|
| 63 | cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_setup.make
|
---|
| 64 | cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make
|
---|
| 65 | else
|
---|
| 66 | cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.make
|
---|
| 67 | cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make
|
---|
| 68 | endif
|
---|
| 69 |
|
---|
| 70 | endif
|
---|
| 71 |
|
---|
| 72 | ifdef READONLY
|
---|
| 73 | cmt_final_setup = /tmp/CMT_${PACKAGE}_setup.make
|
---|
| 74 | else
|
---|
| 75 | cmt_final_setup = $(bin)${PACKAGE}_setup.make
|
---|
| 76 | endif
|
---|
| 77 |
|
---|
| 78 | ${CONSTITUENT} ::
|
---|
| 79 |
|
---|
| 80 |
|
---|
| 81 | ifdef READONLY
|
---|
| 82 | ${CONSTITUENT} ::
|
---|
| 83 | @echo tags=$(tags)
|
---|
| 84 | @echo cmt_local_tagfile=$(cmt_local_tagfile)
|
---|
| 85 | endif
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 88 | dirs ::
|
---|
| 89 | @if test ! -r requirements ; then echo "No requirements file" ; fi; \
|
---|
| 90 | if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi; \
|
---|
| 91 | /bin/rm -f checkuses
|
---|
| 92 |
|
---|
| 93 | javadirs ::
|
---|
| 94 | @if test ! -d $(javabin) ; then $(mkdir) -p $(javabin) ; fi
|
---|
| 95 |
|
---|
| 96 | srcdirs ::
|
---|
| 97 | @if test ! -d $(src) ; then $(mkdir) -p $(src) ; fi
|
---|
| 98 |
|
---|
| 99 | help ::
|
---|
| 100 | @echo '${CONSTITUENT}'
|
---|
| 101 |
|
---|
| 102 | #-- end of make_header ------------------
|
---|