[1] | 1 | |
---|
| 2 | !include $(CMTROOT)/src/NMakefile.core |
---|
| 3 | |
---|
| 4 | !if defined (tag) |
---|
| 5 | ####--------------------------------------------------------------------------------- |
---|
| 6 | #### It seems that side effects of changing CMTCONFIG are too serious. Therefore this |
---|
| 7 | #### approach is discarded |
---|
| 8 | #### |
---|
| 9 | ####CMTCONFIG = $(tag) |
---|
| 10 | ####--------------------------------------------------------------------------------- |
---|
| 11 | CMTEXTRATAGS = $(tag) |
---|
| 12 | !else |
---|
| 13 | tag = $(CMTCONFIG) |
---|
| 14 | !endif |
---|
| 15 | |
---|
| 16 | tags = $(CMTEXTRATAGS) |
---|
| 17 | |
---|
| 18 | ${PACKAGE}_tag = $(tag) |
---|
| 19 | |
---|
| 20 | !if [echo (constituents.make) Rebuilding $(${PACKAGE}_tag).make] == 0 |
---|
| 21 | !endif |
---|
| 22 | |
---|
| 23 | !if [cmt -quiet build tag_makefile -tag=$(tags) >$(${PACKAGE}_tag).nmake] == 0 |
---|
| 24 | !endif |
---|
| 25 | |
---|
| 26 | !include $(${PACKAGE}_tag).nmake |
---|
| 27 | |
---|
| 28 | all :: |
---|
| 29 | |
---|
| 30 | #-------------------------------------------------------- |
---|
| 31 | |
---|
| 32 | cmt_lock_setup = lock$(cmt_lock_pid).make |
---|
| 33 | cmt_setup_pid = $(bin)setup.make |
---|
| 34 | |
---|
| 35 | config :: ##$(${PACKAGE}_tag).make |
---|
| 36 | |
---|
| 37 | env.make :: |
---|
| 38 | set >env.make.tmp; $(cmtexe) -quiet check files env.make.tmp env.make |
---|
| 39 | |
---|
| 40 | all :: |
---|
| 41 | |
---|
| 42 | javadirs :: |
---|
| 43 | @if not exist $(javabin) mkdir $(javabin) |
---|
| 44 | |
---|
| 45 | srcdirs :: |
---|
| 46 | @if not exist $(src) mkdir $(src) |
---|
| 47 | |
---|
| 48 | dirs :: |
---|
| 49 | @if not exist requirements echo "No requirements file" |
---|
| 50 | @echo (constituents.make) Rebuilding setup.make |
---|
| 51 | @if not exist $(bin) mkdir $(bin) |
---|
| 52 | @echo "----------> uses" >$(cmt_setup_pid) |
---|
| 53 | @$(cmtexe) -quiet -tag=$(tags) show uses >>$(cmt_setup_pid) |
---|
| 54 | @echo "----------> tags" >>$(cmt_setup_pid) |
---|
| 55 | @$(cmtexe) -tag=$(tags) show tags >>$(cmt_setup_pid) |
---|
| 56 | @echo "----------> CMTPATH" >>$(cmt_setup_pid) |
---|
| 57 | @$(cmtexe) show path -tag=$(tags) -quiet >>$(cmt_setup_pid) |
---|
| 58 | @echo setup.make ok |
---|
| 59 | |
---|
| 60 | .DEFAULT : |
---|
| 61 | @echo "???" |
---|
| 62 | |
---|