diff options
Diffstat (limited to 'sys/modules/fdc')
| -rw-r--r-- | sys/modules/fdc/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile index 6e530025e4dd..a7f53ee2eedc 100644 --- a/sys/modules/fdc/Makefile +++ b/sys/modules/fdc/Makefile @@ -1,19 +1,21 @@ # $FreeBSD$ -.if ${MACHINE} == "pc98" -.PATH: ${.CURDIR}/../../pc98/pc98 -.else -.PATH: ${.CURDIR}/../../dev/fdc -.endif KMOD= fdc WARNS?= 2 + .if ${MACHINE} == "pc98" +.PATH: ${.CURDIR}/../../pc98/pc98 SRCS= fd.c fdc_cbus.c .else +.PATH: ${.CURDIR}/../../dev/fdc +SRCS= fdc.c fdc_isa.c fdc_pccard.c +.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica -SRCS= fdc.c fdc_acpi.c fdc_isa.c fdc_pccard.c +SRCS+= opt_acpi.h acpi_if.h fdc_acpi.c .endif -SRCS+= opt_acpi.h opt_fdc.h acpi_if.h bus_if.h card_if.h device_if.h \ +.endif + +SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \ isa_if.h pccarddevs.h FDC_DEBUG?= 0 # 0/1 |
