33 lines
952 B
Text
33 lines
952 B
Text
$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
|