~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to nscd/Makefile

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1998,2000,2002-2009,2011 Free Software Foundation, Inc.
 
1
# Copyright (C) 1998,2000,2002-2009 Free Software Foundation, Inc.
2
2
# This file is part of the GNU C Library.
3
3
 
4
4
# The GNU C Library is free software; you can redistribute it and/or
25
25
 
26
26
routines-$(OPTION_EGLIBC_INET) += \
27
27
             nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai \
28
 
            nscd_initgroups nscd_getserv_r nscd_netgroup
 
28
            nscd_initgroups nscd_getserv_r
29
29
aux-$(OPTION_EGLIBC_INET) += nscd_helper
30
30
 
31
31
include ../Makeconfig
37
37
                getgrnam_r getgrgid_r hstcache gethstbyad_r gethstbynm3_r \
38
38
                getsrvbynm_r getsrvbypt_r servicescache \
39
39
                dbg_log nscd_conf nscd_stat cache mem nscd_setup_thread \
40
 
                xmalloc xstrdup aicache initgrcache gai res_hconf \
41
 
                netgroupcache
 
40
                xmalloc xstrdup aicache initgrcache gai res_hconf
42
41
ifneq (y,$(OPTION_EGLIBC_NIS))
43
42
# If we haven't build libnsl.so, then we'll need to include our
44
43
# own copy of nis_hash.
46
45
endif
47
46
ifeq ($(have-thread-library),yes)
48
47
 
 
48
ifneq (yesyes,$(have-fpie)$(build-shared))
49
49
others-$(OPTION_EGLIBC_INET) += nscd
50
 
others-pie-$(OPTION_EGLIBC_INET) += nscd
 
50
endif
51
51
install-sbin-$(OPTION_EGLIBC_INET) += nscd
52
52
 
53
53
extra-objs-$(OPTION_EGLIBC_INET) += $(nscd-modules:=.o)
131
131
CFLAGS-getsrvbypt_r.c += $(nscd-cflags)
132
132
CFLAGS-res_hconf.c += $(nscd-cflags)
133
133
CFLAGS-nis_hash.c += $(nscd-cflags)
134
 
CFLAGS-netgroupcache.c += $(nscd-cflags)
135
134
 
136
135
ifeq (yesyes,$(have-fpie)$(build-shared))
137
 
LDFLAGS-nscd = -Wl,-z,now
 
136
relro-LDFLAGS += -Wl,-z,now
 
137
 
 
138
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
 
139
        $(+link-pie)
138
140
endif
139
141
 
140
142
# This makes sure -DNOT_IN_libc is passed for all these modules.