patch-2.3.99-pre6 linux/drivers/sound/emu10k1/Makefile

Next file: linux/drivers/sound/emu10k1/audio.c
Previous file: linux/drivers/sound/emu10k1/8010.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/sound/emu10k1/Makefile linux/drivers/sound/emu10k1/Makefile
@@ -0,0 +1,29 @@
+# Makefile for Creative Labs EMU10K1 
+#
+# 12 Apr 2000 Rui Sousa
+
+ifeq ($(CONFIG_SOUND_EMU10K1),y)
+    O_TARGET := emu10k1.o
+    O_OBJS = audio.o cardmi.o cardmo.o cardwi.o cardwo.o efxmgr.o \
+             emuadxmg.o hwaccess.o irqmgr.o main.o midi.o mixer.o \
+             osutils.o recmgr.o timer.o voicemgr.o
+else
+  ifeq ($(CONFIG_SOUND_EMU10K1),m)
+    M_OBJS := emu10k1.o
+    O_TARGET := emu10k1.o
+    O_OBJS = audio.o cardmi.o cardmo.o cardwi.o cardwo.o efxmgr.o \
+             emuadxmg.o hwaccess.o irqmgr.o main.o midi.o mixer.o \
+             osutils.o recmgr.o timer.o voicemgr.o
+  endif
+endif
+
+EXTRA_CFLAGS += -I.
+
+ifdef DEBUG
+    EXTRA_CFLAGS += -DEMU10K1_DEBUG
+endif
+
+include $(TOPDIR)/Rules.make
+
+clean:
+	rm -f core *.o *.a *.s

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)