MAKEFILE
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:3k
源码类别:
操作系统开发
开发平台:
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 -DETH_MSS=576 -I.inc
- 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 $(MODELL) $(CFLAGS) $*.c
- tlib ..libertostcp -+$*
- .asm.obj:
- tasm $(AFLAGS) $(AMODELL) $*;
- tlib ..libertostcp -+$*
- 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
- ..libertostcp.lib: $(objs)
- echo done
- fragment.obj: fragment.c .incwattcp.h
- select.obj: select.c .incwattcp.h
- pcicmp.obj: pcicmp.c .incwattcp.h
- pcpkt.obj: pcpkt.c .incwattcp.h
- pctcp.obj: pctcp.c .incwattcp.h
- pcarp.obj: pcarp.c .incwattcp.h
- pcping.obj: pcping.c .incwattcp.h
- pcsed.obj: pcsed.c .incwattcp.h .incethdev.h
- sock_prn.obj: sock_prn.c .incwattcp.h
- sock_ini.obj: sock_ini.c .incwattcp.h
- udp_nds.obj: udp_nds.c .incwattcp.h
- udp_dom.obj: udp_dom.c .incwattcp.h
- pcconfig.obj: pcconfig.c .incwattcp.h
- pc_cbrk.obj: pc_cbrk.c .incwattcp.h
- sock_dbu.obj: sock_dbu.c .incwattcp.h
- pcbsd.obj: pcbsd.c .inctcp.h .incwattcp.h
- pcbuf.obj: pcbuf.c .incwattcp.h
- pcbootp.obj: pcbootp.c .incwattcp.h .incbootp.h
- pcrecv.obj: pcrecv.c .incwattcp.h
- asmpkt.obj: asmpkt.asm
- pcdbug.obj: pcdbug.c .incwattcp.h
- test.obj : test.c .incwattcp.h
- pcintr.obj: pcintr.c .incwattcp.h .incelib.h
- pcstat.obj: pcstat.c .incwattcp.h
- netback.obj: netback.c .incelib.h .inctcp.h
- bsdname.obj: bsdname.c .incwattcp.h
- showsock.obj : showsock.c .incwattcp.h