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

Last change on this file since 469 was 469, checked in by rybkin, 16 years ago

See C.L. 370

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#-- start of application
2
3$(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}stamps) requirements $(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
14install_dir = $(CMTINSTALLAREA)\$(tag)\bin
15${CONSTITUENT}installname = ${CONSTITUENT}$(application_suffix)
16
17${CONSTITUENT} :: ${CONSTITUENT}install
18
19install :: ${CONSTITUENT}install
20
21${CONSTITUENT}install :: $(install_dir)\$(${CONSTITUENT}installname)
22!if "$(CMTINSTALLAREA)" != ""
23        $(echo) "installation done"
24!endif
25
26$(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname)
27!if "$(CMTINSTALLAREA)" != ""
28        $(install_echo) $(@F) into $(@D)
29        $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
30!endif
31
32${CONSTITUENT}clean :: ${CONSTITUENT}uninstall
33
34uninstall :: ${CONSTITUENT}uninstall
35
36${CONSTITUENT}uninstall ::
37!if "$(CMTINSTALLAREA)" != ""
38        $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)"
39        $(cleanup_silent) $(cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
40!endif
41
42#-- end of application
Note: See TracBrowser for help on using the repository browser.