No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / tests / db / Makefile.in
blobb2c64a89933496b6678f97ab8dd8e7e65900aa6d
1 # Makefile.in generated by automake 1.10 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006 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
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 # $Heimdal: Makefile.am 20599 2007-05-08 02:48:22Z lha $
18 # $NetBSD$
20 # $Heimdal: Makefile.am.common 10998 2002-05-19 18:35:37Z joda $
21 # $NetBSD$
23 # $Heimdal: Makefile.am.common 22488 2008-01-21 11:47:22Z lha $
24 # $NetBSD$
27 VPATH = @srcdir@
28 pkgdatadir = $(datadir)/@PACKAGE@
29 pkglibdir = $(libdir)/@PACKAGE@
30 pkgincludedir = $(includedir)/@PACKAGE@
31 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
32 install_sh_DATA = $(install_sh) -c -m 644
33 install_sh_PROGRAM = $(install_sh) -c
34 install_sh_SCRIPT = $(install_sh) -c
35 INSTALL_HEADER = $(INSTALL_DATA)
36 transform = $(program_transform_name)
37 NORMAL_INSTALL = :
38 PRE_INSTALL = :
39 POST_INSTALL = :
40 NORMAL_UNINSTALL = :
41 PRE_UNINSTALL = :
42 POST_UNINSTALL = :
43 build_triplet = @build@
44 host_triplet = @host@
45 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
46 $(top_srcdir)/Makefile.am.common \
47 $(top_srcdir)/cf/Makefile.am.common
48 subdir = tests/db
49 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50 am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
51 $(top_srcdir)/cf/auth-modules.m4 $(top_srcdir)/cf/autobuild.m4 \
52 $(top_srcdir)/cf/broken-getaddrinfo.m4 \
53 $(top_srcdir)/cf/broken-glob.m4 \
54 $(top_srcdir)/cf/broken-realloc.m4 \
55 $(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
56 $(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
57 $(top_srcdir)/cf/capabilities.m4 \
58 $(top_srcdir)/cf/check-compile-et.m4 \
59 $(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
60 $(top_srcdir)/cf/check-man.m4 \
61 $(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
62 $(top_srcdir)/cf/check-type-extra.m4 \
63 $(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
64 $(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
65 $(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
66 $(top_srcdir)/cf/dlopen.m4 \
67 $(top_srcdir)/cf/find-func-no-libs.m4 \
68 $(top_srcdir)/cf/find-func-no-libs2.m4 \
69 $(top_srcdir)/cf/find-func.m4 \
70 $(top_srcdir)/cf/find-if-not-broken.m4 \
71 $(top_srcdir)/cf/framework-security.m4 \
72 $(top_srcdir)/cf/have-struct-field.m4 \
73 $(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
74 $(top_srcdir)/cf/krb-bigendian.m4 \
75 $(top_srcdir)/cf/krb-func-getlogin.m4 \
76 $(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
77 $(top_srcdir)/cf/krb-readline.m4 \
78 $(top_srcdir)/cf/krb-struct-spwd.m4 \
79 $(top_srcdir)/cf/krb-struct-winsize.m4 \
80 $(top_srcdir)/cf/largefile.m4 $(top_srcdir)/cf/mips-abi.m4 \
81 $(top_srcdir)/cf/misc.m4 $(top_srcdir)/cf/need-proto.m4 \
82 $(top_srcdir)/cf/osfc2.m4 $(top_srcdir)/cf/otp.m4 \
83 $(top_srcdir)/cf/proto-compat.m4 $(top_srcdir)/cf/pthreads.m4 \
84 $(top_srcdir)/cf/resolv.m4 $(top_srcdir)/cf/retsigtype.m4 \
85 $(top_srcdir)/cf/roken-frag.m4 \
86 $(top_srcdir)/cf/socket-wrapper.m4 $(top_srcdir)/cf/sunos.m4 \
87 $(top_srcdir)/cf/telnet.m4 $(top_srcdir)/cf/test-package.m4 \
88 $(top_srcdir)/cf/version-script.m4 $(top_srcdir)/cf/wflags.m4 \
89 $(top_srcdir)/cf/win32.m4 $(top_srcdir)/cf/with-all.m4 \
90 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
91 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
92 $(ACLOCAL_M4)
93 mkinstalldirs = $(install_sh) -d
94 CONFIG_HEADER = $(top_builddir)/include/config.h
95 CONFIG_CLEAN_FILES =
96 SCRIPTS = $(noinst_SCRIPTS)
97 depcomp =
98 am__depfiles_maybe =
99 SOURCES =
100 DIST_SOURCES =
101 DATA = $(noinst_DATA)
102 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
103 ACLOCAL = @ACLOCAL@
104 AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
105 AMTAR = @AMTAR@
106 AR = @AR@
107 AUTOCONF = @AUTOCONF@
108 AUTOHEADER = @AUTOHEADER@
109 AUTOMAKE = @AUTOMAKE@
110 AWK = @AWK@
111 CANONICAL_HOST = @CANONICAL_HOST@
112 CATMAN = @CATMAN@
113 CATMANEXT = @CATMANEXT@
114 CC = @CC@
115 CFLAGS = @CFLAGS@
116 COMPILE_ET = @COMPILE_ET@
117 CPP = @CPP@
118 CPPFLAGS = @CPPFLAGS@
119 CXX = @CXX@
120 CXXCPP = @CXXCPP@
121 CXXFLAGS = @CXXFLAGS@
122 CYGPATH_W = @CYGPATH_W@
123 DBLIB = @DBLIB@
124 DEFS = @DEFS@
125 DIR_com_err = @DIR_com_err@
126 DIR_hcrypto = @DIR_hcrypto@
127 DIR_hdbdir = @DIR_hdbdir@
128 DIR_roken = @DIR_roken@
129 ECHO = @ECHO@
130 ECHO_C = @ECHO_C@
131 ECHO_N = @ECHO_N@
132 ECHO_T = @ECHO_T@
133 EGREP = @EGREP@
134 EXEEXT = @EXEEXT@
135 F77 = @F77@
136 FFLAGS = @FFLAGS@
137 GREP = @GREP@
138 GROFF = @GROFF@
139 INCLUDES_roken = @INCLUDES_roken@
140 INCLUDE_hcrypto = @INCLUDE_hcrypto@
141 INCLUDE_hesiod = @INCLUDE_hesiod@
142 INCLUDE_krb4 = @INCLUDE_krb4@
143 INCLUDE_openldap = @INCLUDE_openldap@
144 INCLUDE_readline = @INCLUDE_readline@
145 INSTALL = @INSTALL@
146 INSTALL_DATA = @INSTALL_DATA@
147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
149 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
150 LDFLAGS = @LDFLAGS@
151 LDFLAGS_VERSION_SCRIPT = @LDFLAGS_VERSION_SCRIPT@
152 LEX = @LEX@
153 LEXLIB = @LEXLIB@
154 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
155 LIBADD_roken = @LIBADD_roken@
156 LIBOBJS = @LIBOBJS@
157 LIBS = @LIBS@
158 LIBTOOL = @LIBTOOL@
159 LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
160 LIB_NDBM = @LIB_NDBM@
161 LIB_XauFileName = @LIB_XauFileName@
162 LIB_XauReadAuth = @LIB_XauReadAuth@
163 LIB_XauWriteAuth = @LIB_XauWriteAuth@
164 LIB_bswap16 = @LIB_bswap16@
165 LIB_bswap32 = @LIB_bswap32@
166 LIB_com_err = @LIB_com_err@
167 LIB_com_err_a = @LIB_com_err_a@
168 LIB_com_err_so = @LIB_com_err_so@
169 LIB_crypt = @LIB_crypt@
170 LIB_db_create = @LIB_db_create@
171 LIB_dbm_firstkey = @LIB_dbm_firstkey@
172 LIB_dbopen = @LIB_dbopen@
173 LIB_dlopen = @LIB_dlopen@
174 LIB_dn_expand = @LIB_dn_expand@
175 LIB_door_create = @LIB_door_create@
176 LIB_el_init = @LIB_el_init@
177 LIB_freeaddrinfo = @LIB_freeaddrinfo@
178 LIB_gai_strerror = @LIB_gai_strerror@
179 LIB_getaddrinfo = @LIB_getaddrinfo@
180 LIB_gethostbyname = @LIB_gethostbyname@
181 LIB_gethostbyname2 = @LIB_gethostbyname2@
182 LIB_getnameinfo = @LIB_getnameinfo@
183 LIB_getpwnam_r = @LIB_getpwnam_r@
184 LIB_getsockopt = @LIB_getsockopt@
185 LIB_hcrypto = @LIB_hcrypto@
186 LIB_hcrypto_a = @LIB_hcrypto_a@
187 LIB_hcrypto_appl = @LIB_hcrypto_appl@
188 LIB_hcrypto_so = @LIB_hcrypto_so@
189 LIB_hesiod = @LIB_hesiod@
190 LIB_hstrerror = @LIB_hstrerror@
191 LIB_kdb = @LIB_kdb@
192 LIB_krb4 = @LIB_krb4@
193 LIB_loadquery = @LIB_loadquery@
194 LIB_logout = @LIB_logout@
195 LIB_logwtmp = @LIB_logwtmp@
196 LIB_openldap = @LIB_openldap@
197 LIB_openpty = @LIB_openpty@
198 LIB_otp = @LIB_otp@
199 LIB_pidfile = @LIB_pidfile@
200 LIB_readline = @LIB_readline@
201 LIB_res_ndestroy = @LIB_res_ndestroy@
202 LIB_res_nsearch = @LIB_res_nsearch@
203 LIB_res_search = @LIB_res_search@
204 LIB_roken = @LIB_roken@
205 LIB_security = @LIB_security@
206 LIB_setsockopt = @LIB_setsockopt@
207 LIB_socket = @LIB_socket@
208 LIB_syslog = @LIB_syslog@
209 LIB_tgetent = @LIB_tgetent@
210 LN_S = @LN_S@
211 LTLIBOBJS = @LTLIBOBJS@
212 MAINT = @MAINT@
213 MAKEINFO = @MAKEINFO@
214 MKDIR_P = @MKDIR_P@
215 NROFF = @NROFF@
216 OBJEXT = @OBJEXT@
217 PACKAGE = @PACKAGE@
218 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
219 PACKAGE_NAME = @PACKAGE_NAME@
220 PACKAGE_STRING = @PACKAGE_STRING@
221 PACKAGE_TARNAME = @PACKAGE_TARNAME@
222 PACKAGE_VERSION = @PACKAGE_VERSION@
223 PATH_SEPARATOR = @PATH_SEPARATOR@
224 PTHREADS_CFLAGS = @PTHREADS_CFLAGS@
225 PTHREADS_LIBS = @PTHREADS_LIBS@
226 RANLIB = @RANLIB@
227 SET_MAKE = @SET_MAKE@
228 SHELL = @SHELL@
229 STRIP = @STRIP@
230 VERSION = @VERSION@
231 VERSIONING = @VERSIONING@
232 VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
233 WFLAGS = @WFLAGS@
234 WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
235 WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
236 XMKMF = @XMKMF@
237 X_CFLAGS = @X_CFLAGS@
238 X_EXTRA_LIBS = @X_EXTRA_LIBS@
239 X_LIBS = @X_LIBS@
240 X_PRE_LIBS = @X_PRE_LIBS@
241 YACC = @YACC@
242 YFLAGS = @YFLAGS@
243 abs_builddir = @abs_builddir@
244 abs_srcdir = @abs_srcdir@
245 abs_top_builddir = @abs_top_builddir@
246 abs_top_srcdir = @abs_top_srcdir@
247 ac_ct_CC = @ac_ct_CC@
248 ac_ct_CXX = @ac_ct_CXX@
249 ac_ct_F77 = @ac_ct_F77@
250 am__leading_dot = @am__leading_dot@
251 am__tar = @am__tar@
252 am__untar = @am__untar@
253 bindir = @bindir@
254 build = @build@
255 build_alias = @build_alias@
256 build_cpu = @build_cpu@
257 build_os = @build_os@
258 build_vendor = @build_vendor@
259 builddir = @builddir@
260 datadir = @datadir@
261 datarootdir = @datarootdir@
262 docdir = @docdir@
263 dpagaix_cflags = @dpagaix_cflags@
264 dpagaix_ldadd = @dpagaix_ldadd@
265 dpagaix_ldflags = @dpagaix_ldflags@
266 dvidir = @dvidir@
267 exec_prefix = @exec_prefix@
268 host = @host@
269 host_alias = @host_alias@
270 host_cpu = @host_cpu@
271 host_os = @host_os@
272 host_vendor = @host_vendor@
273 htmldir = @htmldir@
274 includedir = @includedir@
275 infodir = @infodir@
276 install_sh = @install_sh@
277 libdir = @libdir@
278 libexecdir = @libexecdir@
279 localedir = @localedir@
280 localstatedir = @localstatedir@
281 mandir = @mandir@
282 mkdir_p = @mkdir_p@
283 oldincludedir = @oldincludedir@
284 pdfdir = @pdfdir@
285 prefix = @prefix@
286 program_transform_name = @program_transform_name@
287 psdir = @psdir@
288 sbindir = @sbindir@
289 sharedstatedir = @sharedstatedir@
290 srcdir = @srcdir@
291 sysconfdir = @sysconfdir@
292 target_alias = @target_alias@
293 top_builddir = @top_builddir@
294 top_srcdir = @top_srcdir@
295 SUFFIXES = .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
296 AM_CPPFLAGS = -I$(top_builddir)/include $(INCLUDES_roken)
297 @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
298 AM_CFLAGS = $(WFLAGS)
299 CP = cp
300 buildinclude = $(top_builddir)/include
301 LIB_getattr = @LIB_getattr@
302 LIB_getpwent_r = @LIB_getpwent_r@
303 LIB_odm_initialize = @LIB_odm_initialize@
304 LIB_setpcred = @LIB_setpcred@
305 HESIODLIB = @HESIODLIB@
306 HESIODINCLUDE = @HESIODINCLUDE@
307 NROFF_MAN = groff -mandoc -Tascii
308 LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
309 @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
310 @KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
312 @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
313 @KRB5_TRUE@LIB_tsasl = $(top_builddir)/lib/tsasl/libtsasl.la
314 @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
315 noinst_DATA = krb5.conf
316 noinst_SCRIPTS = have-db
317 check_SCRIPTS = loaddump-db add-modify-delete check-dbinfo
318 TESTS = $(check_SCRIPTS)
319 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
320 -e 's,[@]objdir[@],$(top_builddir)/tests/db,g' \
321 -e 's,[@]EGREP[@],$(EGREP),g'
323 CLEANFILES = \
324 $(TESTS) \
325 have-db \
326 db-dump* \
327 dbinfo.out \
328 current-db* \
329 out-text-dump* \
330 out-current-* \
331 mkey.file* \
332 krb5.conf krb5.conf.tmp \
333 tempfile \
334 log.current-db* \
335 messages.log
337 EXTRA_DIST = \
338 check-dbinfo.in \
339 loaddump-db.in \
340 add-modify-delete.in \
341 have-db.in \
342 krb5.conf.in \
343 text-dump-0.7 \
344 text-dump-known-ext \
345 text-dump-no-ext \
346 text-dump-unknown-ext
348 all: all-am
350 .SUFFIXES:
351 .SUFFIXES: .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
352 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
353 @for dep in $?; do \
354 case '$(am__configure_deps)' in \
355 *$$dep*) \
356 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
357 && exit 0; \
358 exit 1;; \
359 esac; \
360 done; \
361 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps tests/db/Makefile'; \
362 cd $(top_srcdir) && \
363 $(AUTOMAKE) --foreign --ignore-deps tests/db/Makefile
364 .PRECIOUS: Makefile
365 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
366 @case '$?' in \
367 *config.status*) \
368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
369 *) \
370 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
371 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
372 esac;
374 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
375 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
377 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
378 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
379 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
380 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382 mostlyclean-libtool:
383 -rm -f *.lo
385 clean-libtool:
386 -rm -rf .libs _libs
387 tags: TAGS
388 TAGS:
390 ctags: CTAGS
391 CTAGS:
394 check-TESTS: $(TESTS)
395 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
396 srcdir=$(srcdir); export srcdir; \
397 list=' $(TESTS) '; \
398 if test -n "$$list"; then \
399 for tst in $$list; do \
400 if test -f ./$$tst; then dir=./; \
401 elif test -f $$tst; then dir=; \
402 else dir="$(srcdir)/"; fi; \
403 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
404 all=`expr $$all + 1`; \
405 case " $(XFAIL_TESTS) " in \
406 *$$ws$$tst$$ws*) \
407 xpass=`expr $$xpass + 1`; \
408 failed=`expr $$failed + 1`; \
409 echo "XPASS: $$tst"; \
410 ;; \
411 *) \
412 echo "PASS: $$tst"; \
413 ;; \
414 esac; \
415 elif test $$? -ne 77; then \
416 all=`expr $$all + 1`; \
417 case " $(XFAIL_TESTS) " in \
418 *$$ws$$tst$$ws*) \
419 xfail=`expr $$xfail + 1`; \
420 echo "XFAIL: $$tst"; \
421 ;; \
422 *) \
423 failed=`expr $$failed + 1`; \
424 echo "FAIL: $$tst"; \
425 ;; \
426 esac; \
427 else \
428 skip=`expr $$skip + 1`; \
429 echo "SKIP: $$tst"; \
430 fi; \
431 done; \
432 if test "$$failed" -eq 0; then \
433 if test "$$xfail" -eq 0; then \
434 banner="All $$all tests passed"; \
435 else \
436 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
437 fi; \
438 else \
439 if test "$$xpass" -eq 0; then \
440 banner="$$failed of $$all tests failed"; \
441 else \
442 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
443 fi; \
444 fi; \
445 dashes="$$banner"; \
446 skipped=""; \
447 if test "$$skip" -ne 0; then \
448 skipped="($$skip tests were not run)"; \
449 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
450 dashes="$$skipped"; \
451 fi; \
452 report=""; \
453 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
454 report="Please report to $(PACKAGE_BUGREPORT)"; \
455 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
456 dashes="$$report"; \
457 fi; \
458 dashes=`echo "$$dashes" | sed s/./=/g`; \
459 echo "$$dashes"; \
460 echo "$$banner"; \
461 test -z "$$skipped" || echo "$$skipped"; \
462 test -z "$$report" || echo "$$report"; \
463 echo "$$dashes"; \
464 test "$$failed" -eq 0; \
465 else :; fi
467 distdir: $(DISTFILES)
468 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
469 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
470 list='$(DISTFILES)'; \
471 dist_files=`for file in $$list; do echo $$file; done | \
472 sed -e "s|^$$srcdirstrip/||;t" \
473 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
474 case $$dist_files in \
475 */*) $(MKDIR_P) `echo "$$dist_files" | \
476 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
477 sort -u` ;; \
478 esac; \
479 for file in $$dist_files; do \
480 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
481 if test -d $$d/$$file; then \
482 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
483 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
484 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
485 fi; \
486 cp -pR $$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 $(MAKE) $(AM_MAKEFLAGS) \
494 top_distdir="$(top_distdir)" distdir="$(distdir)" \
495 dist-hook
496 check-am: all-am
497 $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
498 $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
499 check: check-am
500 all-am: Makefile $(SCRIPTS) $(DATA) all-local
501 installdirs:
502 install: install-am
503 install-exec: install-exec-am
504 install-data: install-data-am
505 uninstall: uninstall-am
507 install-am: all-am
508 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
510 installcheck: installcheck-am
511 install-strip:
512 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
513 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
514 `test -z '$(STRIP)' || \
515 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
516 mostlyclean-generic:
518 clean-generic:
519 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
521 distclean-generic:
522 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
524 maintainer-clean-generic:
525 @echo "This command is intended for maintainers to use"
526 @echo "it deletes files that may require special tools to rebuild."
527 clean: clean-am
529 clean-am: clean-generic clean-libtool mostlyclean-am
531 distclean: distclean-am
532 -rm -f Makefile
533 distclean-am: clean-am distclean-generic
535 dvi: dvi-am
537 dvi-am:
539 html: html-am
541 info: info-am
543 info-am:
545 install-data-am:
546 @$(NORMAL_INSTALL)
547 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
549 install-dvi: install-dvi-am
551 install-exec-am:
552 @$(NORMAL_INSTALL)
553 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
555 install-html: install-html-am
557 install-info: install-info-am
559 install-man:
561 install-pdf: install-pdf-am
563 install-ps: install-ps-am
565 installcheck-am:
567 maintainer-clean: maintainer-clean-am
568 -rm -f Makefile
569 maintainer-clean-am: distclean-am maintainer-clean-generic
571 mostlyclean: mostlyclean-am
573 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
575 pdf: pdf-am
577 pdf-am:
579 ps: ps-am
581 ps-am:
583 uninstall-am:
584 @$(NORMAL_INSTALL)
585 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
587 .MAKE: install-am install-data-am install-exec-am install-strip \
588 uninstall-am
590 .PHONY: all all-am all-local check check-TESTS check-am check-local \
591 clean clean-generic clean-libtool dist-hook distclean \
592 distclean-generic distclean-libtool distdir dvi dvi-am html \
593 html-am info info-am install install-am install-data \
594 install-data-am install-data-hook install-dvi install-dvi-am \
595 install-exec install-exec-am install-exec-hook install-html \
596 install-html-am install-info install-info-am install-man \
597 install-pdf install-pdf-am install-ps install-ps-am \
598 install-strip installcheck installcheck-am installdirs \
599 maintainer-clean maintainer-clean-generic mostlyclean \
600 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
601 uninstall uninstall-am uninstall-hook
604 install-suid-programs:
605 @foo='$(bin_SUIDS)'; \
606 for file in $$foo; do \
607 x=$(DESTDIR)$(bindir)/$$file; \
608 if chown 0:0 $$x && chmod u+s $$x; then :; else \
609 echo "*"; \
610 echo "* Failed to install $$x setuid root"; \
611 echo "*"; \
612 fi; done
614 install-exec-hook: install-suid-programs
616 install-build-headers:: $(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ) $(nobase_include_HEADERS)
617 @foo='$(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
618 for f in $$foo; do \
619 f=`basename $$f`; \
620 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
621 else file="$$f"; fi; \
622 if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \
623 : ; else \
624 echo " $(CP) $$file $(buildinclude)/$$f"; \
625 $(CP) $$file $(buildinclude)/$$f; \
626 fi ; \
627 done ; \
628 foo='$(nobase_include_HEADERS)'; \
629 for f in $$foo; do \
630 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
631 else file="$$f"; fi; \
632 $(mkdir_p) $(buildinclude)/`dirname $$f` ; \
633 if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \
634 : ; else \
635 echo " $(CP) $$file $(buildinclude)/$$f"; \
636 $(CP) $$file $(buildinclude)/$$f; \
637 fi ; \
638 done
640 all-local: install-build-headers
642 check-local::
643 @if test '$(CHECK_LOCAL)' = "no-check-local"; then \
644 foo=''; elif test '$(CHECK_LOCAL)'; then \
645 foo='$(CHECK_LOCAL)'; else \
646 foo='$(PROGRAMS)'; fi; \
647 if test "$$foo"; then \
648 failed=0; all=0; \
649 for i in $$foo; do \
650 all=`expr $$all + 1`; \
651 if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
652 echo "PASS: $$i"; \
653 else \
654 echo "FAIL: $$i"; \
655 failed=`expr $$failed + 1`; \
656 fi; \
657 done; \
658 if test "$$failed" -eq 0; then \
659 banner="All $$all tests passed"; \
660 else \
661 banner="$$failed of $$all tests failed"; \
662 fi; \
663 dashes=`echo "$$banner" | sed s/./=/g`; \
664 echo "$$dashes"; \
665 echo "$$banner"; \
666 echo "$$dashes"; \
667 test "$$failed" -eq 0 || exit 1; \
670 .x.c:
671 @cmp -s $< $@ 2> /dev/null || cp $< $@
672 #NROFF_MAN = nroff -man
673 .1.cat1:
674 $(NROFF_MAN) $< > $@
675 .3.cat3:
676 $(NROFF_MAN) $< > $@
677 .5.cat5:
678 $(NROFF_MAN) $< > $@
679 .8.cat8:
680 $(NROFF_MAN) $< > $@
682 dist-cat1-mans:
683 @foo='$(man1_MANS)'; \
684 bar='$(man_MANS)'; \
685 for i in $$bar; do \
686 case $$i in \
687 *.1) foo="$$foo $$i";; \
688 esac; done ;\
689 for i in $$foo; do \
690 x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
691 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
692 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
693 done
695 dist-cat3-mans:
696 @foo='$(man3_MANS)'; \
697 bar='$(man_MANS)'; \
698 for i in $$bar; do \
699 case $$i in \
700 *.3) foo="$$foo $$i";; \
701 esac; done ;\
702 for i in $$foo; do \
703 x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
704 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
705 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
706 done
708 dist-cat5-mans:
709 @foo='$(man5_MANS)'; \
710 bar='$(man_MANS)'; \
711 for i in $$bar; do \
712 case $$i in \
713 *.5) foo="$$foo $$i";; \
714 esac; done ;\
715 for i in $$foo; do \
716 x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
717 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
718 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
719 done
721 dist-cat8-mans:
722 @foo='$(man8_MANS)'; \
723 bar='$(man_MANS)'; \
724 for i in $$bar; do \
725 case $$i in \
726 *.8) foo="$$foo $$i";; \
727 esac; done ;\
728 for i in $$foo; do \
729 x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
730 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
731 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
732 done
734 dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
736 install-cat-mans:
737 $(SHELL) $(top_srcdir)/cf/install-catman.sh install "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
739 uninstall-cat-mans:
740 $(SHELL) $(top_srcdir)/cf/install-catman.sh uninstall "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
742 install-data-hook: install-cat-mans
743 uninstall-hook: uninstall-cat-mans
745 .et.h:
746 $(COMPILE_ET) $<
747 .et.c:
748 $(COMPILE_ET) $<
751 # Useful target for debugging
754 check-valgrind:
755 tobjdir=`cd $(top_builddir) && pwd` ; \
756 tsrcdir=`cd $(top_srcdir) && pwd` ; \
757 env TESTS_ENVIRONMENT="$${tobjdir}/libtool --mode execute valgrind --leak-check=full --trace-children=yes --quiet -q --num-callers=30 --suppressions=$${tsrcdir}/cf/valgrind-suppressions" make check
760 # Target to please samba build farm, builds distfiles in-tree.
761 # Will break when automake changes...
764 distdir-in-tree: $(DISTFILES) $(INFO_DEPS)
765 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
766 if test "$$subdir" != .; then \
767 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \
768 fi ; \
769 done
771 loaddump-db: loaddump-db.in Makefile
772 $(do_subst) < $(srcdir)/loaddump-db.in > loaddump-db.tmp
773 chmod +x loaddump-db.tmp
774 mv loaddump-db.tmp loaddump-db
776 add-modify-delete: add-modify-delete.in Makefile
777 $(do_subst) < $(srcdir)/add-modify-delete.in > add-modify-delete.tmp
778 chmod +x add-modify-delete.tmp
779 mv add-modify-delete.tmp add-modify-delete
781 check-dbinfo: check-dbinfo.in Makefile
782 $(do_subst) < $(srcdir)/check-dbinfo.in > check-dbinfo.tmp
783 chmod +x check-dbinfo.tmp
784 mv check-dbinfo.tmp check-dbinfo
786 have-db: have-db.in Makefile
787 $(do_subst) < $(srcdir)/have-db.in > have-db.tmp
788 chmod +x have-db.tmp
789 mv have-db.tmp have-db
791 krb5.conf: krb5.conf.in Makefile
792 $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
793 mv krb5.conf.tmp krb5.conf
794 # Tell versions [3.59,3.63) of GNU make to not export all variables.
795 # Otherwise a system limit (for SysV at least) may be exceeded.
796 .NOEXPORT: