~ubuntu-branches/ubuntu/utopic/nss-pam-ldapd/utopic-proposed

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2009-09-01 17:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090901170000-54hqcpmbxk32rzer
Tags: 0.7.0
* rename software to nss-pam-ldapd to indicate that PAM module is now a
  standard part of the software
* split into the binary packages libnss-ldapd, libpam-ldapd and nslcd
  (libpam-ldapd packaging used a patch for libpam-ldap by Steve Langasek)
  (closes: #535505)
* the configuration file name has been changed to /etc/nslcd.conf (package
  upgrade should migrate the configuration)
* updated Galician debconf translation by Marce Villarino (closes: #537424)
* patch by Petter Reinholdtsen to fix init script to start before autofs
  (closes: #544093)
* the default values for bind_timelimit and reconnect_maxsleeptime were
  lowered from 30 to 10 seconds (closes: #532874)
* upgrade to standards-version 3.8.3 (no changes needed)
* password hashes are no longer returned to non-root users (based on a patch
  by Alexander V. Chernikov)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.11 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# Inc.
 
7
# This Makefile.in is free software; the Free Software Foundation
 
8
# gives unlimited permission to copy and/or distribute it,
 
9
# with or without modifications, as long as this notice is preserved.
 
10
 
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
13
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
14
# PARTICULAR PURPOSE.
 
15
 
 
16
@SET_MAKE@
 
17
 
 
18
# Makefile.am - use automake to generate Makefile.in
 
19
#
 
20
# Copyright (C) 2006 Luke Howard
 
21
# Copyright (C) 2006 West Consulting
 
22
# Copyright (C) 2006, 2007, 2008, 2009 Arthur de Jong
 
23
#
 
24
# This library is free software; you can redistribute it and/or
 
25
# modify it under the terms of the GNU Lesser General Public
 
26
# License as published by the Free Software Foundation; either
 
27
# version 2.1 of the License, or (at your option) any later version.
 
28
#
 
29
# This library is distributed in the hope that it will be useful,
 
30
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
31
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
32
# Lesser General Public License for more details.
 
33
#
 
34
# You should have received a copy of the GNU Lesser General Public
 
35
# License along with this library; if not, write to the Free Software
 
36
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
37
# 02110-1301 USA
 
38
VPATH = @srcdir@
 
39
pkgdatadir = $(datadir)/@PACKAGE@
 
40
pkgincludedir = $(includedir)/@PACKAGE@
 
41
pkglibdir = $(libdir)/@PACKAGE@
 
42
pkglibexecdir = $(libexecdir)/@PACKAGE@
 
43
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
44
install_sh_DATA = $(install_sh) -c -m 644
 
45
install_sh_PROGRAM = $(install_sh) -c
 
46
install_sh_SCRIPT = $(install_sh) -c
 
47
INSTALL_HEADER = $(INSTALL_DATA)
 
48
transform = $(program_transform_name)
 
49
NORMAL_INSTALL = :
 
50
PRE_INSTALL = :
 
51
POST_INSTALL = :
 
52
NORMAL_UNINSTALL = :
 
53
PRE_UNINSTALL = :
 
54
POST_UNINSTALL = :
 
55
build_triplet = @build@
 
56
host_triplet = @host@
 
57
target_triplet = @target@
 
58
subdir = .
 
59
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 
60
        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
 
61
        $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
 
62
        TODO compile config.guess config.sub depcomp install-sh \
 
63
        missing mkinstalldirs
 
64
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
65
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
 
66
        $(top_srcdir)/configure.ac
 
67
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
68
        $(ACLOCAL_M4)
 
69
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
70
 configure.lineno config.status.lineno
 
71
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
72
CONFIG_HEADER = config.h
 
73
CONFIG_CLEAN_FILES =
 
74
CONFIG_CLEAN_VPATH_FILES =
 
75
SOURCES =
 
76
DIST_SOURCES =
 
77
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
78
        html-recursive info-recursive install-data-recursive \
 
79
        install-dvi-recursive install-exec-recursive \
 
80
        install-html-recursive install-info-recursive \
 
81
        install-pdf-recursive install-ps-recursive install-recursive \
 
82
        installcheck-recursive installdirs-recursive pdf-recursive \
 
83
        ps-recursive uninstall-recursive
 
84
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
 
85
  distclean-recursive maintainer-clean-recursive
 
86
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
 
87
        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
 
88
        distdir dist dist-all distcheck
 
89
ETAGS = etags
 
90
CTAGS = ctags
 
91
DIST_SUBDIRS = compat common nss pam nslcd man tests
 
92
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
93
distdir = $(PACKAGE)-$(VERSION)
 
94
top_distdir = $(distdir)
 
95
am__remove_distdir = \
 
96
  { test ! -d "$(distdir)" \
 
97
    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
 
98
         && rm -fr "$(distdir)"; }; }
 
99
am__relativize = \
 
100
  dir0=`pwd`; \
 
101
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
 
102
  sed_rest='s,^[^/]*/*,,'; \
 
103
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
 
104
  sed_butlast='s,/*[^/]*$$,,'; \
 
105
  while test -n "$$dir1"; do \
 
106
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
 
107
    if test "$$first" != "."; then \
 
108
      if test "$$first" = ".."; then \
 
109
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
 
110
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
 
111
      else \
 
112
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
 
113
        if test "$$first2" = "$$first"; then \
 
114
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
 
115
        else \
 
116
          dir2="../$$dir2"; \
 
117
        fi; \
 
118
        dir0="$$dir0"/"$$first"; \
 
119
      fi; \
 
120
    fi; \
 
121
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
 
122
  done; \
 
123
  reldir="$$dir2"
 
124
DIST_ARCHIVES = $(distdir).tar.gz
 
125
GZIP_ENV = --best
 
126
distuninstallcheck_listfiles = find . -type f -print
 
127
distcleancheck_listfiles = find . -type f -print
 
128
ACLOCAL = @ACLOCAL@
 
129
AMTAR = @AMTAR@
 
130
AUTOCONF = @AUTOCONF@
 
131
AUTOHEADER = @AUTOHEADER@
 
132
AUTOMAKE = @AUTOMAKE@
 
133
AWK = @AWK@
 
134
CC = @CC@
 
135
CCDEPMODE = @CCDEPMODE@
 
136
CFLAGS = @CFLAGS@
 
137
CPP = @CPP@
 
138
CPPFLAGS = @CPPFLAGS@
 
139
CYGPATH_W = @CYGPATH_W@
 
140
DEFS = @DEFS@
 
141
DEPDIR = @DEPDIR@
 
142
DOCBOOK2X_MAN = @DOCBOOK2X_MAN@
 
143
ECHO_C = @ECHO_C@
 
144
ECHO_N = @ECHO_N@
 
145
ECHO_T = @ECHO_T@
 
146
EGREP = @EGREP@
 
147
EXEEXT = @EXEEXT@
 
148
GREP = @GREP@
 
149
INSTALL = @INSTALL@
 
150
INSTALL_DATA = @INSTALL_DATA@
 
151
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
152
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
153
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
154
LDFLAGS = @LDFLAGS@
 
155
LIBOBJS = @LIBOBJS@
 
156
LIBS = @LIBS@
 
157
LTLIBOBJS = @LTLIBOBJS@
 
158
MAKEINFO = @MAKEINFO@
 
159
MKDIR_P = @MKDIR_P@
 
160
NSLCD_CONF_PATH = @NSLCD_CONF_PATH@
 
161
NSLCD_PIDFILE = @NSLCD_PIDFILE@
 
162
NSLCD_SOCKET = @NSLCD_SOCKET@
 
163
OBJEXT = @OBJEXT@
 
164
PACKAGE = @PACKAGE@
 
165
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
166
PACKAGE_NAME = @PACKAGE_NAME@
 
167
PACKAGE_STRING = @PACKAGE_STRING@
 
168
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
169
PACKAGE_URL = @PACKAGE_URL@
 
170
PACKAGE_VERSION = @PACKAGE_VERSION@
 
171
PATH_SEPARATOR = @PATH_SEPARATOR@
 
172
PTHREAD_CC = @PTHREAD_CC@
 
173
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
 
174
PTHREAD_LIBS = @PTHREAD_LIBS@
 
175
RANLIB = @RANLIB@
 
176
RELEASE_MONTH = @RELEASE_MONTH@
 
177
SET_MAKE = @SET_MAKE@
 
178
SHELL = @SHELL@
 
179
STRIP = @STRIP@
 
180
VERSION = @VERSION@
 
181
abs_builddir = @abs_builddir@
 
182
abs_srcdir = @abs_srcdir@
 
183
abs_top_builddir = @abs_top_builddir@
 
184
abs_top_srcdir = @abs_top_srcdir@
 
185
ac_ct_CC = @ac_ct_CC@
 
186
acx_pthread_config = @acx_pthread_config@
 
187
am__include = @am__include@
 
188
am__leading_dot = @am__leading_dot@
 
189
am__quote = @am__quote@
 
190
am__tar = @am__tar@
 
191
am__untar = @am__untar@
 
192
bindir = @bindir@
 
193
build = @build@
 
194
build_alias = @build_alias@
 
195
build_cpu = @build_cpu@
 
196
build_os = @build_os@
 
197
build_vendor = @build_vendor@
 
198
builddir = @builddir@
 
199
datadir = @datadir@
 
200
datarootdir = @datarootdir@
 
201
docdir = @docdir@
 
202
dvidir = @dvidir@
 
203
exec_prefix = @exec_prefix@
 
204
host = @host@
 
205
host_alias = @host_alias@
 
206
host_cpu = @host_cpu@
 
207
host_os = @host_os@
 
208
host_vendor = @host_vendor@
 
209
htmldir = @htmldir@
 
210
includedir = @includedir@
 
211
infodir = @infodir@
 
212
install_sh = @install_sh@
 
213
libdir = @libdir@
 
214
libexecdir = @libexecdir@
 
215
localedir = @localedir@
 
216
localstatedir = @localstatedir@
 
217
mandir = @mandir@
 
218
mkdir_p = @mkdir_p@
 
219
nslcd_LIBS = @nslcd_LIBS@
 
220
nss_ldap_so_LIBS = @nss_ldap_so_LIBS@
 
221
oldincludedir = @oldincludedir@
 
222
pdfdir = @pdfdir@
 
223
prefix = @prefix@
 
224
program_transform_name = @program_transform_name@
 
225
psdir = @psdir@
 
226
sbindir = @sbindir@
 
227
sharedstatedir = @sharedstatedir@
 
228
srcdir = @srcdir@
 
229
sysconfdir = @sysconfdir@
 
230
target = @target@
 
231
target_alias = @target_alias@
 
232
target_cpu = @target_cpu@
 
233
target_os = @target_os@
 
234
target_vendor = @target_vendor@
 
235
top_build_prefix = @top_build_prefix@
 
236
top_builddir = @top_builddir@
 
237
top_srcdir = @top_srcdir@
 
238
@ENABLE_NSS_TRUE@MAYBE_NSS = nss
 
239
@ENABLE_PAM_TRUE@MAYBE_PAM = pam
 
240
@ENABLE_NSLCD_TRUE@ENABLE_NSLCD = nslcd
 
241
SUBDIRS = compat common $(MAYBE_NSS) $(MAYBE_PAM) $(ENABLE_NSLCD) man tests
 
242
DEBIAN_FILES = debian/changelog debian/compat debian/control \
 
243
               debian/copyright debian/rules debian/NEWS \
 
244
               debian/nslcd.config \
 
245
               debian/nslcd.docs \
 
246
               debian/nslcd.examples \
 
247
               debian/nslcd.init \
 
248
               debian/nslcd.install \
 
249
               debian/nslcd.postinst \
 
250
               debian/nslcd.postrm \
 
251
               debian/nslcd.templates \
 
252
               debian/libnss-ldapd.config \
 
253
               debian/libnss-ldapd.install \
 
254
               debian/libnss-ldapd.lintian-overrides \
 
255
               debian/libnss-ldapd.postinst \
 
256
               debian/libnss-ldapd.postrm \
 
257
               debian/libnss-ldapd.templates \
 
258
               debian/libpam-ldapd.install \
 
259
               debian/libpam-ldapd.pam-auth-update \
 
260
               debian/libpam-ldapd.postinst \
 
261
               debian/libpam-ldapd.prerm \
 
262
               debian/po/POTFILES.in debian/po/templates.pot \
 
263
               $(wildcard debian/po/*.po)
 
264
 
 
265
EXTRA_DIST = nslcd.conf nslcd.h \
 
266
             $(wildcard m4/*.m4) HACKING $(DEBIAN_FILES)
 
267
 
 
268
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings
 
269
ACLOCAL_AMFLAGS = -I m4
 
270
all: config.h
 
271
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
272
 
 
273
.SUFFIXES:
 
274
am--refresh:
 
275
        @:
 
276
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
 
277
        @for dep in $?; do \
 
278
          case '$(am__configure_deps)' in \
 
279
            *$$dep*) \
 
280
              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
 
281
              $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
 
282
                && exit 0; \
 
283
              exit 1;; \
 
284
          esac; \
 
285
        done; \
 
286
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
 
287
        $(am__cd) $(top_srcdir) && \
 
288
          $(AUTOMAKE) --gnu Makefile
 
289
.PRECIOUS: Makefile
 
290
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
291
        @case '$?' in \
 
292
          *config.status*) \
 
293
            echo ' $(SHELL) ./config.status'; \
 
294
            $(SHELL) ./config.status;; \
 
295
          *) \
 
296
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
 
297
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
 
298
        esac;
 
299
 
 
300
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
301
        $(SHELL) ./config.status --recheck
 
302
 
 
303
$(top_srcdir)/configure:  $(am__configure_deps)
 
304
        $(am__cd) $(srcdir) && $(AUTOCONF)
 
305
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
306
        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
307
$(am__aclocal_m4_deps):
 
308
 
 
309
config.h: stamp-h1
 
310
        @if test ! -f $@; then \
 
311
          rm -f stamp-h1; \
 
312
          $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
 
313
        else :; fi
 
314
 
 
315
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
 
316
        @rm -f stamp-h1
 
317
        cd $(top_builddir) && $(SHELL) ./config.status config.h
 
318
$(srcdir)/config.h.in:  $(am__configure_deps) 
 
319
        ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
 
320
        rm -f stamp-h1
 
321
        touch $@
 
322
 
 
323
distclean-hdr:
 
324
        -rm -f config.h stamp-h1
 
325
 
 
326
# This directory's subdirectories are mostly independent; you can cd
 
327
# into them and run `make' without going through this Makefile.
 
328
# To change the values of `make' variables: instead of editing Makefiles,
 
329
# (1) if the variable is set in `config.status', edit `config.status'
 
330
#     (which will cause the Makefiles to be regenerated when you run `make');
 
331
# (2) otherwise, pass the desired values on the `make' command line.
 
332
$(RECURSIVE_TARGETS):
 
333
        @failcom='exit 1'; \
 
334
        for f in x $$MAKEFLAGS; do \
 
335
          case $$f in \
 
336
            *=* | --[!k]*);; \
 
337
            *k*) failcom='fail=yes';; \
 
338
          esac; \
 
339
        done; \
 
340
        dot_seen=no; \
 
341
        target=`echo $@ | sed s/-recursive//`; \
 
342
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
343
          echo "Making $$target in $$subdir"; \
 
344
          if test "$$subdir" = "."; then \
 
345
            dot_seen=yes; \
 
346
            local_target="$$target-am"; \
 
347
          else \
 
348
            local_target="$$target"; \
 
349
          fi; \
 
350
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
351
          || eval $$failcom; \
 
352
        done; \
 
353
        if test "$$dot_seen" = "no"; then \
 
354
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
355
        fi; test -z "$$fail"
 
356
 
 
357
$(RECURSIVE_CLEAN_TARGETS):
 
358
        @failcom='exit 1'; \
 
359
        for f in x $$MAKEFLAGS; do \
 
360
          case $$f in \
 
361
            *=* | --[!k]*);; \
 
362
            *k*) failcom='fail=yes';; \
 
363
          esac; \
 
364
        done; \
 
365
        dot_seen=no; \
 
366
        case "$@" in \
 
367
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
368
          *) list='$(SUBDIRS)' ;; \
 
369
        esac; \
 
370
        rev=''; for subdir in $$list; do \
 
371
          if test "$$subdir" = "."; then :; else \
 
372
            rev="$$subdir $$rev"; \
 
373
          fi; \
 
374
        done; \
 
375
        rev="$$rev ."; \
 
376
        target=`echo $@ | sed s/-recursive//`; \
 
377
        for subdir in $$rev; do \
 
378
          echo "Making $$target in $$subdir"; \
 
379
          if test "$$subdir" = "."; then \
 
380
            local_target="$$target-am"; \
 
381
          else \
 
382
            local_target="$$target"; \
 
383
          fi; \
 
384
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
385
          || eval $$failcom; \
 
386
        done && test -z "$$fail"
 
387
tags-recursive:
 
388
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
389
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
390
        done
 
391
ctags-recursive:
 
392
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
393
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 
394
        done
 
395
 
 
396
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
397
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
398
        unique=`for i in $$list; do \
 
399
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
400
          done | \
 
401
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
402
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
403
        mkid -fID $$unique
 
404
tags: TAGS
 
405
 
 
406
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 
407
                $(TAGS_FILES) $(LISP)
 
408
        set x; \
 
409
        here=`pwd`; \
 
410
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 
411
          include_option=--etags-include; \
 
412
          empty_fix=.; \
 
413
        else \
 
414
          include_option=--include; \
 
415
          empty_fix=; \
 
416
        fi; \
 
417
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
418
          if test "$$subdir" = .; then :; else \
 
419
            test ! -f $$subdir/TAGS || \
 
420
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
 
421
          fi; \
 
422
        done; \
 
423
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
 
424
        unique=`for i in $$list; do \
 
425
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
426
          done | \
 
427
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
428
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
429
        shift; \
 
430
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
 
431
          test -n "$$unique" || unique=$$empty_fix; \
 
432
          if test $$# -gt 0; then \
 
433
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
434
              "$$@" $$unique; \
 
435
          else \
 
436
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
437
              $$unique; \
 
438
          fi; \
 
439
        fi
 
440
ctags: CTAGS
 
441
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 
442
                $(TAGS_FILES) $(LISP)
 
443
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
 
444
        unique=`for i in $$list; do \
 
445
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
446
          done | \
 
447
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
448
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
449
        test -z "$(CTAGS_ARGS)$$unique" \
 
450
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
451
             $$unique
 
452
 
 
453
GTAGS:
 
454
        here=`$(am__cd) $(top_builddir) && pwd` \
 
455
          && $(am__cd) $(top_srcdir) \
 
456
          && gtags -i $(GTAGS_ARGS) "$$here"
 
457
 
 
458
distclean-tags:
 
459
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
460
 
 
461
distdir: $(DISTFILES)
 
462
        $(am__remove_distdir)
 
463
        test -d "$(distdir)" || mkdir "$(distdir)"
 
464
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
465
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
466
        list='$(DISTFILES)'; \
 
467
          dist_files=`for file in $$list; do echo $$file; done | \
 
468
          sed -e "s|^$$srcdirstrip/||;t" \
 
469
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
470
        case $$dist_files in \
 
471
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
472
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
473
                           sort -u` ;; \
 
474
        esac; \
 
475
        for file in $$dist_files; do \
 
476
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
477
          if test -d $$d/$$file; then \
 
478
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
479
            if test -d "$(distdir)/$$file"; then \
 
480
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
481
            fi; \
 
482
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
483
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
484
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
485
            fi; \
 
486
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
 
487
          else \
 
488
            test -f "$(distdir)/$$file" \
 
489
            || cp -p $$d/$$file "$(distdir)/$$file" \
 
490
            || exit 1; \
 
491
          fi; \
 
492
        done
 
493
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
494
          if test "$$subdir" = .; then :; else \
 
495
            test -d "$(distdir)/$$subdir" \
 
496
            || $(MKDIR_P) "$(distdir)/$$subdir" \
 
497
            || exit 1; \
 
498
          fi; \
 
499
        done
 
500
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
501
          if test "$$subdir" = .; then :; else \
 
502
            dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
 
503
            $(am__relativize); \
 
504
            new_distdir=$$reldir; \
 
505
            dir1=$$subdir; dir2="$(top_distdir)"; \
 
506
            $(am__relativize); \
 
507
            new_top_distdir=$$reldir; \
 
508
            echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
 
509
            echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
 
510
            ($(am__cd) $$subdir && \
 
511
              $(MAKE) $(AM_MAKEFLAGS) \
 
512
                top_distdir="$$new_top_distdir" \
 
513
                distdir="$$new_distdir" \
 
514
                am__remove_distdir=: \
 
515
                am__skip_length_check=: \
 
516
                am__skip_mode_fix=: \
 
517
                distdir) \
 
518
              || exit 1; \
 
519
          fi; \
 
520
        done
 
521
        -test -n "$(am__skip_mode_fix)" \
 
522
        || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
 
523
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 
524
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
 
525
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
 
526
        || chmod -R a+r "$(distdir)"
 
527
dist-gzip: distdir
 
528
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
529
        $(am__remove_distdir)
 
530
 
 
531
dist-bzip2: distdir
 
532
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 
533
        $(am__remove_distdir)
 
534
 
 
535
dist-lzma: distdir
 
536
        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
 
537
        $(am__remove_distdir)
 
538
 
 
539
dist-xz: distdir
 
540
        tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
 
541
        $(am__remove_distdir)
 
542
 
 
543
dist-tarZ: distdir
 
544
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 
545
        $(am__remove_distdir)
 
546
 
 
547
dist-shar: distdir
 
548
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 
549
        $(am__remove_distdir)
 
550
 
 
551
dist-zip: distdir
 
552
        -rm -f $(distdir).zip
 
553
        zip -rq $(distdir).zip $(distdir)
 
554
        $(am__remove_distdir)
 
555
 
 
556
dist dist-all: distdir
 
557
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
558
        $(am__remove_distdir)
 
559
 
 
560
# This target untars the dist file and tries a VPATH configuration.  Then
 
561
# it guarantees that the distribution is self-contained by making another
 
562
# tarfile.
 
563
distcheck: dist
 
564
        case '$(DIST_ARCHIVES)' in \
 
565
        *.tar.gz*) \
 
566
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 
567
        *.tar.bz2*) \
 
568
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
 
569
        *.tar.lzma*) \
 
570
          unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
 
571
        *.tar.xz*) \
 
572
          xz -dc $(distdir).tar.xz | $(am__untar) ;;\
 
573
        *.tar.Z*) \
 
574
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 
575
        *.shar.gz*) \
 
576
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
 
577
        *.zip*) \
 
578
          unzip $(distdir).zip ;;\
 
579
        esac
 
580
        chmod -R a-w $(distdir); chmod a+w $(distdir)
 
581
        mkdir $(distdir)/_build
 
582
        mkdir $(distdir)/_inst
 
583
        chmod a-w $(distdir)
 
584
        test -d $(distdir)/_build || exit 0; \
 
585
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
 
586
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
 
587
          && am__cwd=`pwd` \
 
588
          && $(am__cd) $(distdir)/_build \
 
589
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 
590
            $(DISTCHECK_CONFIGURE_FLAGS) \
 
591
          && $(MAKE) $(AM_MAKEFLAGS) \
 
592
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
593
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
594
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
595
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
596
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
 
597
          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
 
598
                distuninstallcheck \
 
599
          && chmod -R a-w "$$dc_install_base" \
 
600
          && ({ \
 
601
               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
 
602
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
 
603
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
 
604
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
 
605
                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
 
606
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
 
607
          && rm -rf "$$dc_destdir" \
 
608
          && $(MAKE) $(AM_MAKEFLAGS) dist \
 
609
          && rm -rf $(DIST_ARCHIVES) \
 
610
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
 
611
          && cd "$$am__cwd" \
 
612
          || exit 1
 
613
        $(am__remove_distdir)
 
614
        @(echo "$(distdir) archives ready for distribution: "; \
 
615
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
 
616
          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
 
617
distuninstallcheck:
 
618
        @$(am__cd) '$(distuninstallcheck_dir)' \
 
619
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
 
620
           || { echo "ERROR: files left after uninstall:" ; \
 
621
                if test -n "$(DESTDIR)"; then \
 
622
                  echo "  (check DESTDIR support)"; \
 
623
                fi ; \
 
624
                $(distuninstallcheck_listfiles) ; \
 
625
                exit 1; } >&2
 
626
distcleancheck: distclean
 
627
        @if test '$(srcdir)' = . ; then \
 
628
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
 
629
          exit 1 ; \
 
630
        fi
 
631
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
632
          || { echo "ERROR: files left in build directory after distclean:" ; \
 
633
               $(distcleancheck_listfiles) ; \
 
634
               exit 1; } >&2
 
635
check-am: all-am
 
636
check: check-recursive
 
637
all-am: Makefile config.h
 
638
installdirs: installdirs-recursive
 
639
installdirs-am:
 
640
install: install-recursive
 
641
install-exec: install-exec-recursive
 
642
install-data: install-data-recursive
 
643
uninstall: uninstall-recursive
 
644
 
 
645
install-am: all-am
 
646
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
647
 
 
648
installcheck: installcheck-recursive
 
649
install-strip:
 
650
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
651
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
652
          `test -z '$(STRIP)' || \
 
653
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
654
mostlyclean-generic:
 
655
 
 
656
clean-generic:
 
657
 
 
658
distclean-generic:
 
659
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
660
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
661
 
 
662
maintainer-clean-generic:
 
663
        @echo "This command is intended for maintainers to use"
 
664
        @echo "it deletes files that may require special tools to rebuild."
 
665
clean: clean-recursive
 
666
 
 
667
clean-am: clean-generic mostlyclean-am
 
668
 
 
669
distclean: distclean-recursive
 
670
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
671
        -rm -f Makefile
 
672
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
 
673
 
 
674
dvi: dvi-recursive
 
675
 
 
676
dvi-am:
 
677
 
 
678
html: html-recursive
 
679
 
 
680
html-am:
 
681
 
 
682
info: info-recursive
 
683
 
 
684
info-am:
 
685
 
 
686
install-data-am: install-data-local
 
687
 
 
688
install-dvi: install-dvi-recursive
 
689
 
 
690
install-dvi-am:
 
691
 
 
692
install-exec-am:
 
693
 
 
694
install-html: install-html-recursive
 
695
 
 
696
install-html-am:
 
697
 
 
698
install-info: install-info-recursive
 
699
 
 
700
install-info-am:
 
701
 
 
702
install-man:
 
703
 
 
704
install-pdf: install-pdf-recursive
 
705
 
 
706
install-pdf-am:
 
707
 
 
708
install-ps: install-ps-recursive
 
709
 
 
710
install-ps-am:
 
711
 
 
712
installcheck-am:
 
713
 
 
714
maintainer-clean: maintainer-clean-recursive
 
715
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
716
        -rm -rf $(top_srcdir)/autom4te.cache
 
717
        -rm -f Makefile
 
718
maintainer-clean-am: distclean-am maintainer-clean-generic
 
719
 
 
720
mostlyclean: mostlyclean-recursive
 
721
 
 
722
mostlyclean-am: mostlyclean-generic
 
723
 
 
724
pdf: pdf-recursive
 
725
 
 
726
pdf-am:
 
727
 
 
728
ps: ps-recursive
 
729
 
 
730
ps-am:
 
731
 
 
732
uninstall-am: uninstall-local
 
733
 
 
734
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
 
735
        ctags-recursive install-am install-strip tags-recursive
 
736
 
 
737
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
 
738
        all all-am am--refresh check check-am clean clean-generic \
 
739
        ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
 
740
        dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
 
741
        distclean distclean-generic distclean-hdr distclean-tags \
 
742
        distcleancheck distdir distuninstallcheck dvi dvi-am html \
 
743
        html-am info info-am install install-am install-data \
 
744
        install-data-am install-data-local install-dvi install-dvi-am \
 
745
        install-exec install-exec-am install-html install-html-am \
 
746
        install-info install-info-am install-man install-pdf \
 
747
        install-pdf-am install-ps install-ps-am install-strip \
 
748
        installcheck installcheck-am installdirs installdirs-am \
 
749
        maintainer-clean maintainer-clean-generic mostlyclean \
 
750
        mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
 
751
        uninstall uninstall-am uninstall-local
 
752
 
 
753
 
 
754
install-data-local: install-nslcd_conf
 
755
uninstall-local: uninstall-nslcd_conf
 
756
 
 
757
# install a default configuration file if it is not already there
 
758
install-nslcd_conf:
 
759
        @if [ -f $(DESTDIR)$(NSLCD_CONF_PATH) ]; then \
 
760
          echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not overwrite"; \
 
761
        else \
 
762
          $(INSTALL_DATA) -D $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH) || true; \
 
763
        fi
 
764
uninstall-nslcd_conf:
 
765
        -rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
 
766
 
 
767
# target for easily creating a Debian package
 
768
# the find is an ugly hack to fix a bug if being built on an nfs filesystem
 
769
deb: distdir
 
770
        find $(distdir) -type d | xargs touch
 
771
        cd $(distdir) && \
 
772
          debuild
 
773
        rm -rf $(distdir)
 
774
 
 
775
# target for generating the ChangeLog file
 
776
changelog:
 
777
        ( svn2cl -i --stdout -r HEAD:981 ; \
 
778
          svn2cl -i --stdout -r 980:195 --strip-prefix='nss-ldapd' ; \
 
779
          svn2cl -i --stdout -r 194:3 --strip-prefix='libnss_ldapd' ; \
 
780
          svn2cl -i --stdout -r 2 --strip-prefix='libnss_ldap_251-5.2' ; \
 
781
          svn2cl -i --stdout -r 1 --strip-prefix='nss_ldap-251' ; \
 
782
        ) > ChangeLog
 
783
 
 
784
flawfinder.html:
 
785
        flawfinder --quiet --html --context --followdotdir . > $@
 
786
 
 
787
rats.html:
 
788
        rats --quiet --html --context . > $@
 
789
 
 
790
splint.txt:
 
791
        -env LARCH_PATH=/usr/share/splint/lib/ \
 
792
            LCLIMPORTDIR=/usr/share/splint/imports/ \
 
793
            splint -checks \
 
794
                   -warnposix +showsummary +showalluses +hints -namechecks \
 
795
                   -globstate -predboolint -mustfreeonly -temptrans -kepttrans \
 
796
                   -I. -I$(srcdir) -I$(top_builddir) $(DEFS) -D_REENTRANT -DDEBUG \
 
797
                   -D__signed__=signed -D__thread= -D__gnuc_va_list=__ptr_t \
 
798
                   -Dkrb5_int32=int32_t -Dkrb5_ui_4=uint32_t \
 
799
                   -D__u16=uint16_t -D__u32=uint32_t \
 
800
                   *.[ch] nss/*.[ch] nslcd/*.[ch] common/*.[ch] compat/*.[ch] > $@ 2>&1
 
801
 
 
802
.PHONY: flawfinder.html rats.html splint.txt
 
803
 
 
804
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
805
# Otherwise a system limit (for SysV at least) may be exceeded.
 
806
.NOEXPORT: