Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module

makefiles.  Bad examples in fxp/Makefile keep getting copied to new
makefiles.
This commit is contained in:
bde 2000-01-28 11:26:46 +00:00
parent f9bed91ed9
commit 17f54b4408
25 changed files with 4 additions and 26 deletions

View File

@ -118,6 +118,8 @@ CFLAGS+= -I${DESTDIR}/usr/include
CFLAGS+= -I@/../include -I${DESTDIR}/usr/include
.endif # @
CFLAGS+= ${DEBUG_FLAGS}
.if ${OBJFORMAT} == elf
CLEANFILES+= setdef0.c setdef1.c setdefs.h
CLEANFILES+= setdef0.o setdef1.o

View File

@ -118,6 +118,8 @@ CFLAGS+= -I${DESTDIR}/usr/include
CFLAGS+= -I@/../include -I${DESTDIR}/usr/include
.endif # @
CFLAGS+= ${DEBUG_FLAGS}
.if ${OBJFORMAT} == elf
CLEANFILES+= setdef0.c setdef1.c setdefs.h
CLEANFILES+= setdef0.o setdef1.o

View File

@ -5,7 +5,6 @@ KMOD = aha
SRCS = aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \
opt_scsi.h isa_if.h
CLEANFILES = aha.h
CFLAGS += ${DEBUG_FLAGS}
aha.h:
echo "#define NAHA 1" > aha.h

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../dev/amr
KMOD = amr
SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_an
SRCS = if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c
SRCS += opt_inet.h device_if.h bus_if.h pci_if.h isa_if.h
CFLAGS += ${DEBUG_FLAGS}
opt_inet.h:
echo "#define INET 1" > opt_inet.h

View File

@ -5,7 +5,6 @@ S = ${.CURDIR}/../..
KMOD = if_aue
SRCS = if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@ S = ${.CURDIR}/../..
KMOD = if_cue
SRCS = if_cue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_dc
SRCS = if_dc.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../pci
KMOD = if_fxp
SRCS = if_fxp.c opt_bdg.h device_if.h bus_if.h pci_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@ S = ${.CURDIR}/../..
KMOD = if_kue
SRCS = if_kue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -5,6 +5,5 @@ KMOD = miibus
SRCS = mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h pci_if.h
SRCS += miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c
SRCS += mlphy.c tlphy.c rlphy.c amphy.c dcphy.c pnphy.c
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../dev/mlx
KMOD = mlx
SRCS = mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -6,6 +6,4 @@ SRCS = if_rl.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
KMODDEPS = miibus
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -6,6 +6,4 @@ SRCS = if_sf.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
KMODDEPS = miibus
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_sis
SRCS = if_sis.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../pci
KMOD = if_sk
SRCS = if_sk.c opt_bdg.h device_if.h bus_if.h pci_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_ste
SRCS = if_ste.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_ti
SRCS = if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
CLEANFILES = vlan.h
CFLAGS += ${DEBUG_FLAGS}
vlan.h:
touch vlan.h

View File

@ -4,7 +4,6 @@
KMOD = if_tl
SRCS = if_tl.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -25,6 +25,5 @@ SRCS += ohci_pci.c ohci.c ohcireg.h ohcivar.h
SRCS += opt_bus.h pci_if.h
NOMAN =
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -6,6 +6,5 @@ SRCS= bus_if.h device_if.h ppbus_if.h \
opt_cam.h opt_scsi.h opt_vpo.h \
immio.c vpo.c vpoio.c
NOMAN=
CFLAGS+= ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -6,6 +6,4 @@ SRCS = if_vr.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
KMODDEPS = miibus
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_wb
SRCS = if_wb.c opt_bdg.h device_if.h
SRCS += bus_if.h miibus_if.h pci_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>

View File

@ -3,6 +3,5 @@
.PATH: ${.CURDIR}/../../i386/isa
KMOD = if_wi
SRCS = if_wi.c device_if.h bus_if.h
CFLAGS += ${DEBUG_FLAGS}
.include <bsd.kmod.mk>

View File

@ -4,7 +4,6 @@
KMOD = if_xl
SRCS = if_xl.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
KMODDEPS = miibus
.include <bsd.kmod.mk>