summaryrefslogtreecommitdiff
path: root/libthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libthreads/Makefile')
-rw-r--r--libthreads/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index 5b2bc62a..ee862366 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1994,95,96,97,2000 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
@@ -21,7 +21,7 @@ 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 \
- cancel-cond.c rwlock.c
+ cancel-cond.c rwlock.c lockfile.c
I386SRCS := i386/csw.S i386/thread.c
# In GNU machine/cthreads.h is omitted; that work is done in libc headers.
@@ -50,3 +50,11 @@ lndist-i386-files: $(top_srcdir)/hurd-snap/$(dir)/i386
$(top_srcdir)/hurd-snap/$(dir)/i386:
mkdir $@
+
+ifeq ($(VERSIONING),yes)
+
+# Adding this dependency gets it included in the command line,
+# where ld will read it as a linker script.
+$(libname).so.$(hurd-version): $(srcdir)/$(libname).map
+
+endif