head	1.4;
access;
symbols
	dws_pl15i:1.4
	LINUX_0_99_15I:1.1.1.7
	cluster_15h:1.4
	dws_pl15h_ibcs:1.4
	LINUX_0_99_15H:1.1.1.7
	LINUX_0_99_15G:1.1.1.7
	dws_pl15f_cluster_08a:1.4
	dws_pl15f:1.4
	LINUX_0_99_15F:1.1.1.7
	dws_pl15e:1.4
	LINUX_0_99_15E:1.1.1.7
	LINUX_0_99_15D:1.1.1.7
	LINUX_0_99_15C:1.1.1.7
	dws_pl15b:1.4
	LINUX_0_99_15B:1.1.1.7
	dws_pl15a:1.4
	LINUX_0_99_15A:1.1.1.7
	dws_pl15:1.4
	LINUX_0_99_15:1.1.1.7
	LINUX_0_99_14Z:1.1.1.7
	dws_pl14y:1.4
	LINUX_0_99_14Y:1.1.1.7
	dws_pl14x:1.4
	LINUX_0_99_14X:1.1.1.7
	LINUX_0_99_14W:1.1.1.7
	LINUX_0_99_14V:1.1.1.7
	LINUX_0_99_14U:1.1.1.7
	dws_pl14t:1.4
	LINUX_0_99_14T:1.1.1.7
	dws_pl14s:1.3
	LINUX_0_99_14S:1.1.1.6
	dws_pl14r:1.3
	LINUX_0_99_14R:1.1.1.6
	dws_pl14q:1.3
	LINUX_0_99_14Q:1.1.1.6
	dws_pl14p:1.3
	LINUX_0_99_14P:1.1.1.6
	dws_pl14o:1.3
	LINUX_0_99_14O:1.1.1.6
	LINUX_0_99_14M:1.1.1.5
	LINUX_0_99_14L:1.1.1.5
	LINUX_0_99_14K:1.1.1.5
	LINUX_0_99_14J:1.1.1.5
	LINUX_0_99_14I:1.1.1.4
	LINUX_0_99_14H:1.1.1.4
	LINUX_0_99_14G:1.1.1.3
	dws_pl14f:1.2
	LINUX_0_99_14F:1.1.1.2
	dws_pl14e:1.2
	LINUX_0_99_14E:1.1.1.2
	LINUX_0_99_14D:1.1.1.2
	LINUX_0_99_14C:1.1.1.2
	LINUX_0_99_14B:1.1.1.2
	LINUX_0_99_14A:1.1.1.2
	LINUX_0_99_14:1.1.1.1
	LINUX:1.1.1;
locks; strict;
comment	@# @;


1.4
date	94.01.24.08.02.45;	author bitterli;	state Exp;
branches;
next	1.3;

1.3
date	94.01.10.11.44.55;	author steinber;	state Exp;
branches;
next	1.2;

1.2
date	93.12.15.16.03.28;	author steinber;	state Exp;
branches;
next	1.1;

1.1
date	93.12.09.16.58.20;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.09.16.58.21;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	93.12.09.17.01.28;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.08.15.54.02;	author steinber;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	94.01.08.15.59.35;	author steinber;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	94.01.08.16.08.22;	author steinber;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	94.01.08.16.28.54;	author steinber;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	94.01.24.07.53.23;	author bitterli;	state Exp;
branches;
next	;


desc
@@


1.4
log
@merged pl14t
@
text
@# Makefile for the Linux sound card driver
#
# Note 2! The CFLAGS definitions are now inherited from the
# parent makes. (hopefully)
#
#

VERSION		= 2.4
TARGET_OS	= linux

.c.s:
	$(CC) $(CFLAGS) -S $<
.s.o:
	$(AS) -c -o $*.o $<
.c.o:
	$(CC) $(CFLAGS) -c $<

OBJS   = soundcard.o audio.o dmabuf.o sb_dsp.o dev_table.o \
	 opl3.o sequencer.o midibuf.o sb_card.o pas2_card.o adlib_card.o \
	 pas2_pcm.o pas2_mixer.o pas2_midi.o gus_card.o gus_wave.o mpu401.o \
	 gus_midi.o gus_vol.o patmgr.o sb_mixer.o sb16_dsp.o sb_midi.o \
	 sb16_midi.o sound_switch.o

all:	local.h sound.a

/usr/include/sys/soundcard.h:
	@@echo "WARNING! Your /usr/include/sys/soundcard.h not found."
	@@echo "Please make a new /usr/include/sys/soundcard.h containing"
	@@echo "just a line #include <linux/soundcard.h>"

sound.a: $(OBJS) 
	-rm -f sound.a
	$(AR) rcs sound.a $(OBJS)

clean:
	rm -f core core.* *.o *.a tmp_make *~ x z *%
	rm -f configure sound_stub.c
	for i in *.c;do rm -f `basename $$i .c`.s;done

indent:
	for n in *.c;do echo indent $$n;indent $$n;done

local.h:
	$(MAKE) clean
	$(MAKE) config
	$(MAKE) dep

config: configure /usr/include/sys/soundcard.h
	@@echo Compiling Sound Driver v $(VERSION) for Linux
	@@./configure > local.h
	@@echo \#define SOUND_VERSION_STRING \"$(VERSION)\" >> 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
	@@echo \#define SOUND_CONFIG_DOMAIN \"`domainname`\" >> local.h

clrconf:
	rm -f local.h .depend

configure: configure.c /usr/include/sys/soundcard.h
	$(HOSTCC) -o configure configure.c
	@@cat .blurb

dep:
	$(MAKE) /usr/include/sys/soundcard.h
	$(CPP) -M *.c > .depend

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
@


1.3
log
@updated to pl14o
@
text
@d8 1
a8 1
VERSION		= 2.3b
@


1.2
log
@some Makefile changes for cross-compilation
@
text
@d8 1
a8 1
VERSION		= 2.2b
a9 2
USRINCDIR	= ../../include		# USRINC has no business of being here
					# in the kernel sources
d21 2
a22 1
	 gus_midi.o gus_vol.o patmgr.o sb_mixer.o sb16_dsp.o sb_midi.o
d26 5
d37 1
a37 1
	rm -f configure Makefile sound_stub.c
d48 2
a49 1
config: configure
d57 4
a60 1
configure: configure.c
d65 1
@


1.1
log
@Initial revision
@
text
@d8 4
a11 2
VERSION		= 2.0
USRINCDIR	= /usr/include
d20 1
a20 1
OBJS   = soundcard.o dsp.o audio.o dmabuf.o sb_dsp.o dev_table.o \
d23 1
a23 1
	 gus_midi.o gus_vol.o patmgr.o
a29 1
	sync
d31 5
d40 1
a40 1
	rm -f configure
a51 3
clrconf:
	rm -f local.h .depend os.h soundcard.c

@


1.1.1.1
log
@LINUX_0_99_14
@
text
@@


1.1.1.2
log
@LINUX_0_99_14A
@
text
@d8 1
a8 2
VERSION		= 2.2b
TARGET_OS	= linux
d18 1
a18 1
OBJS   = soundcard.o audio.o dmabuf.o sb_dsp.o dev_table.o \
d21 1
a21 1
	 gus_midi.o gus_vol.o patmgr.o sb_mixer.o sb16_dsp.o sb_midi.o
a29 5
clean:
	rm -f core core.* *.o *.a tmp_make *~ x z *%
	rm -f configure Makefile sound_stub.c
	for i in *.c;do rm -f `basename $$i .c`.s;done

d34 1
a34 1
	$(MAKE) clean
d46 3
@


1.1.1.3
log
@LINUX_0_99_14G
@
text
@d8 1
a8 1
VERSION		= 2.3
d10 1
d22 1
a22 2
	 gus_midi.o gus_vol.o patmgr.o sb_mixer.o sb16_dsp.o sb_midi.o \
	 sb16_midi.o sound_switch.o
a25 10
/usr/include/sys/soundcard.h:
	@@echo "WARNING! Your /usr/include/sys/soundcard.h not found."
	@@echo "Please make a new /usr/include/sys/soundcard.h containing
	@@echo "just a line #include <linux/soundcard.h>"

os.h:
	@@$(MAKE) setup-$(TARGET_OS)
	@@$(MAKE) config
	@@$(MAKE) dep

a40 1
	$(MAKE) setup-$(TARGET_OS)
d44 1
a44 6
soundcard.c: $(TARGET_OS)/soundcard.c
	ln -sf $(TARGET_OS)/soundcard.c soundcard.c

config: configure /usr/include/sys/soundcard.h
	@@$(MAKE) setup-$(TARGET_OS)
	@@echo Compiling Sound Driver v $(VERSION) for Linux
d52 1
a52 4
clrconf:
	rm -f local.h .depend os.h soundcard.c

configure: configure.c /usr/include/sys/soundcard.h
a56 1
	$(MAKE) /usr/include/sys/soundcard.h
@


1.1.1.4
log
@LINUX_0_99_14H
@
text
@d31 5
d43 1
a43 1
	rm -f configure sound_stub.c
d51 1
d55 3
d59 1
d69 1
a69 1
	rm -f local.h .depend
@


1.1.1.5
log
@LINUX_0_99_14J
@
text
@d8 1
a8 1
VERSION		= 2.3b
@


1.1.1.6
log
@LINUX_0_99_14O
@
text
@d28 1
a28 1
	@@echo "Please make a new /usr/include/sys/soundcard.h containing"
@


1.1.1.7
log
@LINUX_0_99_14T
@
text
@d8 1
a8 1
VERSION		= 2.4
@
