ccad595e10
Daemon Watch will check if a process is running or if a tcp port is open. PR: ports/41718 Submitted by: Andrew Turner <zombie@i4free.co.nz>
21 lines
458 B
Text
21 lines
458 B
Text
--- Makefile.orig Wed Aug 14 21:37:07 2002
|
|
+++ Makefile Wed Aug 14 21:36:47 2002
|
|
@@ -10,7 +10,8 @@
|
|
LDFLAGS = `./guess --libs`
|
|
|
|
# This ps works for Linux and Solaris, at least
|
|
-PS = "/bin/ps -ef"
|
|
+#PS = "/bin/ps -ef"
|
|
+PS = "/bin/ps -ax"
|
|
|
|
# For Linux
|
|
#CFLAGS = -Wall -g
|
|
@@ -19,7 +20,7 @@
|
|
#CFLAGS = -Wall -g
|
|
#LDFLAGS = -lnsl -lsocket
|
|
|
|
-PREFIX = /usr/local
|
|
+PREFIX ?= /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
MANDIR = $(PREFIX)/man
|
|
MAN1DIR = $(MANDIR)/man1
|