1
# Makefile.in generated by automake 1.11 from Makefile.am.
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
18
# Makefile.am - use automake to generate Makefile.in
20
# Copyright (C) 2006 Luke Howard
21
# Copyright (C) 2006 West Consulting
22
# Copyright (C) 2006, 2007, 2008, 2009 Arthur de Jong
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.
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.
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
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)
55
build_triplet = @build@
57
target_triplet = @target@
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 \
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) \
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
74
CONFIG_CLEAN_VPATH_FILES =
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
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)"; }; }
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"`; \
112
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
113
if test "$$first2" = "$$first"; then \
114
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
118
dir0="$$dir0"/"$$first"; \
121
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
124
DIST_ARCHIVES = $(distdir).tar.gz
126
distuninstallcheck_listfiles = find . -type f -print
127
distcleancheck_listfiles = find . -type f -print
130
AUTOCONF = @AUTOCONF@
131
AUTOHEADER = @AUTOHEADER@
132
AUTOMAKE = @AUTOMAKE@
135
CCDEPMODE = @CCDEPMODE@
138
CPPFLAGS = @CPPFLAGS@
139
CYGPATH_W = @CYGPATH_W@
142
DOCBOOK2X_MAN = @DOCBOOK2X_MAN@
150
INSTALL_DATA = @INSTALL_DATA@
151
INSTALL_PROGRAM = @INSTALL_PROGRAM@
152
INSTALL_SCRIPT = @INSTALL_SCRIPT@
153
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
157
LTLIBOBJS = @LTLIBOBJS@
158
MAKEINFO = @MAKEINFO@
160
NSLCD_CONF_PATH = @NSLCD_CONF_PATH@
161
NSLCD_PIDFILE = @NSLCD_PIDFILE@
162
NSLCD_SOCKET = @NSLCD_SOCKET@
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@
176
RELEASE_MONTH = @RELEASE_MONTH@
177
SET_MAKE = @SET_MAKE@
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@
191
am__untar = @am__untar@
194
build_alias = @build_alias@
195
build_cpu = @build_cpu@
196
build_os = @build_os@
197
build_vendor = @build_vendor@
198
builddir = @builddir@
200
datarootdir = @datarootdir@
203
exec_prefix = @exec_prefix@
205
host_alias = @host_alias@
206
host_cpu = @host_cpu@
208
host_vendor = @host_vendor@
210
includedir = @includedir@
212
install_sh = @install_sh@
214
libexecdir = @libexecdir@
215
localedir = @localedir@
216
localstatedir = @localstatedir@
219
nslcd_LIBS = @nslcd_LIBS@
220
nss_ldap_so_LIBS = @nss_ldap_so_LIBS@
221
oldincludedir = @oldincludedir@
224
program_transform_name = @program_transform_name@
227
sharedstatedir = @sharedstatedir@
229
sysconfdir = @sysconfdir@
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 \
246
debian/nslcd.examples \
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)
265
EXTRA_DIST = nslcd.conf nslcd.h \
266
$(wildcard m4/*.m4) HACKING $(DEBIAN_FILES)
268
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings
269
ACLOCAL_AMFLAGS = -I m4
271
$(MAKE) $(AM_MAKEFLAGS) all-recursive
276
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
278
case '$(am__configure_deps)' in \
280
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
281
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
286
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
287
$(am__cd) $(top_srcdir) && \
288
$(AUTOMAKE) --gnu Makefile
290
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
293
echo ' $(SHELL) ./config.status'; \
294
$(SHELL) ./config.status;; \
296
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
297
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
300
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
301
$(SHELL) ./config.status --recheck
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):
310
@if test ! -f $@; then \
312
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
315
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
317
cd $(top_builddir) && $(SHELL) ./config.status config.h
318
$(srcdir)/config.h.in: $(am__configure_deps)
319
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
324
-rm -f config.h stamp-h1
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):
334
for f in x $$MAKEFLAGS; do \
337
*k*) failcom='fail=yes';; \
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 \
346
local_target="$$target-am"; \
348
local_target="$$target"; \
350
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
353
if test "$$dot_seen" = "no"; then \
354
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
357
$(RECURSIVE_CLEAN_TARGETS):
359
for f in x $$MAKEFLAGS; do \
362
*k*) failcom='fail=yes';; \
367
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
368
*) list='$(SUBDIRS)' ;; \
370
rev=''; for subdir in $$list; do \
371
if test "$$subdir" = "."; then :; else \
372
rev="$$subdir $$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"; \
382
local_target="$$target"; \
384
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
386
done && test -z "$$fail"
388
list='$(SUBDIRS)'; for subdir in $$list; do \
389
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
392
list='$(SUBDIRS)'; for subdir in $$list; do \
393
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
401
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
402
END { if (nonempty) { for (i in files) print i; }; }'`; \
406
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
407
$(TAGS_FILES) $(LISP)
410
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
411
include_option=--etags-include; \
414
include_option=--include; \
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"; \
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; \
427
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
428
END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
436
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
454
here=`$(am__cd) $(top_builddir) && pwd` \
455
&& $(am__cd) $(top_srcdir) \
456
&& gtags -i $(GTAGS_ARGS) "$$here"
459
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
486
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
488
test -f "$(distdir)/$$file" \
489
|| cp -p $$d/$$file "$(distdir)/$$file" \
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" \
500
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
501
if test "$$subdir" = .; then :; else \
502
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
504
new_distdir=$$reldir; \
505
dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
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)"
528
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
529
$(am__remove_distdir)
532
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
533
$(am__remove_distdir)
536
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
537
$(am__remove_distdir)
540
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
541
$(am__remove_distdir)
544
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
545
$(am__remove_distdir)
548
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
549
$(am__remove_distdir)
552
-rm -f $(distdir).zip
553
zip -rq $(distdir).zip $(distdir)
554
$(am__remove_distdir)
556
dist dist-all: distdir
557
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
558
$(am__remove_distdir)
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
564
case '$(DIST_ARCHIVES)' in \
566
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
568
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
570
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
572
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
574
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
576
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
578
unzip $(distdir).zip ;;\
580
chmod -R a-w $(distdir); chmod a+w $(distdir)
581
mkdir $(distdir)/_build
582
mkdir $(distdir)/_inst
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-$$$$/" \
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" \
599
&& chmod -R a-w "$$dc_install_base" \
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 \
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'
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)"; \
624
$(distuninstallcheck_listfiles) ; \
626
distcleancheck: distclean
627
@if test '$(srcdir)' = . ; then \
628
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
631
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
632
|| { echo "ERROR: files left in build directory after distclean:" ; \
633
$(distcleancheck_listfiles) ; \
636
check: check-recursive
637
all-am: Makefile config.h
638
installdirs: installdirs-recursive
640
install: install-recursive
641
install-exec: install-exec-recursive
642
install-data: install-data-recursive
643
uninstall: uninstall-recursive
646
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
648
installcheck: installcheck-recursive
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
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)
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
667
clean-am: clean-generic mostlyclean-am
669
distclean: distclean-recursive
670
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
672
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
686
install-data-am: install-data-local
688
install-dvi: install-dvi-recursive
694
install-html: install-html-recursive
698
install-info: install-info-recursive
704
install-pdf: install-pdf-recursive
708
install-ps: install-ps-recursive
714
maintainer-clean: maintainer-clean-recursive
715
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
716
-rm -rf $(top_srcdir)/autom4te.cache
718
maintainer-clean-am: distclean-am maintainer-clean-generic
720
mostlyclean: mostlyclean-recursive
722
mostlyclean-am: mostlyclean-generic
732
uninstall-am: uninstall-local
734
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
735
ctags-recursive install-am install-strip tags-recursive
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
754
install-data-local: install-nslcd_conf
755
uninstall-local: uninstall-nslcd_conf
757
# install a default configuration file if it is not already there
759
@if [ -f $(DESTDIR)$(NSLCD_CONF_PATH) ]; then \
760
echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not overwrite"; \
762
$(INSTALL_DATA) -D $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH) || true; \
764
uninstall-nslcd_conf:
765
-rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
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
770
find $(distdir) -type d | xargs touch
775
# target for generating the ChangeLog file
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' ; \
785
flawfinder --quiet --html --context --followdotdir . > $@
788
rats --quiet --html --context . > $@
791
-env LARCH_PATH=/usr/share/splint/lib/ \
792
LCLIMPORTDIR=/usr/share/splint/imports/ \
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
802
.PHONY: flawfinder.html rats.html splint.txt
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.