[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 |
---|
[492] | 15 | $(cleanup_silent) for %f in (${OBJS}) do $(cleanup_silent)if exist %f del %f |
---|
[599] | 16 | $(cleanup_silent) if exist $(bin)${CONSTITUENT} rmdir /S /Q $(bin)${CONSTITUENT} |
---|
[6] | 17 | $(cleanup_silent) if exist $(${CONSTITUENT}lib) del $(${CONSTITUENT}lib) |
---|
| 18 | |
---|
| 19 | install_dir = $(CMTINSTALLAREA)\$(tag)\lib |
---|
| 20 | ${CONSTITUENT}installname = $(library_prefix)${CONSTITUENT}$(library_suffix).lib |
---|
| 21 | |
---|
| 22 | ${CONSTITUENT} :: ${CONSTITUENT}install |
---|
| 23 | |
---|
| 24 | install :: ${CONSTITUENT}install |
---|
| 25 | |
---|
| 26 | ${CONSTITUENT}install :: $(install_dir)\$(${CONSTITUENT}installname) |
---|
[445] | 27 | !if "$(CMTINSTALLAREA)" != "" |
---|
| 28 | $(echo) "installation done" |
---|
| 29 | !endif |
---|
[6] | 30 | |
---|
| 31 | $(install_dir)\$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname) |
---|
[445] | 32 | !if "$(CMTINSTALLAREA)" != "" |
---|
| 33 | $(install_echo) $(@F) into $(@D) |
---|
[469] | 34 | $(install_silent) $(cmt_install_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)" |
---|
[445] | 35 | !endif |
---|
[6] | 36 | |
---|
[487] | 37 | ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall |
---|
[6] | 38 | |
---|
| 39 | uninstall :: ${CONSTITUENT}uninstall |
---|
| 40 | |
---|
| 41 | ${CONSTITUENT}uninstall :: |
---|
[445] | 42 | !if "$(CMTINSTALLAREA)" != "" |
---|
| 43 | $(cleanup_echo) "$(${CONSTITUENT}installname)" from "$(install_dir)" |
---|
[469] | 44 | $(cleanup_silent) (cmt_uninstall_action) "$(BIN)" "$(${CONSTITUENT}installname)" "$(install_dir)" |
---|
[445] | 45 | !endif |
---|
[6] | 46 | |
---|
[469] | 47 | #-- end of library_no_share ------ |
---|