1 # @(#)Makefile 8.1 (Berkeley) 6/12/93
7 SRCS= if.c inet.c main.c mbuf.c mroute.c netisr.c route.c \
8 unix.c atalk.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c
11 .if ${CC:T:Mclang} == "clang"
12 # XXX: Work around a clang false positive with format string warnings
13 # and ntohs macros (see LLVM PR 11313).
16 CFLAGS+=-fno-strict-aliasing
21 .if ${MK_INET6_SUPPORT} != "no"
26 .if ${MK_OFED} != "no"
32 DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL}
33 LDADD= -lkvm -lmemstat -lutil
35 .if ${MK_NETGRAPH_SUPPORT} != "no"
37 DPADD+= ${LIBNETGRAPH}
42 .if ${MK_IPX_SUPPORT} != "no"
49 .include <bsd.prog.mk>