]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nis/Makefile
powerpc: Remove optimized finite
[thirdparty/glibc.git] / nis / Makefile
index e7497f724248304924e63d4e0011625d50cf2dcb..9cefaec40c814d147ec67c9592b7f76e35957359 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2019 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
@@ -22,6 +22,14 @@ subdir       := nis
 
 include ../Makeconfig
 
+ifndef have-GLIBC_2.28
+
+ifeq ($(build-obsolete-nsl),yes)
+$(error --enabe-obsolete-nsl is not available)
+endif
+
+else
+
 ifeq ($(build-obsolete-nsl),yes)
 headers                        := $(wildcard rpcsvc/*.[hx])
 
@@ -58,9 +66,10 @@ libnsl-routines = yp_xdr ypclnt ypupdate_xdr \
                  nis_print_group_entry nis_domain_of nis_domain_of_r\
                  nis_modify nis_remove nis_add nis_defaults\
                  nis_findserv nis_callback nis_clone_dir nis_clone_obj\
-                 nis_clone_res nss-default
+                 nis_clone_res
 
 ifeq ($(build-obsolete-nsl),yes)
+libnsl-routines += nss-default
 libnss_nis-routines    := $(addprefix nis-,$(databases)) nis-initgroups \
                           nss-nis
 libnss_nis-inhibit-o   = $(filter-out .os,$(object-suffixes))
@@ -79,6 +88,8 @@ libnsl-inhibit-o = $(filter-out .os,$(object-suffixes))
 
 endif # not $(build-obsolete-nsl)
 
+endif # have-GLIBC_2.28
+
 include ../Rules