aboutsummaryrefslogtreecommitdiff
path: root/nss/Makefile
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2023-10-02 14:55:19 +0200
committerArjun Shankar <arjun@redhat.com>2023-10-24 12:30:59 +0200
commit4298586619e4a8cf4ba0a5a9da31ae80efac173c (patch)
treed5c5d070888a487df01e417d1b4b7e94232f06f1 /nss/Makefile
parentc6b577caefb7ea2f9a73229f94703792b66f7a8f (diff)
downloadglibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.zip
glibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.tar.gz
glibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.tar.bz2
Move 'aliases' routines from 'inet' into 'nss'
The aliases routines are entry points for nss functionality. This commit moves aliases.h and the aliases routines from the 'inet' subdirectory to 'nss', and adjusts any external references. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nss/Makefile')
-rw-r--r--nss/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile
index 84cf62a..2dfa7eb 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -23,6 +23,7 @@ subdir := nss
include ../Makeconfig
headers := \
+ aliases.h \
grp.h \
gshadow.h \
nss.h \
@@ -54,6 +55,19 @@ routines = \
valid_list_field \
# routines
+# alias routines:
+routines += \
+ getaliasent \
+ getaliasent_r \
+ getaliasname \
+ getaliasname_r \
+ # routines
+
+ifeq ($(have-thread-library),yes)
+CFLAGS-getaliasent_r.c += -fexceptions
+CFLAGS-getaliasent.c += -fexceptions
+endif
+
# grp routines:
routines += \
fgetgrent \