#ifndef _ALIASES_H
-#include <inet/aliases.h>
+#include <nss/aliases.h>
# ifndef _ISOMAC
headers := \
$(wildcard arpa/*.h protocols/*.h) \
- aliases.h \
bits/in.h \
ifaddrs.h \
netinet/ether.h \
ether_ntoa \
ether_ntoa_r \
ether_ntoh \
- getaliasent \
- getaliasent_r \
- getaliasname \
- getaliasname_r \
gethstbyad \
gethstbyad_r \
gethstbynm \
CFLAGS-getnetbyad.c += -fexceptions
CFLAGS-getnetent_r.c += -fexceptions
CFLAGS-getnetent.c += -fexceptions
-CFLAGS-getaliasent_r.c += -fexceptions
-CFLAGS-getaliasent.c += -fexceptions
CFLAGS-getrpcent_r.c += -fexceptions
CFLAGS-getrpcent.c += -fexceptions
CFLAGS-getservent_r.c += -fexceptions
ether_ntoa_r; ether_ntohost;
# g*
- getaliasbyname; getaliasbyname_r; getaliasent; getaliasent_r;
getdomainname; gethostbyaddr; gethostbyaddr_r; gethostbyname;
gethostbyname2; gethostbyname2_r; gethostbyname_r; gethostent;
gethostent_r; getnetbyaddr; getnetbyaddr_r; getnetbyname;
include ../Makeconfig
headers := \
+ aliases.h \
grp.h \
gshadow.h \
nss.h \
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 \
fgetspent; fgetspent_r;
# g*
+ getaliasbyname; getaliasbyname_r; getaliasent; getaliasent_r;
getgrent; getgrent_r; getgrgid; getgrgid_r; getgrnam; getgrnam_r;
getgroups;
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;