summaryrefslogtreecommitdiff
path: root/devio
diff options
context:
space:
mode:
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