summaryrefslogtreecommitdiff
path: root/devio
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
commit6a334458e5ede3990d8bee7ce391dea0c1523753 (patch)
treea21e5064b4376c5e37dcb16c94a470635454a10b /devio
parent1c7ce1ac542fb8fa3f13d9a3ae5ec99823b63d6c (diff)
(DIST_FILES): New var, for MAKEDEV.
(install): Depend on $(prefix)/dev/MAKEDEV. ($(prefix)/dev/MAKEDEV): New target.
Diffstat (limited to 'devio')
-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