diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2001-06-29 07:36:29 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2001-06-29 07:36:29 +0000 |
| commit | e219897a2ac55202020d8467356d94641d0510b3 (patch) | |
| tree | 26b185d25159dd387d41c613bab5c3e274d8978f /sys/modules/fdc | |
| parent | cb082ac476b0c0ff562c15115d7355e7d49f1562 (diff) | |
Notes
Diffstat (limited to 'sys/modules/fdc')
| -rw-r--r-- | sys/modules/fdc/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile new file mode 100644 index 0000000000000..46a36b3704d08 --- /dev/null +++ b/sys/modules/fdc/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../isa + +KMOD= fdc +SRCS= fd.c \ + opt_fdc.h card.h \ + bus_if.h card_if.h device_if.h isa_if.h +NOMAN= + +FDC_DEBUG= 1 # 0/1 +FDC_PCCARD= 0 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA + # fdc) is desired + +CLEANFILES= card.h + +opt_fdc.h: + touch ${.TARGET} +.if ${FDC_DEBUG} > 0 + echo "#define FDC_DEBUG 1" >> ${.TARGET} +.endif + +card.h: + touch ${.TARGET} +.if ${FDC_PCCARD} > 0 + echo "#define NCARD 1" >> ${.TARGET} +.endif + +.include <bsd.kmod.mk> |
