patch-2.4.18 linux/drivers/sound/dmasound/Makefile
Next file: linux/drivers/sound/dmasound/awacs_defs.h
Previous file: linux/drivers/sound/dmasound/Config.in
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Wed Dec 26 16:47:48 2001
- Orig file:
linux.orig/drivers/sound/dmasound/Makefile
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/sound/dmasound/Makefile linux/drivers/sound/dmasound/Makefile
@@ -7,15 +7,21 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
+O_TARGET = dmasound.o
+
export-objs := dmasound_core.o
-obj-$(CONFIG_DMASOUND_ATARI) += dmasound_core.o dmasound_atari.o
-obj-$(CONFIG_DMASOUND_AWACS) += dmasound_core.o dmasound_awacs.o
-obj-$(CONFIG_DMASOUND_PAULA) += dmasound_core.o dmasound_paula.o
-obj-$(CONFIG_DMASOUND_Q40) += dmasound_core.o dmasound_q40.o
-
-ifeq ($(CONFIG_DMASOUND),y)
- O_TARGET = dmasound.o
-endif
+list-multi := dmasound_pmac.o
+
+dmasound_pmac-objs := dmasound_awacs.o trans_16.o tas3001c.o dac3550a.o
+
+obj-$(CONFIG_DMASOUND) += dmasound_core.o
+obj-$(CONFIG_DMASOUND_ATARI) += dmasound_atari.o
+obj-$(CONFIG_DMASOUND_PMAC) += dmasound_pmac.o
+obj-$(CONFIG_DMASOUND_PAULA) += dmasound_paula.o
+obj-$(CONFIG_DMASOUND_Q40) += dmasound_q40.o
include $(TOPDIR)/Rules.make
+
+dmasound_pmac.o: $(dmasound_pmac-objs)
+ $(LD) $(EXTRA_LDFLAGS) -r -o $@ $(dmasound_pmac-objs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)