Merge NOMAN, CLEANFILES and WARNS into the shared Makefile.inc.

This commit is contained in:
xtraeme 2008-04-05 19:03:57 +00:00
parent 92e3ef7aaa
commit 7633a17263
8 changed files with 12 additions and 38 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.6 2007/09/11 07:41:26 xtraeme Exp $
# $NetBSD: Makefile.inc,v 1.7 2008/04/05 19:03:57 xtraeme Exp $
.include "../Makefile.inc"
@ -14,7 +14,9 @@ LKM_ISA_DRQ?= -1
LKM_ISA_DRQ2?= -1
LKM_ISA_DRVNAME_CA?= ${LKM_ISA_DRVNAME}
CLEANFILES+= ${.CURDIR}/${TEMPL_FILE:S/.tmpl//}
NOMAN= # defined
WARNS= 2
CLEANFILES+= ${.CURDIR}/${TEMPL_FILE:S/.tmpl//} *~ ${KMOD}
DPSRCS+= ${TEMPL_FILE:S/.tmpl//}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2007/11/20 21:47:34 xtraeme Exp $
# $NetBSD: Makefile,v 1.4 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa $S/dev/ic
@ -6,12 +6,8 @@ S= ${.CURDIR}/../../../..
KMOD= aps
SRCS= real-aps.c lkm_isa.c
BUILDSYMLINKS+= aps.c real-aps.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x1600
LKM_ISA_DRVNAME= aps
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,16 +1,12 @@
# $NetBSD: Makefile,v 1.1 2008/04/03 22:57:40 xtraeme Exp $
# $NetBSD: Makefile,v 1.2 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
KMOD= finsio
SRCS+= lkm_isa.c finsio_isa.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x4e
LKM_ISA_DRVNAME= finsio
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,16 +1,12 @@
# $NetBSD: Makefile,v 1.3 2008/04/03 22:54:29 xtraeme Exp $
# $NetBSD: Makefile,v 1.4 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
KMOD= itesio
SRCS+= lkm_isa.c itesio_isa.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x2e
LKM_ISA_DRVNAME= itesio
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,17 +1,13 @@
# $NetBSD: Makefile,v 1.2 2007/09/09 05:46:27 xtraeme Exp $
# $NetBSD: Makefile,v 1.3 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa $S/dev/ic
KMOD= lm
SRCS= lm_isa.c nslm7x.c lkm_isa.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x290
LKM_ISA_IO_PORT= 0x290 # Change this to another port if desired
LKM_ISA_DRVNAME= lm
LKM_ISA_DRVNAME_CA= lm_isa
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,16 +1,12 @@
# $NetBSD: Makefile,v 1.3 2007/09/11 07:41:26 xtraeme Exp $
# $NetBSD: Makefile,v 1.4 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
KMOD= nsclpcsio
SRCS= nsclpcsio_isa.c lkm_isa.c
NOMAN= # yes
LKM_ISA_DRVNAME= nsclpcsio
LKM_ISA_DRVNAME_CA= nsclpcsio_isa
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2007/11/20 21:47:34 xtraeme Exp $
# $NetBSD: Makefile,v 1.5 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
@ -6,12 +6,8 @@ S= ${.CURDIR}/../../../..
KMOD= smsc
SRCS= real-smsc.c lkm_isa.c
BUILDSYMLINKS+= smsc.c real-smsc.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0x02e
LKM_ISA_DRVNAME= smsc
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>

View File

@ -1,17 +1,13 @@
# $NetBSD: Makefile,v 1.2 2007/09/09 05:46:28 xtraeme Exp $
# $NetBSD: Makefile,v 1.3 2008/04/05 19:03:57 xtraeme Exp $
S= ${.CURDIR}/../../../..
.PATH: $S/dev/isa
KMOD= ug
SRCS+= lkm_isa.c ug_isa.c
NOMAN= # yes
LKM_ISA_IO_PORT= 0xe0
LKM_ISA_DRVNAME= ug
LKM_ISA_DRVNAME_CA= ug_isa
CLEANFILES+= *~ ${KMOD}
WARNS= 2
.include <bsd.kmod.mk>