home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / TEL23SRC.ZIP / FTPMAKE.MSC < prev    next >
Encoding:
Text File  |  1991-07-28  |  7.2 KB  |  282 lines

  1. #
  2. #    Microsoft 5.1 makefile for \telnet\ftp
  3. #
  4.  
  5. I       = ..\include
  6. #CC        = CL /c /AL /DMSC /DFTP /DMOUSE_H /I$(I) /W3        # for making more portable versions
  7. CC      = CL /c /AL /DMSC /DFTP /DMOUSE_H /I$(I) /Ot /Gs /W3 # for making more portable versions, with the best optimization
  8. #CC      = CL /c /AL /DMSC /DFTP /DMOUSE_H /DMEMORY_DEBUG /I$(I) /Ox /W3 # for making more portable versions, with the best optimization
  9. #CC        = CL /c /AL /DMSC /DFTP /DMOUSE_H /I$(I) /Ox /W3    # for making more portable versions, with the best optimization
  10. #CC     = CL /c /AL /DMSC /DFTP /DMOUSE_H /I$(I) /G2 /Ox /W3    # for making versions which only need to run on 80286s
  11. #CC        = CL /c /AL /FPi87 /DMSC /DFTP /DMOUSE_H /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s with 80287 math coprocessors
  12. #CC      = CL /c /AL /DMSC /DFTP /DMOUSE_H /I$(I) /Zg    # for getting function declarations
  13. #LINK   = /ST:4096 /CO /DOSSEG               # for debugging
  14. LINK    = /ST:4096 /E /F /PACKC /DOSSEG        # for final versions
  15.  
  16. #
  17. # First compile ftpbin
  18. #
  19. ftp\ftpbin.obj : ftp\ftpbin.c
  20.     cd ftp
  21.     $(CC) ftpbin.c
  22.     copy ftpbin.obj ..\lib
  23.     cd ..
  24.  
  25. #
  26. # This next set is a repeat of tmake.msc
  27. # We want to make sure the tcp/ip kernal is up to date
  28. #
  29.  
  30. net\enet\net.obj : net\enet\net.c include\protocol.h include\data.h
  31.     cd net\enet
  32.     $(CC) /I..\..\include net.c
  33.     cd ..\.. 
  34.     lib lib\enet.lib -+net\enet\net ;
  35.  
  36. net\enet\ltalk.obj : net\enet\ltalk.c include\kip.h 
  37.     cd net\enet
  38.     $(CC) /I..\..\include ltalk.c
  39.     cd ..\.. 
  40.     lib lib\enet.lib -+net\enet\ltalk ;
  41.  
  42. engine\ip.obj : engine\ip.c include\protocol.h include\data.h
  43.     cd engine
  44.     $(CC) ip.c
  45.     cd ..
  46.     lib lib\tcp.lib -+engine\ip ;
  47.  
  48. engine\bootp.obj : engine\bootp.c include\protocol.h include\data.h include\bootp.h include\windat.h include\hostform.h
  49.     cd engine
  50.     $(CC) bootp.c
  51.     cd ..
  52.     lib lib\sess.lib -+engine\bootp ;
  53.  
  54. engine\user.obj : engine\user.c include\protocol.h include\data.h
  55.     cd engine
  56.     $(CC) user.c
  57.     cd ..
  58.     lib lib\tcp.lib -+engine\user ;
  59.  
  60. engine\rspc.obj : engine\rspc.c include\windat.h include\vskeys.h include\whatami.h
  61.     cd engine
  62.     $(CC) rspc.c
  63.     copy rspc.obj ..\lib
  64.     cd ..
  65.  
  66. engine\tools.obj : engine\tools.c include\protocol.h include\data.h
  67.     cd engine
  68.     $(CC) tools.c
  69.     cd ..
  70.     lib lib\tcp.lib -+engine\tools ;
  71.  
  72. engine\udp.obj : engine\udp.c include\protocol.h include\data.h
  73.     cd engine
  74.     $(CC) udp.c
  75.     cd ..
  76.     lib lib\tcp.lib -+engine\udp ;
  77.  
  78. engine\arp.obj : engine\arp.c include\protocol.h include\data.h
  79.     cd engine
  80.     $(CC) arp.c
  81.     cd ..
  82.     lib lib\tcp.lib -+engine\arp;
  83.  
  84. engine\domain.obj : engine\domain.c include\protocol.h include\data.h
  85.     cd engine
  86.     $(CC) domain.c
  87.     cd ..
  88.     lib lib\tcp.lib -+engine\domain ;
  89.  
  90. engine\bkgr.obj : engine\bkgr.c include\hostform.h include\whatami.h
  91.     cd engine
  92.     $(CC) bkgr.c
  93.     cd  ..
  94.     lib lib\sess.lib -+engine\bkgr ;
  95.  
  96. engine\util.obj : engine\util.c include\whatami.h include\hostform.h
  97.     cd engine
  98.     $(CC) util.c
  99.     cd ..
  100.     lib lib\sess.lib -+engine\util ;
  101.  
  102. engine\tcp.obj : engine\tcp.c include\protocol.h include\data.h
  103.     cd engine
  104.     $(CC) tcp.c
  105.     cd ..
  106.     lib lib\tcp.lib -+engine\tcp ;
  107.  
  108. engine\pcutil.obj : engine\pcutil.c include\whatami.h
  109.     cd engine
  110.     $(CC) pcutil.c
  111.     cd ..
  112.     lib lib\sess.lib -+engine\pcutil ;
  113.  
  114. engine\protinit.obj : engine\protinit.c include\protocol.h include\data.h
  115.     cd engine
  116.     $(CC) protinit.c
  117.     cd ..
  118.     lib lib\tcp.lib -+engine\protinit ;
  119.  
  120. engine\look.obj : engine\look.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
  121.     cd engine
  122.      $(CC) look.c 
  123.     copy look.obj ..\lib
  124.     cd ..
  125.  
  126. engine\menu.obj : engine\menu.c include\windat.h include\whatami.h include\nkeys.h include\hostform.h
  127.     cd engine
  128.     $(CC) menu.c
  129.     copy menu.obj ..\lib
  130.     cd ..
  131.  
  132.  
  133. engine\new_con.obj : engine\new_con.c include\whatami.h include\hostform.h include\confile.h
  134.     cd engine
  135.     $(CC) new_con.c
  136.     cd ..
  137.     lib lib\common.lib -+engine\new_con ;
  138.  
  139. engine\fakeout.obj: engine\fakeout.c include\hostform.h
  140.     cd engine
  141.     $(CC) fakeout.c
  142.     cd ..
  143.     lib lib\common.lib -+engine\fakeout ;
  144.  
  145. net\enet\netbicc.obj : net\enet\netbicc.c include\protocol.h include\data.h
  146.     cd net\enet
  147.     $(CC) /I..\..\include netbicc.c
  148.     cd ..\.. 
  149.     lib lib\enet.lib -+net\enet\netbicc ;
  150.  
  151. net\enet\netbicc2.obj : net\enet\netbicc2.asm
  152.     cd net\enet
  153.     masm /DMicrosoft netbicc2.asm ;
  154.     cd ..\..
  155.     lib lib\enet.lib -+net\enet\netbicc2 ;
  156.  
  157. net\enet\packet.obj : net\enet\packet.c include\windat.h include\whatami.h
  158.     cd net\enet
  159.     $(CC) /I..\..\include packet.c
  160.     cd ..\.. 
  161.     lib lib\enet.lib -+net\enet\packet ;
  162.  
  163. net\enet\packet2.obj : net\enet\packet2.asm
  164.     cd net\enet
  165.     masm /DMicrosoft packet2.asm ;
  166.     cd ..\..
  167.     lib lib\enet.lib -+net\enet\packet2 ;
  168.  
  169. net\enet\netatt10.obj : net\enet\netatt10.asm
  170.     cd net\enet
  171.     masm /DMicrosoft netatt10.asm ;
  172.     cd ..\..
  173.     lib lib\enet.lib -+net\enet\netatt10 ;
  174.  
  175. net\enet\net3com.obj : net\enet\net3com.asm
  176.     cd net\enet
  177.     masm /DMicrosoft net3com.asm ;
  178.     cd ..\..
  179.     lib lib\enet.lib -+net\enet\net3com ;
  180.  
  181. net\enet\net501.obj : net\enet\net501.asm
  182.     cd net\enet
  183.     masm /DMicrosoft net501.asm ;
  184.     cd ..\..
  185.     lib lib\enet.lib -+net\enet\net501 ;
  186.  
  187. net\enet\nov3com.obj : net\enet\nov3com.asm
  188.     cd net\enet
  189.     masm /DMicrosoft nov3com.asm ;
  190.     cd ..\..
  191. #    lib lib\enet.lib -+net\enet\nov3com ;
  192.  
  193. net\enet\net503.obj : net\enet\net503.asm
  194.     cd net\enet
  195.     masm /DMicrosoft net503.asm ;
  196.     cd ..\..
  197.     lib lib\enet.lib -+net\enet\net503 ;
  198.  
  199. net\enet\net505.obj : net\enet\net505.asm
  200.     cd net\enet
  201.     masm /DMicrosoft net505.asm ;
  202.     cd ..\..
  203.     lib lib\enet.lib -+net\enet\net505 ;
  204.  
  205. net\enet\net9210.obj : net\enet\net9210.asm
  206.     cd net\enet
  207.     masm /DMicrosoft net9210.asm ;
  208.     cd ..\..
  209.     lib lib\enet.lib -+net\enet\net9210 ;
  210.  
  211. net\enet\ltlisten.obj : net\enet\ltlisten.asm
  212.     cd net\enet
  213.     masm /DMicrosoft ltlisten.asm ;
  214.     cd ..\..
  215.     lib lib\enet.lib -+net\enet\ltlisten ;
  216.  
  217. net\enet\net523.obj : net\enet\net523.asm
  218.     cd net\enet
  219.     masm /DMicrosoft net523.asm ;
  220.     cd..\..
  221.     lib lib\enet.lib -+net\enet\net523 ;
  222.  
  223. net\enet\netub.obj : net\enet\netub.asm
  224.     cd net\enet
  225.     masm /DMicrosoft netub.asm ;
  226.     cd ..\..
  227.     lib lib\enet.lib -+net\enet\netub ;
  228.     
  229. net\enet\net5210.obj : net\enet\net5210.asm
  230.     cd net\enet
  231.     masm /DMicrosoft net5210.asm ;
  232.     cd ..\..
  233.     lib lib\enet.lib -+net\enet\net5210 ;
  234.  
  235. net\enet\net8003.obj : net\enet\net8003.asm
  236.     cd net\enet
  237.     masm /DMicrosoft net8003.asm ;
  238.     cd ..\..
  239.     lib lib\enet.lib -+net\enet\net8003 ;
  240.  
  241. net\enet\net8003a.obj : net\enet\net8003a.asm
  242.     cd net\enet
  243.     masm /DMicrosoft net8003a.asm ;
  244.     cd ..\..
  245.     lib lib\enet.lib -+net\enet\net8003a ;
  246.  
  247. net\enet\netzyp.obj : net\enet\netzyp.asm
  248.     cd net\enet
  249.     masm /DMicrosoft netzyp.asm ;
  250.     cd ..\..
  251.     lib lib\enet.lib -+net\enet\netzyp ;
  252.  
  253. engine\ipasm.obj : engine\ipasm.asm
  254.     cd engine
  255.     masm /DMicrosoft ipasm.asm ;
  256.     cd ..
  257.     lib lib\tcp.lib -+engine\ipasm ;
  258.  
  259. engine\ncsaio.obj : engine\ncsaio.asm
  260.     cd engine
  261.     masm /DMicrosoft ncsaio ;
  262.     copy ncsaio.obj ..\lib
  263.     cd ..
  264.  
  265. debug\memdebug.obj : debug\memdebug.c include\memdebug.h
  266.     cd debug
  267.     $(CC) /I..\include memdebug.c
  268.     copy memdebug.obj ..\lib
  269.     cd ..
  270.  
  271.  
  272. #
  273. #    Put it all together
  274. #
  275.  
  276. ftpbin.exe : ftp\ftpbin.obj debug\memdebug.obj engine\ncsaio.obj lib\sess.lib lib\tcp.lib lib\enet.lib lib\common.lib
  277.     cd lib
  278.     link $(LINK) ftpbin+ncsaio+memdebug,ftpbin,nul,tcp+sess+enet+common;
  279.     copy ftpbin.exe ..
  280.     del ftpbin.exe
  281.     cd ..
  282.