mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-21 10:03:00 +00:00
Remove extra DOS build files. (#285)
None of these work and we currently have no path towards compiling for DOS that would use any of them.
This commit is contained in:
parent
2e9776edf2
commit
95e406ba2e
614
bin/dosmkfil
614
bin/dosmkfil
@ -1,614 +0,0 @@
|
||||
AFLAGS = /T
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
ADMINFILES = makefile mkvdate.c optck.c
|
||||
|
||||
LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
|
||||
|
||||
CFLAGS = -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
|
||||
-DNOVERSION -DLPSOLVE -g
|
||||
|
||||
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
|
||||
|
||||
RM = del
|
||||
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
|
||||
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h gcdata.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h medleyfp.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h return.h stack.h stream.h subrs.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
|
||||
|
||||
|
||||
bigvm:
|
||||
CFLAGS = $(CFLAGS)
|
||||
make -f foot emul.exe
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(RM) vdate.c
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
# xc.obj: xc.s
|
||||
# tasm /ml xc.s
|
||||
#
|
||||
#xc.s: xc.c
|
||||
# rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
vdate.obj : mkvdate.exe
|
||||
mkvdate > vdate.c
|
||||
$(CC) vdate.c -c $@
|
||||
|
||||
mkvdate.exe : ../src/mkvdate.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkvdate.c
|
||||
del copts
|
||||
|
||||
xc.obj : ../src/xc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/xc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpmain.obj : ../src/lpmain.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpmain.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpsolve.obj : ../src/lpsolve.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpsolve.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpread.obj : ../src/lpread.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpread.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lptran.obj : ../src/lptran.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lptran.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpdual.obj : ../src/lpdual.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpdual.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpwrite.obj : ../src/lpwrite.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpwrite.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
|
||||
|
||||
conspage.obj : ../src/conspage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/conspage.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dosmouse.obj : ../src/dosmouse.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dosmouse.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
doskbd.obj : ../src/doskbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/doskbd.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vesafns.obj : ../src/vesafns.asm
|
||||
tasm /ml ..\src\vesafns.asm
|
||||
|
||||
vesainit.obj : ../src/vesainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vesainit.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vgainit.obj : ../src/vgainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vgainit.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kbdif.obj : ../src/kbdif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kbdif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcoflow.obj : ../src/gcoflow.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcoflow.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
shift.obj : ../src/shift.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/shift.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dbgtool.obj : ../src/dbgtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dbgtool.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcr.obj : ../src/gcr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcrcell.obj : ../src/gcrcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcrcell.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
llstk.obj : ../src/llstk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/llstk.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcscan.obj : ../src/gcscan.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcscan.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
loopsops.obj : ../src/loopsops.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/loopsops.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
storage.obj : ../src/storage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/storage.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
allocmds.obj : ../src/allocmds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/allocmds.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dir.obj : ../src/dir.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dir.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gvar2.obj : ../src/gvar2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gvar2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lowlev1.obj : ../src/lowlev1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lowlev1.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
subr.obj : ../src/subr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/subr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith2.obj : ../src/arith2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lowlev2.obj : ../src/lowlev2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lowlev2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
subr0374.obj : ../src/subr0374.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/subr0374.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith3.obj : ../src/arith3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
doscomm.obj : ../src/doscomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/doscomm.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
hardrtn.obj : ../src/hardrtn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/hardrtn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lsthandl.obj : ../src/lsthandl.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lsthandl.c -I ../inc -c $@ -Le
|
||||
del copts
|
||||
|
||||
sxhash.obj : ../src/sxhash.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/sxhash.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith4.obj : ../src/arith4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith4.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
draw.obj : ../src/draw.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/draw.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
main.obj : ../src/main.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/main.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
testtool.obj : ../src/testtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/testtool.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array.obj : ../src/array.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dsk.obj : ../src/dsk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dsk.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
inet.obj : ../src/inet.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/inet.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
misc7.obj : ../src/misc7.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/misc7.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
timer.obj : ../src/timer.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/timer.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array2.obj : ../src/array2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dspif.obj : ../src/dspif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dspif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initdsp.obj : ../src/initdsp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initdsp.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
miscn.obj : ../src/miscn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/miscn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
typeof.obj : ../src/typeof.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/typeof.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array3.obj : ../src/array3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initkbd.obj : ../src/initkbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initkbd.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf1.obj : ../src/ubf1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf1.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array4.obj : ../src/array4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array4.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dspsubrs.obj : ../src/dspsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dspsubrs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initsout.obj : ../src/initsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initsout.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mkatom.obj : ../src/mkatom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkatom.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf2.obj : ../src/ubf2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array5.obj : ../src/array5.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array5.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
eqf.obj : ../src/eqf.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/eqf.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
intcall.obj : ../src/intcall.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/intcall.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mkcell.obj : ../src/mkcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkcell.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf3.obj : ../src/ubf3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array6.obj : ../src/array6.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array6.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ether.obj : ../src/ether.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ether.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ufn.obj : ../src/ufn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ufn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
atom.obj : ../src/atom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/atom.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
findkey.obj : ../src/findkey.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/findkey.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kbdsubrs.obj : ../src/kbdsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kbdsubrs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mouseif.obj : ../src/mouseif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mouseif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ufs.obj : ../src/ufs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ufs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bbtsub.obj : ../src/bbtsub.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bbtsub.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
foreign.obj : ../src/foreign.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/foreign.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keyevent.obj : ../src/keyevent.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keyevent.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
unixcomm.obj : ../src/unixcomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/unixcomm.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bin.obj : ../src/bin.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bin.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
fp.obj : ../src/fp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/fp.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
binds.obj : ../src/binds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/binds.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
fvar.obj : ../src/fvar.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/fvar.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mvs.obj : ../src/mvs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mvs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
unwind.obj : ../src/unwind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/unwind.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bitblt.obj : ../src/bitblt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bitblt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gc.obj : ../src/gc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
uraid.obj : ../src/uraid.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/uraid.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
blt.obj : ../src/blt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/blt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gc2.obj : ../src/gc2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gc2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kprint.obj : ../src/kprint.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kprint.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
osmsg.obj : ../src/osmsg.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/osmsg.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
usrsubr.obj : ../src/usrsubr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/usrsubr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
byteswap.obj : ../src/byteswap.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/byteswap.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcarray.obj : ../src/gcarray.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcarray.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
perrno.obj : ../src/perrno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/perrno.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
uutils.obj : ../src/uutils.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/uutils.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
carcdr.obj : ../src/carcdr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/carcdr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
asmbbt.obj : ../src/asmbbt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/asmbbt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gccode.obj : ../src/gccode.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gccode.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vars3.obj : ../src/vars3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vars3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcfinal.obj : ../src/gcfinal.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcfinal.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ldsout.obj : ../src/ldsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ldsout.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
return.obj : ../src/return.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/return.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vmemsave.obj : ../src/vmemsave.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vmemsave.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
chardev.obj : ../src/chardev.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/chardev.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gchtfind.obj : ../src/gchtfind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gchtfind.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lineblt8.obj : ../src/lineblt8.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lineblt8.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
rpc.obj : ../src/rpc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/rpc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
common.obj : ../src/common.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/common.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcmain3.obj : ../src/gcmain3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcmain3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lisp2c.obj : ../src/lisp2c.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lisp2c.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
rplcons.obj : ../src/rplcons.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/rplcons.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
z2.obj : ../src/z2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/z2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
613
bin/makefile.dos
613
bin/makefile.dos
@ -1,613 +0,0 @@
|
||||
AFLAGS = /T
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
ADMINFILES = makefile mkvdate.c optck.c
|
||||
|
||||
LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
|
||||
|
||||
CFLAGS = -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOVERSION
|
||||
|
||||
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
|
||||
|
||||
RM = del
|
||||
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
|
||||
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h gcdata.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h medleyfp.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h return.h stack.h stream.h subrs.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
|
||||
|
||||
|
||||
bigvm:
|
||||
CFLAGS = $(CFLAGS)
|
||||
make -f foot emul.exe
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(RM) vdate.c
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
# xc.obj: xc.s
|
||||
# tasm /ml xc.s
|
||||
#
|
||||
#xc.s: xc.c
|
||||
# rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
vdate.obj : mkvdate.exe
|
||||
mkvdate > vdate.c
|
||||
$(CC) vdate.c -c $@
|
||||
|
||||
mkvdate.exe : ../dossrc/mkvdate.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkvdate.c
|
||||
del copts
|
||||
|
||||
xc.obj : ../dossrc/xc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/xc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpmain.obj : ../dossrc/lpmain.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpmain.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpsolve.obj : ../dossrc/lpsolve.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpsolve.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpread.obj : ../dossrc/lpread.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpread.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lptran.obj : ../dossrc/lptran.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lptran.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpdual.obj : ../dossrc/lpdual.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpdual.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpwrite.obj : ../dossrc/lpwrite.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpwrite.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
|
||||
|
||||
conspage.obj : ../dossrc/conspage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/conspage.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dosmouse.obj : ../dossrc/dosmouse.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dosmouse.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
doskbd.obj : ../dossrc/doskbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/doskbd.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vesafns.obj : ../dossrc/vesafns.asm
|
||||
tasm /ml ..\dossrc\vesafns.asm
|
||||
|
||||
vesainit.obj : ../dossrc/vesainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vesainit.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vgainit.obj : ../dossrc/vgainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vgainit.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kbdif.obj : ../dossrc/kbdif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kbdif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcoflow.obj : ../dossrc/gcoflow.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcoflow.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
shift.obj : ../dossrc/shift.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/shift.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dbgtool.obj : ../dossrc/dbgtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dbgtool.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcr.obj : ../dossrc/gcr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcrcell.obj : ../dossrc/gcrcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcrcell.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
llstk.obj : ../dossrc/llstk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/llstk.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcscan.obj : ../dossrc/gcscan.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcscan.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
loopsops.obj : ../dossrc/loopsops.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/loopsops.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
storage.obj : ../dossrc/storage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/storage.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
allocmds.obj : ../dossrc/allocmds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/allocmds.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dir.obj : ../dossrc/dir.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dir.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gvar2.obj : ../dossrc/gvar2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gvar2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lowlev1.obj : ../dossrc/lowlev1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lowlev1.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
subr.obj : ../dossrc/subr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/subr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith2.obj : ../dossrc/arith2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lowlev2.obj : ../dossrc/lowlev2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lowlev2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
subr0374.obj : ../dossrc/subr0374.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/subr0374.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith3.obj : ../dossrc/arith3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
doscomm.obj : ../dossrc/doscomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/doscomm.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
hardrtn.obj : ../dossrc/hardrtn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/hardrtn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lsthandl.obj : ../dossrc/lsthandl.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lsthandl.c -I ../dosinc -c $@ -Le
|
||||
del copts
|
||||
|
||||
sxhash.obj : ../dossrc/sxhash.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/sxhash.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith4.obj : ../dossrc/arith4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith4.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
draw.obj : ../dossrc/draw.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/draw.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
main.obj : ../dossrc/main.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/main.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
testtool.obj : ../dossrc/testtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/testtool.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array.obj : ../dossrc/array.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dsk.obj : ../dossrc/dsk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dsk.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
inet.obj : ../dossrc/inet.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/inet.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
misc7.obj : ../dossrc/misc7.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/misc7.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
timer.obj : ../dossrc/timer.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/timer.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array2.obj : ../dossrc/array2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dspif.obj : ../dossrc/dspif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dspif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initdsp.obj : ../dossrc/initdsp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initdsp.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
miscn.obj : ../dossrc/miscn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/miscn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
typeof.obj : ../dossrc/typeof.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/typeof.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array3.obj : ../dossrc/array3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initkbd.obj : ../dossrc/initkbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initkbd.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf1.obj : ../dossrc/ubf1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf1.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array4.obj : ../dossrc/array4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array4.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dspsubrs.obj : ../dossrc/dspsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dspsubrs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initsout.obj : ../dossrc/initsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initsout.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mkatom.obj : ../dossrc/mkatom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkatom.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf2.obj : ../dossrc/ubf2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array5.obj : ../dossrc/array5.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array5.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
eqf.obj : ../dossrc/eqf.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/eqf.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
intcall.obj : ../dossrc/intcall.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/intcall.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mkcell.obj : ../dossrc/mkcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkcell.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf3.obj : ../dossrc/ubf3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array6.obj : ../dossrc/array6.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array6.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ether.obj : ../dossrc/ether.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ether.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ufn.obj : ../dossrc/ufn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ufn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
atom.obj : ../dossrc/atom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/atom.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
findkey.obj : ../dossrc/findkey.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/findkey.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kbdsubrs.obj : ../dossrc/kbdsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kbdsubrs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mouseif.obj : ../dossrc/mouseif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mouseif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ufs.obj : ../dossrc/ufs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ufs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bbtsub.obj : ../dossrc/bbtsub.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bbtsub.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
foreign.obj : ../dossrc/foreign.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/foreign.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
keyevent.obj : ../dossrc/keyevent.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/keyevent.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
unixcomm.obj : ../dossrc/unixcomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/unixcomm.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bin.obj : ../dossrc/bin.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bin.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
fp.obj : ../dossrc/fp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/fp.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
binds.obj : ../dossrc/binds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/binds.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
fvar.obj : ../dossrc/fvar.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/fvar.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mvs.obj : ../dossrc/mvs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mvs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
unwind.obj : ../dossrc/unwind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/unwind.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bitblt.obj : ../dossrc/bitblt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bitblt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gc.obj : ../dossrc/gc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
uraid.obj : ../dossrc/uraid.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/uraid.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
blt.obj : ../dossrc/blt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/blt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gc2.obj : ../dossrc/gc2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gc2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kprint.obj : ../dossrc/kprint.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kprint.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
osmsg.obj : ../dossrc/osmsg.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/osmsg.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
usrsubr.obj : ../dossrc/usrsubr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/usrsubr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
byteswap.obj : ../dossrc/byteswap.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/byteswap.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcarray.obj : ../dossrc/gcarray.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcarray.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
perrno.obj : ../dossrc/perrno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/perrno.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
uutils.obj : ../dossrc/uutils.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/uutils.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
carcdr.obj : ../dossrc/carcdr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/carcdr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
asmbbt.obj : ../dossrc/asmbbt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/asmbbt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gccode.obj : ../dossrc/gccode.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gccode.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vars3.obj : ../dossrc/vars3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vars3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcfinal.obj : ../dossrc/gcfinal.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcfinal.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ldsout.obj : ../dossrc/ldsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ldsout.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
return.obj : ../dossrc/return.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/return.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vmemsave.obj : ../dossrc/vmemsave.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vmemsave.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
chardev.obj : ../dossrc/chardev.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/chardev.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gchtfind.obj : ../dossrc/gchtfind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gchtfind.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lineblt8.obj : ../dossrc/lineblt8.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lineblt8.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
rpc.obj : ../dossrc/rpc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/rpc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
common.obj : ../dossrc/common.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/common.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcmain3.obj : ../dossrc/gcmain3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcmain3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lisp2c.obj : ../dossrc/lisp2c.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lisp2c.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
rplcons.obj : ../dossrc/rplcons.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/rplcons.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
z2.obj : ../dossrc/z2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/z2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
209
bin/mkdos
209
bin/mkdos
@ -1,209 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
CFLAGS = -I. XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = $(SRCDIR)conspage.c $(SRCDIR)gcoflow.c $(SRCDIR)shift.c $(SRCDIR)dbgtool.c $(SRCDIR)gcr.c\
|
||||
$(SRCDIR)llcolor.c $(SRCDIR)gcrcell.c $(SRCDIR)llstk.c $(SRCDIR)gcscan.c $(SRCDIR)loopsops.c\
|
||||
$(SRCDIR)storage.c $(SRCDIR)allocmds.c $(SRCDIR)dir.c $(SRCDIR)gvar2.c $(SRCDIR)lowlev1.c\
|
||||
$(SRCDIR)subr.c $(SRCDIR)arith2.c $(SRCDIR)lowlev2.c $(SRCDIR)subr0374.c \
|
||||
$(SRCDIR)arith3.c $(SRCDIR)doscomm.c $(SRCDIR)hardrtn.c $(SRCDIR)lsthandl.c $(SRCDIR)sxhash.c \
|
||||
$(SRCDIR)arith4.c $(SRCDIR)draw.c $(SRCDIR)main.c $(SRCDIR)testtool.c $(SRCDIR)array.c $(SRCDIR)dsk.c \
|
||||
$(SRCDIR)inet.c $(SRCDIR)misc7.c $(SRCDIR)timer.c $(SRCDIR)array2.c $(SRCDIR)dspif.c $(SRCDIR)initdsp.c \
|
||||
$(SRCDIR)miscn.c $(SRCDIR)typeof.c $(SRCDIR)array3.c $(SRCDIR)initkbd.c $(SRCDIR)ubf1.c \
|
||||
$(SRCDIR)array4.c $(SRCDIR)dspsubrs.c $(SRCDIR)initsout.c $(SRCDIR)mkatom.c $(SRCDIR)ubf2.c \
|
||||
$(SRCDIR)array5.c $(SRCDIR)eqf.c $(SRCDIR)intcall.c $(SRCDIR)mkcell.c $(SRCDIR)ubf3.c $(SRCDIR)array6.c \
|
||||
$(SRCDIR)ether.c $(SRCDIR)mkvdate.c $(SRCDIR)ufn.c $(SRCDIR)atom.c $(SRCDIR)findkey.c \
|
||||
$(SRCDIR)kbdsubrs.c $(SRCDIR)mouseif.c $(SRCDIR)ufs.c $(SRCDIR)bbtsub.c $(SRCDIR)foreign.c \
|
||||
$(SRCDIR)keyevent.c $(SRCDIR)unixcomm.c $(SRCDIR)bin.c $(SRCDIR)fp.c $(SRCDIR)binds.c \
|
||||
$(SRCDIR)asmbbt.c $(SRCDIR)fvar.c $(SRCDIR)mvs.c $(SRCDIR)unwind.c $(SRCDIR)bitblt.c $(SRCDIR)gc.c \
|
||||
$(SRCDIR)uraid.c $(SRCDIR)blt.c $(SRCDIR)gc2.c $(SRCDIR)kprint.c \
|
||||
$(SRCDIR)osmsg.c usrsubr.c $(SRCDIR)byteswap.c $(SRCDIR)gcarray.c \
|
||||
$(SRCDIR)perrno.c $(SRCDIR)ldeboot.c $(SRCDIR)ldeether.c $(SRCDIR)uutils.c $(SRCDIR)carcdr.c $(SRCDIR)gccode.c \
|
||||
$(SRCDIR)rawcolor.c $(SRCDIR)vars3.c $(SRCDIR)gcfinal.c $(SRCDIR)ldsout.c $(SRCDIR)return.c \
|
||||
$(SRCDIR)vmemsave.c $(SRCDIR)chardev.c $(SRCDIR)gchtfind.c $(SRCDIR)lineblt8.c $(SRCDIR)rpc.c \
|
||||
$(SRCDIR)xc.c $(SRCDIR)common.c $(SRCDIR)gcmain3.c $(SRCDIR)lisp2c.c $(SRCDIR)rplcons.c $(SRCDIR)z2.c \
|
||||
$(SRCDIR)xmkicon.c $(SRCDIR)xbbt.c $(SRCDIR)xinit.c $(SRCDIR)xscroll.c $(SRCDIR)xcursor.c $(SRCDIR)xlspwin.c \
|
||||
$(SRCDIR)xrdopt.c $(SRCDIR)xwinman.c \
|
||||
$(SRCDIR)dosmouse.c $(SRCDIR)vesafns.asm $(SRCDIR)vesainit.c $(SRCDIR)vgainit.c $(SRCDIR)kbdif.c \
|
||||
$(SRCDIR)dspsparc.il $(SRCDIR)copyright $(SRCDIR)launch.asm
|
||||
|
||||
OFILES = $(OBJECTDIR)conspage.OEXT $(OBJECTDIR)gcoflow.OEXT $(OBJECTDIR)shift.OEXT $(OBJECTDIR)dbgtool.OEXT \
|
||||
$(OBJECTDIR)gcr.OEXT $(OBJECTDIR)llcolor.OEXT $(OBJECTDIR)gcrcell.OEXT $(OBJECTDIR)llstk.OEXT \
|
||||
$(OBJECTDIR)gcscan.OEXT $(OBJECTDIR)loopsops.OEXT $(OBJECTDIR)storage.OEXT \
|
||||
$(OBJECTDIR)allocmds.OEXT $(OBJECTDIR)dir.OEXT $(OBJECTDIR)gvar2.OEXT $(OBJECTDIR)lowlev1.OEXT \
|
||||
$(OBJECTDIR)subr.OEXT $(OBJECTDIR)arith2.OEXT $(OBJECTDIR)lowlev2.OEXT \
|
||||
$(OBJECTDIR)subr0374.OEXT $(OBJECTDIR)arith3.OEXT $(OBJECTDIR)doscomm.OEXT \
|
||||
$(OBJECTDIR)hardrtn.OEXT $(OBJECTDIR)lsthandl.OEXT $(OBJECTDIR)sxhash.OEXT $(OBJECTDIR)arith4.OEXT \
|
||||
$(OBJECTDIR)draw.OEXT $(OBJECTDIR)main.OEXT $(OBJECTDIR)testtool.OEXT $(OBJECTDIR)array.OEXT \
|
||||
$(OBJECTDIR)dsk.OEXT $(OBJECTDIR)inet.OEXT $(OBJECTDIR)misc7.OEXT $(OBJECTDIR)timer.OEXT \
|
||||
$(OBJECTDIR)array2.OEXT $(OBJECTDIR)dspif.OEXT $(OBJECTDIR)initdsp.OEXT $(OBJECTDIR)miscn.OEXT \
|
||||
$(OBJECTDIR)typeof.OEXT $(OBJECTDIR)array3.OEXT $(OBJECTDIR)initkbd.OEXT $(OBJECTDIR)ubf1.OEXT \
|
||||
$(OBJECTDIR)array4.OEXT $(OBJECTDIR)dspsubrs.OEXT $(OBJECTDIR)initsout.OEXT \
|
||||
$(OBJECTDIR)mkatom.OEXT $(OBJECTDIR)ubf2.OEXT $(OBJECTDIR)array5.OEXT $(OBJECTDIR)eqf.OEXT \
|
||||
$(OBJECTDIR)intcall.OEXT $(OBJECTDIR)mkcell.OEXT $(OBJECTDIR)ubf3.OEXT $(OBJECTDIR)array6.OEXT \
|
||||
$(OBJECTDIR)ether.OEXT $(OBJECTDIR)ufn.OEXT $(OBJECTDIR)atom.OEXT \
|
||||
$(OBJECTDIR)findkey.OEXT $(OBJECTDIR)kbdsubrs.OEXT $(OBJECTDIR)mouseif.OEXT $(OBJECTDIR)ufs.OEXT \
|
||||
$(OBJECTDIR)bbtsub.OEXT $(OBJECTDIR)foreign.OEXT $(OBJECTDIR)keyevent.OEXT \
|
||||
$(OBJECTDIR)unixcomm.OEXT $(OBJECTDIR)bin.OEXT $(OBJECTDIR)fp.OEXT \
|
||||
$(OBJECTDIR)binds.OEXT $(OBJECTDIR)fvar.OEXT $(OBJECTDIR)mvs.OEXT \
|
||||
$(OBJECTDIR)unwind.OEXT $(OBJECTDIR)bitblt.OEXT $(OBJECTDIR)gc.OEXT \
|
||||
$(OBJECTDIR)uraid.OEXT $(OBJECTDIR)blt.OEXT $(OBJECTDIR)gc2.OEXT \
|
||||
$(OBJECTDIR)kprint.OEXT $(OBJECTDIR)osmsg.OEXT $(OBJECTDIR)usrsubr.OEXT $(OBJECTDIR)byteswap.OEXT \
|
||||
$(OBJECTDIR)gcarray.OEXT $(OBJECTDIR)perrno.OEXT $(OBJECTDIR)uutils.OEXT \
|
||||
$(OBJECTDIR)carcdr.OEXT $(OBJECTDIR)asmbbt.OEXT $(OBJECTDIR)gccode.OEXT \
|
||||
$(OBJECTDIR)vars3.OEXT $(OBJECTDIR)gcfinal.OEXT $(OBJECTDIR)ldsout.OEXT \
|
||||
$(OBJECTDIR)return.OEXT $(OBJECTDIR)vmemsave.OEXT $(OBJECTDIR)chardev.OEXT \
|
||||
$(OBJECTDIR)gchtfind.OEXT $(OBJECTDIR)lineblt8.OEXT $(OBJECTDIR)rpc.OEXT $(OBJECTDIR)xc.OEXT \
|
||||
$(OBJECTDIR)common.OEXT $(OBJECTDIR)gcmain3.OEXT $(OBJECTDIR)lisp2c.OEXT $(OBJECTDIR)rplcons.OEXT \
|
||||
$(OBJECTDIR)z2.OEXT $(OBJECTDIR) $(OBJECTDIR)vdate.OEXT $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = $(INCDIR)address.h $(INCDIR)adr68k.h $(INCDIR)arith.h $(INCDIR)cell.h $(INCDIR)dbprint.h $(INCDIR)display.h \
|
||||
$(INCDIR)dspif.h $(INCDIR)ifpage.h $(INCDIR)iopage.h $(INCDIR)lispemul.h $(INCDIR)lispmap.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)miscstat.h $(INCDIR)lspglob.h $(INCDIR)array.h $(INCDIR)bb.h \
|
||||
$(INCDIR)bitblt.h $(INCDIR)debug.h $(INCDIR)devconf.h $(INCDIR)dspdata.h $(INCDIR)ether.h \
|
||||
$(INCDIR)fast_dsp.h $(INCDIR)gcdata.h $(INCDIR)hdw_conf.h $(INCDIR)initatms.h $(INCDIR)inlinec.h $(INCDIR)keyboard.h \
|
||||
$(INCDIR)lispver1.h $(INCDIR)lispver2.h $(INCDIR)lldsp.h $(INCDIR)locfile.h $(INCIDR)medleyfp.h $(INCDIR)mouseif.h $(INCDIR)my.h \
|
||||
$(INCDIR)opcodes.h $(INCDIR)osmsg.h $(INCDIR)pilotbbt.h $(INCDIR)print.h \
|
||||
$(INCDIR)return.h $(INCDIR)stack.h $(INCDIR)stream.h $(INCDIR)subrs.h $(INCDIR)timeout.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosfns.h $(INCDIR)tosret.h $(INCDIR)vmemsave.h \
|
||||
$(INCDIR)xdefs.h $(INCDIR)xbitmaps.h $(INCDIR)xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
all : x raw color
|
||||
|
||||
x : xmkfile
|
||||
$(MAKE) -f xmkfile $(MFLAGS) ldex
|
||||
|
||||
raw : mkfile
|
||||
$(MAKE) -f mkfile $(MFLAGS) lde
|
||||
|
||||
color : mkfile
|
||||
$(MAKE) -f mkfile $(MFLAGS) lde
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfile $(MFLAGS) medley.exe
|
||||
$(MAKE) -f ./dosmkfile $(MFLAGS) emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
xmkfile : mkfile
|
||||
$(CC) -E -DX mkfile > xmkfile
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
ldex : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the specific files for this target */
|
||||
$(CC) $(OFILES) -o $@ $(LDFLAGS)
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the specific files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture specific targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
xc.obj: xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
xc.s: xc.c
|
||||
rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
198
bin/mkfile
198
bin/mkfile
@ -1,198 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define SRCDIR .
|
||||
#define OBJECTDIR .
|
||||
#define BINDIR ../bin
|
||||
#define INCDIR ../inc
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
BINARYDIR = BINDIR
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
CFLAGS = -I. XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = SRCDIR/conspage.c SRCDIR/gcoflow.c SRCDIR/shift.c SRCDIR/dbgtool.c SRCDIR/gcr.c\
|
||||
SRCDIR/llcolor.c SRCDIR/gcrcell.c SRCDIR/llstk.c SRCDIR/gcscan.c SRCDIR/loopsops.c\
|
||||
SRCDIR/storage.c SRCDIR/allocmds.c SRCDIR/dir.c SRCDIR/gvar2.c SRCDIR/lowlev1.c\
|
||||
SRCDIR/subr.c SRCDIR/arith2.c SRCDIR/lowlev2.c SRCDIR/subr0374.c \
|
||||
SRCDIR/arith3.c SRCDIR/doscomm.c SRCDIR/hardrtn.c SRCDIR/lsthandl.c SRCDIR/sxhash.c \
|
||||
SRCDIR/arith4.c SRCDIR/draw.c SRCDIR/main.c SRCDIR/testtool.c SRCDIR/array.c SRCDIR/dsk.c \
|
||||
SRCDIR/inet.c SRCDIR/misc7.c SRCDIR/timer.c SRCDIR/array2.c SRCDIR/dspif.c SRCDIR/initdsp.c \
|
||||
SRCDIR/miscn.c SRCDIR/typeof.c SRCDIR/array3.c SRCDIR/initkbd.c SRCDIR/ubf1.c \
|
||||
SRCDIR/array4.c SRCDIR/dspsubrs.c SRCDIR/initsout.c SRCDIR/mkatom.c SRCDIR/ubf2.c \
|
||||
SRCDIR/array5.c SRCDIR/eqf.c SRCDIR/intcall.c SRCDIR/mkcell.c SRCDIR/ubf3.c SRCDIR/array6.c \
|
||||
SRCDIR/ether.c SRCDIR/mkvdate.c SRCDIR/ufn.c SRCDIR/atom.c SRCDIR/findkey.c \
|
||||
SRCDIR/kbdsubrs.c SRCDIR/mouseif.c SRCDIR/ufs.c SRCDIR/bbtsub.c SRCDIR/foreign.c \
|
||||
SRCDIR/keyevent.c SRCDIR/unixcomm.c SRCDIR/bin.c SRCDIR/fp.c SRCDIR/binds.c \
|
||||
SRCDIR/asmbbt.c SRCDIR/fvar.c SRCDIR/mvs.c SRCDIR/unwind.c SRCDIR/bitblt.c SRCDIR/gc.c \
|
||||
SRCDIR/uraid.c SRCDIR/blt.c SRCDIR/gc2.c SRCDIR/kprint.c \
|
||||
SRCDIR/osmsg.c usrsubr.c SRCDIR/byteswap.c SRCDIR/gcarray.c \
|
||||
SRCDIR/perrno.c SRCDIR/ldeboot.c SRCDIR/ldeether.c SRCDIR/uutils.c SRCDIR/carcdr.c SRCDIR/gccode.c \
|
||||
SRCDIR/rawcolor.c SRCDIR/vars3.c SRCDIR/gcfinal.c SRCDIR/ldsout.c SRCDIR/return.c \
|
||||
SRCDIR/vmemsave.c SRCDIR/chardev.c SRCDIR/gchtfind.c SRCDIR/lineblt8.c SRCDIR/rpc.c \
|
||||
SRCDIR/xc.c SRCDIR/common.c SRCDIR/gcmain3.c SRCDIR/lisp2c.c SRCDIR/rplcons.c SRCDIR/z2.c \
|
||||
SRCDIR/xmkicon.c SRCDIR/xbbt.c SRCDIR/xinit.c SRCDIR/xscroll.c SRCDIR/xcursor.c SRCDIR/xlspwin.c \
|
||||
SRCDIR/xrdopt.c SRCDIR/xwinman.c \
|
||||
SRCDIR/dosmouse.c SRCDIR/vesafns.asm SRCDIR/vesainit.c SRCDIR/vgainit.c SRCDIR/kbdif.c \
|
||||
SRCDIR/dspsparc.il SRCDIR/copyright SRCDIR/launch.asm
|
||||
|
||||
OFILES = conspage.OEXT gcoflow.OEXT shift.OEXT dbgtool.OEXT \
|
||||
gcr.OEXT llcolor.OEXT gcrcell.OEXT llstk.OEXT \
|
||||
gcscan.OEXT loopsops.OEXT storage.OEXT \
|
||||
allocmds.OEXT dir.OEXT gvar2.OEXT lowlev1.OEXT \
|
||||
subr.OEXT arith2.OEXT lowlev2.OEXT \
|
||||
subr0374.OEXT arith3.OEXT doscomm.OEXT \
|
||||
hardrtn.OEXT lsthandl.OEXT sxhash.OEXT arith4.OEXT \
|
||||
draw.OEXT main.OEXT testtool.OEXT array.OEXT \
|
||||
dsk.OEXT inet.OEXT misc7.OEXT timer.OEXT \
|
||||
array2.OEXT dspif.OEXT initdsp.OEXT miscn.OEXT \
|
||||
typeof.OEXT array3.OEXT initkbd.OEXT ubf1.OEXT \
|
||||
array4.OEXT dspsubrs.OEXT initsout.OEXT \
|
||||
mkatom.OEXT ubf2.OEXT array5.OEXT eqf.OEXT \
|
||||
intcall.OEXT mkcell.OEXT ubf3.OEXT array6.OEXT \
|
||||
ether.OEXT ufn.OEXT atom.OEXT \
|
||||
findkey.OEXT kbdsubrs.OEXT mouseif.OEXT ufs.OEXT \
|
||||
bbtsub.OEXT foreign.OEXT keyevent.OEXT \
|
||||
unixcomm.OEXT bin.OEXT fp.OEXT \
|
||||
binds.OEXT fvar.OEXT mvs.OEXT \
|
||||
unwind.OEXT bitblt.OEXT gc.OEXT \
|
||||
uraid.OEXT blt.OEXT gc2.OEXT \
|
||||
kprint.OEXT osmsg.OEXT usrsubr.OEXT byteswap.OEXT \
|
||||
gcarray.OEXT perrno.OEXT uutils.OEXT \
|
||||
carcdr.OEXT asmbbt.OEXT gccode.OEXT \
|
||||
vars3.OEXT gcfinal.OEXT ldsout.OEXT \
|
||||
return.OEXT vmemsave.OEXT chardev.OEXT \
|
||||
gchtfind.OEXT lineblt8.OEXT rpc.OEXT xc.OEXT \
|
||||
common.OEXT gcmain3.OEXT lisp2c.OEXT rplcons.OEXT \
|
||||
z2.OEXT vdate.OEXT $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = INCDIR/address.h INCDIR/adr68k.h INCDIR/arith.h INCDIR/cell.h INCDIR/dbprint.h INCDIR/display.h \
|
||||
INCDIR/dspif.h INCDIR/ifpage.h INCDIR/iopage.h INCDIR/lispemul.h INCDIR/lispmap.h \
|
||||
INCDIR/lsptypes.h INCDIR/miscstat.h INCDIR/lspglob.h INCDIR/array.h INCDIR/bb.h \
|
||||
INCDIR/bitblt.h INCDIR/debug.h INCDIR/devconf.h INCDIR/dspdata.h INCDIR/ether.h \
|
||||
INCDIR/fast_dsp.h INCDIR/gcdata.h INCDIR/hdw_conf.h INCDIR/initatms.h INCDIR/inlinec.h INCDIR/keyboard.h \
|
||||
INCDIR/lispver1.h INCDIR/lispver2.h INCDIR/lldsp.h INCDIR/locfile.h INCDIR/medleyfp.h INCDIR/mouseif.h INCDIR/my.h \
|
||||
INCDIR/opcodes.h INCDIR/osmsg.h INCDIR/pilotbbt.h INCDIR/print.h \
|
||||
INCDIR/return.h INCDIR/stack.h INCDIR/stream.h INCDIR/subrs.h INCDIR/timeout.h \
|
||||
INCDIR/tos1defs.h INCDIR/tosfns.h INCDIR/tosret.h INCDIR/vmemsave.h \
|
||||
INCDIR/xdefs.h INCDIR/xbitmaps.h INCDIR/xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the specific files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
OBJECTDIR/main.o : INCDIR/lispemul.h INCDIR/address.h INCDIR/lsptypes.h INCDIR/adr68k.h\
|
||||
INCDIR/stack.h INCDIR/lspglob.h INCDIR/lispmap.h INCDIR/ifpage.h\
|
||||
INCDIR/iopage.h INCDIR/return.h INCDIR/debug.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture specific targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
BINDIR/medley.exe: OBJECTDIR/launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
OBJECTDIR/launch.obj: SRCDIR/launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
OBJECTDIR/xc.obj: SRCDIR/xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
SRCDIR/xc.s: SRCDIR/xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
198
bin/mkfile.c
198
bin/mkfile.c
@ -1,198 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define SRCDIR .
|
||||
#define OBJECTDIR .
|
||||
#define BINDIR ../bin
|
||||
#define INCDIR ../inc
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
BINARYDIR = BINDIR
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
CFLAGS = -I. XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = SRCDIR/conspage.c SRCDIR/gcoflow.c SRCDIR/shift.c SRCDIR/dbgtool.c SRCDIR/gcr.c\
|
||||
SRCDIR/llcolor.c SRCDIR/gcrcell.c SRCDIR/llstk.c SRCDIR/gcscan.c SRCDIR/loopsops.c\
|
||||
SRCDIR/storage.c SRCDIR/allocmds.c SRCDIR/dir.c SRCDIR/gvar2.c SRCDIR/lowlev1.c\
|
||||
SRCDIR/subr.c SRCDIR/arith2.c SRCDIR/lowlev2.c SRCDIR/subr0374.c \
|
||||
SRCDIR/arith3.c SRCDIR/doscomm.c SRCDIR/hardrtn.c SRCDIR/lsthandl.c SRCDIR/sxhash.c \
|
||||
SRCDIR/arith4.c SRCDIR/draw.c SRCDIR/main.c SRCDIR/testtool.c SRCDIR/array.c SRCDIR/dsk.c \
|
||||
SRCDIR/inet.c SRCDIR/misc7.c SRCDIR/timer.c SRCDIR/array2.c SRCDIR/dspif.c SRCDIR/initdsp.c \
|
||||
SRCDIR/miscn.c SRCDIR/typeof.c SRCDIR/array3.c SRCDIR/initkbd.c SRCDIR/ubf1.c \
|
||||
SRCDIR/array4.c SRCDIR/dspsubrs.c SRCDIR/initsout.c SRCDIR/mkatom.c SRCDIR/ubf2.c \
|
||||
SRCDIR/array5.c SRCDIR/eqf.c SRCDIR/intcall.c SRCDIR/mkcell.c SRCDIR/ubf3.c SRCDIR/array6.c \
|
||||
SRCDIR/ether.c SRCDIR/mkvdate.c SRCDIR/ufn.c SRCDIR/atom.c SRCDIR/findkey.c \
|
||||
SRCDIR/kbdsubrs.c SRCDIR/mouseif.c SRCDIR/ufs.c SRCDIR/bbtsub.c SRCDIR/foreign.c \
|
||||
SRCDIR/keyevent.c SRCDIR/unixcomm.c SRCDIR/bin.c SRCDIR/fp.c SRCDIR/binds.c \
|
||||
SRCDIR/asmbbt.c SRCDIR/fvar.c SRCDIR/mvs.c SRCDIR/unwind.c SRCDIR/bitblt.c SRCDIR/gc.c \
|
||||
SRCDIR/uraid.c SRCDIR/blt.c SRCDIR/gc2.c SRCDIR/kprint.c \
|
||||
SRCDIR/osmsg.c usrsubr.c SRCDIR/byteswap.c SRCDIR/gcarray.c \
|
||||
SRCDIR/perrno.c SRCDIR/ldeboot.c SRCDIR/ldeether.c SRCDIR/uutils.c SRCDIR/carcdr.c SRCDIR/gccode.c \
|
||||
SRCDIR/rawcolor.c SRCDIR/vars3.c SRCDIR/gcfinal.c SRCDIR/ldsout.c SRCDIR/return.c \
|
||||
SRCDIR/vmemsave.c SRCDIR/chardev.c SRCDIR/gchtfind.c SRCDIR/lineblt8.c SRCDIR/rpc.c \
|
||||
SRCDIR/xc.c SRCDIR/common.c SRCDIR/gcmain3.c SRCDIR/lisp2c.c SRCDIR/rplcons.c SRCDIR/z2.c \
|
||||
SRCDIR/xmkicon.c SRCDIR/xbbt.c SRCDIR/xinit.c SRCDIR/xscroll.c SRCDIR/xcursor.c SRCDIR/xlspwin.c \
|
||||
SRCDIR/xrdopt.c SRCDIR/xwinman.c \
|
||||
SRCDIR/dosmouse.c SRCDIR/vesafns.asm SRCDIR/vesainit.c SRCDIR/vgainit.c SRCDIR/kbdif.c \
|
||||
SRCDIR/dspsparc.il SRCDIR/copyright SRCDIR/launch.asm
|
||||
|
||||
OFILES = conspage.OEXT gcoflow.OEXT shift.OEXT dbgtool.OEXT \
|
||||
gcr.OEXT llcolor.OEXT gcrcell.OEXT llstk.OEXT \
|
||||
gcscan.OEXT loopsops.OEXT storage.OEXT \
|
||||
allocmds.OEXT dir.OEXT gvar2.OEXT lowlev1.OEXT \
|
||||
subr.OEXT arith2.OEXT lowlev2.OEXT \
|
||||
subr0374.OEXT arith3.OEXT doscomm.OEXT \
|
||||
hardrtn.OEXT lsthandl.OEXT sxhash.OEXT arith4.OEXT \
|
||||
draw.OEXT main.OEXT testtool.OEXT array.OEXT \
|
||||
dsk.OEXT inet.OEXT misc7.OEXT timer.OEXT \
|
||||
array2.OEXT dspif.OEXT initdsp.OEXT miscn.OEXT \
|
||||
typeof.OEXT array3.OEXT initkbd.OEXT ubf1.OEXT \
|
||||
array4.OEXT dspsubrs.OEXT initsout.OEXT \
|
||||
mkatom.OEXT ubf2.OEXT array5.OEXT eqf.OEXT \
|
||||
intcall.OEXT mkcell.OEXT ubf3.OEXT array6.OEXT \
|
||||
ether.OEXT ufn.OEXT atom.OEXT \
|
||||
findkey.OEXT kbdsubrs.OEXT mouseif.OEXT ufs.OEXT \
|
||||
bbtsub.OEXT foreign.OEXT keyevent.OEXT \
|
||||
unixcomm.OEXT bin.OEXT fp.OEXT \
|
||||
binds.OEXT fvar.OEXT mvs.OEXT \
|
||||
unwind.OEXT bitblt.OEXT gc.OEXT \
|
||||
uraid.OEXT blt.OEXT gc2.OEXT \
|
||||
kprint.OEXT osmsg.OEXT usrsubr.OEXT byteswap.OEXT \
|
||||
gcarray.OEXT perrno.OEXT uutils.OEXT \
|
||||
carcdr.OEXT asmbbt.OEXT gccode.OEXT \
|
||||
vars3.OEXT gcfinal.OEXT ldsout.OEXT \
|
||||
return.OEXT vmemsave.OEXT chardev.OEXT \
|
||||
gchtfind.OEXT lineblt8.OEXT rpc.OEXT xc.OEXT \
|
||||
common.OEXT gcmain3.OEXT lisp2c.OEXT rplcons.OEXT \
|
||||
z2.OEXT vdate.OEXT $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = INCDIR/address.h INCDIR/adr68k.h INCDIR/arith.h INCDIR/cell.h INCDIR/dbprint.h INCDIR/display.h \
|
||||
INCDIR/dspif.h INCDIR/ifpage.h INCDIR/iopage.h INCDIR/lispemul.h INCDIR/lispmap.h \
|
||||
INCDIR/lsptypes.h INCDIR/miscstat.h INCDIR/lspglob.h INCDIR/array.h INCDIR/bb.h \
|
||||
INCDIR/bitblt.h INCDIR/debug.h INCDIR/devconf.h INCDIR/dspdata.h INCDIR/ether.h \
|
||||
INCDIR/fast_dsp.h INCDIR/gcdata.h INCDIR/hdw_conf.h INCDIR/initatms.h INCDIR/inlinec.h INCDIR/keyboard.h \
|
||||
INCDIR/lispver1.h INCDIR/lispver2.h INCDIR/lldsp.h INCDIR/locfile.h INCDIR/medleyfp.h INCDIR/mouseif.h INCDIR/my.h \
|
||||
INCDIR/opcodes.h INCDIR/osmsg.h INCDIR/pilotbbt.h INCDIR/print.h \
|
||||
INCDIR/return.h INCDIR/stack.h INCDIR/stream.h INCDIR/subrs.h INCDIR/timeout.h \
|
||||
INCDIR/tos1defs.h INCDIR/tosfns.h INCDIR/tosret.h INCDIR/vmemsave.h \
|
||||
INCDIR/xdefs.h INCDIR/xbitmaps.h INCDIR/xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the specific files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
OBJECTDIR/main.o : INCDIR/lispemul.h INCDIR/address.h INCDIR/lsptypes.h INCDIR/adr68k.h\
|
||||
INCDIR/stack.h INCDIR/lspglob.h INCDIR/lispmap.h INCDIR/ifpage.h\
|
||||
INCDIR/iopage.h INCDIR/return.h INCDIR/debug.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture specific targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
BINDIR/medley.exe: OBJECTDIR/launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
OBJECTDIR/launch.obj: SRCDIR/launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
OBJECTDIR/xc.obj: SRCDIR/xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
SRCDIR/xc.s: SRCDIR/xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
84
bin/mkfile.i
84
bin/mkfile.i
@ -1,84 +0,0 @@
|
||||
|
||||
#line 1 "d:/windows/TEMP/cbr3"
|
||||
#pragma si(C:\codebldr\inc\)
|
||||
|
||||
#line 1 "mkfile.c"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BINARYDIR = ../bin
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.obj
|
||||
|
||||
CFLAGS = -I. -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -O2
|
||||
|
||||
LDFLAGS = -O2 graphics.lib binmode.lib mouse.lib
|
||||
|
||||
SRCFILES = ./conspage.c ./gcoflow.c ./shift.c ./dbgtool.c ./gcr.c ./llcolor.c ./gcrcell.c ./llstk.c ./gcscan.c ./loopsops.c ./storage.c ./allocmds.c ./dir.c ./gvar2.c ./lowlev1.c ./subr.c ./arith2.c ./lowlev2.c ./subr0374.c ./arith3.c ./doscomm.c ./hardrtn.c ./lsthandl.c ./sxhash.c ./arith4.c ./draw.c ./main.c ./testtool.c ./array.c ./dsk.c ./inet.c ./misc7.c ./timer.c ./array2.c ./dspif.c ./initdsp.c ./miscn.c ./typeof.c ./array3.c ./initkbd.c ./ubf1.c ./array4.c ./dspsubrs.c ./initsout.c ./mkatom.c ./ubf2.c ./array5.c ./eqf.c ./intcall.c ./mkcell.c ./ubf3.c ./array6.c ./ether.c ./mkvdate.c ./ufn.c ./atom.c ./findkey.c ./kbdsubrs.c ./mouseif.c ./ufs.c ./bbtsub.c ./foreign.c ./keyevent.c ./unixcomm.c ./bin.c ./fp.c ./binds.c ./asmbbt.c ./fvar.c ./mvs.c ./unwind.c ./bitblt.c ./gc.c ./uraid.c ./blt.c ./gc2.c ./kprint.c ./osmsg.c usrsubr.c ./byteswap.c ./gcarray.c ./perrno.c ./ldeboot.c ./ldeether.c ./uutils.c ./carcdr.c ./gccode.c ./rawcolor.c ./vars3.c ./gcfinal.c ./ldsout.c ./return.c ./vmemsave.c ./chardev.c ./gchtfind.c ./lineblt8.c ./rpc.c ./xc.c ./common.c ./gcmain3.c ./lisp2c.c ./rplcons.c ./z2.c ./xmkicon.c ./xbbt.c ./xinit.c ./xscroll.c ./xcursor.c ./xlspwin.c ./xrdopt.c ./xwinman.c ./dosmouse.c ./vesafns.asm ./vesainit.c ./vgainit.c ./kbdif.c ./dspsparc.il ./copyright ./launch.asm
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj llcolor.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(COLORFILES) $(ARCHFILES)
|
||||
|
||||
|
||||
HFILES = ../inc/address.h ../inc/adr68k.h ../inc/arith.h ../inc/cell.h ../inc/dbprint.h ../inc/display.h ../inc/dspif.h ../inc/ifpage.h ../inc/iopage.h ../inc/lispemul.h ../inc/lispmap.h ../inc/lsptypes.h ../inc/miscstat.h ../inc/lspglob.h ../inc/array.h ../inc/bb.h ../inc/bitblt.h ../inc/debug.h ../inc/devconf.h ../inc/dspdata.h ../inc/ether.h ../inc/fast_dsp.h ../inc/gcdata.h ../inc/hdw_conf.h ../inc/initatms.h ../inc/inlinec.h ../inc/keyboard.h ../inc/lispver1.h ../inc/lispver2.h ../inc/lldsp.h ../inc/locfile.h ../inc/medleyfp.h ../inc/mouseif.h ../inc/my.h ../inc/opcodes.h ../inc/osmsg.h ../inc/pilotbbt.h ../inc/print.h ../inc/return.h ../inc/stack.h ../inc/stream.h ../inc/subrs.h ../inc/timeout.h ../inc/tos1defs.h ../inc/tosfns.h ../inc/tosret.h ../inc/vmemsave.h ../inc/xdefs.h ../inc/xbitmaps.h ../inc/xkeymap.h
|
||||
|
||||
|
||||
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the specific files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
|
||||
./main.o : ../inc/lispemul.h ../inc/address.h ../inc/lsptypes.h ../inc/adr68k.h ../inc/stack.h ../inc/lspglob.h ../inc/lispmap.h ../inc/ifpage.h ../inc/iopage.h ../inc/return.h ../inc/debug.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
../bin/medley.exe: ./launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
./launch.obj: ./launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
./xc.obj: ./xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
./xc.s: ./xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user