summaryrefslogtreecommitdiff
path: root/sutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/Makefile')
-rw-r--r--sutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sutils/Makefile b/sutils/Makefile
index 47209a68..d2164a3d 100644
--- a/sutils/Makefile
+++ b/sutils/Makefile
@@ -28,6 +28,7 @@ SRCS = reboot.c halt.c fsck.c fstab.c clookup.c $(SCRIPTS)
LCLHDRS = fstab.h
DIST_FILES = MAKEDEV.sh
+HURDLIBS=shouldbeinlibc
OBJS = $(filter-out $(SCRIPTS),$(SRCS:.c=.o))
include ../Makeconf
@@ -40,8 +41,11 @@ reboot halt fsck: ../libshouldbeinlibc/libshouldbeinlibc.a
$(filter-out $(special-targets), $(targets)): %: %.o
-$(prefix)/dev/MAKEDEV: MAKEDEV
+$(prefix)/dev/MAKEDEV: MAKEDEV $(prefix)/dev
$(INSTALL_PROGRAM) MAKEDEV $(prefix)/dev/MAKEDEV
%: %.sh $(top_srcdir)/sh-version.sed
sed -f $(top_srcdir)/sh-version.sed < $< > $@
+
+$(prefix)/dev:
+ $(MKINSTALLDIRS) $@