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

Last change on this file since 487 was 487, checked in by rybkin, 15 years ago

See C.L. 382

  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[469]1#-- start of application
[6]2
[484]3$(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}_stamps) $(${CONSTITUENT}stamps) $(use_requirements)
[445]4        $(link_echo) application $@
[6]5        $(link_silent) ${LINKMACRO} /out:$(bin)${CONSTITUENT}$(application_suffix) @<<
6${OBJS}
[468]7$(cmt_installarea_linkopts)
8$(${CONSTITUENT}_use_linkopts)
[6]9$(${CONSTITUENT}linkopts)
[353]10<<
[6]11
[196]12
[353]13
[6]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)
[445]22!if "$(CMTINSTALLAREA)" != ""
23        $(echo) "installation done"
24!endif
[6]25
26$(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname)
[445]27!if "$(CMTINSTALLAREA)" != ""
28        $(install_echo) $(@F) into $(@D)
[469]29        $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
[445]30!endif
[6]31
[487]32##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall
[6]33
34uninstall :: ${CONSTITUENT}uninstall
35
36${CONSTITUENT}uninstall ::
[445]37!if "$(CMTINSTALLAREA)" != ""
38        $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)"
[469]39        $(cleanup_silent) $(cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
[445]40!endif
[6]41
[469]42#-- end of application
Note: See TracBrowser for help on using the repository browser.