Changeset 682
- Timestamp:
- May 14, 2007, 1:39:11 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/warpin/makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/warpin/makefile
r674 r682 1 1 # warpin\makefile - build the FM/2 Warpin installation file: FM2.WIS 2 # $Id: $ 3 4 # 28 Apr 07 SHL Add clean target 5 # 13 May 07 SHL Tweak macro handling to work as documented 6 # 13 May 07 SHL Correct clean target 2 7 3 8 # Environment: 4 9 5 BASE = fm36 7 10 # DEBUG 0 = release build, 1 = debug build 8 11 12 # If BUILD_FM2UTILS defined, build FM2UTILS*.wpi and FM2*.wpi 13 # Otherwise build just FM2*.wpi 14 !ifndef BUILD_FM2UTILS 9 15 BUILD_FM2UTILS=1 10 # If defined, then building FM2UTILS*.wpi is included in the ALL and WPI targets 16 !endif 11 17 18 # FM2_VER defines fm/2 WPI file name suffix 19 # e.g. FM2_VER=-3-5-9 results in FM2-3-5-9.wpi being built 20 # If FM2_VER is empty, then FM2.wpi is built 21 # NOTE: Start the variable with '-' 22 23 !ifndef FM2_VER 12 24 FM2_VER=-3-5-9 13 # Used for the WPI file name. e.g. FM2_VER=-3-5-9 results in FM2-3-5-9.wpi being built 14 # If FM2_VER is undefined, then FM2.wpi is built 15 # NOTE: Start the variable with '-'! 25 !endif 16 26 27 # FM2UTILS_VER defines the fm2utils WPI file name suffix. 28 # e.g. FM2UTILS_VER=-1-0 results in FM2Utils-1.0.wpi being built 29 # If FM2UTILS_VER is empty, then FM2UTILS.wpi is built 30 # NOTE: Start the variable with '-' 31 32 !ifndef FM2UTILS_VER 17 33 FM2UTILS_VER=-1-0 18 # Used for the WPI file name. e.g. FM2UTILS_VER=-1-0 results in FM2Utils-1.0.wpi being built 19 # If FM2UTILS_VER is undefined, then FM2UTILS.wpi is built 20 # NOTE: Start the variable with '-'! 34 !endif 21 35 22 36 all: wpi 23 37 38 !ifdef BUILD_FM2UTILS 24 39 wpi: checkfiles fm2$(FM2_VER).wpi fm2utils$(FM2UTILS_VER).wpi 40 !else 41 wpi: checkfiles fm2$(FM2_VER).wpi 42 !endif 43 25 44 26 45 checkfiles: … … 42 61 43 62 fm2utils$(FM2UTILS_VER).wpi: bld_fm2utils_wpi.cmd fm2utils.wis fm2utils\fm2utils.doc fm2utils\license.txt ..\shdwmgr.cmd 44 !ifdef BUILD_FM2UTILS45 63 @echo Building FM2Utils 46 64 bld_fm2utils_wpi fm2utils$(FM2UTILS_VER).wpi 47 !endif48 65 49 distclean:66 clean: 50 67 -if exist fm2$(FM2_VER).wpi del fm2$(FM2_VER).wpi 51 68 -if exist fm2utils$(FM2UTILS_VER).wpi del fm2utils$(FM2UTILS_VER).wpi … … 53 70 clean_wpidirs 54 71 72 # fixme to decide if these should be cleaned and not distcleaned 73 distclean: clean 74 -if exist fm2.wis del fm2.wis 75 -if exist fm2utils.wis del fm2utils.wis 76 55 77 # The end
Note:
See TracChangeset
for help on using the changeset viewer.
