summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-04 21:20:18 +0000
committerRoland McGrath <roland@gnu.org>1995-04-04 21:20:18 +0000
commit798bed3fcfd6a39063a3d39cc715e0f8db75d4d9 (patch)
tree0a1ce75de2b9e7030315e9471671167268c2da7e /libthreads
parent1b33601459649bed37af52615e06ae9a328a4987 (diff)
(CPPFLAGS): Define.
($(OBJS) rule): Fix typo in target. (install-cthreads.h): Use $(INSTALL_DATA).
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index dd1c56b6..3b9aaf6e 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1994 Free Software Foundation
+# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -33,6 +33,9 @@ OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
OTHERTAGS = $(I386SRCS) $(I386HDRS)
+# We need this to find <cthreads.h> in the source directory.
+CPPFLAGS = -I. -I$(hurdsource)/libthreads
+
libname = libthreads
# Don't put cthreads.h in installhdrs or else it will get installed into
@@ -42,11 +45,11 @@ VPATH = $(machine)
include ../Makeconf
-$(objects): cthreads.h cthread_internals.h options.h i386/asm.h
+$(OBJS): 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
+ $(INSTALL_DATA) cthreads.h $(includedir)/cthreads.h
lndist: lndist-i386-files
@@ -55,4 +58,3 @@ lndist-i386-files: $(hurdsource)/hurd-snap/$(dir)/i386
$(hurdsource)/hurd-snap/$(dir)/i386:
mkdir $(hurdsource)/hurd-snap/$(dir)/i386
-