summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1998-04-22 20:37:07 +0000
committerThomas Bushnell <thomas@gnu.org>1998-04-22 20:37:07 +0000
commit40dd0a623eb6133fa856aea02ad72409e7d8e4e0 (patch)
tree8e021a964000e034b0d0e33d44afb55e105727ff /utils/Makefile
parentfdb5119b85a2355352536e62ab51624f20ccde84 (diff)
Wed Apr 22 16:29:18 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* ping.c: New file. Originally P.D. from US Army; then modified by BSD, then added to Linux. Taken from Linux ping and adapted for Hurd and submitted for inclusion by Kunihiro Ishiguro (kunihiro@zebra.org). * Makefile (targets): Add `ping'. (SRCS): Add `ping.c'. (ping-CPPFLAGS): New variable, to find <linux/icmp.h> in the pfinet sources. (INSTALL-ping-ops): Install ping suid root. (ping): Depend on `../libthreads/libthreads.a'.
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