patch-2.1.6 linux/drivers/sound/lowlevel/Makefile
Next file: linux/drivers/sound/lowlevel/README
Previous file: linux/drivers/sound/lowlevel/Config.tmpl
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Fri Oct 25 13:06:34 1996
- Orig file:
v2.1.5/linux/drivers/sound/lowlevel/Makefile
- Orig date:
Wed Sep 4 20:37:14 1996
diff -u --recursive --new-file v2.1.5/linux/drivers/sound/lowlevel/Makefile linux/drivers/sound/lowlevel/Makefile
@@ -1,18 +1,33 @@
all: lowlevel.o
+ALLOBJS = init.o aci.o awe_wave.o
OBJS = init.o
ifdef CONFIG_LOWLEVEL_SOUND
ifdef CONFIG_ACI_MIXER
OBJS := $(OBJS) aci.o
endif
+ifdef CONFIG_AWE32_SYNTH
+OBJS := $(OBJS) awe_wave.o
+endif
endif
lowlevel.o: $(OBJS)
$(LD) -r -o lowlevel.o $(OBJS)
+module: manual_config.h
+ rm -f lowlevel.o
+ make CFLAGS="$(CFLAGS) -DLOWLEVEL_MODULE" $(ALLOBJS)
+ $(LD) -r -o lowlevel.o $(ALLOBJS)
+ touch module
+
+manual_config.h:
+ @echo You should create `pwd`/manual_config.h.
+ @echo See `pwd`/README for more info.
+ @exit 1
+
clean:
- rm -f core x y z *~ *.o
+ rm -f core x y z *~ *.o module
ifdef HOSTCC
include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov