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