summaryrefslogtreecommitdiff
path: root/audio/snd/patches/patch-ae
blob: 07754910daf45f295dd30e6cb81ac047f13d2090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ae,v 1.9 2002/09/21 01:02:05 jlam Exp $

--- makefile.netbsd.orig	Mon Aug  9 19:22:24 1999
+++ makefile.netbsd	Mon Aug  9 19:25:36 1999
@@ -0,0 +1,30 @@
+# Snd make file for NetBSD, assuming Motif is available (audio currently stubbed out)
+
+#CC = gcc
+#CFLAGS = -O2 -DXPM -DHAVE_OSS -I${X11BASE}/include
+CFLAGS += -DXPM -DHAVE_OSS -I${X11BASE}/include
+CFLAGS += -g
+
+LIBS = ${LDFLAGS} -lMrm -lXm -lXpm -lXmu -lSM -lXt -lXext -lX11 -lm -lossaudio
+CLM_HEADERS = cmus_prototypes.h cmus.h sound_types.h
+SND_HEADERS = snd.h snd-0.h snd-1.h snd-ufun.h snd-strings.h sndclm.h
+SND_X_HEADERS = snd-x0.h snd-x1.h
+
+CLM_O_FILES = io.o headers.o
+
+O_FILES = snd-io.o snd-utils.o snd-parser.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-clip.o snd-find.o snd-snd.o snd-help.o snd-clm.o snd-main.o snd-print.o snd-ufun.o snd-ufunex.o snd-apply.o snd-trans.o snd-mix.o snd.o snd-env.o 
+
+X_O_FILES = snd-xutils.o snd-xdata.o snd-xmenu.o snd-xchn.o snd-xsnd.o snd-xdac.o snd-xclip.o snd-xmain.o snd-xclm.o snd-xmix.o snd-xrec.o snd-xenv.o
+
+snd: $(CLM_HEADERS) $(SND_HEADERS) $(SND_X_HEADERS) $(CLM_O_FILES) $(O_FILES) $(X_O_FILES)
+	$(CC) $(CLM_O_FILES) $(O_FILES) $(X_O_FILES) -o snd $(LIBS)
+
+$(CLM_O_FILES): $(CLM_HEADERS)
+$(O_FILES): $(SND_HEADERS) $(SND_X_HEADERS)
+$(X_O_FILES): $(SND_HEADERS) $(SND_X_HEADERS)
+
+clean:
+	rm -f $(CLM_O_FILES)
+	rm -f $(O_FILES)
+	rm -f $(X_O_FILES)
+