diff --git a/sys/modules/geom/geom_eli/Makefile b/sys/modules/geom/geom_eli/Makefile index 7b4c506de62f..ec71a3201aad 100644 --- a/sys/modules/geom/geom_eli/Makefile +++ b/sys/modules/geom/geom_eli/Makefile @@ -1,16 +1,15 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../../geom/eli KMOD= geom_eli SRCS= g_eli.c SRCS+= g_eli_crypto.c SRCS+= g_eli_ctl.c SRCS+= g_eli_integrity.c SRCS+= g_eli_key.c SRCS+= g_eli_privacy.c SRCS+= pkcs5v2.c SRCS+= vnode_if.h -WARNS?= 2 .include diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index f46f76576638..167d7482073b 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -1,39 +1,37 @@ # # $FreeBSD$ # .PATH: ${.CURDIR}/../../dev/hwpmc KMOD= hwpmc SRCS= hwpmc_mod.c hwpmc_logging.c vnode_if.h -WARNS?= 2 - .if ${MACHINE_ARCH} == "amd64" SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c SRCS+= device_if.h bus_if.h .endif .if ${MACHINE_ARCH} == "arm" SRCS+= hwpmc_arm.c .endif .if ${MACHINE_ARCH} == "i386" SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c SRCS+= device_if.h bus_if.h .endif .if ${MACHINE_ARCH} == "ia64" SRCS+= hwpmc_ia64.c .endif .if ${MACHINE_ARCH} == "powerpc" SRCS+= hwpmc_powerpc.c .endif .if ${MACHINE_ARCH} == "sparc64" SRCS+= hwpmc_sparc64.c .endif .include diff --git a/sys/modules/sound/driver/emu10kx/Makefile b/sys/modules/sound/driver/emu10kx/Makefile index 3037af765e66..593455f62c55 100644 --- a/sys/modules/sound/driver/emu10kx/Makefile +++ b/sys/modules/sound/driver/emu10kx/Makefile @@ -1,40 +1,39 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../../../dev/sound/pci \ ${.CURDIR}/../../../../gnu/dev/sound/pci -WARNS?= 2 KMOD= snd_emu10kx SRCS= device_if.h bus_if.h pci_if.h SRCS+= isa_if.h channel_if.h ac97_if.h mixer_if.h mpufoi_if.h SRCS+= vnode_if.h opt_emu10kx.h # Master, PCM and MIDI devices SRCS+= emu10kx.c SRCS+= emu10kx-pcm.c SRCS+= emu10kx-midi.c # de-GPLed Makefiles SRCS+= emu10k1-alsa%diked.h SRCS+= p16v-alsa%diked.h SRCS+= p17v-alsa%diked.h emu10k1-alsa%diked.h: emu10k1-alsa.h grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \ | awk -F"[ (]" '/define/ \ { print "#ifndef " $$2 ; print ; print "#endif" }' \ >${.TARGET} p16v-alsa%diked.h: p16v-alsa.h grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \ | awk -F"[ (]" '/define/ \ { print "#ifndef " $$2 ; print ; print "#endif" }' \ >${.TARGET} p17v-alsa%diked.h: p17v-alsa.h grep -v '#include' ${.OODATE} | $(CC) -E -D__KERNEL__ -dM - \ | awk -F"[ (]" '/define/ \ { print "#ifndef " $$2 ; print ; print "#endif" }' \ >${.TARGET} CLEANFILES+= emu10k1-alsa%diked.h CLEANFILES+= p16v-alsa%diked.h CLEANFILES+= p17v-alsa%diked.h .include