Changeset 1737 for trunk/dll


Ignore:
Timestamp:
Feb 21, 2014, 11:57:44 PM (12 years ago)
Author:
John Small
Message:

Ticket #500: Set only non-resource objects in FM3RES.DLL to high memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r1733 r1737  
    4444# 13 Aug 11 GKY Build xqs and sym files as part of dll and all targets
    4545# 25 Jan 12 SHL Allow NOHIGHMEM set from enviroment
    46 # 18 Feb 14 JBS Ticket #516: Run exehgr to set high-memory only if something has changed.
     46# 18 Feb 14 JBS Ticket #516: Run exehdr to set high-memory only if something has changed.
     47# 21 Feb 14 JBS Ticket #500: Set only non-resource objects in FM3RES.DLL to high memory
    4748
    4849# Environment: see makefile_pre.mk and makefile_post.mk
     
    221222  @rem type $(BASE).lrf
    222223!ifndef NOHIGHMEM
     224  @echo.
     225  @echo Setting highmem objects in $(BASE).dll
     226  @echo.
    223227  !exehdr /hi $(BASE).dll
    224228!endif
     
    268272  $(RC) $(RCFLAGS2) $(BASERES).res $(BASERES).dll
    269273!ifndef NOHIGHMEM
    270   !exehdr /hi $(BASERES).dll
     274  @echo.
     275  @echo Setting highmem objects in $(BASERES).dll
     276  @echo.
     277  !exehdr /hi:1,2 $(BASERES).dll
    271278!endif
    272279
     
    329336!endif
    330337
    331 !ifndef NOHIGHMEM
    332338# Run for each dependent
    333339loadhigh: $(BASE).dll $(BASERES).dll .symbolic
    334   @for %f in ($(BASE).dll $(BASERES).dll) do !exehdr /hi %f
     340!ifndef NOHIGHMEM
     341  @echo.
     342  @echo 2Setting highmem objects in $(BASE).dll
     343  @echo.
     344  !exehdr /hi $(BASE).dll
     345  @echo.
     346  @echo 2Setting highmem objects in $(BASERES).dll
     347  @echo.
     348  !exehdr /hi:1,2 $(BASERES).dll
    335349!endif
    336350
Note: See TracChangeset for help on using the changeset viewer.