summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-16 17:41:56 +0000
committerRoland McGrath <roland@gnu.org>1995-09-16 17:41:56 +0000
commit29a7d45496672670e62f9d6a6a74666e3293e816 (patch)
tree41effdee64beacbd503efdbd9834125c0739139b /libthreads
parentdea1d10da2a0519a86f8f26da4e9864d37236e65 (diff)
(CPPFLAGS): Variable removed.
(lndist-i386-files): Use $(top_srcdir) in place of $(srcdir).
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index 550178f4..fb284342 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -33,9 +33,6 @@ OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
OTHERTAGS = $(I386SRCS) $(I386HDRS)
-# We need this to find <cthreads.h> in the source directory.
-CPPFLAGS = -I. -I$(srcdir)/libthreads
-
libname = libthreads
# Don't put cthreads.h in installhdrs or else it will get installed into
@@ -56,8 +53,8 @@ $(includedir)/cthreads.h: cthreads.h
lndist: lndist-i386-files
-lndist-i386-files: $(srcdir)/hurd-snap/$(dir)/i386
- ln $(I386SRCS) $(I386HDRS) $(srcdir)/hurd-snap/$(dir)/i386
+lndist-i386-files: $(top_srcdir)/hurd-snap/$(dir)/i386
+ ln $(I386SRCS) $(I386HDRS) $<
-$(srcdir)/hurd-snap/$(dir)/i386:
- mkdir $(srcdir)/hurd-snap/$(dir)/i386
+$(top_srcdir)/hurd-snap/$(dir)/i386:
+ mkdir $@