2003-07-15 11:57:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Author: Harti Brandt <harti@freebsd.org>
|
|
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../dev/patm
|
|
|
|
|
|
|
|
KMOD= if_patm
|
|
|
|
SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \
|
|
|
|
if_patm_tx.c if_patm_rx.c if_patm_rtables.c \
|
|
|
|
device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
|
|
|
|
|
|
|
|
CFLAGS+= -DENABLE_BPF
|
2004-02-13 10:11:01 +00:00
|
|
|
# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -DDIAGNOSTIC
|
2003-07-15 11:57:24 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2003-07-15 11:57:24 +00:00
|
|
|
opt_inet.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define INET 1" > ${.TARGET}
|
2003-07-15 11:57:24 +00:00
|
|
|
|
|
|
|
opt_natm.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define NATM 1" > ${.TARGET}
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2003-07-15 11:57:24 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|