summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-06-01 17:29:35 +0000
committerMiles Bader <miles@gnu.org>1995-06-01 17:29:35 +0000
commit3f25a5329a4a11b5b37b09647f7034b59937858d (patch)
tree07678f03099c199bdda0f3d1689df04e29781593 /utils/Makefile
parente5ccbc72317d53220879fb58d735202e48058092 (diff)
(ps.o, fsysopts.o, showtrans.o, settrans.o): Add dependencies on header files.
(REMHDRS): Define this variable.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 91808071..3dde945d 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -23,6 +23,7 @@ targets = shd ps settrans showtrans clri sync reboot halt su mount fsysopts
DIST_FILES = sh.ChangeLog
HURDLIBS=libps # Only used by ps.
+REMHDRS=../hurd/ps.h ../lib/argz.h ../lib/error.h ../lib/start-trans.h
CPPFLAGS += -I../lib
CPPFLAGS += $(CPPFLAGS-$(notdir $<))
@@ -31,10 +32,15 @@ vpath %.c ../lib
include ../Makeconf
settrans: settrans.o start-trans.o argz.o error.o
+settrans.o: ../lib/argz.h ../lib/error.h ../lib/start-trans.h
+
showtrans: showtrans.o argz.o error.o
+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.o: ../hurd/ps.h ../lib/error.h
CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR