source: CMT/v1r19/mgr/fragments/nmake/constituent@ 1

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

Import all tags

File size: 3.0 KB
Line 
1#-- start of constituent ------
2
3cmt_${CONSTITUENT}_${HASTARGETTAG} = 1
4
5#--------------------------------------------------------
6
7!if defined (cmt_${CONSTITUENT}_has_target_tag)
8
9cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag)_${CONSTITUENT}.nmake
10cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.nmake
11cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
12
13${CONSTITUENT}_extratags = -tag_add=target_${CONSTITUENT}
14
15!if [if not exist $(bin) mkdir $(bin)] == 0
16!endif
17
18!if [cmt -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build tag_makefile >$(cmt_local_tagfile_${CONSTITUENT})] == 0
19!endif
20
21!if [$(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) show setup >$(cmt_final_setup_${CONSTITUENT})] == 0
22!endif
23
24!else
25
26cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag).nmake
27cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.nmake
28cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
29
30!endif
31
32$(cmt_local_${CONSTITUENT}_makefile) :: $(${CONSTITUENT}_dependencies) $(cmt_local_tagfile_${CONSTITUENT}) dirs
33 @echo (constituents.nmake) Building ${CONSTITUENT}.nmake
34 @set include=$(include)
35 @set lib=$(lib)
36 @$(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile ${CONSTITUENT}
37 @move ${CONSTITUENT}.nmake $(bin)
38 @echo (constituents.nmake) ${CONSTITUENT}.nmake done
39
40${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
41 @echo (constituents.nmake) Starting ${CONSTITUENT}
42 @set include=$(include)
43 @set lib=$(lib)
44 @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT} tag=$(tag)
45 @echo (constituents.nmake) ${CONSTITUENT} done
46
47clean :: ${CONSTITUENT}clean
48
49${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
50 @echo (constituents.nmake) Starting ${CONSTITUENT}clean
51 @set include=$(include)
52 @set lib=$(lib)
53 @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
54 @echo (constituents.nmake) ${CONSTITUENT}clean done
55
56install :: ${CONSTITUENT}install
57
58${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
59 @echo (constituents.nmake) Starting install ${CONSTITUENT}
60 @set include=$(include)
61 @set lib=$(lib)
62 @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles install tag=$(tag)
63 @echo (constituents.nmake) install ${CONSTITUENT} done
64
65uninstall :: ${CONSTITUENT}uninstall
66
67${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
68 @echo (constituents.nmake) Starting uninstall ${CONSTITUENT}"
69 @set include=$(include)
70 @set lib=$(lib)
71 @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles uninstall tag=$(tag)
72 @echo (constituents.nmake) uninstall ${CONSTITUENT} done
73
74#-- end of constituent ------
Note: See TracBrowser for help on using the repository browser.