1# $FreeBSD: head/sys/modules/patm/Makefile 125771 2004-02-13 10:11:01Z ru $
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5.PATH: ${.CURDIR}/../../dev/patm
6
7KMOD= if_patm
8SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \
9 if_patm_tx.c if_patm_rx.c if_patm_rtables.c \
10 device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
11
12CFLAGS+= -DENABLE_BPF
13# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -DDIAGNOSTIC
14
15opt_inet.h:
16 echo "#define INET 1" > opt_inet.h
17
18opt_natm.h:
19 echo "#define NATM 1" > opt_natm.h
20
21.include <bsd.kmod.mk>
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5.PATH: ${.CURDIR}/../../dev/patm
6
7KMOD= if_patm
8SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \
9 if_patm_tx.c if_patm_rx.c if_patm_rtables.c \
10 device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
11
12CFLAGS+= -DENABLE_BPF
13# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -DDIAGNOSTIC
14
15opt_inet.h:
16 echo "#define INET 1" > opt_inet.h
17
18opt_natm.h:
19 echo "#define NATM 1" > opt_natm.h
20
21.include <bsd.kmod.mk>