patch-1.3.38 linux/drivers/sound/Makefile
Next file: linux/drivers/sound/Readme
Previous file: linux/drivers/sound/.version
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Tue Nov 7 10:14:16 1995
- Orig file:
v1.3.37/linux/drivers/sound/Makefile
- Orig date:
Mon Oct 23 18:02:13 1995
diff -u --recursive --new-file v1.3.37/linux/drivers/sound/Makefile linux/drivers/sound/Makefile
@@ -5,10 +5,11 @@
#
#
-VERSION = `cat .version`
+VERSION = `head -1 .version`
TARGET_OS = linux
USRINCDIR = /usr/include
MODULEDIR = /lib/modules/misc
+
FIXEDOBJS = soundcard.o dev_table.o sound_switch.o
ifeq (.defines,$(wildcard .defines))
@@ -21,7 +22,7 @@
gus_midi.o gus_vol.o patmgr.o sb_mixer.o sb16_dsp.o sb_midi.o \
sb16_midi.o midi_synth.o uart6850.o sound_timer.o \
sys_timer.o ics2101.o ad1848.o pss.o sscape.o trix.o aedsp16.o \
- mad16.o mad16_sb_midi.o cs4232.o maui.o
+ mad16.o mad16_sb_midi.o cs4232.o maui.o sound_pnp.o
endif
ifndef HOSTCC
@@ -32,6 +33,7 @@
HOSTCC = gcc
CFLAGS = -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
+
build:
@echo Compiling modularized sound driver
@make sound.o
@@ -72,8 +74,14 @@
$(MAKE) setup-$(TARGET_OS)
$(MAKE) oldconfig
$(MAKE) dep
- @echo You have to restart make. This ensures that options are read corrrectly.
- exit -1
+ @echo
+ @echo
+ @echo
+ @echo NOTE! Object file dependencies may not be up to date. Run
+ @echo make again if kernel/driver doesn't link properly. Restarting
+ @echo it now may save some time.
+ @echo
+ @echo
config: configure
@$(MAKE) setup-$(TARGET_OS)
@@ -85,7 +93,7 @@
@echo \#define SOUND_UNAME_A \"`uname -a`\" >> local.h
oldconfig: setup-$(TARGET_OS) configure
- @./configure /etc/soundconf > local.h
+ @./configure -o > local.h
@echo \#define SOUND_CONFIG_DATE \"`date`\" >> local.h
@echo \#define SOUND_CONFIG_BY \"`whoami`\" >> local.h
# @echo \#define SOUND_CONFIG_HOST \"`hostname`\" >> local.h 2>/dev/null
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this