1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
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.
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
17 # Makefile.am - use automake to generate Makefile.in
19 # Copyright (C) 2006 Luke Howard
20 # Copyright (C) 2006 West Consulting
21 # Copyright (C) 2006, 2007, 2008 Arthur de Jong
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.
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.
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
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)
53 build_triplet = @build@
55 target_triplet = @target@
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 \
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) \
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
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
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
95 distuninstallcheck_listfiles = find . -type f -print
96 distcleancheck_listfiles = find . -type f -print
100 AUTOHEADER = @AUTOHEADER@
101 AUTOMAKE = @AUTOMAKE@
104 CCDEPMODE = @CCDEPMODE@
107 CPPFLAGS = @CPPFLAGS@
108 CYGPATH_W = @CYGPATH_W@
111 DOCBOOK2X_MAN = @DOCBOOK2X_MAN@
119 INSTALL_DATA = @INSTALL_DATA@
120 INSTALL_PROGRAM = @INSTALL_PROGRAM@
121 INSTALL_SCRIPT = @INSTALL_SCRIPT@
122 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
126 LTLIBOBJS = @LTLIBOBJS@
127 MAKEINFO = @MAKEINFO@
129 NSLCD_PIDFILE = @NSLCD_PIDFILE@
130 NSLCD_SOCKET = @NSLCD_SOCKET@
131 NSS_LDAP_PATH_CONF = @NSS_LDAP_PATH_CONF@
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@
144 RELEASE_MONTH = @RELEASE_MONTH@
145 SET_MAKE = @SET_MAKE@
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@
159 am__untar = @am__untar@
162 build_alias = @build_alias@
163 build_cpu = @build_cpu@
164 build_os = @build_os@
165 build_vendor = @build_vendor@
166 builddir = @builddir@
168 datarootdir = @datarootdir@
171 exec_prefix = @exec_prefix@
173 host_alias = @host_alias@
174 host_cpu = @host_cpu@
176 host_vendor = @host_vendor@
178 includedir = @includedir@
180 install_sh = @install_sh@
182 libexecdir = @libexecdir@
183 localedir = @localedir@
184 localstatedir = @localstatedir@
187 nslcd_LIBS = @nslcd_LIBS@
188 nss_ldap_so_LIBS = @nss_ldap_so_LIBS@
189 oldincludedir = @oldincludedir@
192 program_transform_name = @program_transform_name@
195 sharedstatedir = @sharedstatedir@
197 sysconfdir = @sysconfdir@
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
219 EXTRA_DIST = nss-ldapd.conf nslcd.h nslcd-common.h \
220 $(wildcard m4/*.m4) HACKING $(DEBIAN_FILES)
222 DISTCHECK_CONFIGURE_FLAGS = '--enable-warnings'
223 ACLOCAL_AMFLAGS = -I m4
225 $(MAKE) $(AM_MAKEFLAGS) all-recursive
230 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
232 case '$(am__configure_deps)' in \
234 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
235 cd $(srcdir) && $(AUTOMAKE) --gnu \
240 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
241 cd $(top_srcdir) && \
242 $(AUTOMAKE) --gnu Makefile
244 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
247 echo ' $(SHELL) ./config.status'; \
248 $(SHELL) ./config.status;; \
250 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
251 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
254 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
255 $(SHELL) ./config.status --recheck
257 $(top_srcdir)/configure: $(am__configure_deps)
258 cd $(srcdir) && $(AUTOCONF)
259 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
260 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
263 @if test ! -f $@; then \
265 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
268 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
270 cd $(top_builddir) && $(SHELL) ./config.status config.h
271 $(srcdir)/config.h.in: $(am__configure_deps)
272 cd $(top_srcdir) && $(AUTOHEADER)
277 -rm -f config.h stamp-h1
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):
287 for f in x $$MAKEFLAGS; do \
290 *k*) failcom='fail=yes';; \
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 \
299 local_target="$$target-am"; \
301 local_target="$$target"; \
303 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
306 if test "$$dot_seen" = "no"; then \
307 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
310 $(RECURSIVE_CLEAN_TARGETS):
312 for f in x $$MAKEFLAGS; do \
315 *k*) failcom='fail=yes';; \
320 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
321 *) list='$(SUBDIRS)' ;; \
323 rev=''; for subdir in $$list; do \
324 if test "$$subdir" = "."; then :; else \
325 rev="$$subdir $$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"; \
335 local_target="$$target"; \
337 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
339 done && test -z "$$fail"
341 list='$(SUBDIRS)'; for subdir in $$list; do \
342 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
345 list='$(SUBDIRS)'; for subdir in $$list; do \
346 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
354 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
355 END { if (nonempty) { for (i in files) print i; }; }'`; \
359 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
360 $(TAGS_FILES) $(LISP)
363 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
364 include_option=--etags-include; \
367 include_option=--include; \
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"; \
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; \
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) \
388 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
389 $(TAGS_FILES) $(LISP)
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; \
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) \
402 here=`$(am__cd) $(top_builddir) && pwd` \
403 && cd $(top_srcdir) \
404 && gtags -i $(GTAGS_ARGS) $$here
407 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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; \
430 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
432 test -f $(distdir)/$$file \
433 || cp -p $$d/$$file $(distdir)/$$file \
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" \
442 distdir=`$(am__cd) $(distdir) && pwd`; \
443 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
445 $(MAKE) $(AM_MAKEFLAGS) \
446 top_distdir="$$top_distdir" \
447 distdir="$$distdir/$$subdir" \
448 am__remove_distdir=: \
449 am__skip_length_check=: \
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)
460 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
461 $(am__remove_distdir)
464 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
465 $(am__remove_distdir)
468 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
469 $(am__remove_distdir)
472 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
473 $(am__remove_distdir)
476 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
477 $(am__remove_distdir)
480 -rm -f $(distdir).zip
481 zip -rq $(distdir).zip $(distdir)
482 $(am__remove_distdir)
484 dist dist-all: distdir
485 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
486 $(am__remove_distdir)
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
492 case '$(DIST_ARCHIVES)' in \
494 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
496 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
498 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
500 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
502 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
504 unzip $(distdir).zip ;;\
506 chmod -R a-w $(distdir); chmod a+w $(distdir)
507 mkdir $(distdir)/_build
508 mkdir $(distdir)/_inst
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" \
523 && chmod -R a-w "$$dc_install_base" \
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'
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)"; \
546 $(distuninstallcheck_listfiles) ; \
548 distcleancheck: distclean
549 @if test '$(srcdir)' = . ; then \
550 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
553 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
554 || { echo "ERROR: files left in build directory after distclean:" ; \
555 $(distcleancheck_listfiles) ; \
558 check: check-recursive
559 all-am: Makefile config.h
560 installdirs: installdirs-recursive
562 install: install-recursive
563 install-exec: install-exec-recursive
564 install-data: install-data-recursive
565 uninstall: uninstall-recursive
568 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
570 installcheck: installcheck-recursive
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
581 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
588 clean-am: clean-generic mostlyclean-am
590 distclean: distclean-recursive
591 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
593 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
605 install-data-am: install-data-local
607 install-dvi: install-dvi-recursive
611 install-html: install-html-recursive
613 install-info: install-info-recursive
617 install-pdf: install-pdf-recursive
619 install-ps: install-ps-recursive
623 maintainer-clean: maintainer-clean-recursive
624 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
625 -rm -rf $(top_srcdir)/autom4te.cache
627 maintainer-clean-am: distclean-am maintainer-clean-generic
629 mostlyclean: mostlyclean-recursive
631 mostlyclean-am: mostlyclean-generic
641 uninstall-am: uninstall-local
643 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
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 \
663 install-data-local: install-ldap_conf
664 uninstall-local: uninstall-ldap_conf
666 # install a default configuration file if it is not already there
668 @if [ -f $(DESTDIR)$(NSS_LDAP_PATH_CONF) ]; then \
669 echo "$(DESTDIR)$(NSS_LDAP_PATH_CONF) already exists, install will not overwrite"; \
671 $(INSTALL_DATA) -D $(srcdir)/nss-ldapd.conf $(DESTDIR)$(NSS_LDAP_PATH_CONF); \
674 -rm -f $(DESTDIR)$(NSS_LDAP_PATH_CONF)
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
679 find $(distdir) -type d | xargs touch
684 # target for generating the ChangeLog file
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' ; \
693 flawfinder --quiet --html --context --followdotdir . > $@
696 rats --quiet --html --context . > $@
699 -env LARCH_PATH=/usr/share/splint/lib/ \
700 LCLIMPORTDIR=/usr/share/splint/imports/ \
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
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.