1# $FreeBSD: head/sys/modules/hatm/Makefile 151350 2005-10-14 23:30:17Z yar $
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5.PATH: ${.CURDIR}/../../dev/hatm
6
7KMOD= if_hatm
8SRCS= if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_tx.c if_hatm_rx.c \
9 device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
10
11CFLAGS+= -DENABLE_BPF
12# CFLAGS+= -DHATM_DEBUG -DINVARIANT_SUPPORT -DINVARIANTS
13
14.if !defined(KERNBUILDDIR)
15opt_inet.h:
16 echo "#define INET 1" > opt_inet.h
17
18opt_natm.h:
19 echo "#define NATM 1" > opt_natm.h
20.endif
21
22.include <bsd.kmod.mk>
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5.PATH: ${.CURDIR}/../../dev/hatm
6
7KMOD= if_hatm
8SRCS= if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_tx.c if_hatm_rx.c \
9 device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
10
11CFLAGS+= -DENABLE_BPF
12# CFLAGS+= -DHATM_DEBUG -DINVARIANT_SUPPORT -DINVARIANTS
13
14.if !defined(KERNBUILDDIR)
15opt_inet.h:
16 echo "#define INET 1" > opt_inet.h
17
18opt_natm.h:
19 echo "#define NATM 1" > opt_natm.h
20.endif
21
22.include <bsd.kmod.mk>