Date: Fri, 12 Jun 2009 07:39:10 +0000 (UTC) From: Ariff Abdullah <ariff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194047 - head/sys/modules/sound/sound Message-ID: <200906120739.n5C7dAIZ074023@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ariff Date: Fri Jun 12 07:39:10 2009 New Revision: 194047 URL: http://svn.freebsd.org/changeset/base/194047 Log: Last (hopefully) attempt to fix both parallel build and cyclic dependencies, in a simmilar fashion to kmod.mk. Discussed with: bde, bz Modified: head/sys/modules/sound/sound/Makefile Modified: head/sys/modules/sound/sound/Makefile ============================================================================== --- head/sys/modules/sound/sound/Makefile Fri Jun 12 07:34:34 2009 (r194046) +++ head/sys/modules/sound/sound/Makefile Fri Jun 12 07:39:10 2009 (r194047) @@ -19,19 +19,25 @@ SRCS+= ac97.c ac97_patch.c buffer.c chan 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906120739.n5C7dAIZ074023>