diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-27 18:19:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-27 18:19:46 +0000 |
commit | 6e5801f728a121cc002d7f6912dab2d9b60a3743 (patch) | |
tree | 01463a6a6400102c46fe002ab5c21acf0ba27bf2 /libthreads/Makefile | |
parent | 0f3c84b5ef7c5083441eef53849830738ad731d9 (diff) |
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
Locking support for stdio streams with glibc-2.2 libio. EXPERIMENTAL!
* lockfile.c: New file.
* libthreads.map: New file.
* Makefile (SRCS): Add lockfile.c.
[$(VERSIONING) = yes] ($(libname).so.$(hurd-version)): Depend
on $(srcdir)/$(libname).map to get version script into the link.
Diffstat (limited to 'libthreads/Makefile')
-rw-r--r-- | libthreads/Makefile | 12 |
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 |