summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-16 15:22:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-16 15:22:07 +0000
commita70cc5cea1bee72927e56dddf4e23b4afb361421 (patch)
tree94d9d01d1a9f629db5f165351f7f269ce1340aa3
parent2823dc24b4cc302b749c398557989ae08c35499a (diff)
entered into RCS
-rw-r--r--libthreads/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index b32136b0..dd1c56b6 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -34,7 +34,9 @@ OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
OTHERTAGS = $(I386SRCS) $(I386HDRS)
libname = libthreads
-installhdrs = cthreads.h
+
+# Don't put cthreads.h in installhdrs or else it will get installed into
+# $(hurdinst)/include/hurd instead of $(hurdinst)/include.
VPATH = $(machine)
@@ -42,6 +44,10 @@ include ../Makeconf
$(objects): cthreads.h cthread_internals.h options.h i386/asm.h
+install: install-cthreads.h
+install-cthreads.h: cthreads.h
+ cp cthreads.h $(includedir)/cthreads.h
+
lndist: lndist-i386-files
lndist-i386-files: $(hurdsource)/hurd-snap/$(dir)/i386