xref: /freebsd/crypto/heimdal/lib/hdb/Makefile.in (revision f0adf7f5cdd241db2f2c817683191a6ef64a4e95)
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# 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# $Id: Makefile.am,v 1.53.4.2 2003/10/14 16:13:14 joda Exp $
18
19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
20
21# $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
22
23srcdir = @srcdir@
24top_srcdir = @top_srcdir@
25VPATH = @srcdir@
26pkgdatadir = $(datadir)/@PACKAGE@
27pkglibdir = $(libdir)/@PACKAGE@
28pkgincludedir = $(includedir)/@PACKAGE@
29top_builddir = ../..
30
31am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
32INSTALL = @INSTALL@
33install_sh_DATA = $(install_sh) -c -m 644
34install_sh_PROGRAM = $(install_sh) -c
35install_sh_SCRIPT = $(install_sh) -c
36INSTALL_HEADER = $(INSTALL_DATA)
37transform = $(program_transform_name)
38NORMAL_INSTALL = :
39PRE_INSTALL = :
40POST_INSTALL = :
41NORMAL_UNINSTALL = :
42PRE_UNINSTALL = :
43POST_UNINSTALL = :
44host_triplet = @host@
45ACLOCAL = @ACLOCAL@
46AIX4_FALSE = @AIX4_FALSE@
47AIX4_TRUE = @AIX4_TRUE@
48AIX_DYNAMIC_AFS_FALSE = @AIX_DYNAMIC_AFS_FALSE@
49AIX_DYNAMIC_AFS_TRUE = @AIX_DYNAMIC_AFS_TRUE@
50AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
51AIX_FALSE = @AIX_FALSE@
52AIX_TRUE = @AIX_TRUE@
53AMTAR = @AMTAR@
54AR = @AR@
55AUTOCONF = @AUTOCONF@
56AUTOHEADER = @AUTOHEADER@
57AUTOMAKE = @AUTOMAKE@
58AWK = @AWK@
59CANONICAL_HOST = @CANONICAL_HOST@
60CATMAN = @CATMAN@
61CATMANEXT = @CATMANEXT@
62CATMAN_FALSE = @CATMAN_FALSE@
63CATMAN_TRUE = @CATMAN_TRUE@
64CC = @CC@
65CFLAGS = @CFLAGS@
66COMPILE_ET = @COMPILE_ET@
67CPP = @CPP@
68CPPFLAGS = @CPPFLAGS@
69CXX = @CXX@
70CXXCPP = @CXXCPP@
71CXXFLAGS = @CXXFLAGS@
72CYGPATH_W = @CYGPATH_W@
73DBLIB = @DBLIB@
74DCE_FALSE = @DCE_FALSE@
75DCE_TRUE = @DCE_TRUE@
76DEFS = @DEFS@
77DIR_com_err = @DIR_com_err@
78DIR_des = @DIR_des@
79DIR_roken = @DIR_roken@
80ECHO = @ECHO@
81ECHO_C = @ECHO_C@
82ECHO_N = @ECHO_N@
83ECHO_T = @ECHO_T@
84EGREP = @EGREP@
85EXEEXT = @EXEEXT@
86EXTRA_LIB45 = @EXTRA_LIB45@
87F77 = @F77@
88FFLAGS = @FFLAGS@
89GROFF = @GROFF@
90HAVE_DB1_FALSE = @HAVE_DB1_FALSE@
91HAVE_DB1_TRUE = @HAVE_DB1_TRUE@
92HAVE_DB3_FALSE = @HAVE_DB3_FALSE@
93HAVE_DB3_TRUE = @HAVE_DB3_TRUE@
94HAVE_DLOPEN_FALSE = @HAVE_DLOPEN_FALSE@
95HAVE_DLOPEN_TRUE = @HAVE_DLOPEN_TRUE@
96HAVE_NDBM_FALSE = @HAVE_NDBM_FALSE@
97HAVE_NDBM_TRUE = @HAVE_NDBM_TRUE@
98HAVE_OPENSSL_FALSE = @HAVE_OPENSSL_FALSE@
99HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
100HAVE_X_FALSE = @HAVE_X_FALSE@
101HAVE_X_TRUE = @HAVE_X_TRUE@
102INCLUDES_roken = @INCLUDES_roken@
103INCLUDE_des = @INCLUDE_des@
104INCLUDE_hesiod = @INCLUDE_hesiod@
105
106INCLUDE_krb4 = @INCLUDE_krb4@
107
108INCLUDE_openldap = @INCLUDE_openldap@
109
110INCLUDE_readline = @INCLUDE_readline@
111INSTALL_DATA = @INSTALL_DATA@
112INSTALL_PROGRAM = @INSTALL_PROGRAM@
113INSTALL_SCRIPT = @INSTALL_SCRIPT@
114INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
115IRIX_FALSE = @IRIX_FALSE@
116IRIX_TRUE = @IRIX_TRUE@
117KRB4_FALSE = @KRB4_FALSE@
118KRB4_TRUE = @KRB4_TRUE@
119KRB5_FALSE = @KRB5_FALSE@
120KRB5_TRUE = @KRB5_TRUE@
121LDFLAGS = @LDFLAGS@
122LEX = @LEX@
123
124LEXLIB = @LEXLIB@
125LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
126LIBOBJS = @LIBOBJS@
127LIBS = @LIBS@
128LIBTOOL = @LIBTOOL@
129LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
130LIB_NDBM = @LIB_NDBM@
131LIB_XauFileName = @LIB_XauFileName@
132
133LIB_XauReadAuth = @LIB_XauReadAuth@
134LIB_XauWriteAuth = @LIB_XauWriteAuth@
135LIB_bswap16 = @LIB_bswap16@
136LIB_bswap32 = @LIB_bswap32@
137LIB_com_err = @LIB_com_err@
138LIB_com_err_a = @LIB_com_err_a@
139LIB_com_err_so = @LIB_com_err_so@
140LIB_crypt = @LIB_crypt@
141LIB_db_create = @LIB_db_create@
142LIB_dbm_firstkey = @LIB_dbm_firstkey@
143LIB_dbopen = @LIB_dbopen@
144LIB_des = @LIB_des@
145LIB_des_a = @LIB_des_a@
146LIB_des_appl = @LIB_des_appl@
147LIB_des_so = @LIB_des_so@
148LIB_dlopen = @LIB_dlopen@
149LIB_dn_expand = @LIB_dn_expand@
150LIB_el_init = @LIB_el_init@
151LIB_freeaddrinfo = @LIB_freeaddrinfo@
152LIB_gai_strerror = @LIB_gai_strerror@
153LIB_getaddrinfo = @LIB_getaddrinfo@
154LIB_gethostbyname = @LIB_gethostbyname@
155LIB_gethostbyname2 = @LIB_gethostbyname2@
156LIB_getnameinfo = @LIB_getnameinfo@
157LIB_getpwnam_r = @LIB_getpwnam_r@
158LIB_getsockopt = @LIB_getsockopt@
159LIB_hesiod = @LIB_hesiod@
160LIB_hstrerror = @LIB_hstrerror@
161LIB_kdb = @LIB_kdb@
162LIB_krb4 = @LIB_krb4@
163LIB_krb_disable_debug = @LIB_krb_disable_debug@
164LIB_krb_enable_debug = @LIB_krb_enable_debug@
165LIB_krb_get_kdc_time_diff = @LIB_krb_get_kdc_time_diff@
166LIB_krb_get_our_ip_for_realm = @LIB_krb_get_our_ip_for_realm@
167LIB_krb_kdctimeofday = @LIB_krb_kdctimeofday@
168LIB_loadquery = @LIB_loadquery@
169LIB_logout = @LIB_logout@
170LIB_logwtmp = @LIB_logwtmp@
171LIB_openldap = @LIB_openldap@
172LIB_openpty = @LIB_openpty@
173LIB_otp = @LIB_otp@
174LIB_pidfile = @LIB_pidfile@
175LIB_readline = @LIB_readline@
176LIB_res_nsearch = @LIB_res_nsearch@
177LIB_res_search = @LIB_res_search@
178LIB_roken = @LIB_roken@
179LIB_security = @LIB_security@
180LIB_setsockopt = @LIB_setsockopt@
181LIB_socket = @LIB_socket@
182LIB_syslog = @LIB_syslog@
183LIB_tgetent = @LIB_tgetent@
184LN_S = @LN_S@
185LTLIBOBJS = @LTLIBOBJS@
186MAINT = @MAINT@
187MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
188MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
189MAKEINFO = @MAKEINFO@
190NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
191NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
192NROFF = @NROFF@
193OBJEXT = @OBJEXT@
194OTP_FALSE = @OTP_FALSE@
195OTP_TRUE = @OTP_TRUE@
196PACKAGE = @PACKAGE@
197PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
198PACKAGE_NAME = @PACKAGE_NAME@
199PACKAGE_STRING = @PACKAGE_STRING@
200PACKAGE_TARNAME = @PACKAGE_TARNAME@
201PACKAGE_VERSION = @PACKAGE_VERSION@
202PATH_SEPARATOR = @PATH_SEPARATOR@
203RANLIB = @RANLIB@
204SET_MAKE = @SET_MAKE@
205SHELL = @SHELL@
206STRIP = @STRIP@
207VERSION = @VERSION@
208VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
209WFLAGS = @WFLAGS@
210WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
211WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
212X_CFLAGS = @X_CFLAGS@
213X_EXTRA_LIBS = @X_EXTRA_LIBS@
214X_LIBS = @X_LIBS@
215X_PRE_LIBS = @X_PRE_LIBS@
216YACC = @YACC@
217ac_ct_AR = @ac_ct_AR@
218ac_ct_CC = @ac_ct_CC@
219ac_ct_CXX = @ac_ct_CXX@
220ac_ct_F77 = @ac_ct_F77@
221ac_ct_RANLIB = @ac_ct_RANLIB@
222ac_ct_STRIP = @ac_ct_STRIP@
223am__leading_dot = @am__leading_dot@
224bindir = @bindir@
225build = @build@
226build_alias = @build_alias@
227build_cpu = @build_cpu@
228build_os = @build_os@
229build_vendor = @build_vendor@
230datadir = @datadir@
231do_roken_rename_FALSE = @do_roken_rename_FALSE@
232do_roken_rename_TRUE = @do_roken_rename_TRUE@
233dpagaix_cflags = @dpagaix_cflags@
234dpagaix_ldadd = @dpagaix_ldadd@
235dpagaix_ldflags = @dpagaix_ldflags@
236el_compat_FALSE = @el_compat_FALSE@
237el_compat_TRUE = @el_compat_TRUE@
238exec_prefix = @exec_prefix@
239have_err_h_FALSE = @have_err_h_FALSE@
240have_err_h_TRUE = @have_err_h_TRUE@
241have_fnmatch_h_FALSE = @have_fnmatch_h_FALSE@
242have_fnmatch_h_TRUE = @have_fnmatch_h_TRUE@
243have_glob_h_FALSE = @have_glob_h_FALSE@
244have_glob_h_TRUE = @have_glob_h_TRUE@
245have_ifaddrs_h_FALSE = @have_ifaddrs_h_FALSE@
246have_ifaddrs_h_TRUE = @have_ifaddrs_h_TRUE@
247have_vis_h_FALSE = @have_vis_h_FALSE@
248have_vis_h_TRUE = @have_vis_h_TRUE@
249host = @host@
250host_alias = @host_alias@
251host_cpu = @host_cpu@
252host_os = @host_os@
253host_vendor = @host_vendor@
254includedir = @includedir@
255infodir = @infodir@
256install_sh = @install_sh@
257libdir = @libdir@
258libexecdir = @libexecdir@
259localstatedir = @localstatedir@
260mandir = @mandir@
261oldincludedir = @oldincludedir@
262prefix = @prefix@
263program_transform_name = @program_transform_name@
264sbindir = @sbindir@
265sharedstatedir = @sharedstatedir@
266sysconfdir = @sysconfdir@
267target_alias = @target_alias@
268
269SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
270
271INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_des) $(INCLUDE_openldap)
272
273@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
274
275AM_CFLAGS = $(WFLAGS)
276
277CP = cp
278
279buildinclude = $(top_builddir)/include
280LIB_getattr = @LIB_getattr@
281LIB_getpwent_r = @LIB_getpwent_r@
282LIB_odm_initialize = @LIB_odm_initialize@
283LIB_setpcred = @LIB_setpcred@
284
285HESIODLIB = @HESIODLIB@
286HESIODINCLUDE = @HESIODINCLUDE@
287
288NROFF_MAN = groff -mandoc -Tascii
289
290LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
291
292@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
293@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
294
295@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
296
297@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
298
299BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
300	asn1_Salt.c hdb_err.c hdb_err.h asn1_GENERATION.c
301
302
303foo = asn1_Key.x asn1_GENERATION.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
304
305CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
306
307noinst_PROGRAMS = convert_db
308LDADD = libhdb.la \
309	$(LIB_openldap) \
310	../krb5/libkrb5.la \
311	../asn1/libasn1.la \
312	$(LIB_des) \
313	$(LIB_roken)
314
315
316lib_LTLIBRARIES = libhdb.la
317libhdb_la_LDFLAGS = -version-info 7:7:0
318
319libhdb_la_SOURCES = \
320	common.c				\
321	db.c					\
322	db3.c					\
323	hdb-ldap.c				\
324	hdb.c					\
325	keytab.c				\
326	mkey.c					\
327	ndbm.c					\
328	print.c					\
329	$(BUILT_SOURCES)
330
331
332include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
333
334libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
335subdir = lib/hdb
336ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
337mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
338CONFIG_HEADER = $(top_builddir)/include/config.h
339CONFIG_CLEAN_FILES =
340LTLIBRARIES = $(lib_LTLIBRARIES)
341
342libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
343	../roken/libroken.la
344am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
345	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
346am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
347	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1)
348libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
349noinst_PROGRAMS = convert_db$(EXEEXT)
350PROGRAMS = $(noinst_PROGRAMS)
351
352convert_db_SOURCES = convert_db.c
353convert_db_OBJECTS = convert_db.$(OBJEXT)
354convert_db_LDADD = $(LDADD)
355convert_db_DEPENDENCIES = libhdb.la ../krb5/libkrb5.la \
356	../asn1/libasn1.la
357convert_db_LDFLAGS =
358
359DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
360depcomp =
361am__depfiles_maybe =
362COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
363	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
364LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
365	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
366CCLD = $(CC)
367LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
368	$(AM_LDFLAGS) $(LDFLAGS) -o $@
369DIST_SOURCES = $(libhdb_la_SOURCES) convert_db.c
370HEADERS = $(include_HEADERS)
371
372DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
373	$(top_srcdir)/Makefile.am.common \
374	$(top_srcdir)/cf/Makefile.am.common Makefile.am
375SOURCES = $(libhdb_la_SOURCES) convert_db.c
376
377all: $(BUILT_SOURCES)
378	$(MAKE) $(AM_MAKEFLAGS) all-am
379
380.SUFFIXES:
381.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
382$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
383	cd $(top_srcdir) && \
384	  $(AUTOMAKE) --foreign  lib/hdb/Makefile
385Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
386	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
387libLTLIBRARIES_INSTALL = $(INSTALL)
388install-libLTLIBRARIES: $(lib_LTLIBRARIES)
389	@$(NORMAL_INSTALL)
390	$(mkinstalldirs) $(DESTDIR)$(libdir)
391	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
392	  if test -f $$p; then \
393	    f="`echo $$p | sed -e 's|^.*/||'`"; \
394	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
395	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
396	  else :; fi; \
397	done
398
399uninstall-libLTLIBRARIES:
400	@$(NORMAL_UNINSTALL)
401	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
402	    p="`echo $$p | sed -e 's|^.*/||'`"; \
403	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
404	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
405	done
406
407clean-libLTLIBRARIES:
408	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
409	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
410	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
411	  test "$$dir" = "$$p" && dir=.; \
412	  echo "rm -f \"$${dir}/so_locations\""; \
413	  rm -f "$${dir}/so_locations"; \
414	done
415libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES)
416	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
417
418clean-noinstPROGRAMS:
419	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
420	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
421	  echo " rm -f $$p $$f"; \
422	  rm -f $$p $$f ; \
423	done
424convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES)
425	@rm -f convert_db$(EXEEXT)
426	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
427
428mostlyclean-compile:
429	-rm -f *.$(OBJEXT) core *.core
430
431distclean-compile:
432	-rm -f *.tab.c
433
434.c.o:
435	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
436
437.c.obj:
438	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
439
440.c.lo:
441	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
442
443mostlyclean-libtool:
444	-rm -f *.lo
445
446clean-libtool:
447	-rm -rf .libs _libs
448
449distclean-libtool:
450	-rm -f libtool
451uninstall-info-am:
452includeHEADERS_INSTALL = $(INSTALL_HEADER)
453install-includeHEADERS: $(include_HEADERS)
454	@$(NORMAL_INSTALL)
455	$(mkinstalldirs) $(DESTDIR)$(includedir)
456	@list='$(include_HEADERS)'; for p in $$list; do \
457	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
458	  f="`echo $$p | sed -e 's|^.*/||'`"; \
459	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
460	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
461	done
462
463uninstall-includeHEADERS:
464	@$(NORMAL_UNINSTALL)
465	@list='$(include_HEADERS)'; for p in $$list; do \
466	  f="`echo $$p | sed -e 's|^.*/||'`"; \
467	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
468	  rm -f $(DESTDIR)$(includedir)/$$f; \
469	done
470
471ETAGS = etags
472ETAGSFLAGS =
473
474CTAGS = ctags
475CTAGSFLAGS =
476
477tags: TAGS
478
479ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
480	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
481	unique=`for i in $$list; do \
482	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
483	  done | \
484	  $(AWK) '    { files[$$0] = 1; } \
485	       END { for (i in files) print i; }'`; \
486	mkid -fID $$unique
487
488TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
489		$(TAGS_FILES) $(LISP)
490	tags=; \
491	here=`pwd`; \
492	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
493	unique=`for i in $$list; do \
494	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
495	  done | \
496	  $(AWK) '    { files[$$0] = 1; } \
497	       END { for (i in files) print i; }'`; \
498	test -z "$(ETAGS_ARGS)$$tags$$unique" \
499	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
500	     $$tags $$unique
501
502ctags: CTAGS
503CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
504		$(TAGS_FILES) $(LISP)
505	tags=; \
506	here=`pwd`; \
507	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
508	unique=`for i in $$list; do \
509	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
510	  done | \
511	  $(AWK) '    { files[$$0] = 1; } \
512	       END { for (i in files) print i; }'`; \
513	test -z "$(CTAGS_ARGS)$$tags$$unique" \
514	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
515	     $$tags $$unique
516
517GTAGS:
518	here=`$(am__cd) $(top_builddir) && pwd` \
519	  && cd $(top_srcdir) \
520	  && gtags -i $(GTAGS_ARGS) $$here
521
522distclean-tags:
523	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
524DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
525
526top_distdir = ../..
527distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
528
529distdir: $(DISTFILES)
530	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
531	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
532	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
533	list='$(DISTFILES)'; for file in $$list; do \
534	  case $$file in \
535	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
536	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
537	  esac; \
538	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
539	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
540	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
541	    dir="/$$dir"; \
542	    $(mkinstalldirs) "$(distdir)$$dir"; \
543	  else \
544	    dir=''; \
545	  fi; \
546	  if test -d $$d/$$file; then \
547	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
548	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
549	    fi; \
550	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
551	  else \
552	    test -f $(distdir)/$$file \
553	    || cp -p $$d/$$file $(distdir)/$$file \
554	    || exit 1; \
555	  fi; \
556	done
557	$(MAKE) $(AM_MAKEFLAGS) \
558	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
559	  dist-hook
560check-am: all-am
561	$(MAKE) $(AM_MAKEFLAGS) check-local
562check: $(BUILT_SOURCES)
563	$(MAKE) $(AM_MAKEFLAGS) check-am
564all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
565
566installdirs:
567	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
568install: $(BUILT_SOURCES)
569	$(MAKE) $(AM_MAKEFLAGS) install-am
570install-exec: install-exec-am
571install-data: install-data-am
572uninstall: uninstall-am
573
574install-am: all-am
575	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
576
577installcheck: installcheck-am
578install-strip:
579	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
580	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
581	  `test -z '$(STRIP)' || \
582	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
583mostlyclean-generic:
584
585clean-generic:
586	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
587
588distclean-generic:
589	-rm -f $(CONFIG_CLEAN_FILES)
590
591maintainer-clean-generic:
592	@echo "This command is intended for maintainers to use"
593	@echo "it deletes files that may require special tools to rebuild."
594	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
595clean: clean-am
596
597clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
598	clean-noinstPROGRAMS mostlyclean-am
599
600distclean: distclean-am
601	-rm -f Makefile
602distclean-am: clean-am distclean-compile distclean-generic \
603	distclean-libtool distclean-tags
604
605dvi: dvi-am
606
607dvi-am:
608
609info: info-am
610
611info-am:
612
613install-data-am: install-includeHEADERS
614	@$(NORMAL_INSTALL)
615	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
616
617install-exec-am: install-libLTLIBRARIES
618	@$(NORMAL_INSTALL)
619	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
620
621install-info: install-info-am
622
623install-man:
624
625installcheck-am:
626
627maintainer-clean: maintainer-clean-am
628	-rm -f Makefile
629maintainer-clean-am: distclean-am maintainer-clean-generic
630
631mostlyclean: mostlyclean-am
632
633mostlyclean-am: mostlyclean-compile mostlyclean-generic \
634	mostlyclean-libtool
635
636pdf: pdf-am
637
638pdf-am:
639
640ps: ps-am
641
642ps-am:
643
644uninstall-am: uninstall-includeHEADERS uninstall-info-am \
645	uninstall-libLTLIBRARIES
646
647.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
648	clean clean-generic clean-libLTLIBRARIES clean-libtool \
649	clean-noinstPROGRAMS ctags distclean distclean-compile \
650	distclean-generic distclean-libtool distclean-tags distdir dvi \
651	dvi-am info info-am install install-am install-data \
652	install-data-am install-exec install-exec-am \
653	install-includeHEADERS install-info install-info-am \
654	install-libLTLIBRARIES install-man install-strip installcheck \
655	installcheck-am installdirs maintainer-clean \
656	maintainer-clean-generic mostlyclean mostlyclean-compile \
657	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
658	tags uninstall uninstall-am uninstall-includeHEADERS \
659	uninstall-info-am uninstall-libLTLIBRARIES
660
661
662install-suid-programs:
663	@foo='$(bin_SUIDS)'; \
664	for file in $$foo; do \
665	x=$(DESTDIR)$(bindir)/$$file; \
666	if chown 0:0 $$x && chmod u+s $$x; then :; else \
667	echo "*"; \
668	echo "* Failed to install $$x setuid root"; \
669	echo "*"; \
670	fi; done
671
672install-exec-hook: install-suid-programs
673
674install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
675	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
676	for f in $$foo; do \
677		f=`basename $$f`; \
678		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
679		else file="$$f"; fi; \
680		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
681		: ; else \
682			echo " $(CP) $$file $(buildinclude)/$$f"; \
683			$(CP) $$file $(buildinclude)/$$f; \
684		fi ; \
685	done
686
687all-local: install-build-headers
688
689check-local::
690	@if test '$(CHECK_LOCAL)'; then \
691	  foo='$(CHECK_LOCAL)'; else \
692	  foo='$(PROGRAMS)'; fi; \
693	  if test "$$foo"; then \
694	  failed=0; all=0; \
695	  for i in $$foo; do \
696	    all=`expr $$all + 1`; \
697	    if ./$$i --version > /dev/null 2>&1; then \
698	      echo "PASS: $$i"; \
699	    else \
700	      echo "FAIL: $$i"; \
701	      failed=`expr $$failed + 1`; \
702	    fi; \
703	  done; \
704	  if test "$$failed" -eq 0; then \
705	    banner="All $$all tests passed"; \
706	  else \
707	    banner="$$failed of $$all tests failed"; \
708	  fi; \
709	  dashes=`echo "$$banner" | sed s/./=/g`; \
710	  echo "$$dashes"; \
711	  echo "$$banner"; \
712	  echo "$$dashes"; \
713	  test "$$failed" -eq 0; \
714	fi
715
716.x.c:
717	@cmp -s $< $@ 2> /dev/null || cp $< $@
718#NROFF_MAN = nroff -man
719.1.cat1:
720	$(NROFF_MAN) $< > $@
721.3.cat3:
722	$(NROFF_MAN) $< > $@
723.5.cat5:
724	$(NROFF_MAN) $< > $@
725.8.cat8:
726	$(NROFF_MAN) $< > $@
727
728dist-cat1-mans:
729	@foo='$(man1_MANS)'; \
730	bar='$(man_MANS)'; \
731	for i in $$bar; do \
732	case $$i in \
733	*.1) foo="$$foo $$i";; \
734	esac; done ;\
735	for i in $$foo; do \
736		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
737		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
738		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
739	done
740
741dist-cat3-mans:
742	@foo='$(man3_MANS)'; \
743	bar='$(man_MANS)'; \
744	for i in $$bar; do \
745	case $$i in \
746	*.3) foo="$$foo $$i";; \
747	esac; done ;\
748	for i in $$foo; do \
749		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
750		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
751		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
752	done
753
754dist-cat5-mans:
755	@foo='$(man5_MANS)'; \
756	bar='$(man_MANS)'; \
757	for i in $$bar; do \
758	case $$i in \
759	*.5) foo="$$foo $$i";; \
760	esac; done ;\
761	for i in $$foo; do \
762		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
763		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
764		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
765	done
766
767dist-cat8-mans:
768	@foo='$(man8_MANS)'; \
769	bar='$(man_MANS)'; \
770	for i in $$bar; do \
771	case $$i in \
772	*.8) foo="$$foo $$i";; \
773	esac; done ;\
774	for i in $$foo; do \
775		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
776		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
777		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
778	done
779
780dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
781
782install-cat-mans:
783	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
784
785install-data-hook: install-cat-mans
786
787.et.h:
788	$(COMPILE_ET) $<
789.et.c:
790	$(COMPILE_ET) $<
791
792$(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
793
794$(srcdir)/hdb-protos.h:
795	cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(libhdb_la_SOURCES) || rm -f hdb-protos.h
796
797$(srcdir)/hdb-private.h:
798	cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(libhdb_la_SOURCES) || rm -f hdb-private.h
799
800$(foo) hdb_asn1.h: asn1_files
801
802asn1_files: ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1
803	../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1 hdb_asn1
804
805$(libhdb_la_OBJECTS): hdb_asn1.h hdb_err.h
806
807$(convert_db_OBJECTS): hdb_asn1.h hdb_err.h
808
809# to help stupid solaris make
810
811hdb_err.h: hdb_err.et
812# Tell versions [3.59,3.63) of GNU make to not export all variables.
813# Otherwise a system limit (for SysV at least) may be exceeded.
814.NOEXPORT:
815