Changeset 703 for trunk/makefile
- Timestamp:
- Jun 23, 2007, 6:32:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/makefile
r698 r703 13 13 # 26 Aug 06 SHL Add rest of lxlite support 14 14 # 14 Jun 07 SHL Convert to OpenWatcom 15 # 22 Jun 07 JBS Moved some macro-handling code to this 16 # file from warpin\makefile because of some 17 # differences in how Watcom handles macros. 15 18 16 19 # Environment: 17 20 18 # DEBUG 21 # DEBUG 0 = release build, 1 = debug build 19 22 20 23 BASE = fm3 24 25 # FM2_VER defines fm/2 WPI file name suffix 26 # e.g. FM2_VER=-3-5-9 results in FM2-3-5-9.wpi being built 27 # If FM2_VER is empty, then FM2.wpi is built 28 # NOTE: Start the variable with '-' 29 30 !ifndef FM2_VER # if defined on wmake command, use it 31 FM2_VER=-3-6-0 # default value 32 !ifdef %FM2_VER # if defined via env. var. 33 FM2_VER=$(%FM2_VER) # use the env. var. 34 !endif 35 !endif 36 37 # FM2UTILS_VER defines the fm2utils WPI file name suffix. 38 # e.g. FM2UTILS_VER=-1-0 results in FM2Utils-1.0.wpi being built 39 # If FM2UTILS_VER is empty, then FM2UTILS.wpi is built 40 # NOTE: Start the variable with '-' 41 42 !ifndef FM2UTILS_VER # if defined on wmake command, use it 43 FM2UTILS_VER=-1-1 # default value 44 !ifdef %FM2UTILS_VER # if defined via env. var. 45 FM2UTILS_VER=$(%FM2UTILS_VER) # use the env. var. 46 !endif 47 !endif 48 49 # If BUILD_FM2UTILS = 1, build FM2UTILS*.wpi and FM2*.wpi 50 # Otherwise build just FM2*.wpi 51 52 !ifndef BUILD_FM2UTILS # if defined on wmake command, use it 53 !ifdef %BUILD_FM2UTILS # else if defined via env. var. 54 !ifneq %BUILD_FM2UTILS 1 # if env. var. is anything but 1 55 BUILD_FM2UTILS=0 # use a value of 0 56 !else 57 BUILD_FM2UTILS=1 58 !endif 59 !else 60 BUILD_FM2UTILS=0 # use default value if not defined via env. or command line 61 !endif 62 !endif 21 63 22 64 !include makefile_pre.mk … … 51 93 wpi: .symbolic 52 94 cd warpin 53 $(MAKE) $(__MAKEOPTS__) 95 $(MAKE) $(__MAKEOPTS__) FM2_VER=$(FM2_VER) FM2UTILS_VER=$(FM2UTILS_VER) BUILD_FM2UTILS=$(BUILD_FM2UTILS) 54 96 cd .. 55 97
Note:
See TracChangeset
for help on using the changeset viewer.