]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/hatm/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / hatm / Makefile
1 # $FreeBSD$
2 #
3 # Author: Harti Brandt <harti@freebsd.org>
4 #
5 .PATH: ${.CURDIR}/../../dev/hatm
6
7 KMOD=   if_hatm
8 SRCS=   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
11 CFLAGS+= -DENABLE_BPF
12 # CFLAGS+= -DHATM_DEBUG -DINVARIANT_SUPPORT -DINVARIANTS
13
14 .if !defined(KERNBUILDDIR)
15 opt_inet.h:
16         echo "#define INET 1" > ${.TARGET}
17
18 opt_natm.h:
19         echo "#define NATM 1" > ${.TARGET}
20 .endif
21
22 .include <bsd.kmod.mk>