home *** CD-ROM | disk | FTP | other *** search
- #
- # Microsoft 5.1 makefile for .\finger\
- #
-
- I = ..\include
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /W3 # for making more portable versions
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /Ox /W3 # for making more portable versions, with the best optimization
- CC = CL /c /AL /DMSC /DFTP /I$(I) /Ot /Gs /W3 # for making more portable versions, with the best optimization
- #CC = CL /c /AL /DMSC /DFTP /DMEMORY_DEBUG /I$(I) /Ox /W3 # for making more portable versions, with the best optimization
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s
- #CC = CL /c /AL /FPi87 /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s with 80287 math coprocessors
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /Zg # for getting function declarations
- LINK = /E /F /PACKC /DOSSEG /ST:4096
- OBJS = ftpbin.obj ..\lib\ncsaio.obj packet.obj
-
- #
- # First compile finger
- #
-
- finger\finger.obj: finger\finger.c
- cd finger
- $(CC) finger.c
- copy finger.obj ..\lib
- cd ..
-
- engine\netutils.obj: engine\netutils.c
- cd engine
- $(CC) netutils.c
- copy netutils.obj ..\lib
- cd ..
-
- #
- # This next set is a repeat of tmake.msc
- # We want to make sure the tcp/ip kernal is up to date
- #
-
- net\enet\net.obj : net\enet\net.c include\protocol.h include\data.h
- cd net\enet
- $(CC) /I..\..\include net.c
- cd ..\..
- lib lib\enet.lib -+net\enet\net ;
-
- net\enet\ltalk.obj : net\enet\ltalk.c include\kip.h
- cd net\enet
- $(CC) /I..\..\include ltalk.c
- cd ..\..
- lib lib\enet.lib -+net\enet\ltalk ;
-
- engine\ip.obj : engine\ip.c include\protocol.h include\data.h
- cd engine
- $(CC) ip.c
- cd ..
- lib lib\tcp.lib -+engine\ip ;
-
- engine\user.obj : engine\user.c include\protocol.h include\data.h
- cd engine
- $(CC) user.c
- cd ..
- lib lib\tcp.lib -+engine\user ;
-
- engine\rspc.obj : engine\rspc.c include\windat.h include\vskeys.h include\whatami.h
- cd engine
- $(CC) rspc.c
- copy rspc.obj ..\lib
- cd ..
-
- engine\tools.obj : engine\tools.c include\protocol.h include\data.h
- cd engine
- $(CC) tools.c
- cd ..
- lib lib\tcp.lib -+engine\tools ;
-
- engine\udp.obj : engine\udp.c include\protocol.h include\data.h
- cd engine
- $(CC) udp.c
- cd ..
- lib lib\tcp.lib -+engine\udp ;
-
- engine\arp.obj : engine\arp.c include\protocol.h include\data.h
- cd engine
- $(CC) arp.c
- cd ..
- lib lib\tcp.lib -+engine\arp;
-
- engine\domain.obj : engine\domain.c include\protocol.h include\data.h
- cd engine
- $(CC) domain.c
- cd ..
- lib lib\tcp.lib -+engine\domain ;
-
- engine\bkgr.obj : engine\bkgr.c include\hostform.h include\whatami.h
- cd engine
- $(CC) bkgr.c
- cd ..
- lib lib\sess.lib -+engine\bkgr ;
-
- engine\util.obj : engine\util.c include\whatami.h include\hostform.h
- cd engine
- $(CC) util.c
- cd ..
- lib lib\sess.lib -+engine\util ;
-
- engine\tcp.obj : engine\tcp.c include\protocol.h include\data.h
- cd engine
- $(CC) tcp.c
- cd ..
- lib lib\tcp.lib -+engine\tcp ;
-
- engine\pcutil.obj : engine\pcutil.c include\whatami.h
- cd engine
- $(CC) pcutil.c
- cd ..
- lib lib\sess.lib -+engine\pcutil ;
-
- engine\protinit.obj : engine\protinit.c include\protocol.h include\data.h
- cd engine
- $(CC) protinit.c
- cd ..
- lib lib\tcp.lib -+engine\protinit ;
-
- engine\look.obj : engine\look.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
- cd engine
- $(CC) look.c
- copy look.obj ..\lib
- cd ..
-
- engine\menu.obj : engine\menu.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
- cd engine
- $(CC) menu.c
- copy menu.obj ..\lib
- cd ..
-
- engine\confile.obj : engine\confile.c include\whatami.h include\hostform.h
- cd engine
- $(CC) confile.c
- cd ..
- lib lib\sess.lib -+engine\confile ;
-
- net\enet\netbicc.obj : net\enet\netbicc.c include\protocol.h include\data.h
- cd net\enet
- $(CC) /I..\..\include netbicc.c
- cd ..\..
- lib lib\enet.lib -+net\enet\netbicc ;
-
- net\enet\netbicc2.obj : net\enet\netbicc2.asm
- cd net\enet
- masm /DMicrosoft netbicc2.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\netbicc2 ;
-
- net\enet\packet.obj : net\enet\packet.c include\windat.h include\whatami.h
- cd net\enet
- $(CC) /I..\..\include packet.c
- cd ..\..
- lib lib\enet.lib -+net\enet\packet ;
-
- net\enet\packet2.obj : net\enet\packet2.asm
- cd net\enet
- masm /DMicrosoft packet2.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\packet2 ;
-
- net\enet\netatt10.obj : net\enet\netatt10.asm
- cd net\enet
- masm /DMicrosoft netatt10.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\netatt10 ;
-
- net\enet\net3com.obj : net\enet\net3com.asm
- cd net\enet
- masm /DMicrosoft net3com.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net3com ;
-
- net\enet\net501.obj : net\enet\net501.asm
- cd net\enet
- masm /DMicrosoft net501.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net501 ;
-
- net\enet\nov3com.obj : net\enet\nov3com.asm
- cd net\enet
- masm /DMicrosoft nov3com.asm ;
- cd ..\..
- # lib lib\enet.lib -+net\enet\nov3com ;
-
- net\enet\net503.obj : net\enet\net503.asm
- cd net\enet
- masm /DMicrosoft net503.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net503 ;
-
- net\enet\net505.obj : net\enet\net505.asm
- cd net\enet
- masm /DMicrosoft net505.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net505 ;
-
- net\enet\net9210.obj : net\enet\net9210.asm
- cd net\enet
- masm /DMicrosoft net9210.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net9210 ;
-
- net\enet\ltlisten.obj : net\enet\ltlisten.asm
- cd net\enet
- masm /DMicrosoft ltlisten.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\ltlisten ;
-
- net\enet\net523.obj : net\enet\net523.asm
- cd net\enet
- masm /DMicrosoft net523.asm ;
- cd..\..
- lib lib\enet.lib -+net\enet\net523 ;
-
- net\enet\netub.obj : net\enet\netub.asm
- cd net\enet
- masm /DMicrosoft netub.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\netub ;
-
- net\enet\net5210.obj : net\enet\net5210.asm
- cd net\enet
- masm /DMicrosoft net5210.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net5210 ;
-
- net\enet\net8003.obj : net\enet\net8003.asm
- cd net\enet
- masm /DMicrosoft net8003.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\net8003 ;
-
- net\enet\netzyp.obj : net\enet\netzyp.asm
- cd net\enet
- masm /DMicrosoft netzyp.asm ;
- cd ..\..
- lib lib\enet.lib -+net\enet\netzyp ;
-
- engine\ipasm.obj : engine\ipasm.asm
- cd engine
- masm /DMicrosoft ipasm.asm ;
- cd ..
- lib lib\tcp.lib -+engine\ipasm ;
-
- engine\ncsaio.obj : engine\ncsaio.asm
- cd engine
- masm /DMicrosoft ncsaio ;
- copy ncsaio.obj ..\lib
- cd ..
-
- engine\fakeout.obj : engine\fakeout.c
- cd engine
- $(CC) /I..\include fakeout.c
- cd ..
- lib lib\common.lib -+engine\fakeout ;
-
- debug\memdebug.obj : debug\memdebug.c include\memdebug.h
- cd debug
- $(CC) /I..\include memdebug.c
- copy memdebug.obj ..\lib
- cd ..
-
- #
- # Put it all together
- #
-
- finger.exe : finger\finger.obj engine\netutils.obj debug\memdebug.obj engine\ncsaio.obj lib\sess.lib lib\tcp.lib lib\enet.lib lib\common.lib
- cd lib
- link $(LINK) finger+netutils+ncsaio+memdebug,finger,nul,tcp+sess+enet+common;
- copy finger.exe ..
- del finger.exe
- cd ..
-