summaryrefslogtreecommitdiff
path: root/sunrpc/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-20 20:36:26 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-20 20:36:26 +0000
commitc238ecf7095c0df636011c10cd19e9ebc8d6225b (patch)
treed4c68c987b115bf9d3a0409df06b69f7ac1566ac /sunrpc/Makefile
parentcbba1b889900b8a15252d25600631d5e5cf59188 (diff)
downloadglibc-c238ecf7095c0df636011c10cd19e9ebc8d6225b.tar.gz
Update.
2002-04-20 Ulrich Drepper <drepper@redhat.com> * Makefile: Add handling of xtests and xcheck targets. * MakeTAGS: Likewise. * Makeconfig: Likewise. * Makerules: Likewise. * Rules: Likewise. * sunrpc/Makefile (xtests): Add thrsvc if thread library available. * sunrpc/thrsvc.c: New file. By Zack Weinberg.
Diffstat (limited to 'sunrpc/Makefile')
-rw-r--r--sunrpc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index b7858d6c89..dd21ddf102 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1994,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+# Copyright (C) 1994-2001, 2002 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
@@ -84,6 +84,10 @@ all: # Make this the default target; it will be defined in Rules.
include ../Makeconfig
+ifeq ($(have-thread-library),yes)
+xtests += thrsvc
+endif
+
ifeq (yes,$(build-static-nss))
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
$(resolvobjdir)/libresolv.a
@@ -178,3 +182,5 @@ $(objpfx)rpc-proto.c: $(rpcsvc:%=rpcsvc/%)
echo '#include <rpc/rpc.h>'; \
sed -n '/^%#include/s/%//p' $^; } > $@T
mv -f $@T $@
+
+$(objpfx)thrsvc: $(shared-thread-library)