summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-03-07 07:35:54 +0000
committerMiles Bader <miles@gnu.org>1997-03-07 07:35:54 +0000
commit7700c0a13ecf2c4f68aab8629e350fabe91a16b8 (patch)
tree639bf678840d7293e013916f8da8d2ddb09b96f6 /utils
parent3bba31774dc3bc3fd56fff87da78635de3179719 (diff)
Add addu to dependents of libshouldbeinlibc & libps.
(INSTALL-hurdids-ops, INSTALL-addu-ops): New variables. (SRCS): Add addu.c. (targets): Add addu.
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 16de88db..7eaf728f 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1994, 1995, 1996 Free Software Foundation
+# Copyright (C) 1994, 1995, 1996, 1997 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
@@ -20,9 +20,9 @@ makemode := utilities
targets = shd ps settrans showtrans sync su mount fsysopts \
storeinfo login w uptime hurdids loginpr sush vmstat portinfo \
- devprobe vminfo
+ devprobe vminfo addu
special-targets = mount loginpr sush uptime
-SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c \
+SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c addu.c \
mount.sh fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \
uptime.sh psout.c hurdids.c vmstat.c portinfo.c devprobe.c vminfo.c
LCLHDRS = psout.h
@@ -30,8 +30,11 @@ LCLHDRS = psout.h
OBJS = $(filter-out loginpr.sh mount.sh sush.sh uptime.sh,$(SRCS:.c=.o))
HURDLIBS = ps ihash store fshelp ports threads shouldbeinlibc
login-LDLIBS = -lutil $(LIBCRYPT)
+addu-LDLIBS = $(LIBCRYPT)
INSTALL-login-ops = -o root -m 4755
+INSTALL-addu-ops = -o root -m 4755
+INSTALL-hurdids-ops = -o root -m 4755
INSTALL-ps-ops = -o root -m 4755
INSTALL-w-ops = -o root -m 4755
INSTALL-vmstat-ops = -o root -m 4755
@@ -39,12 +42,12 @@ INSTALL-vminfo-ops = -o root -m 4755
include ../Makeconf
-ps w: psout.o ../libps/libps.a ../libihash/libihash.a
+ps w addu: psout.o ../libps/libps.a ../libihash/libihash.a
storeinfo: ../libstore/libstore.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
ps w hurdids settrans sync showtrans fsysopts storeinfo login vmstat portinfo \
- devprobe vminfo: ../libshouldbeinlibc/libshouldbeinlibc.a
+ devprobe vminfo addu: ../libshouldbeinlibc/libshouldbeinlibc.a
$(filter-out $(special-targets), $(targets)): %: %.o