mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
2012-03-23 Daniel Jacobowitz <dmj@google.com>
Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
This commit is contained in:
parent
7c69cd143b
commit
3ff4252677
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
||||
2012-03-23 Daniel Jacobowitz <dmj@google.com>
|
||||
Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
[BZ #6528]
|
||||
* grp/Makefile (otherlibs): Don't set it.
|
||||
* inet/Makefile (otherlibs): Likewise.
|
||||
* login/Makefile (otherlibs): Likewise.
|
||||
* nscd/Makefile (otherlibs): Likewise.
|
||||
* posix/Makefile (otherlibs): Likewise.
|
||||
* pwd/Makefile (otherlibs): Likewise.
|
||||
* rt/Makefile (otherlibs): Likewise.
|
||||
* sunrpc/Makefile (otherlibs): Likewise.
|
||||
* nss/Makefile (otherlibs): Likewise.
|
||||
Add libnss_files to routines and static-only-routines.
|
||||
($(objpfx)getent): Remove rule.
|
||||
* resolv/Makefile: Add libnss_dns and libresolv to routines and
|
||||
static-only-routines.
|
||||
|
||||
2012-03-22 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #13892]
|
||||
|
@ -37,12 +37,6 @@ endif
|
||||
|
||||
include ../Rules
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(have-thread-library),yes)
|
||||
|
||||
CFLAGS-getgrgid_r.c = -DUSE_NSCD=1 -fexceptions
|
||||
|
@ -91,8 +91,3 @@ endif
|
||||
ifeq ($(build-static-nss),yes)
|
||||
CFLAGS += -DSTATIC_NSS
|
||||
endif
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
@ -48,11 +48,6 @@ include ../Rules
|
||||
|
||||
CFLAGS-getpt.c = -fexceptions
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a $(common-objpfx)libc.a
|
||||
endif
|
||||
|
||||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||
pt_chown-cflags += $(pie-ccflag)
|
||||
endif
|
||||
|
@ -46,11 +46,6 @@ extra-objs = $(nscd-modules:=.o)
|
||||
|
||||
endif
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
||||
all-nscd-modules := $(nscd-modules) selinux
|
||||
ifeq (yes,$(have-selinux))
|
||||
ifeq (yes,$(have-libaudit))
|
||||
|
16
nss/Makefile
16
nss/Makefile
@ -43,11 +43,6 @@ xtests = bug-erange
|
||||
|
||||
include ../Makeconfig
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
||||
# Specify rules for the nss_* modules. We have some services.
|
||||
services := files db
|
||||
|
||||
@ -74,19 +69,16 @@ generated += $(filter-out db-alias.c db-netgrp.c, \
|
||||
|
||||
install-others += $(inst_vardbdir)/Makefile
|
||||
|
||||
# Build static module if requested
|
||||
ifneq ($(build-static-nss),yes)
|
||||
# Build static module into libc if requested
|
||||
libnss_files-inhibit-o = $(filter-out .os,$(object-suffixes))
|
||||
libnss_db-inhibit-o = $(filter-out .os,$(object-suffixes))
|
||||
ifeq ($(build-static-nss),yes)
|
||||
routines += $(libnss_files-routines)
|
||||
static-only-routines += $(libnss_files-routines)
|
||||
endif
|
||||
|
||||
include ../Rules
|
||||
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
$(objpfx)getent: $(objpfx)libnss_files.a
|
||||
endif
|
||||
|
||||
ifeq (yes,$(have-selinux))
|
||||
LDLIBS-makedb := -lselinux
|
||||
endif
|
||||
|
@ -112,14 +112,6 @@ generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
|
||||
|
||||
include ../Rules
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
# We need it for "make check" only. We can skip them if they haven't
|
||||
# been built yet during "make".
|
||||
otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \
|
||||
$(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a)
|
||||
endif
|
||||
|
||||
ifeq (no,$(cross-compiling))
|
||||
# globtest and wordexp-test currently only works with shared libraries
|
||||
ifeq (yes,$(build-shared))
|
||||
|
@ -39,8 +39,3 @@ CFLAGS-getpw.c = -fexceptions
|
||||
CFLAGS-fgetpwent_r.c = -D_IO_MTSAFE_IO
|
||||
|
||||
endif
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
@ -55,8 +55,10 @@ subdir-dirs = nss_dns
|
||||
vpath %.c nss_dns
|
||||
|
||||
libnss_dns-routines := dns-host dns-network dns-canon
|
||||
ifneq ($(build-static-nss),yes)
|
||||
libnss_dns-inhibit-o = $(filter-out .os,$(object-suffixes))
|
||||
ifeq ($(build-static-nss),yes)
|
||||
routines += $(libnss_dns-routines) $(libresolv-routines)
|
||||
static-only-routines += $(libnss_dns-routines) $(libresolv-routines)
|
||||
endif
|
||||
|
||||
ifeq (yesyes,$(build-shared)$(have-thread-library))
|
||||
|
@ -78,8 +78,3 @@ $(tests:%=$(objpfx)%-bp): $(objpfx)librt_b.a $(bounded-thread-library)
|
||||
endif
|
||||
|
||||
tst-mqueue7-ARGS = -- $(built-program-cmd)
|
||||
|
||||
ifeq (yes,$(build-static-nss))
|
||||
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
|
||||
$(resolvobjdir)/libresolv.a
|
||||
endif
|
||||
|
@ -97,11 +97,6 @@ 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
|
||||
endif
|
||||
|
||||
ifeq (no,$(cross-compiling))
|
||||
# We can only build this library if we can run the rpcgen we build.
|
||||
headers += $(rpcsvc:%.x=rpcsvc/%.h)
|
||||
|
Loading…
Reference in New Issue
Block a user