36 lines
952 B
Text
36 lines
952 B
Text
--- Makefile.orig Fri Nov 9 15:30:45 2001
|
|
+++ Makefile Fri Nov 9 15:32:24 2001
|
|
@@ -19,12 +19,12 @@
|
|
|
|
VPATH = ../src
|
|
|
|
-DESTROOT =
|
|
-DESTPATH = $(DESTROOT)/usr/local/rtty
|
|
+DESTROOT = ${PREFIX}
|
|
+DESTPATH = $(DESTROOT)/rtty
|
|
DESTBIN = $(DESTPATH)/bin
|
|
|
|
#CC = cc
|
|
-CDEBUG = -O
|
|
+#CDEBUG = -O
|
|
#
|
|
# use -U to undefine, -D to define
|
|
# DEBUG include code to help debug this software
|
|
@@ -37,7 +37,7 @@
|
|
CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_INET_ATON \
|
|
-UNO_SOCKADDR_LEN -UNO_HSTRERROR
|
|
#
|
|
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
|
|
+CFLAGS += $(CDEBUG) $(CDEFS)
|
|
LIBS = -lcrypt
|
|
#(if WANT_TCPIP defined and this isn't in your libc)
|
|
# -lresolv
|
|
@@ -64,7 +64,7 @@
|
|
test -d $(DESTPATH)/$$x || mkdir $(DESTPATH)/$$x; \
|
|
done
|
|
set -x; for x in $(BINARY); do \
|
|
- install -c -m 111 $$x $(DESTBIN)/$$x; \
|
|
+ install -c -s -m 111 $$x $(DESTBIN)/$$x; \
|
|
done
|
|
set -x; for x in $(SCRIPT); do \
|
|
install -c -m 555 $$x $(DESTBIN)/$$x; \
|