diff options
author | ariff <ariff@FreeBSD.org> | 2009-06-12 07:39:10 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2009-06-12 07:39:10 +0000 |
commit | 51a244d00e0e8a290f4b9cacd0652f908c6251b1 (patch) | |
tree | a36212e8ff3ce41df7236e577c70c93a59865cdc /sys/modules | |
parent | 7df225e7ce6fc23affc4d2d289f07d055d4068f5 (diff) | |
download | FreeBSD-src-51a244d00e0e8a290f4b9cacd0652f908c6251b1.zip FreeBSD-src-51a244d00e0e8a290f4b9cacd0652f908c6251b1.tar.gz |
Last (hopefully) attempt to fix both parallel build and
cyclic dependencies, in a simmilar fashion to kmod.mk.
Discussed with: bde, bz
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/sound/sound/Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index 58c1e11..78f91d4 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -19,19 +19,25 @@ SRCS+= ac97.c ac97_patch.c buffer.c channel.c clone.c dsp.c SRCS+= mixer.c sndstat.c sound.c unit.c vchan.c SRCS+= midi.c mpu401.c sequencer.c -@/tools/sound/feeder_eq_mkfilter.awk: @ - -@/tools/sound/feeder_rate_mkfilter.awk: @ - -@/tools/sound/snd_fxdiv_gen.awk: @ - -feeder_eq_gen.h: @/tools/sound/feeder_eq_mkfilter.awk machine +.if !exists(@) +feeder_eq_gen.h: @ +.else +feeder_eq_gen.h: @/tools/sound/feeder_eq_mkfilter.awk +.endif ${AWK} -f @/tools/sound/feeder_eq_mkfilter.awk -- ${FEEDER_EQ_PRESETS} > ${.TARGET} -feeder_rate_gen.h: @/tools/sound/feeder_rate_mkfilter.awk machine +.if !exists(@) +feeder_rate_gen.h: @ +.else +feeder_rate_gen.h: @/tools/sound/feeder_rate_mkfilter.awk +.endif ${AWK} -f @/tools/sound/feeder_rate_mkfilter.awk -- ${FEEDER_RATE_PRESETS} > ${.TARGET} -snd_fxdiv_gen.h: @/tools/sound/snd_fxdiv_gen.awk machine +.if !exists(@) +snd_fxdiv_gen.h: @ +.else +snd_fxdiv_gen.h: @/tools/sound/snd_fxdiv_gen.awk +.endif ${AWK} -f @/tools/sound/snd_fxdiv_gen.awk -- > ${.TARGET} CLEANFILES+= feeder_eq_gen.h feeder_rate_gen.h snd_fxdiv_gen.h |