home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff225.lzh / AmigaTCP / src / makefile < prev    next >
Makefile  |  1989-06-24  |  4KB  |  97 lines

  1. .c.o:
  2.     lc -ilettuce:h -c $(CFLAGS) $<
  3. #
  4. #    Makefile for KA9Q TCP/IP package for PC clones with Aztec C
  5. #
  6. # switches:
  7. #    define the ones you want in the CFLAGS definition...
  8. #
  9. #    TRACE        - turn on tracing/debugging code
  10. #    SERVERS        - include code for application servers
  11. #    AMIGA        - include Amiga specific code
  12. #    MSDOS        - include Messy-Dos specific code
  13. #    ETHER        - include ethernet specific code
  14. #    UNIX        - Use UNIX file format conventions
  15. #    CPM        - Use CP/M file format conventions
  16. #    WINDOWIO    - use AMIGA windowio instead of standard IO
  17. #
  18. # Hardware driver flags:
  19. #
  20. #    SLIP        - include serial line IP stuff
  21. #    PC_EC        - include 3Com Ethernet board driver for IBM-PC
  22. #    AX25        - include AX.25 stuff
  23. #    HAPN        - include HAPN stuff
  24. #    PC100        - include PC-100 board driver (incomplete ??)
  25. #    NETROM        - pseudo driver, needs AX.25
  26. #    AMIGADEVDRV    - include Amiga internet.device device driver support
  27.  
  28. #
  29. # CFLAGS for typical Amiga installation
  30. #
  31. CFLAGS= -dAMIGA -dSERVERS -dTRACE -dSLIP -dAX25 -dETHER -dMSPTICK=100 \
  32. -dNETROM -dLATTICE -dAMIGADEVDRV -dWINDOWIO
  33. APPLFLAGS= -dAMIGA  -dTRACE -dLATTICE -dAMIGADEVDRV 
  34.  
  35. NETOBJS= ftpserv.o ftpcli.o ftp.o smtpserv.o smtpcli.o \
  36.     telnet.o tnserv.o smisc.o \
  37.     tcpuser.o tcptimer.o tcpout.o tcpin.o tcpsubr.o udp.o \
  38.     ip.o iproute.o icmp.o \
  39.     ax25.o arp.o slip.o ether.o netrom.o \
  40.     timer.o ttydriv.o cmdparse.o  mbuf.o netuser.o misc.o
  41.  
  42.  
  43. net: makefile amiga.o version.o main.o devstub.o amigadev.o  $(NETOBJS)
  44.     -blink lib:c.o version.o,main.o,amiga.o,devstub.o amigadev.o\
  45. $(NETOBJS) to ram:net lib lib:lc.lib,lib:amiga.lib
  46.     copy ram:net net
  47.     delete ram:net
  48.  
  49. telnetp: telnetp.o netuser.o 
  50.     -blink lib:c.o telnetp.o netuser.o to ram:telnetp \
  51.     lib lib:lc.lib,lib:amiga.lib
  52.     copy ram:telnetp telnetp
  53. telnetp.o:telnetp.c machdep.h
  54.     lc -ilettuce:h -c $(APPLFLAGS)  -dWINDOWIO telnetp.c
  55. newtelnetp: newtelnetp.o netuser.o 
  56.     -blink lib:c.o newtelnetp.o netuser.o to ram:newtelnetp \
  57.     lib lib:lc.lib,lib:amiga.lib
  58.     copy ram:newtelnetp newtelnetp
  59.     
  60. newtelnetp.o:newtelnetp.c machdep.h
  61.     lc -ilettuce:h -c $(APPLFLAGS)  -dWINDOWIO newtelnetp.c
  62. clean:    
  63.     delete #?.o
  64.     delete net
  65.  
  66. arp.o: arp.c machdep.h mbuf.h timer.h iface.h ether.h ax25.h arp.h
  67. amiga.o: amiga.c machdep.h 
  68. amigadev.o: amigadev.c inetdev.h machdep.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
  69. devstub.o: devstub.asm
  70. ax25.o: ax25.c machdep.h mbuf.h iface.h timer.h arp.h slip.h ax25.h trace.h
  71. netrom.o: netrom.c machdep.h mbuf.h iface.h timer.h netrom.h ax25.h trace.h
  72. cmdparse.o: cmdparse.c machdep.h trace.h cmdparse.h
  73. ether.o: ether.c machdep.h
  74. ftp.o: ftp.c machdep.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
  75. ftpcli.o: ftpcli.c machdep.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
  76. ftpserv.o: ftpserv.c machdep.h mbuf.h netuser.h timer.h tcp.h ftp.h
  77. icmp.o: icmp.c internet.h timer.h ip.h icmp.h mbuf.h
  78. ip.o: ip.c machdep.h mbuf.h timer.h internet.h ip.h icmp.h iface.h
  79. iproute.o: iproute.c machdep.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  80. main.o: main.c machdep.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h amiga.h trace.h
  81. mbuf.o: mbuf.c machdep.h mbuf.h
  82. netuser.o: netuser.c machdep.h netuser.h
  83. slip.o: slip.c machdep.h mbuf.h iface.h slip.h amiga.h trace.h
  84. smisc.o: smisc.c machdep.h mbuf.h netuser.h timer.h tcp.h
  85. smtpcli.o: smtpcli.c machdep.h netuser.h mbuf.h timer.h tcp.h smtp.h
  86. smtpserv.o: smtpserv.c machdep.h mbuf.h netuser.h timer.h tcp.h smtp.h
  87. tcpin.o: tcpin.c machdep.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h
  88. tcpout.o: tcpout.c machdep.h timer.h mbuf.h netuser.h internet.h tcp.h
  89. tcpsubr.o: tcpsubr.c machdep.h timer.h mbuf.h netuser.h internet.h tcp.h
  90. tcptimer.o: tcptimer.c machdep.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
  91. tcpuser.o: tcpuser.c machdep.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
  92. telnet.o: telnet.c machdep.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  93. tnserv.o: tnserv.c machdep.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  94. timer.o: timer.c machdep.h timer.h
  95. ttydriv.o: ttydriv.c machdep.h
  96. udp.o: udp.c machdep.h mbuf.h netuser.h udp.h internet.h
  97.