MAKEFILE
资源名称:wattcp.rar [点击查看]
上传用户:better800
上传日期:2022-06-13
资源大小:1853k
文件大小:3k
源码类别:
TCP/IP协议栈
开发平台:
DOS
- #
- # Makefile for WatTCP TCP/IP kernal
- #
- # switches:
- # define the ones you want in the CFLAGS definition...
- #
- # TRACE - turn on tracing/debugging code
- # SKIPINI - bootp/dhcp only, no WATTCP.CFG (size critical apps)
- # ETH_MSS - you might set =576 for serial use (EPPPD), mostly
- # useful if lacking CFG file (SKIPINI, etc)
- # TW_TO - set between 30 and 240 for an RFC-compliant
- # TIME_WAIT period (defaults to 2, higher can delay
- # sock_wait_closed() much longer)
- #
- DEBUGS= -v
- # 'obsolete function' warning can be safely ignored. There should be
- # no other warnings at the default warning level under bcc3.1 and 4.x;
- # let's keep it that way :)
- #CFLAGS= $(DEBUGS) -DMSDOS -ID:bc31include -I..include
- #CFLAGS= $(DEBUGS) -DMSDOS -ID:bc31include -I..include
- #CFLAGS= $(DEBUGS) -DMSDOS -DSKIPINI -DETH_MSS=576 -ID:bc31include -I..include
- CFLAGS= $(DEBUGS) -1 -f- -DMSDOS -DETH_MSS=576 -ID:bc31include -I..include
- MODELS=-ms
- MODELL=-ml
- MODELH=-mh
- # Assembler flags
- AFLAGS=-mx -t -i..elib
- AMODELS=-dFUNC_L=0
- AMODELL=-dFUNC_L=1
- # Define PC-specific include file
- # old pre-BC4
- # bcc -c $(MODELS) $(CFLAGS) $*.c > errout
- .c.obj:
- bcc -c $(MODELS) $(CFLAGS) $*.c
- tlib ..libwattcpsm -+$*
- bcc -c $(MODELL) $(CFLAGS) $*.c
- tlib ..libwattcplg -+$*
- bcc -c $(MODELH) $(CFLAGS) $*.c
- tlib ..libwattcphg -+$*
- .asm.obj:
- tasm $(AFLAGS) $(AMODELS) $*;
- tlib ..libwattcpsm -+$*
- tasm $(AFLAGS) $(AMODELL) $*;
- tlib ..libwattcplg -+$*
- tlib ..libwattcphg -+$*
- objs =pcpkt.obj pctcp.obj pcarp.obj pcsed.obj pcicmp.obj pcping.obj asmpkt.obj
- sock_prn.obj sock_ini.obj pcbsd.obj pcrecv.obj
- udp_nds.obj udp_dom.obj pcconfig.obj pc_cbrk.obj pcbuf.obj
- pcbootp.obj sock_dbu.obj pcdbug.obj test.obj pcintr.obj pcstat.obj
- bsdname.obj fragment.obj
- netback.obj select.obj
- ..libwattcpsm.lib: $(objs)
- echo done
- fragment.obj: fragment.c ..includewattcp.h
- select.obj: select.c ..includewattcp.h
- pcicmp.obj: pcicmp.c ..includewattcp.h
- pcpkt.obj: pcpkt.c ..includewattcp.h
- pctcp.obj: pctcp.c ..includewattcp.h
- pcarp.obj: pcarp.c ..includewattcp.h
- wattcpd.obj: wattcpd.c ..includewattcp.h
- pcping.obj: pcping.c ..includewattcp.h
- pcsed.obj: pcsed.c ..includewattcp.h ..includeethdev.h
- sock_prn.obj: sock_prn.c ..includewattcp.h
- sock_ini.obj: sock_ini.c ..includewattcp.h
- udp_nds.obj: udp_nds.c ..includewattcp.h
- udp_dom.obj: udp_dom.c ..includewattcp.h
- pcconfig.obj: pcconfig.c ..includewattcp.h
- pc_cbrk.obj: pc_cbrk.c ..includewattcp.h
- sock_dbu.obj: sock_dbu.c ..includewattcp.h
- pcbsd.obj: pcbsd.c ..includetcp.h ..includewattcp.h
- pcbuf.obj: pcbuf.c ..includewattcp.h
- pcbootp.obj: pcbootp.c ..includewattcp.h ..includebootp.h
- pcrecv.obj: pcrecv.c ..includewattcp.h
- asmpkt.obj: asmpkt.asm
- pcdbug.obj: pcdbug.c ..includewattcp.h
- test.obj : test.c ..includewattcp.h
- pcintr.obj: pcintr.c ..includewattcp.h ..includeelib.h
- pcstat.obj: pcstat.c ..includewattcp.h
- netback.obj: netback.c ..includeelib.h ..includetcp.h
- bsdname.obj: bsdname.c ..includewattcp.h