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.
187 lines
6.2 KiB
187 lines
6.2 KiB
# m000 -- updated dependencies on keybmac.inc and keybshar.inc
|
|
include ../../make.inc
|
|
|
|
cinc =../../../../inc
|
|
AINC =-I. -I$(cinc) -I../../../../inc
|
|
|
|
#################################
|
|
com =..\..\inc
|
|
bins =
|
|
cprs =..\..\compress
|
|
target =$(DEST)\keyboard.sys
|
|
cpr =keyboard.sy_
|
|
|
|
# inc =c:\dos500\inc
|
|
inc =..\..\inc
|
|
extasw =-I$(inc)
|
|
|
|
!if "$(ALT_PROJECT)" == "JPN"
|
|
all: $(target) \
|
|
$(DEST)\key01.sys \
|
|
$(DEST)\key02.sys $(DEST)\keyax.sys
|
|
binplace -o $(ALT_PROJECT_TARGET) $(DEST)\key02.sys
|
|
binplace -o $(ALT_PROJECT_TARGET) $(DEST)\keyax.sys
|
|
!else
|
|
all: $(target) \
|
|
$(DEST)\key01.sys
|
|
!endif
|
|
binplace -o $(ALT_PROJECT_TARGET) $(target)
|
|
binplace -o $(ALT_PROJECT_TARGET) $(DEST)\key01.sys
|
|
|
|
clean: cleanup all
|
|
|
|
cleanup:
|
|
if exist $(DEST)\*.obj del $(DEST)\*.obj
|
|
if exist $(DEST)\*.exs del $(DEST)\*.exs
|
|
if exist $(DEST)\*.map del $(DEST)\*.map
|
|
if exist $(DEST)\*.sym del $(DEST)\*.sym
|
|
if exist $(DEST)\*.sys del $(DEST)\*.sys
|
|
|
|
|
|
.asm.obj:
|
|
$(asm) $(ainc) $(aflags) $*.asm;
|
|
|
|
OBJS = $(DEST)\KDFDV.OBJ $(DEST)\KDFSP.OBJ $(DEST)\KDFPO.OBJ \
|
|
$(DEST)\KDFGE.OBJ $(DEST)\KDFIT141.OBJ $(DEST)\KDFFR189.OBJ \
|
|
$(DEST)\KDFSG.OBJ $(DEST)\KDFSF.OBJ $(DEST)\KDFDK.OBJ \
|
|
$(DEST)\KDFUK166.OBJ $(DEST)\KDFBE.OBJ $(DEST)\KDFNL.OBJ \
|
|
$(DEST)\KDFNO.OBJ $(DEST)\KDFCF.OBJ $(DEST)\KDFLA.OBJ \
|
|
$(DEST)\KDFSV.OBJ $(DEST)\KDFRU091.OBJ \
|
|
$(DEST)\KDFBR275.OBJ $(DEST)\KDFBG.OBJ $(DEST)\KDFCZ.OBJ \
|
|
$(DEST)\KDFGK.OBJ $(DEST)\KDFHU.OBJ $(DEST)\KDFIC.OBJ \
|
|
$(DEST)\KDFPL1.OBJ $(DEST)\KDFRO.OBJ $(DEST)\KDFSL.OBJ \
|
|
$(DEST)\KDFYU.OBJ $(DEST)\KDFTR.OBJ \
|
|
$(DEST)\KDFTR440.OBJ $(DEST)\KDFIT142.OBJ $(DEST)\KDFET.OBJ $(DEST)\KDFJP.OBJ \
|
|
$(DEST)\kdfeof.OBJ $(DEST)\kdfnow.obj
|
|
|
|
|
|
$(DEST)\KDFNOW.OBJ: KDFNOW.ASM \
|
|
$(com)\postequ.inc \
|
|
$(com)\dseg.inc \
|
|
$(com)\keybshar.inc \
|
|
keybmac.inc \
|
|
keybmac.inc
|
|
|
|
$(DEST)\KDFNOWJP.OBJ: KDFNOW.ASM \
|
|
$(com)\postequ.inc \
|
|
$(com)\dseg.inc \
|
|
$(com)\keybshar.inc \
|
|
keybmac.inc \
|
|
keybmac.inc
|
|
copy KDFNOW.ASM $*.asm
|
|
$(asm) $(ainc) $(aflags) -DJAPAN $*.asm $*.OBJ;
|
|
|
|
$(DEST)\KDFEOF.OBJ: KDFEOF.ASM $(com)\COPYRIGH.INC
|
|
|
|
$(DEST)\KDFDV.OBJ: KDFDV.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFSP.OBJ: kdfsp.asm $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFPO.OBJ: KDFPO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFGE.OBJ: KDFGE.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFIT141.OBJ: KDFIT141.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFFR189.OBJ: KDFFR189.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFSG.OBJ: KDFSG.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFSF.OBJ: KDFSF.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFDK.OBJ: KDFDK.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFUK166.OBJ: KDFUK166.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFBE.OBJ: KDFBE.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFNL.OBJ: KDFNL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFNO.OBJ: KDFNO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFCF.OBJ: KDFCF.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFLA.OBJ: KDFLA.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFSV.OBJ: KDFSv.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
# KDFBR.OBJ: KDFBR.ASM $(com)\keybshar.inc keybmac.inc makefile.sub # [Mihindu 10/30/90 : added Brazil]
|
|
|
|
KDFRU091.OBJ: KDFRU091.ASM $(com)\keybshar.inc keybmac.inc makefile.sub # [YST 21/1/91 : added Russia]
|
|
|
|
# for daytona
|
|
|
|
$(DEST)\KDFBR275.OBJ: KDFBR275.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFBG.OBJ: KDFBG.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFCZ.OBJ: KDFCZ.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFGK.OBJ: KDFGK.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFHU.OBJ: KDFHU.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFIC.OBJ: KDFIC.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
#KDFPL.OBJ: KDFPL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFPL1.OBJ: KDFPL1.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFRO.OBJ: KDFRO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFSL.OBJ: KDFSL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFYU.OBJ: KDFYU.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFTR.OBJ: KDFTR.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFTR440.OBJ: KDFTR440.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFIT142.OBJ: KDFIT142.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KDFET.OBJ: KDFET.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
# end for daytona
|
|
|
|
$(DEST)\KDFJP.OBJ: KDFJP.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
|
|
|
|
$(DEST)\KEYBOARD.exs: $(OBJS) keyboard.lnk
|
|
cd $(DEST)
|
|
LINK16 @..\..\..\keyboard.lnk
|
|
cd ..\..\..
|
|
|
|
$(target): $(DEST)\Keyboard.exs
|
|
copy $*.exs $*.exe
|
|
reloc $* $*.sys
|
|
del $*.exe
|
|
|
|
$(DEST)\key01.exs: $(OBJS) $(DEST)\kdfjp_oa.obj $(DEST)\KDFNOWJP.OBJ key01.lnk
|
|
cd $(DEST)
|
|
LINK16 @..\..\..\key01.lnk
|
|
cd ..\..\..
|
|
|
|
$(DEST)\key01.sys: $(DEST)\key01.exs
|
|
copy $*.exs $*.exe
|
|
reloc $* $*.sys
|
|
del $*.exe
|
|
|
|
!if "$(ALT_PROJECT)" == "JPN"
|
|
$(DEST)\key02.exs: $(OBJS) $(DEST)\kdfjp_ib.obj key02.lnk
|
|
cd $(DEST)
|
|
LINK16 @..\..\..\key02.lnk
|
|
cd ..\..\..
|
|
|
|
$(DEST)\key02.sys: $(DEST)\key02.exs
|
|
copy $*.exs $*.exe
|
|
reloc $* $*.sys
|
|
del $*.exe
|
|
|
|
$(DEST)\keyax.exs: $(OBJS) $(DEST)\kdfjp_ax.obj keyax.lnk
|
|
cd $(DEST)
|
|
LINK16 @..\..\..\keyax.lnk
|
|
cd ..\..\..
|
|
|
|
$(DEST)\keyax.sys: $(DEST)\keyax.exs
|
|
copy $*.exs $*.exe
|
|
reloc $* $*.sys
|
|
del $*.exe
|
|
!endif
|