mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
32 lines
697 B
Plaintext
32 lines
697 B
Plaintext
--- Makefile.in.orig Wed Feb 11 07:37:20 1998
|
|
+++ Makefile.in Wed Feb 3 23:00:03 1999
|
|
@@ -14,7 +14,8 @@
|
|
DEFINES = -DOS_@OS_TYPE@ -DARCH_@ARCH_TYPE@
|
|
CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG} ${BACK}
|
|
LDFLAGS = @LDFLAGS@
|
|
-INSTALL= @INSTALL@
|
|
+INSTALL= @INSTALL@ -s
|
|
+DESTDIR= ${PREFIX}/bin
|
|
|
|
#
|
|
# uncomment both of these if you want profiling support
|
|
@@ -38,6 +39,9 @@
|
|
backs/backs.o
|
|
|
|
LIBS = @QT_LDFLAGS@ -lm -lqt
|
|
+ifeq ($(PORTOBJFORMAT),elf)
|
|
+LIBS+= -Wl,-rpath,$(X11BASE)/lib
|
|
+endif
|
|
|
|
all: xamp
|
|
|
|
@@ -59,7 +63,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)
|