summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-04-11 19:49:46 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-04-11 19:49:46 +0000
commitfd9e6566f116dab205aa6b67e44b185c6c7dadb8 (patch)
tree4bbf90f3236ab10dc800888314d79b2435e3387e
parentc3003a646cc117f851f55aecba6a1023865d1fc2 (diff)
(DIST_FILES): New var, for MAKEDEV.
(install): Depend on $(prefix)/dev/MAKEDEV. ($(prefix)/dev/MAKEDEV): New target.
-rw-r--r--devio/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/devio/Makefile b/devio/Makefile
index dd0cf16f..97d7029d 100644
--- a/devio/Makefile
+++ b/devio/Makefile
@@ -22,6 +22,7 @@ target = devio
SRCS = dev.c iostate.c window.c devio.c open.c devpager.c io.c rdwr.c mem.c
LCLHDRS = dev.h iostate.h window.h open.h ptypes.h mem.h
HURDLIBS = libtrivfs libpager libports libfshelp libthreads
+DIST_FILES = MAKEDEV
OBJS = $(SRCS:.c=.o) error.o
@@ -34,6 +35,12 @@ vpath %.c ../lib
include ../Makeconf
+install: $(prefix)/dev/MAKEDEV
+
+$(prefix)/dev/MAKEDEV: MAKEDEV
+ $(INSTALL_DATA) MAKEDEV $(prefix)/dev/MAKEDEV
+ chmod +x $(prefix)/dev/MAKEDEV
+
open.c rdwr.c window.c: window.h
dev.c devio.c devpager.c io.c iostate.c open.c rdwr.c window.c: dev.h
devio.c io.c open.c rdwr.c: open.h