summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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