1999-03-18 06:52:59 +00:00
|
|
|
--- Makefile.orig Wed Oct 28 12:30:03 1998
|
|
|
|
+++ Makefile Tue Mar 9 03:10:00 1999
|
1997-10-07 04:32:33 +00:00
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
# You probably want to change this:
|
|
|
|
#INSTROOT = ${HOME}
|
1999-03-18 06:52:59 +00:00
|
|
|
-INSTROOT = /depot/collections0/netpipes4.1
|
1997-10-07 04:32:33 +00:00
|
|
|
+INSTROOT = ${PREFIX}
|
1999-03-18 06:52:59 +00:00
|
|
|
#INSTROOT = /usr/local
|
1997-10-07 04:32:33 +00:00
|
|
|
INSTBIN = ${INSTROOT}/bin
|
|
|
|
INSTMAN = ${INSTROOT}/man
|
1999-03-18 06:52:59 +00:00
|
|
|
@@ -59,7 +59,7 @@
|
|
|
|
#CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
|
1997-10-07 04:32:33 +00:00
|
|
|
|
1999-03-18 06:52:59 +00:00
|
|
|
# Linux (developed with RedHat 4.2, libc5)
|
1998-04-18 12:38:30 +00:00
|
|
|
-CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
|
|
|
|
+#CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
|
|
|
|
|
|
|
|
# SGI
|
|
|
|
#CFLAGS = -DSYSV $(CDEBUGFLAGS)
|
1999-03-18 06:52:59 +00:00
|
|
|
@@ -71,7 +71,7 @@
|
1998-04-18 12:38:30 +00:00
|
|
|
#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
|
|
|
|
|
|
|
|
# FreeBSD
|
|
|
|
-#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
|
|
|
|
+CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
|
|
|
|
|
|
|
|
# AIX 4.1.4 and 3.2.5
|
|
|
|
#CFLAGS = -DPOSIX_SIG -DAIX $(CDEBUGFLAGS)
|
1999-03-18 06:52:59 +00:00
|
|
|
@@ -104,8 +104,7 @@
|
|
|
|
SSLLIB = -L../SSLeay-0.8.1 -lssl -lcrypto
|
|
|
|
|
|
|
|
MANPAGES = netpipes.1 faucet.1 hose.1 \
|
|
|
|
- sockdown.1 getpeername.1 timelimit.1 encapsulate.1 \
|
|
|
|
- ssl-auth.1
|
|
|
|
+ sockdown.1 getpeername.1 timelimit.1 encapsulate.1
|
|
|
|
PROGRAMS = faucet hose sockdown getpeername timelimit encapsulate
|
|
|
|
|
|
|
|
all : ${PROGRAMS}
|
|
|
|
@@ -138,15 +137,9 @@
|
|
|
|
${CC} ${CFLAGS} ${SSLINC} -c $<
|
1997-10-07 04:32:33 +00:00
|
|
|
|
|
|
|
install : all
|
1999-03-18 06:52:59 +00:00
|
|
|
- test -d ${INSTROOT} || mkdir ${INSTROOT}
|
|
|
|
- test -d ${INSTBIN} || mkdir ${INSTBIN}
|
1997-10-07 04:32:33 +00:00
|
|
|
- cp ${PROGRAMS} ${INSTBIN}/
|
|
|
|
- - rm -f ${INSTBIN}/getsockname
|
|
|
|
- ln -s getpeername ${INSTBIN}/getsockname
|
1999-03-18 06:52:59 +00:00
|
|
|
- - [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
|
|
|
|
- test -d ${INSTMAN} || mkdir ${INSTMAN}
|
|
|
|
- test -d ${INSTMAN}/man1 || mkdir ${INSTMAN}/man1
|
1997-10-07 04:32:33 +00:00
|
|
|
- cp ${MANPAGES} ${INSTMAN}/man1/
|
|
|
|
+ ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
|
|
|
|
+ ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
|
|
|
|
|
1999-03-18 06:52:59 +00:00
|
|
|
#
|
|
|
|
|