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

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