* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / sbus / audio / Makefile
blobcf38aa1d837a4dac08937bf8d70b29716d0d1fb4
2 # Makefile for the linux kernel.
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).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
11 # sbus audio drivers
14 O_TARGET := sparcaudio.o
15 O_OBJS :=
16 M_OBJS :=
17 M :=
18 MM :=
20 ifeq ($(CONFIG_SPARCAUDIO),y)
21 M=y
22 else
23 ifeq ($(CONFIG_SPARCAUDIO),m)
24 MM=y
25 endif
26 endif
28 ifeq ($(CONFIG_SPARCAUDIO_AMD7930),y)
29 M=y
30 OX_OBJS += amd7930.o
31 else
32 ifeq ($(CONFIG_SPARCAUDIO_AMD7930),m)
33 MM=y
34 MX_OBJS += amd7930.o
35 endif
36 endif
38 ifeq ($(CONFIG_SPARCAUDIO_CS4231),y)
39 M=y
40 O_OBJS += cs4231.o
41 else
42 ifeq ($(CONFIG_SPARCAUDIO_CS4231),m)
43 MM=y
44 M_OBJS += cs4231.o
45 endif
46 endif
48 ifeq ($(CONFIG_SPARCAUDIO_DBRI),y)
49 M=y
50 OX_OBJS += dbri.o
51 else
52 ifeq ($(CONFIG_SPARCAUDIO_DBRI),m)
53 MM=y
54 MX_OBJS += dbri.o
55 endif
56 endif
58 ifeq ($(CONFIG_SPARCAUDIO_DUMMY),y)
59 M=y
60 O_OBJS += dmy.o
61 else
62 ifeq ($(CONFIG_SPARCAUDIO_DUMMY),m)
63 MM=y
64 M_OBJS += dmy.o
65 endif
66 endif
68 ifdef M
69 OX_OBJS += audio.o
70 else
71 ifdef MM
72 MX_OBJS += audio.o
73 endif
74 endif
76 include $(TOPDIR)/Rules.make