aboutsummaryrefslogtreecommitdiff
path: root/rt/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-16 09:09:16 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-16 09:09:16 +0000
commitf649c2015a0c9cc4a2d71880fcb7fac0832af69c (patch)
treece7ebba8fe952aac5c8556c3e1e3e3957ddfc8e1 /rt/Makefile
parent60c34a30cf22b0ec9f2f4c17a19a6aea7094b329 (diff)
downloadglibc-f649c2015a0c9cc4a2d71880fcb7fac0832af69c.zip
glibc-f649c2015a0c9cc4a2d71880fcb7fac0832af69c.tar.gz
glibc-f649c2015a0c9cc4a2d71880fcb7fac0832af69c.tar.bz2
Update.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libc.map: Export internal versions of cancelable functions. 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (MAKEFLAGS): Append `r'. 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * 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 <schwab@issan.informatik.uni-dortmund.de> * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/rt/Makefile b/rt/Makefile
index e0f03d7..ef6e930 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