Don't try to compile v6-only files if NOINET6.

PR:		misc/28287 , misc/28288
This commit is contained in:
Bill Fenner 2001-07-11 21:46:06 +00:00
parent 021d0cee20
commit 9624fc11f0

View File

@ -8,16 +8,16 @@ SRCS= addrtoname.c gmt2local.c machdep.c parsenfsfh.c \
print-ah.c print-arp.c print-ascii.c print-atalk.c \
print-atm.c print-bgp.c print-bootp.c print-bxxp.c \
print-cdp.c print-chdlc.c print-cip.c print-cnfp.c \
print-decnet.c print-dhcp6.c print-domain.c print-dvmrp.c \
print-decnet.c print-domain.c print-dvmrp.c \
print-egp.c print-esp.c print-ether.c print-fddi.c \
print-frag6.c print-gre.c print-icmp.c print-icmp6.c \
print-igmp.c print-igrp.c print-ip.c print-ip6.c \
print-ip6opts.c print-ipcomp.c print-ipx.c print-isakmp.c \
print-gre.c print-icmp.c \
print-igmp.c print-igrp.c print-ip.c \
print-ipcomp.c print-ipx.c print-isakmp.c \
print-isoclns.c print-krb.c print-l2tp.c print-lane.c \
print-lcp.c print-llc.c print-mobile.c print-nfs.c \
print-ntp.c print-null.c print-ospf.c print-ospf6.c \
print-ntp.c print-null.c print-ospf.c \
print-pim.c print-ppp.c print-pppoe.c print-radius.c \
print-raw.c print-rip.c print-ripng.c print-rt6.c \
print-raw.c print-rip.c \
print-rx.c print-sl.c print-sll.c print-smb.c print-snmp.c \
print-stp.c print-sunrpc.c print-tcp.c print-telnet.c \
print-tftp.c print-timed.c print-token.c print-udp.c \
@ -28,6 +28,8 @@ CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR}/lbl
CFLAGS+= -DHAVE_CONFIG_H
.if !defined(NOINET6)
CFLAGS+= -DINET6
SRCS+= print-ip6.c print-ip6opts.c print-ripng.c print-icmp6.c \
print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c
.endif
DPADD+= ${LIBL} ${LIBPCAP}