summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 3dde945d..bde83d48 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -22,12 +22,10 @@ SRCS = shd.c ps.c su.c settrans.c clri.c sync.c reboot.c halt.c showtrans.c moun
targets = shd ps settrans showtrans clri sync reboot halt su mount fsysopts
DIST_FILES = sh.ChangeLog
-HURDLIBS=libps # Only used by ps.
+HURDLIBS=libps libihash # Only used by ps.
REMHDRS=../hurd/ps.h ../lib/argz.h ../lib/error.h ../lib/start-trans.h
-CPPFLAGS += -I../lib
CPPFLAGS += $(CPPFLAGS-$(notdir $<))
-vpath %.c ../lib
include ../Makeconf
@@ -40,7 +38,7 @@ showtrans.o: ../lib/argz.h ../lib/error.h
fsysopts: fsysopts.o argz.o error.o
fsysopts.o: ../lib/argz.h ../lib/error.h
-ps: ps.o ihash.o primes.o error.o $(HURDLIBS-files) $(libc)
+ps: ps.o error.o $(HURDLIBS-files) $(libc)
ps.o: ../hurd/ps.h ../lib/error.h
CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR