From f649c2015a0c9cc4a2d71880fcb7fac0832af69c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Mar 1998 09:09:16 +0000 Subject: Update. 1998-03-15 Andreas Schwab * libc.map: Export internal versions of cancelable functions. 1998-03-15 Andreas Schwab * Makerules (MAKEFLAGS): Append `r'. 1998-03-15 Andreas Schwab * Makeconfig: Define have-thread-library, shared-thread-library and static-thread-library if a thread library is available. Don't define rt. * nscd/Makefile: Compile nscd if have-thread-library. Rename nscd-routines to nscd-modules. Use shared-thread-library and static-thread-library in dependencies. * rt/Makefile: Only compile librt if have-thread-library is defined. * Makefile (subdirs): Always include rt subdir. 1998-03-15 Andreas Schwab * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command. --- rt/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'rt/Makefile') diff --git a/rt/Makefile b/rt/Makefile index e0f03d78a0..ef6e930b83 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1997 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -23,9 +23,6 @@ subdir := rt headers := aio.h -extra-libs := librt -extra-libs-others := $(extra-libs) - librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \ aio_read64 aio_return aio_suspend aio_write \ aio_write64 lio_listio lio_listio64 aio_sigqueue \ @@ -33,7 +30,17 @@ librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \ librt-map := librt.map -distribute := aio_misc.h +# Make sure that everything is distributed independent of configuration. +distribute := aio_misc.h $(librt-routines:=.c) $(librt-map) + +include ../Makeconfig + +ifeq ($(have-thread-library),yes) + +extra-libs := librt +extra-libs-others := $(extra-libs) + +endif include ../Rules -- cgit v1.2.3