summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-08 18:13:30 +0000
committerMiles Bader <miles@gnu.org>1996-09-08 18:13:30 +0000
commit61c0b4743e6c7cfb9b13d893364e9d72ab02f507 (patch)
treef48871bcc960d8dc2c45438f3f4105ef6c76830a
parent3647f0d4ecf714e8963ceec54aea7a95b82acd6e (diff)
(DIST_FILES): New variable.
(install): Depend on $(prefix)/dev/MAKEDEV. (all): Depend on MAKEDEV. ($(prefix)/dev/MAKEDEV): New rule.
-rw-r--r--sutils/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sutils/Makefile b/sutils/Makefile
index e06ef317..47209a68 100644
--- a/sutils/Makefile
+++ b/sutils/Makefile
@@ -26,15 +26,22 @@ installationdir = $(sbindir)
SCRIPTS = e2os.sh
SRCS = reboot.c halt.c fsck.c fstab.c clookup.c $(SCRIPTS)
LCLHDRS = fstab.h
+DIST_FILES = MAKEDEV.sh
OBJS = $(filter-out $(SCRIPTS),$(SRCS:.c=.o))
include ../Makeconf
+all: MAKEDEV
+install: $(prefix)/dev/MAKEDEV
+
fsck: fstab.o clookup.o
reboot halt fsck: ../libshouldbeinlibc/libshouldbeinlibc.a
+$(filter-out $(special-targets), $(targets)): %: %.o
+
+$(prefix)/dev/MAKEDEV: MAKEDEV
+ $(INSTALL_PROGRAM) MAKEDEV $(prefix)/dev/MAKEDEV
+
%: %.sh $(top_srcdir)/sh-version.sed
sed -f $(top_srcdir)/sh-version.sed < $< > $@
-
-$(filter-out $(special-targets), $(targets)): %: %.o