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

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