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

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

See C.L. 370

  • Property svn:eol-style set to native
File size: 1.4 KB
RevLine 
[469]1#-- start of library_no_share ------
[6]2
3${CONSTITUENT}LIB :: $(${CONSTITUENT}lib)
[445]4 $(echo) "${CONSTITUENT} : library ok"
[6]5
6$(${CONSTITUENT}lib) :: ${OBJS}
7 $(lib_echo) library
8 $(lib_silent) $(ar) /out:$(${CONSTITUENT}lib) @<<
9${OBJS}
10<<
[445]11 $(lib_silent) echo "" >$(${CONSTITUENT}stamp)
[6]12
13${CONSTITUENT}clean ::
14 $(cleanup_echo) #objects
15 $(cleanup_silent) for %f in (${OBJS}) do if exist %f del %f
16 $(cleanup_silent) if exist $(${CONSTITUENT}lib) del $(${CONSTITUENT}lib)
17
18install_dir = $(CMTINSTALLAREA)\$(tag)\lib
19${CONSTITUENT}installname = $(library_prefix)${CONSTITUENT}$(library_suffix).lib
20
21${CONSTITUENT} :: ${CONSTITUENT}install
22
23install :: ${CONSTITUENT}install
24
25${CONSTITUENT}install :: $(install_dir)\$(${CONSTITUENT}installname)
[445]26!if "$(CMTINSTALLAREA)" != ""
27 $(echo) "installation done"
28!endif
[6]29
30$(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname)
[445]31!if "$(CMTINSTALLAREA)" != ""
32 $(install_echo) $(@F) into $(@D)
[469]33 $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
[445]34!endif
[6]35
36${CONSTITUENT}clean :: ${CONSTITUENT}uninstall
37
38uninstall :: ${CONSTITUENT}uninstall
39
40${CONSTITUENT}uninstall ::
[445]41!if "$(CMTINSTALLAREA)" != ""
42 $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)"
[469]43 $(cleanup_silent) (cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)"
[445]44!endif
[6]45
[469]46#-- end of library_no_share ------
Note: See TracBrowser for help on using the repository browser.