2000-02-12 20:52:29 +00:00
|
|
|
--- Makefile.orig Wed Feb 9 09:59:09 2000
|
|
|
|
+++ Makefile Wed Feb 9 11:12:59 2000
|
|
|
|
@@ -57,17 +57,18 @@
|
1999-12-29 08:35:07 +00:00
|
|
|
#OPTIONS += -DHAVE_GETOPT_H
|
1998-03-28 08:20:32 +00:00
|
|
|
|
1999-12-29 08:35:07 +00:00
|
|
|
# You may need to touch PREFIX, CC and CFLAGS.
|
|
|
|
-PREFIX = /usr/local
|
|
|
|
-INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
|
|
|
|
-INSTALL_MAN = install -c -m 444 -o bin -g bin
|
|
|
|
+#PREFIX = /usr/local
|
|
|
|
+#INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
|
|
|
|
+#INSTALL_MAN = install -c -m 444 -o bin -g bin
|
2000-02-12 20:52:29 +00:00
|
|
|
|
|
|
|
# Some make's don't define this.
|
|
|
|
-RM = rm -f
|
1999-12-29 08:35:07 +00:00
|
|
|
+#RM = rm -f
|
2000-02-12 20:52:29 +00:00
|
|
|
|
|
|
|
# Should be OK for GNU gcc.
|
|
|
|
-CC = gcc
|
|
|
|
-CFLAGS = -O2 -Wall $(OPTIONS)
|
|
|
|
-LDFLAGS = -s
|
1999-12-29 08:35:07 +00:00
|
|
|
+#CC = gcc
|
|
|
|
+#CFLAGS = -O2 -Wall $(OPTIONS)
|
|
|
|
+CFLAGS += $(OPTIONS)
|
|
|
|
+#LDFLAGS = -s
|
1998-03-28 08:20:32 +00:00
|
|
|
|
2000-02-12 20:52:29 +00:00
|
|
|
# For using BIND resolver instead of system resolver.
|
|
|
|
#LIBS += -lresolv # Really old Linux has this.
|
|
|
|
@@ -96,7 +97,7 @@
|
1999-12-29 08:35:07 +00:00
|
|
|
$(RM) tproxy
|
1998-03-28 08:20:32 +00:00
|
|
|
|
1999-12-29 08:35:07 +00:00
|
|
|
install: tproxy
|
|
|
|
- $(INSTALL_PROGRAM) tproxy $(PREFIX)/sbin
|
|
|
|
- $(INSTALL_PROGRAM) tproxyrun $(PREFIX)/sbin
|
|
|
|
- $(INSTALL_PROGRAM) tproxywatch $(PREFIX)/sbin
|
|
|
|
- $(INSTALL_MAN) tproxy.8 $(PREFIX)/man/man8
|
|
|
|
+ $(BSD_INSTALL_PROGRAM) tproxy $(PREFIX)/sbin
|
|
|
|
+ $(BSD_INSTALL_SCRIPT) tproxyrun $(PREFIX)/sbin
|
|
|
|
+ $(BSD_INSTALL_SCRIPT) tproxywatch $(PREFIX)/sbin
|
|
|
|
+ $(BSD_INSTALL_MAN) tproxy.8 $(PREFIX)/man/man8
|