summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 14:29:02 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 14:29:02 +0000
commit3a2c9d34ed6c48250c9c6a8b652eab571e93235c (patch)
tree759e31925bd65432a11965d2335cd176348c3707
parentf0e54d6fdb214ebcabf0f254cb9267044b9154a5 (diff)
(devio): Put all dependencies here.
(HURDLIBS): Removed. (OBJS): Get rid of error.o. Get rid of rules dealing with error.o. ($(prefix)/dev/MAKEDEV): Use $(INSTALL_PROGRAM) instead of $(INSTALL_DATA) + `chmod +x'.
-rw-r--r--devio/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/devio/Makefile b/devio/Makefile
index 4534cd63..08f9e4a1 100644
--- a/devio/Makefile
+++ b/devio/Makefile
@@ -1,3 +1,4 @@
+# Makefile for devio
#
# Copyright (C) 1995 Free Software Foundation, Inc.
#
@@ -21,22 +22,15 @@ makemode := server
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 libihash
DIST_FILES = MAKEDEV
-OBJS = $(SRCS:.c=.o) error.o
+OBJS = $(SRCS:.c=.o)
-CPPFLAGS += -I../lib
-CPPFLAGS += $(CPPFLAGS-$(notdir $<))
-
-CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR
-
-vpath %.c ../lib
+devio: $(OBJS) ../libtrivfs/libtrivfs.a ../libpager/libpager.a ../libports/libports.a ../libfshelp/libfshelp.a ../libthreads/libthreads.a ../libihash/libihash.a ../libshouldbeinlibc/libshouldbeinlibc.a
include ../Makeconf
install: $(prefix)/dev/MAKEDEV
$(prefix)/dev/MAKEDEV: MAKEDEV
- $(INSTALL_DATA) MAKEDEV $(prefix)/dev/MAKEDEV
- chmod +x $(prefix)/dev/MAKEDEV
+ $(INSTALL_PROGRAM) MAKEDEV $(prefix)/dev/MAKEDEV