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