home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / SRC / SRC15B93.ZIP / WATTSRC.ZIP / MAKEFILE < prev    next >
Text File  |  1998-10-31  |  2KB  |  75 lines

  1. #
  2. #       Makefile for WatTCP TCP/IP kernal
  3. #
  4. # switches:
  5. #       define the ones you want in the CFLAGS definition...
  6. #
  7. #       TRACE           - turn on tracing/debugging code
  8. #
  9. #
  10. #DEBUGS= -v
  11.  
  12. # 'obsolete function' warning can be safely ignored.  There should be
  13. #  no other warnings at the default warning level under bcc3.1 and 4.x;
  14. #  let's keep it that way :)
  15.  
  16. CFLAGS= $(DEBUGS) -DMSDOS -IC:\tc\include -I..\include
  17. MODELS=-ms
  18. MODELL=-ml
  19.  
  20. # Assembler flags
  21. AFLAGS=-mx -t -i..\elib
  22. AMODELS=-dFUNC_L=0
  23. AMODELL=-dFUNC_L=1
  24.  
  25. # Define PC-specific include file
  26.  
  27. # old pre-BC4
  28. #       bcc -c $(MODELS) $(CFLAGS) $*.c > errout
  29.  
  30. .c.obj:
  31.         bcc -c $(MODELS) $(CFLAGS) $*.c
  32.         tlib ..\lib\watts -+$*
  33.         bcc -c $(MODELL) $(CFLAGS) $*.c
  34.         tlib ..\lib\watt -+$*
  35.  
  36. .asm.obj:
  37.         tasm $(AFLAGS) $(AMODELS) $*;
  38.         tlib ..\lib\watts -+$*
  39.         tasm $(AFLAGS) $(AMODELL) $*;
  40.         tlib ..\lib\watt -+$*
  41.  
  42.  
  43. objs =pcpkt.obj pctcp.obj pcarp.obj pcsed.obj pcicmp.obj pcping.obj asmpkt.obj \
  44.        sock_prn.obj sock_ini.obj pcbsd.obj pcrecv.obj udp_nds.obj udp_dom.obj \
  45.        pcconfig.obj pc_cbrk.obj pcbuf.obj pcbootp.obj pcintr.obj pcstat.obj \
  46.        bsdname.obj fragment.obj netback.obj select.obj
  47.  
  48. ..\lib\wattcpsm.lib: $(objs)
  49.         echo done
  50.  
  51. fragment.obj: fragment.c ..\include\wattcp.h
  52. select.obj: select.c ..\include\wattcp.h
  53. pcicmp.obj: pcicmp.c ..\include\wattcp.h
  54. pcpkt.obj: pcpkt.c ..\include\wattcp.h
  55. pctcp.obj: pctcp.c ..\include\wattcp.h
  56. pcarp.obj: pcarp.c ..\include\wattcp.h
  57. wattcpd.obj: wattcpd.c ..\include\wattcp.h
  58. pcping.obj: pcping.c ..\include\wattcp.h
  59. pcsed.obj: pcsed.c ..\include\wattcp.h ..\include\ethdev.h
  60. sock_prn.obj: sock_prn.c ..\include\wattcp.h
  61. sock_ini.obj: sock_ini.c ..\include\wattcp.h
  62. udp_nds.obj: udp_nds.c ..\include\wattcp.h
  63. udp_dom.obj: udp_dom.c ..\include\wattcp.h
  64. pcconfig.obj: pcconfig.c ..\include\wattcp.h
  65. pc_cbrk.obj: pc_cbrk.c ..\include\wattcp.h
  66. pcbsd.obj: pcbsd.c ..\include\tcp.h ..\include\wattcp.h
  67. pcbuf.obj: pcbuf.c ..\include\wattcp.h
  68. pcbootp.obj: pcbootp.c ..\include\wattcp.h ..\include\bootp.h
  69. pcrecv.obj: pcrecv.c ..\include\wattcp.h
  70. asmpkt.obj: asmpkt.asm
  71. pcintr.obj: pcintr.c ..\include\wattcp.h ..\include\elib.h
  72. pcstat.obj: pcstat.c ..\include\wattcp.h
  73. netback.obj: netback.c ..\include\elib.h ..\include\tcp.h
  74. bsdname.obj: bsdname.c ..\include\wattcp.h
  75.