📄 makefile.cfg
字号:
## snark/lib#$#equate(PRODUCTH $#filepath($(SRCDIR) target h wrn wm demo))$#makefile-init()############################################################################### OBJECT FILE DEFINITION SECTION$#equate(OBJS $#objs(sty tasks parse read_ini sty_kb main keyword strdup) $#if-installed(on_unix $#objs(snarkbsd)) $#if-installed(on_msdos $#objs(snarkdos)) $#if-installed(SNARK_OVER_PSOS $#objs(snrkpsos psostty)) $#if-installed(DECORUM $#objs(put_str filefunc tad)) $#if-installed(LIAISON $#objs(collect)) $#if-installed(SNARK_BUG_CONF $#objs(bug_conf)) $#if-installed(ATTACHE $#objs(netconf loopglue swap cksum)) $#if-installed(SNARK_BSD_BPF $#objs(bpfdrive bpf)) $#if-installed(SNARK_BSD_NIT $#objs(nitdrive nit)) $#if-installed(SNARK_BSD_SLIP $#objs(slipbsd)) $#if-installed(SNARK_BSD_PPP $#objs(pppbsd)) $#if-installed(SNARK_BSD_TUN $#objs(tun)) $#if-installed(SNARK_DLPI $#objs(dlpidrv dlpi)) $#if-installed(SNARK_BSD_VAPORNET $#objs(vapornet)) $#if-installed(SNARK_BSD_SNOOP $#objs(snoopdrv snoop)) $#if-installed(SNARK_DOS_PKTDRV $#objs(pktdrive pktd)) $#if-installed(SNARK_POOL_TEST $#objs(pool)) $#if-installed(ATTACHE_TELNET $#objs(sty_tn)) $#if-installed(SNARK_RELAY_PCL725 $#objs(relay)) $#if-installed(ENVOY $#objs(snmpfunc snmp_att snmpconf nvutils nvviews)) $#if-installed(SNARK_FIREWALL $#objs(firewall)) )all: $#libs(snark) $#dummy()############################################################################### Make the library itself$#makelib(snark $#(OBJS) $(MAKEFILENAME))# commands to figure out how big this all compiles tosizes: $#dummy() $#makesizehdr(Snark) $#makesize(library $(OBJS))clean: $#dummy() -$(RM) $#objs(*) -$(RM) $#libs(snark)$#clean()############################################################################### file dependencies$#objs(sty) : sty.c \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h $#port-hdr(snark.h) \ $(SRCDIR)/target/h/wrn/wm/demo/sty.h $#objs(sty_tn) : sty_tn.c $(SRCDIR)/target/h/wrn/wm/attache/config.h \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h $#port-hdr(attache.h) \ $(SRCDIR)/target/h/wrn/wm/attache/tn.h $(SRCDIR)/target/h/wrn/wm/demo/sty.h $#objs(tasks) : tasks.c \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/demo/tasks.h $#objs(parse) : parse.c $(SRCDIR)/target/h/wrn/wm/demo/parse.h $#objs(netconf) : netconf.c $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/attache/config.h $(SRCDIR)/target/h/wrn/wm/common/install.h \ $#port-hdr(attache.h) $(SRCDIR)/target/h/wrn/wm/attache/mib.h \ $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h \ $(SRCDIR)/target/h/wrn/wm/attache/ip.h $(SRCDIR)/target/h/wrn/wm/attache/udp.h \ $(SRCDIR)/target/h/wrn/wm/attache/dns.h $(SRCDIR)/target/h/wrn/wm/attache/loop.h \ $(SRCDIR)/target/h/wrn/wm/attache/dhcp.h \ $(SRCDIR)/target/h/wrn/wm/demo/read_ini.h $(SRCDIR)/target/h/wrn/wm/demo/parse.h \ $(SRCDIR)/target/h/wrn/wm/demo/netconf.h $#objs(read_ini) : read_ini.c \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/demo/read_ini.h $#objs(sty_kb) : sty_kb.c \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/demo/sty.h $(SRCDIR)/target/h/wrn/wm/demo/keyboard.h $#port-hdr(snark.h) $#objs(snarkbsd) : snarkbsd.c \ $#if-installed(ATTACHE $#progn($(SRCDIR)/target/h/wrn/wm/attache/config.h $#port-hdr(attache.h) $(SRCDIR)/target/h/wrn/wm/demo/bsdif.h $(SRCDIR)/target/h/wrn/wm/demo/netconf.h $(SRCDIR)/target/h/wrn/wm/demo/bpfdrive.h $(SRCDIR)/target/h/wrn/wm/demo/slipbsd.h $(SRCDIR)/target/h/wrn/wm/demo/nitdrive.h $(SRCDIR)/target/h/wrn/wm/demo/vapornet.h $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h $(SRCDIR)/target/h/wrn/wm/attache/ip.h $(SRCDIR)/target/h/wrn/wm/attache/loop.h)) \ $(SRCDIR)/target/h/wrn/wm/demo/tasks.h $(SRCDIR)/target/h/wrn/wm/demo/sty.h \ $(SRCDIR)/target/h/wrn/wm/demo/keyboard.h $#port-hdr(snark.h) \ $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $(SRCDIR)/target/h/wrn/wm/common/install.h$#objs(slipbsd) : slipbsd.c $(SRCDIR)/target/h/wrn/wm/attache/config.h \ $(SRCDIR)/target/h/wrn/wm/demo/bsdif.h $(SRCDIR)/target/h/wrn/wm/demo/slipbsd.h \ $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h \ $(SRCDIR)/target/h/wrn/wm/attache/ip.h $(SRCDIR)/target/h/wrn/wm/attache/loop.h \ $(SRCDIR)/target/h/wrn/wm/common/types.h $(SRCDIR)/target/h/wrn/wm/common/install.h$#objs(bpfdrive) : bpfdrive.c $(SRCDIR)/target/h/wrn/wm/attache/config.h \ $(SRCDIR)/target/h/wrn/wm/demo/bsdif.h $(SRCDIR)/target/h/wrn/wm/demo/bpf.h \ $(SRCDIR)/target/h/wrn/wm/demo/bpfdrive.h \ $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/ether.h $(SRCDIR)/target/h/wrn/wm/attache/arp.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h \ $(SRCDIR)/target/h/wrn/wm/common/types.h $(SRCDIR)/target/h/wrn/wm/common/install.h$#objs(vapornet) : vapornet.c \ $(SRCDIR)/target/h/wrn/wm/demo/bsdif.h $(SRCDIR)/target/h/wrn/wm/demo/vapornet.h \ $(SRCDIR)/target/h/wrn/wm/demo/read_ini.h \ $(SRCDIR)/target/h/wrn/wm/attache/config.h $(SRCDIR)/target/h/wrn/wm/common/types.h \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h \ $(SRCDIR)/target/h/wrn/wm/attache/ip.h$#objs(nit) : nit.c $(SRCDIR)/target/h/wrn/wm/demo/nit.h$#objs(nitdrive) : nitdrive.c $(SRCDIR)/target/h/wrn/wm/demo/nitdrive.h \ $(SRCDIR)/target/h/wrn/wm/demo/nit.h $(SRCDIR)/target/h/wrn/wm/demo/bsdif.h \ $(SRCDIR)/target/h/wrn/wm/attache/config.h $(SRCDIR)/target/h/wrn/wm/common/types.h \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/ether.h $(SRCDIR)/target/h/wrn/wm/attache/arp.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h$#objs(snarkdos) : snarkdos.c $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/common/types.h \ $#if-installed(ATTACHE $#progn($(SRCDIR)/target/h/wrn/wm/demo/netconf.h $(SRCDIR)/target/h/wrn/wm/demo/pktdrive.h $(SRCDIR)/target/h/wrn/wm/attache/config.h $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h $(SRCDIR)/target/h/wrn/wm/attache/ip.h $(SRCDIR)/target/h/wrn/wm/attache/loop.h $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h)) \ $(SRCDIR)/target/h/wrn/wm/demo/tasks.h $(SRCDIR)/target/h/wrn/wm/demo/sty.h \ $(SRCDIR)/target/h/wrn/wm/demo/keyboard.h$#objs(pktdrive) : pktdrive.c $(SRCDIR)/target/h/wrn/wm/demo/pktd_msc.h \ $(SRCDIR)/target/h/wrn/wm/demo/pktd_bcc.h $(SRCDIR)/target/h/wrn/wm/demo/pktd.h\ $(SRCDIR)/target/h/wrn/wm/attache/config.h $(SRCDIR)/target/h/wrn/wm/common/types.h \ $(SRCDIR)/target/h/wrn/wm/common/install.h \ $(SRCDIR)/target/h/wrn/wm/attache/mib.h $(SRCDIR)/target/h/wrn/wm/attache/timer.h \ $(SRCDIR)/target/h/wrn/wm/attache/packet.h $(SRCDIR)/target/h/wrn/wm/attache/net.h \ $(SRCDIR)/target/h/wrn/wm/attache/arp.h $(SRCDIR)/target/h/wrn/wm/attache/ether.h \ $(SRCDIR)/target/h/wrn/wm/attache/ip.h $(SRCDIR)/target/h/wrn/wm/attache/ppp.h \ $(SRCDIR)/target/h/wrn/wm/attache/glue.h $(SRCDIR)/target/h/wrn/wm/attache/route.h \ $(SRCDIR)/target/h/wrn/wm/demo/tasks.h $#objs(pktd) : pktd.c $(SRCDIR)/target/h/wrn/wm/demo/pktd_msc.h \ $(SRCDIR)/target/h/wrn/wm/demo/pktd_bcc.h $(SRCDIR)/target/h/wrn/wm/demo/pktd.h \ $(SRCDIR)/target/h/wrn/wm/common/install.h $#objs(put_str) : put_str.c $(SRCDIR)/target/h/wrn/wm/common/types.h $#port-hdr(oemtypes.h) \ $#port-hdr(decorum.h) $(SRCDIR)/envoy/h/asn1conf.h$#objs(filefunc) : filefunc.c $(SRCDIR)/target/h/wrn/wm/common/types.h \ $#port-hdr(oemtypes.h) \ $#port-hdr(decorum.h)$#objs(bug_conf) : bug_conf.c $(SRCDIR)/target/h/wrn/wm/common/bugdef.h \ $(SRCDIR)/target/h/wrn/wm/demo/snarklib.h \ $(SRCDIR)/target/h/wrn/wm/demo/read_ini.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -