1997-04-24 17:32:25 +00:00
|
|
|
--- Makefile.orig Thu Apr 24 09:33:17 1997
|
|
|
|
+++ Makefile Thu Apr 24 10:02:39 1997
|
1997-04-24 08:04:53 +00:00
|
|
|
@@ -1,14 +1,16 @@
|
|
|
|
# Compiler: eg. cc or gcc
|
|
|
|
CC = cc
|
|
|
|
|
|
|
|
+#PREFIX= /local
|
|
|
|
+
|
|
|
|
# Directory to install tcplist executable
|
|
|
|
-BINDIR = /local/bin
|
|
|
|
+BINDIR = $(PREFIX)/bin
|
|
|
|
|
|
|
|
# Directory to install tcplist man page
|
|
|
|
-MANDIR = /local/man/man1
|
|
|
|
+MANDIR = $(PREFIX)/man/man1
|
|
|
|
|
|
|
|
# Location of NOIDENT file
|
|
|
|
-NOIDENT = /etc/hosts.noident
|
|
|
|
+NOIDENT = $(PREFIX)/etc/hosts.noident
|
|
|
|
|
|
|
|
# Owner of tcplist executable
|
|
|
|
OWNER = root
|
|
|
|
@@ -45,18 +47,18 @@
|
|
|
|
#
|
|
|
|
# Solaris 2.x (using LSOF):
|
|
|
|
#
|
|
|
|
-LIBRARIES = -lsocket -lnsl
|
|
|
|
-DEFS = -DLSOF
|
|
|
|
-MODE = 755
|
|
|
|
-GROUP = staff
|
|
|
|
+#LIBRARIES = -lsocket -lnsl
|
|
|
|
+#DEFS = -DLSOF
|
|
|
|
+#MODE = 755
|
|
|
|
+#GROUP = staff
|
|
|
|
|
|
|
|
#
|
|
|
|
# Generic LSOF:
|
|
|
|
#
|
|
|
|
-# LIBRARIES =
|
|
|
|
-# DEFS = -DLSOF
|
|
|
|
-# MODE = 755
|
|
|
|
-# GROUP = staff
|
|
|
|
+ LIBRARIES =
|
|
|
|
+ DEFS = -DLSOF
|
|
|
|
+ MODE = 755
|
|
|
|
+ GROUP = staff
|
|
|
|
#
|
|
|
|
|
|
|
|
# If you're using an old version of lsof, uncomment this:
|
1997-04-24 17:32:25 +00:00
|
|
|
@@ -76,8 +78,8 @@
|
|
|
|
RM = /bin/rm -rf
|
|
|
|
CP = /bin/cp
|
|
|
|
CHMOD = /bin/chmod
|
|
|
|
-CHOWN = /bin/chown
|
|
|
|
-CHGRP = /bin/chgrp
|
|
|
|
+CHOWN = /usr/sbin/chown
|
|
|
|
+CHGRP = /usr/bin/chgrp
|
|
|
|
|
|
|
|
all:: tcplist
|
|
|
|
|