diff options
-rw-r--r-- | libthreads/Makefile | 8 |
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 |