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.
29 lines
663 B
29 lines
663 B
!if $(AMD64)
|
|
|
|
#
|
|
# There are several steps here. XMSTUB.ASM contains both 16-bit and
|
|
# x86 32-bit code, and so must be assembled with the X86 assembler.
|
|
#
|
|
# The object code is then extracted from the resultant .obj file via
|
|
# DMPOBJ.EXE, and placed into byte arrays declared in rmstub.h and
|
|
# pmstub.h
|
|
#
|
|
|
|
STUBOBJ=obj\amd64\xmstub.ob
|
|
|
|
startup_code: obj\amd64\rmstub.h obj\amd64\pmstub.h
|
|
|
|
obj\amd64\rmstub.h: $(STUBOBJ)
|
|
dmpobj $? RMSTUB HalpRMStub > $@
|
|
|
|
obj\amd64\pmstub.h: $(STUBOBJ)
|
|
dmpobj $? PMSTUB HalpPMStub > $@
|
|
|
|
$(STUBOBJ): ..\amd64\xmstub.asm
|
|
ml -c -Fl -coff -I$(SDXROOT)\public\sdk\inc -Fo$@ $?
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|