##################################################################### # # # Microsoft Confidential # # Copyright (C) Microsoft Corporation 1992 # # All Rights Reserved. # # # # Makefile for HBIOS TSR Version # # # ##################################################################### !include ..\..\make.inc AFLAGS = $(AFLAGS) -DHDOS60=1 -DWINNT=1 #-I$(DEST) LFLAGS = $(LFLAGS) /TINY #OBJCOM = $(DEST)\initcom.obj #OBJSYS = $(DEST)\initsys.obj BUILD=sys !IFDEF DEBUG AFLAGS = $(AFLAGS) -DDEBUG=1 OBJ2 = $(DEST)\debug.obj OBJL = $(DEST)\debug.obj !ELSE AFLAGS = $(AFLAGS) -DDEBUG=0 OBJ2 = OBJL = !ENDIF !IF "$(BUILD)" == "sys" AFLAGS = $(AFLAGS) -DComFile=0 TARGET = $(DEST)\hbios.sys #OBJ2 = $(OBJ2) $(DEST)\$(OBJSYS) #OBJL = $(OBJL) $(OBJSYS) !ELSE AFLAGS = $(AFLAGS) -DComFile=1 TARGET = $(DEST)\hbios.com #OBJ2 = $(OBJ2) $(OBJCOM) #OBJL = $(OBJL) $(OBJCOM) !ENDIF #OBJLIST1 = $(DEST)\data.obj keyboard.obj hatmt2.obj kbapi.obj codeconv.obj #OBJLIST2 = hbios.obj video.obj vga.obj vherc.obj herc.obj hf.obj af.obj #OBJLIST3 = compose.obj int10.obj vapi.obj vxapi.obj vbase.obj kschi.obj #OBJLIST4 = hjshow.obj int8.obj te.obj vxd.obj jmp.obj hanjacnv.obj #OBJLIST5 = $(OBJL) $(DEST)\init.obj #OBJLIST6 = mem.obj fload.obj OBJLIST1 = $(DEST)\hecon.obj $(OBJL) $(DEST)\kb.obj $(DEST)\video.obj $(DEST)\init.obj #OBJS = $(DEST)\keyboard.obj $(DEST)\hatmt2.obj $(DEST)\kbapi.obj \ # $(DEST)\codeconv.obj $(DEST)\hbios.obj $(DEST)\video.obj \ # $(DEST)\vga.obj $(DEST)\vherc.obj $(DEST)\herc.obj \ # $(DEST)\hf.obj $(DEST)\af.obj $(DEST)\compose.obj \ # $(DEST)\int10.obj $(DEST)\vapi.obj $(DEST)\vxapi.obj \ # $(DEST)\vbase.obj $(DEST)\kschi.obj $(DEST)\hjshow.obj \ # $(DEST)\int8.obj $(DEST)\te.obj $(DEST)\vxd.obj $(DEST)\jmp.obj \ # $(DEST)\hanjacnv.obj \ # $(DEST)\data.obj $(DEST)\init.obj \ # $(OBJ2) $(DEST)\mem.obj $(DEST)\fload.obj OBJS = $(DEST)\hecon.obj $(OBJ2) $(DEST)\kb.obj \ $(DEST)\video.obj $(DEST)\init.obj all : $(OBJS) # cd $(DEST) link16 $(LFLAGS) @<< $(OBJLIST1) $(TARGET); << # cd ..\..\.. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\HBIOS.SYS binplace -o $(ALT_PROJECT_TARGET) HFONT.SYS #$(OBJLIST1) + #$(OBJLIST2) + #$(OBJLIST3) + #$(OBJLIST4) + #$(OBJLIST5) + #$(OBJLIST6) {.}.asm{$(DEST)}.obj : masm $(AFLAGS) $(