blob: c0c91ab8f6d288af34c405c9f7d98506ef12ca69 (
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
|
$NetBSD: patch-aa,v 1.5 2005/10/22 16:17:14 rillig Exp $
--- Makefile.orig Thu Jan 11 10:55:40 1996
+++ Makefile Thu Jul 16 05:07:04 1998
@@ -26,6 +26,6 @@
LINK = $(CC)
-INCLUDES = -I/usr/X11R5/include
-LIB_DIRS = -L/usr/X11R5/lib
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man/man1
+INCLUDES = -I$(X11BASE)/include
+LIB_DIRS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/man/man1
@@ -33,4 +33,6 @@
# feature.
-AUDIO = -DAUDIO
-AUDIO_MODULE = audio.o
+# Note. Audio works. I have no soundcards at present though, so I cannot
+# test it appropriately.
+#AUDIO = -DAUDIO
+#AUDIO_MODULE = audio.o
@@ -38,3 +40,3 @@
-LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext
+LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext $(EXTRA_LIBS)
COPTS = $(CFLAGS) $(AUDIO)
|