summaryrefslogtreecommitdiff
path: root/libc/nis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/nis/Makefile')
-rw-r--r--libc/nis/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/nis/Makefile b/libc/nis/Makefile
index 2e7c1924d..039d61153 100644
--- a/libc/nis/Makefile
+++ b/libc/nis/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-1998,2001,2004,2006,2011 Free Software Foundation, Inc.
+# Copyright (C) 1996-1998,2001,2004,2006,2011,2012 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
@@ -25,9 +25,11 @@ subdir := nis
aux := nis_hash
-distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
- nisplus-parser.h nis_xdr.h nss \
- $(wildcard rpcsvc/*.[hx])
+include ../Makeconfig
+
+ifeq ($(link-obsolete-rpc),yes)
+headers := $(wildcard rpcsvc/*.[hx])
+endif
# These are the databases available for the nis (and perhaps later nisplus)
# service. This must be a superset of the services in nss.