freebsd-dev/sys/modules/fdc/Makefile
Yoshihiro Takahashi d1725ef7ff Change a directory layout for pc98.
- Move MD files into <arch>/<arch>.
  - Move bus dependent files into <arch>/<bus>.
Rename some files to more suitable names.

Repo-copied by:	peter
Discussed with:	imp
2005-05-10 12:02:18 +00:00

28 lines
531 B
Makefile

# $FreeBSD$
KMOD= fdc
WARNS?= 2
.if ${MACHINE} == "pc98"
.PATH: ${.CURDIR}/../../pc98/cbus
SRCS= fdc.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+= opt_acpi.h acpi_if.h fdc_acpi.c
.endif
.endif
SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \
isa_if.h pccarddevs.h
FDC_DEBUG?= 0 # 0/1
.if ${FDC_DEBUG} > 0
echo "#define FDC_DEBUG 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>