summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-04 09:38:41 +0000
committerRoland McGrath <roland@gnu.org>1996-05-04 09:38:41 +0000
commitea6e802e6e9244ff74725c84634607fd5ba1ddfd (patch)
treefc7a92d1e50af2e8010acfa6e78a783f125b276d /libthreads
parent998bec3d2c995cc3171401f3e5e8af86e65a3188 (diff)
(SRCS): Add rwlock.c.
(LCLHDRS): Add rwlock.h. (install): Depend on $(includedir)/rwlock.h. ($(includedir)/%.h: %.h): New rule. ($(includedir)/cthreads.h): Target removed, obviated by that rule.
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index 968cc523..bde12398 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -1,4 +1,4 @@
-#
+#
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# This is currently i386 specific. XXX
+# This is currently i386 specific. XXX
dir := libthreads
makemode := library
@@ -23,11 +23,11 @@ makemode := library
# In GNU mig_support.c, sync.c and machine/lock.s are omitted; that work is
# all done in libc.
SRCS := call.c cprocs.c cthread_data.c cthreads.c stack.c malloc.c \
- cancel-cond.c
+ cancel-cond.c rwlock.c
I386SRCS := i386/csw.S i386/thread.c
# In GNU machine/cthreads.h is omitted; that work is done in libc headers.
-LCLHDRS := cthread_internals.h options.h cthreads.h
+LCLHDRS := cthread_internals.h options.h cthreads.h rwlock.h
OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
@@ -36,7 +36,7 @@ OTHERTAGS = $(I386SRCS) $(I386HDRS)
libname = libthreads
# Don't put cthreads.h in installhdrs or else it will get installed into
-# $(hurdinst)/include/hurd instead of $(hurdinst)/include.
+# $(prefix)/include/hurd instead of $(prefix)/include.
VPATH += $(srcdir)/$(machine)
@@ -46,9 +46,9 @@ include ../Makeconf
# what that means, you'll understand this line.
CFLAGS := $(filter-out -Wall,$(CFLAGS))
-install: $(includedir)/cthreads.h
-$(includedir)/cthreads.h: cthreads.h
- $(INSTALL_DATA) cthreads.h $(includedir)/cthreads.h
+install: $(includedir)/cthreads.h $(includedir)/rwlock.h
+
+$(includedir)/%.h: %.h; $(INSTALL_DATA) $< $@
lndist: lndist-i386-files