]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/fdc/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / sys / modules / fdc / Makefile
1 # $FreeBSD$
2
3 KMOD=   fdc
4
5 .if ${MACHINE} == "pc98"
6 .PATH:  ${.CURDIR}/../../pc98/cbus
7 SRCS=   fdc.c fdc_cbus.c
8 .else
9 .PATH:  ${.CURDIR}/../../dev/fdc
10 SRCS=   fdc.c fdc_isa.c fdc_pccard.c
11 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
12 CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
13 SRCS+=  opt_acpi.h acpi_if.h fdc_acpi.c
14 .endif
15 .endif
16
17 SRCS+=  opt_fdc.h bus_if.h card_if.h device_if.h \
18         isa_if.h pccarddevs.h
19
20 FDC_DEBUG?=     0       # 0/1
21
22 .if ${FDC_DEBUG} > 0
23         echo "#define FDC_DEBUG 1" >> ${.TARGET}
24 .endif
25
26 .include <bsd.kmod.mk>