blob: 233ffa4bd1d1b076d63fc986237b3173d78e4ae2 (
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
|
$NetBSD: patch-ae,v 1.6 2004/05/11 12:18:37 wiz Exp $
--- Makefile.in.orig Fri Jul 31 01:48:02 1998
+++ Makefile.in Mon Oct 16 16:22:20 2000
@@ -15,8 +15,8 @@
DEFINES = -DOS_@OS_TYPE@ -DARCH_@ARCH_TYPE@
CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG} ${BACK} -Wall
LDFLAGS = @LDFLAGS@
-INSTALL= @INSTALL@
-DESTDIR= ${prefix}/bin
+INSTALL= @INSTALL@ -s
+DESTDIR= ${PREFIX}/bin
#
# uncomment both of these if you want profiling support
@@ -38,7 +38,7 @@
mabout.o maboutData.o dirDlg.o mdirDlg.o dirDlgData.o mdirDlgData.o \
id3.o id3Data.o QLayer.o mid3.o mid3Data.o pixmaps/pixmaps.o
-LIBS = @QT_LDFLAGS@ -lm -lqt
+LIBS = @QT_LDFLAGS@ -lm -lqt -L${QT1DIR}/lib -Wl,-R${QT1DIR}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lX11 -lXext
all: xamp
@@ -58,7 +58,7 @@
cd pixmaps ; make
xamp: images $(OBJ)
- $(CC) -o xamp $(OBJ) $(LDFLAGS) $(LIBS)
+ $(CXX) -o xamp $(OBJ) $(LDFLAGS) $(LIBS)
install:
$(INSTALL) -m 755 xamp $(DESTDIR)/xamp
|