Makefile revision 151350
1117632Sharti# $FreeBSD: head/sys/modules/patm/Makefile 151350 2005-10-14 23:30:17Z yar $ 2117632Sharti# 3117632Sharti# Author: Harti Brandt <harti@freebsd.org> 4117632Sharti# 5117632Sharti.PATH: ${.CURDIR}/../../dev/patm 6117632Sharti 7117632ShartiKMOD= if_patm 8117632ShartiSRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \ 9117632Sharti if_patm_tx.c if_patm_rx.c if_patm_rtables.c \ 10117632Sharti device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h 11117632Sharti 12117632ShartiCFLAGS+= -DENABLE_BPF 13125771Sru# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -DDIAGNOSTIC 14117632Sharti 15151350Syar.if !defined(KERNBUILDDIR) 16117632Shartiopt_inet.h: 17117632Sharti echo "#define INET 1" > opt_inet.h 18117632Sharti 19117632Shartiopt_natm.h: 20117632Sharti echo "#define NATM 1" > opt_natm.h 21151350Syar.endif 22117632Sharti 23117632Sharti.include <bsd.kmod.mk> 24