Changeset 1514
- Timestamp:
- Apr 13, 2010, 10:55:04 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
dll/makefile (modified) (4 diffs)
-
makefile (modified) (4 diffs)
-
makefile_pre.mk (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/makefile
r1468 r1514 36 36 # 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi 37 37 # 30 Jul 09 SHL Avoid attempting to attach resources to fm3res.map 38 # 13 Apr 10 SHL Drop HIMEM support 38 39 39 40 # Environment: see makefile_pre.mk … … 43 44 # FORTIFY - enable FORTIFY heap checking if defined, omit FORITY support if not defined 44 45 # USE_RC - use rc.exe if defined, use wrc.exe if not defined 45 # HIMEM - load code and data in in high memory if defined, use low memory only if not defined46 46 47 47 BASE = fm3dll … … 82 82 !ifdef %FORTIFY # if defined in environment 83 83 FORTIFY = $(%FORTIFY) # use value from environment 84 !endif85 86 !ifdef %HIMEM # if defined in environment87 HIMEM = $(%HIMEM) # use value from environment88 84 !endif 89 85 … … 140 136 !endif 141 137 142 !ifdef HIMEM143 CFLAGS += -dHIMEM144 !endif145 146 138 # for fm3res only 147 139 CFLAGSR = -bt=os2 -mf -bd -bm -olirs -s -j -we -wx -zfp -zgp -zp4 -zq -
trunk/makefile
r1474 r1514 3 3 4 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002, 20 08Steven H. Levine5 # Copyright (c) 2002, 2010 Steven H. Levine 6 6 7 7 # 24 May 05 SHL Add clean and cleanobj target … … 26 26 # 14 Dec 08 SHL Build fm3.sym 27 27 # 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi 28 # 13 Apr 10 SHL Drop HIMEM support 28 29 29 30 # Environment - see makefile_pre.mk and dll\makefile … … 55 56 dist: all syms lxlite wpi .symbolic 56 57 57 disth: $(BASE) allexe highmemsyms lxlite wpi .symbolic58 disth: $(BASE) allexe syms lxlite wpi .symbolic 58 59 59 60 # Only update resources … … 79 80 80 81 $(BASE).obj: $(BASE).c dll\version.h .autodepend 81 82 highmem: .symbolic83 !ifdef HIMEM84 cd dll85 $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) loadhigh86 cd ..87 !else88 @echo "HIMEM not set"89 !endif90 82 91 83 # make EXE compenents -
trunk/makefile_pre.mk
r1439 r1514 1 1 # makefile_pre.mk - common makefile prefix settings for all makefiles 2 2 # $Id$ 3 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002, 2010 Steven H. Levine 3 6 4 7 # 01 Sep 06 SHL Adjust .res case … … 17 20 # 18 Nov 08 JBS Ticket 297: Various build improvements/corrections 18 21 # 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi 22 # 13 Apr 10 SHL Drop HIMEM support 19 23 20 24 # Environment: see dll\makefile … … 24 28 # FORTIFY - build with FORTIFYed memory 25 29 # USE_RC - build with rc.exe if defined, other build with wrc.exe 26 # HIMEM - build with changes to allow loading in high memory27 30 28 31 CC = wcc386 … … 61 64 FORTIFY = $(%FORTIFY) # use value from environment 62 65 FORTIFY_OPT = FORTIFY=$(FORTIFY) # set in case needed by sub-make 63 !endif64 !endif65 66 !ifdef HIMEM # if defined on wmake command line67 HIMEM_OPT = HIMEM=$(HIMEM)68 !else69 !ifdef %HIMEM # if defined in environment70 HIMEM = $(%HIMEM) # use value from environment71 HIMEM_OPT = HIMEM=$(HIMEM)72 66 !endif 73 67 !endif
Note:
See TracChangeset
for help on using the changeset viewer.
