Changeset 1514


Ignore:
Timestamp:
Apr 13, 2010, 10:55:04 PM (16 years ago)
Author:
Steven Levine
Message:

Rework makefiles dropping support for obsolete HIMEM setting

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r1468 r1514  
    3636# 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi
    3737# 30 Jul 09 SHL Avoid attempting to attach resources to fm3res.map
     38# 13 Apr 10 SHL Drop HIMEM support
    3839
    3940# Environment: see makefile_pre.mk
     
    4344# FORTIFY - enable FORTIFY heap checking if defined, omit FORITY support if not defined
    4445# 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 defined
    4646
    4747BASE = fm3dll
     
    8282!ifdef %FORTIFY                 # if defined in environment
    8383FORTIFY = $(%FORTIFY)           # use value from environment
    84 !endif
    85 
    86 !ifdef %HIMEM                   # if defined in environment
    87 HIMEM = $(%HIMEM)               # use value from environment
    8884!endif
    8985
     
    140136!endif
    141137
    142 !ifdef HIMEM
    143 CFLAGS += -dHIMEM
    144 !endif
    145 
    146138# for fm3res only
    147139CFLAGSR = -bt=os2 -mf -bd -bm         -olirs -s     -j -we -wx -zfp -zgp -zp4 -zq
  • trunk/makefile

    r1474 r1514  
    33
    44# Copyright (c) 1993-98 M. Kimes
    5 # Copyright (c) 2002, 2008 Steven H. Levine
     5# Copyright (c) 2002, 2010 Steven H. Levine
    66
    77# 24 May 05 SHL Add clean and cleanobj target
     
    2626# 14 Dec 08 SHL Build fm3.sym
    2727# 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi
     28# 13 Apr 10 SHL Drop HIMEM support
    2829
    2930# Environment - see makefile_pre.mk and dll\makefile
     
    5556dist: all syms lxlite wpi .symbolic
    5657
    57 disth: $(BASE) allexe highmem syms lxlite wpi .symbolic
     58disth: $(BASE) allexe syms lxlite wpi .symbolic
    5859
    5960# Only update resources
     
    7980
    8081$(BASE).obj: $(BASE).c dll\version.h .autodepend
    81 
    82 highmem: .symbolic
    83 !ifdef HIMEM
    84   cd dll 
    85   $(MAKE) -h $(__MAKEOPTS__) $(DEBUG_OPT) $(FORTIFY_OPT) loadhigh
    86   cd ..
    87 !else
    88   @echo "HIMEM not set"
    89 !endif 
    9082
    9183# make EXE compenents
  • trunk/makefile_pre.mk

    r1439 r1514  
    11# makefile_pre.mk - common makefile prefix settings for all makefiles
    22# $Id$
     3
     4# Copyright (c) 1993-98 M. Kimes
     5# Copyright (c) 2002, 2010 Steven H. Levine
    36
    47# 01 Sep 06 SHL Adjust .res case
     
    1720# 18 Nov 08 JBS Ticket 297: Various build improvements/corrections
    1821# 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi
     22# 13 Apr 10 SHL Drop HIMEM support
    1923
    2024# Environment: see dll\makefile
     
    2428# FORTIFY - build with FORTIFYed memory
    2529# USE_RC - build with rc.exe if defined, other build with wrc.exe
    26 # HIMEM - build with changes to allow loading in high memory
    2730
    2831CC = wcc386
     
    6164FORTIFY = $(%FORTIFY)                   # use value from environment
    6265FORTIFY_OPT = FORTIFY=$(FORTIFY)        # set in case needed by sub-make
    63 !endif
    64 !endif
    65 
    66 !ifdef HIMEM                    # if defined on wmake command line
    67 HIMEM_OPT =  HIMEM=$(HIMEM)
    68 !else
    69 !ifdef %HIMEM                   # if defined in environment
    70 HIMEM = $(%HIMEM)               # use value from environment
    71 HIMEM_OPT =  HIMEM=$(HIMEM)
    7266!endif
    7367!endif
Note: See TracChangeset for help on using the changeset viewer.