summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 16:51:37 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 16:51:37 +0000
commitd216be1c03c76d3b745392e094ab1b027a2160fd (patch)
tree325aa0aa6467091087d6d9fe79fc7a98c34a1912
parent6e9d4cc1df1854311807434a86070660fbff6d01 (diff)
(installhdrs, installhdrdir): Install headers using the generic
technique, now that installhdrdir is available.
-rw-r--r--libthreads/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index bde12398..abeb497e 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -34,9 +34,8 @@ OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
OTHERTAGS = $(I386SRCS) $(I386HDRS)
libname = libthreads
-
-# Don't put cthreads.h in installhdrs or else it will get installed into
-# $(prefix)/include/hurd instead of $(prefix)/include.
+installhdrs = cthreads.h rwlock.h
+installhdrdir = .
VPATH += $(srcdir)/$(machine)
@@ -46,10 +45,6 @@ include ../Makeconf
# what that means, you'll understand this line.
CFLAGS := $(filter-out -Wall,$(CFLAGS))
-install: $(includedir)/cthreads.h $(includedir)/rwlock.h
-
-$(includedir)/%.h: %.h; $(INSTALL_DATA) $< $@
-
lndist: lndist-i386-files
lndist-i386-files: $(top_srcdir)/hurd-snap/$(dir)/i386