summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-26 20:08:41 +0000
committerMiles Bader <miles@gnu.org>1996-09-26 20:08:41 +0000
commit09fcfdfd857fd7c320dac06e7388dd5e566674e4 (patch)
treeb242dc2672d38268d10f2d43f40589b46f2ea6f7
parenta14592540644c73578c76f18fd3ff8e245549248 (diff)
(all):
Target removed. (DIST_FILES): Variable removed. (SCRIPTS): Add MAKEDEV.sh. ($(prefix)/dev/MAKEDEV): Get rid of dependencies. Implement with a symbolic link to /sbin/MAKEDEV. (targets, special-targets): Add MAKEDEV. (%: %.sh): Variable removed.
-rw-r--r--sutils/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/sutils/Makefile b/sutils/Makefile
index 74057b7d..24f3bc44 100644
--- a/sutils/Makefile
+++ b/sutils/Makefile
@@ -20,32 +20,25 @@
dir := sutils
makemode := utilities
-targets = reboot halt fsck e2os
-special-targets = e2os
+targets = reboot halt fsck e2os MAKEDEV
+special-targets = e2os MAKEDEV
installationdir = $(sbindir)
-SCRIPTS = e2os.sh
+SCRIPTS = e2os.sh MAKEDEV.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))
HURDLIBS = shouldbeinlibc
include ../Makeconf
-all: MAKEDEV
-install: $(prefix)/dev $(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 < $< > $@
-
+install: $(prefix)/dev $(prefix)/dev/MAKEDEV
+$(prefix)/dev/MAKEDEV:
+ ln -s ../sbin/MAKEDEV $@
$(prefix)/dev:
- $(MKINSTALLDIRS) $@
+ @$(MKINSTALLDIRS) $@