source: CMT/HEAD/mgr/fragments/nmake/application @ 645

Last change on this file since 645 was 645, checked in by rybkin, 11 years ago

See C.L. 505

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1#-- start of application
2
3$(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}_stamps) $(${CONSTITUENT}stamps) $(use_requirements)
4        $(link_echo) application $@
5        $(link_silent) ${LINKMACRO} /out:$(bin)${CONSTITUENT}$(application_suffix) @<<
6${OBJS}
7$(cmt_installarea_linkopts)
8$(${CONSTITUENT}_use_linkopts)
9$(${CONSTITUENT}linkopts)
10<<
11
12
13
14!if "$(use_stamps)" != ""
15# Work around Make errors if stamps files do not exist
16$(use_stamps) :
17!endif
18
19install_dir = $(CMTINSTALLAREA)\$(tag)\bin
20${CONSTITUENT}installname = ${CONSTITUENT}$(application_suffix)
21
22${CONSTITUENT} :: ${CONSTITUENT}install
23
24install :: ${CONSTITUENT}install
25
26${CONSTITUENT}install :: $(install_dir)\$(${CONSTITUENT}installname)
27!if "$(CMTINSTALLAREA)" != ""
28        $(echo) "installation done"
29!endif
30
31$(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname)
32!if "$(CMTINSTALLAREA)" != ""
33        $(install_echo) $(@F) into $(@D)
34        $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
35!endif
36
37##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall
38
39uninstall :: ${CONSTITUENT}uninstall
40
41${CONSTITUENT}uninstall ::
42!if "$(CMTINSTALLAREA)" != ""
43        $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)"
44        $(cleanup_silent) $(cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
45!endif
46
47#-- end of application
Note: See TracBrowser for help on using the repository browser.