summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 8af0efb7..38ff4b43 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
+# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -21,13 +21,13 @@ makemode := utilities
targets = shd ps settrans showtrans sync su mount fsysopts \
storeinfo login w uptime ids loginpr sush vmstat portinfo \
devprobe vminfo addauth rmauth unsu setauth ftpcp ftpdir storecat \
- storeread
+ storeread ping
special-targets = mount loginpr sush uptime
SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c addauth.c rmauth.c \
mount.sh fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \
uptime.sh psout.c ids.c vmstat.c portinfo.c devprobe.c vminfo.c \
parse.c frobauth.c frobauth-mod.c setauth.c pids.c nonsugid.c \
- unsu.c ftpcp.c ftpdir.c storeread.c storecat.c
+ unsu.c ftpcp.c ftpdir.c storeread.c storecat.c ping.c
LCLHDRS = psout.h parse.h pids.h frobauth.h
OBJS = $(filter-out loginpr.sh mount.sh sush.sh uptime.sh,$(SRCS:.c=.o))
@@ -37,6 +37,8 @@ addauth-LDLIBS = $(LIBCRYPT)
setauth-LDLIBS = $(LIBCRYPT)
su-LDLIBS = $(LIBCRYPT)
+ping-CPPFLAGS = -I$(srcdir)/../pfinet/
+
INSTALL-login-ops = -o root -m 4755
INSTALL-addauth-ops = -o root -m 4755
INSTALL-setauth-ops = -o root -m 4755
@@ -46,6 +48,7 @@ INSTALL-ps-ops = -o root -m 4755
INSTALL-w-ops = -o root -m 4755
INSTALL-vmstat-ops = -o root -m 4755
INSTALL-vminfo-ops = -o root -m 4755
+INSTALL-ping-ops = -o root -m 4755
include ../Makeconf
@@ -58,6 +61,8 @@ ps w: psout.o ../libps/libps.a ../libihash/libihash.a
storeinfo storecat storeread: ../libstore/libstore.a
ftpcp ftpdir: ../libftpconn/libftpconn.a
+ping: ../libthreads/libthreads.a
+
# We must include libthreads because of a bug in the way shared libraries
# work: all libraries that *any* routine in libfshelp uses must be defined.
settrans: ../libfshelp/libfshelp.a ../libports/libports.a ../libthreads/libthreads.a