1#
2# Makefile for the DMA sound driver
3#
4# Note! Dependencies are done automagically by 'make dep', which also
5# removes any old dependencies. DON'T put your own dependencies here
6# unless it's something special (ie not a .c file).
7#
8# Note 2! The CFLAGS definitions are now in the main makefile...
9
10O_TARGET = dmasound.o
11
12export-objs := dmasound_core.o
13
14list-multi := dmasound_pmac.o
15
16dmasound_pmac-objs := dmasound_awacs.o trans_16.o tas3001c.o dac3550a.o
17
18obj-$(CONFIG_DMASOUND)        += dmasound_core.o
19obj-$(CONFIG_DMASOUND_ATARI)  += dmasound_atari.o
20obj-$(CONFIG_DMASOUND_PMAC)   += dmasound_pmac.o
21obj-$(CONFIG_DMASOUND_PAULA)  += dmasound_paula.o
22obj-$(CONFIG_DMASOUND_Q40)    += dmasound_q40.o
23
24include $(TOPDIR)/Rules.make
25
26dmasound_pmac.o: $(dmasound_pmac-objs)
27	$(LD) $(EXTRA_LDFLAGS) -r -o $@ $(dmasound_pmac-objs)
28