You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.5 KiB
53 lines
1.5 KiB
#;
|
|
#; Microsoft Confidential
|
|
#; Copyright (C) Microsoft Corporation 1988-1991
|
|
#; All Rights Reserved.
|
|
#;
|
|
#
|
|
# Make file for HIMEM.SYS
|
|
#
|
|
# Modification History
|
|
#
|
|
# Sudeepb 14-May-1991 Ported for NT XMS Support
|
|
|
|
include ../../make.inc
|
|
target =$(DEST)\himem.sys
|
|
|
|
cinc =../../../../inc
|
|
AINC =-I. -I$(cinc) -I../../../../inc
|
|
|
|
|
|
#
|
|
####################### Dependencies Begin Here ##########################
|
|
#
|
|
|
|
all: oldobjs $(target)
|
|
binplace -o $(ALT_PROJECT_TARGET) $(target)
|
|
|
|
include ..\..\cleanup.inc
|
|
|
|
oldobjs:
|
|
@if exist messages.asm del messages.asm
|
|
|
|
$(DEST)\himem.obj: himem.asm himem.inc $(cinc)/xmssvc.inc $(cinc)/vint.inc
|
|
|
|
$(DEST)\himem1.obj: himem1.asm himem.inc $(cinc)/xmssvc.inc
|
|
|
|
$(DEST)\himem2.obj: himem2.asm himem.inc $(cinc)/xmssvc.inc
|
|
|
|
$(DEST)\messages.obj: $(ALT_PROJECT)\messages.asm himem.inc
|
|
$(asm) $(ainc) $(aflags) $(ALT_PROJECT)\messages.asm,$*.obj;
|
|
|
|
$(DEST)\himem4.obj: himem4.asm himem.inc $(cinc)/xmssvc.inc $(cinc)/vint.inc
|
|
|
|
$(DEST)\himem5.obj: himem5.asm himem.inc $(cinc)/xmssvc.inc $(cinc)/vint.inc
|
|
|
|
$(DEST)\himem.exe: $(DEST)\himem.obj $(DEST)\himem1.obj $(DEST)\himem2.obj \
|
|
$(DEST)\messages.obj $(DEST)\himem4.obj $(DEST)\himem5.obj
|
|
link16 $(DEST)\himem+$(DEST)\himem1+$(DEST)\himem2+$(DEST)\messages+$(DEST)\himem4+$(DEST)\himem5/map/li,$(DEST)\himem.exe;
|
|
|
|
$(DEST)\himem.bin: $(DEST)\himem.exe
|
|
reloc $(DEST)\himem.exe $(DEST)\himem.bin 0
|
|
|
|
$(target): $(DEST)\himem.bin
|
|
stripdd $(DEST)\himem.bin $(target)
|