xref: /freebsd/crypto/heimdal/lib/hdb/Makefile.in (revision 5521ff5a4d1929056e7ffc982fac3341ca54df7c)
1# Makefile.in generated automatically by automake 1.4b from Makefile.am
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35pkgdatadir = $(datadir)/@PACKAGE@
36pkglibdir = $(libdir)/@PACKAGE@
37pkgincludedir = $(includedir)/@PACKAGE@
38
39top_builddir = ../..
40
41ACLOCAL = @ACLOCAL@
42AUTOCONF = @AUTOCONF@
43AUTOMAKE = @AUTOMAKE@
44AUTOHEADER = @AUTOHEADER@
45
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
49INSTALL_SCRIPT = @INSTALL_SCRIPT@
50INSTALL_STRIP_FLAG =
51transform = @program_transform_name@
52
53NORMAL_INSTALL = :
54PRE_INSTALL = :
55POST_INSTALL = :
56NORMAL_UNINSTALL = :
57PRE_UNINSTALL = :
58POST_UNINSTALL = :
59
60@SET_MAKE@
61host_alias = @host_alias@
62host_triplet = @host@
63AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
64AMDEP = @AMDEP@
65AMTAR = @AMTAR@
66AS = @AS@
67AWK = @AWK@
68CANONICAL_HOST = @CANONICAL_HOST@
69CATMAN = @CATMAN@
70CATMANEXT = @CATMANEXT@
71CC = @CC@
72CPP = @CPP@
73CXX = @CXX@
74CXXCPP = @CXXCPP@
75DBLIB = @DBLIB@
76DEPDIR = @DEPDIR@
77DIR_des = @DIR_des@
78DIR_roken = @DIR_roken@
79DLLTOOL = @DLLTOOL@
80EXEEXT = @EXEEXT@
81EXTRA_LIB45 = @EXTRA_LIB45@
82GROFF = @GROFF@
83INCLUDES_roken = @INCLUDES_roken@
84INCLUDE_ = @INCLUDE_@
85LEX = @LEX@
86LIBOBJS = @LIBOBJS@
87LIBTOOL = @LIBTOOL@
88LIB_ = @LIB_@
89LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
90LIB_des = @LIB_des@
91LIB_des_appl = @LIB_des_appl@
92LIB_kdb = @LIB_kdb@
93LIB_otp = @LIB_otp@
94LIB_roken = @LIB_roken@
95LIB_security = @LIB_security@
96LN_S = @LN_S@
97LTLIBOBJS = @LTLIBOBJS@
98MAKEINFO = @MAKEINFO@
99NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
100NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
101NROFF = @NROFF@
102OBJDUMP = @OBJDUMP@
103OBJEXT = @OBJEXT@
104PACKAGE = @PACKAGE@
105RANLIB = @RANLIB@
106STRIP = @STRIP@
107VERSION = @VERSION@
108VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
109WFLAGS = @WFLAGS@
110WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
111WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
112YACC = @YACC@
113dpagaix_CFLAGS = @dpagaix_CFLAGS@
114dpagaix_LDADD = @dpagaix_LDADD@
115install_sh = @install_sh@
116
117# $Id: Makefile.am,v 1.44 2001/05/16 23:50:57 assar Exp $
118
119
120# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
121
122
123# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
124
125
126AUTOMAKE_OPTIONS = foreign no-dependencies
127
128SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
129
130INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_openldap)
131
132AM_CFLAGS =  $(WFLAGS)
133
134CP = cp
135
136COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
137
138buildinclude = $(top_builddir)/include
139
140LIB_XauReadAuth = @LIB_XauReadAuth@
141LIB_crypt = @LIB_crypt@
142LIB_dbm_firstkey = @LIB_dbm_firstkey@
143LIB_dbopen = @LIB_dbopen@
144LIB_dlopen = @LIB_dlopen@
145LIB_dn_expand = @LIB_dn_expand@
146LIB_el_init = @LIB_el_init@
147LIB_getattr = @LIB_getattr@
148LIB_gethostbyname = @LIB_gethostbyname@
149LIB_getpwent_r = @LIB_getpwent_r@
150LIB_getpwnam_r = @LIB_getpwnam_r@
151LIB_getsockopt = @LIB_getsockopt@
152LIB_logout = @LIB_logout@
153LIB_logwtmp = @LIB_logwtmp@
154LIB_odm_initialize = @LIB_odm_initialize@
155LIB_pidfile = @LIB_pidfile@
156LIB_readline = @LIB_readline@
157LIB_res_search = @LIB_res_search@
158LIB_setpcred = @LIB_setpcred@
159LIB_setsockopt = @LIB_setsockopt@
160LIB_socket = @LIB_socket@
161LIB_syslog = @LIB_syslog@
162LIB_tgetent = @LIB_tgetent@
163
164LIBS = @LIBS@
165
166HESIODLIB = @HESIODLIB@
167HESIODINCLUDE = @HESIODINCLUDE@
168INCLUDE_hesiod = @INCLUDE_hesiod@
169LIB_hesiod = @LIB_hesiod@
170
171INCLUDE_krb4 = @INCLUDE_krb4@
172LIB_krb4 = @LIB_krb4@
173
174INCLUDE_openldap = @INCLUDE_openldap@
175LIB_openldap = @LIB_openldap@
176
177INCLUDE_readline = @INCLUDE_readline@
178
179LEXLIB = @LEXLIB@
180
181NROFF_MAN = groff -mandoc -Tascii
182
183@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
184
185@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
186@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
187@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
188
189@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
190
191CHECK_LOCAL = $(PROGRAMS)
192
193BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
194	asn1_Salt.c hdb_err.c hdb_err.h
195
196
197foo = asn1_Key.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
198
199CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
200
201noinst_PROGRAMS = convert_db
202LDADD = libhdb.la \
203	$(LIB_openldap) \
204	../krb5/libkrb5.la \
205	../asn1/libasn1.la \
206	$(LIB_des) \
207	$(LIB_roken) \
208	$(DBLIB)
209
210
211lib_LTLIBRARIES = libhdb.la
212libhdb_la_LDFLAGS = -version-info 7:1:0
213
214libhdb_la_SOURCES = \
215	common.c				\
216	db.c					\
217	db3.c					\
218	hdb-ldap.c				\
219	hdb.c					\
220	keytab.c				\
221	mkey.c					\
222	ndbm.c					\
223	print.c					\
224	$(BUILT_SOURCES)
225
226
227include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
228
229libhdb_la_LIBADD = $(LIB_openldap)
230subdir = lib/hdb
231mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
232CONFIG_HEADER = ../../include/config.h
233CONFIG_CLEAN_FILES =
234LTLIBRARIES =  $(lib_LTLIBRARIES)
235
236
237DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
238CPPFLAGS = @CPPFLAGS@
239LDFLAGS = @LDFLAGS@
240X_CFLAGS = @X_CFLAGS@
241X_LIBS = @X_LIBS@
242X_EXTRA_LIBS = @X_EXTRA_LIBS@
243X_PRE_LIBS = @X_PRE_LIBS@
244libhdb_la_DEPENDENCIES =
245am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
246keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
247asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo
248libhdb_la_OBJECTS =  $(am_libhdb_la_OBJECTS)
249noinst_PROGRAMS =  convert_db$(EXEEXT)
250PROGRAMS =  $(noinst_PROGRAMS)
251
252convert_db_SOURCES = convert_db.c
253convert_db_OBJECTS =  convert_db.$(OBJEXT)
254convert_db_LDADD = $(LDADD)
255convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
256../asn1/libasn1.la
257convert_db_LDFLAGS =
258COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
259LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
260CFLAGS = @CFLAGS@
261CCLD = $(CC)
262LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
263DIST_SOURCES =  $(libhdb_la_SOURCES) convert_db.c
264HEADERS =  $(include_HEADERS)
265
266depcomp =
267DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in
268
269
270DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
271
272GZIP_ENV = --best
273SOURCES = $(libhdb_la_SOURCES) convert_db.c
274OBJECTS = $(am_libhdb_la_OBJECTS) convert_db.$(OBJEXT)
275
276all: all-redirect
277.SUFFIXES:
278.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
279$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
280	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/hdb/Makefile
281
282Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
283	cd $(top_builddir) \
284	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
285
286
287mostlyclean-libLTLIBRARIES:
288
289clean-libLTLIBRARIES:
290	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
291
292distclean-libLTLIBRARIES:
293
294maintainer-clean-libLTLIBRARIES:
295
296install-libLTLIBRARIES: $(lib_LTLIBRARIES)
297	@$(NORMAL_INSTALL)
298	$(mkinstalldirs) $(DESTDIR)$(libdir)
299	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
300	  if test -f $$p; then \
301	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
302	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
303	  else :; fi; \
304	done
305
306uninstall-libLTLIBRARIES:
307	@$(NORMAL_UNINSTALL)
308	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
309	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
310	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
311	done
312
313mostlyclean-compile:
314	-rm -f *.o core *.core
315	-rm -f *.$(OBJEXT)
316
317clean-compile:
318
319distclean-compile:
320	-rm -f *.tab.c
321
322maintainer-clean-compile:
323
324mostlyclean-libtool:
325	-rm -f *.lo
326
327clean-libtool:
328	-rm -rf .libs _libs
329
330distclean-libtool:
331
332maintainer-clean-libtool:
333
334libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES)
335	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
336
337mostlyclean-noinstPROGRAMS:
338
339clean-noinstPROGRAMS:
340	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
341
342distclean-noinstPROGRAMS:
343
344maintainer-clean-noinstPROGRAMS:
345
346convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES)
347	@rm -f convert_db$(EXEEXT)
348	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
349.c.o:
350	$(COMPILE) -c $<
351.c.obj:
352	$(COMPILE) -c `cygpath -w $<`
353.c.lo:
354	$(LTCOMPILE) -c -o $@ $<
355
356install-includeHEADERS: $(include_HEADERS)
357	@$(NORMAL_INSTALL)
358	$(mkinstalldirs) $(DESTDIR)$(includedir)
359	@list='$(include_HEADERS)'; for p in $$list; do \
360	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
361	  f="`echo $$p | sed -e 's|^.*/||'`"; \
362	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
363	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
364	done
365
366uninstall-includeHEADERS:
367	@$(NORMAL_UNINSTALL)
368	@list='$(include_HEADERS)'; for p in $$list; do \
369	  f="`echo $$p | sed -e 's|^.*/||'`"; \
370	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
371	  rm -f $(DESTDIR)$(includedir)/$$f; \
372	done
373
374tags: TAGS
375
376ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
377	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
378	unique=`for i in $$list; do \
379	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
380	  done | \
381	  $(AWK) '    { files[$$0] = 1; } \
382	       END { for (i in files) print i; }'`; \
383	mkid -fID $$unique $(LISP)
384
385TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
386		$(TAGS_FILES) $(LISP)
387	tags=; \
388	here=`pwd`; \
389	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
390	unique=`for i in $$list; do \
391	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
392	  done | \
393	  $(AWK) '    { files[$$0] = 1; } \
394	       END { for (i in files) print i; }'`; \
395	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
396	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
397
398GTAGS:
399	here=`CDPATH=: && cd $(top_builddir) && pwd` \
400	  && cd $(top_srcdir) \
401	  && gtags -i $$here
402
403mostlyclean-tags:
404
405clean-tags:
406
407distclean-tags:
408	-rm -f TAGS ID
409
410maintainer-clean-tags:
411
412distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
413
414distdir: $(DISTFILES)
415	@for file in $(DISTFILES); do \
416	  d=$(srcdir); \
417	  if test -d $$d/$$file; then \
418	    cp -pR $$d/$$file $(distdir) \
419	    || exit 1; \
420	  else \
421	    test -f $(distdir)/$$file \
422	    || cp -p $$d/$$file $(distdir)/$$file \
423	    || exit 1; \
424	  fi; \
425	done
426	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
427info-am:
428info: info-am
429dvi-am:
430dvi: dvi-am
431check-am: all-am
432	$(MAKE) $(AM_MAKEFLAGS) check-local
433check: check-am
434installcheck-am:
435installcheck: installcheck-am
436all-recursive-am: $(BUILT_SOURCES)
437	$(MAKE) $(AM_MAKEFLAGS) all-recursive
438
439install-exec-am: install-libLTLIBRARIES
440	@$(NORMAL_INSTALL)
441	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
442install-exec: install-exec-am
443
444install-data-am: install-includeHEADERS install-data-local
445install-data: install-data-am
446
447install-am: all-am
448	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
449install: install-am
450uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
451uninstall: uninstall-am
452all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
453all-redirect: all-am
454install-strip:
455	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
456installdirs:
457	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
458
459
460mostlyclean-generic:
461
462clean-generic:
463	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
464
465distclean-generic:
466	-rm -f Makefile $(CONFIG_CLEAN_FILES)
467	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
468
469maintainer-clean-generic:
470	-rm -f Makefile.in
471	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
472mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
473		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
474		mostlyclean-tags mostlyclean-generic
475
476mostlyclean: mostlyclean-am
477
478clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
479		clean-noinstPROGRAMS clean-tags clean-generic \
480		mostlyclean-am
481
482clean: clean-am
483
484distclean-am:  distclean-libLTLIBRARIES distclean-compile \
485		distclean-libtool distclean-noinstPROGRAMS \
486		distclean-tags distclean-generic clean-am
487	-rm -f libtool
488
489distclean: distclean-am
490
491maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
492		maintainer-clean-compile maintainer-clean-libtool \
493		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
494		maintainer-clean-generic distclean-am
495	@echo "This command is intended for maintainers to use;"
496	@echo "it deletes files that may require special tools to rebuild."
497
498maintainer-clean: maintainer-clean-am
499
500.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
501clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
502uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
503distclean-compile clean-compile maintainer-clean-compile \
504mostlyclean-libtool distclean-libtool clean-libtool \
505maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
506distclean-noinstPROGRAMS clean-noinstPROGRAMS \
507maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
508install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
509maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
510check-am installcheck-am installcheck all-recursive-am install-exec-am \
511install-exec install-data-local install-data-am install-data install-am \
512install uninstall-am uninstall all-local all-redirect all-am all \
513install-strip installdirs mostlyclean-generic distclean-generic \
514clean-generic maintainer-clean-generic clean mostlyclean distclean \
515maintainer-clean
516
517
518install-suid-programs:
519	@foo='$(bin_SUIDS)'; \
520	for file in $$foo; do \
521	x=$(DESTDIR)$(bindir)/$$file; \
522	if chown 0:0 $$x && chmod u+s $$x; then :; else \
523	echo "*"; \
524	echo "* Failed to install $$x setuid root"; \
525	echo "*"; \
526	fi; done
527
528install-exec-hook: install-suid-programs
529
530install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
531	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
532	for f in $$foo; do \
533		f=`basename $$f`; \
534		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
535		else file="$$f"; fi; \
536		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
537		: ; else \
538			echo " $(CP) $$file $(buildinclude)/$$f"; \
539			$(CP) $$file $(buildinclude)/$$f; \
540		fi ; \
541	done
542
543all-local: install-build-headers
544#NROFF_MAN = nroff -man
545.1.cat1:
546	$(NROFF_MAN) $< > $@
547.3.cat3:
548	$(NROFF_MAN) $< > $@
549.5.cat5:
550	$(NROFF_MAN) $< > $@
551.8.cat8:
552	$(NROFF_MAN) $< > $@
553
554dist-cat1-mans:
555	@foo='$(man1_MANS)'; \
556	bar='$(man_MANS)'; \
557	for i in $$bar; do \
558	case $$i in \
559	*.1) foo="$$foo $$i";; \
560	esac; done ;\
561	for i in $$foo; do \
562		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
563		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
564		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
565	done
566
567dist-cat3-mans:
568	@foo='$(man3_MANS)'; \
569	bar='$(man_MANS)'; \
570	for i in $$bar; do \
571	case $$i in \
572	*.3) foo="$$foo $$i";; \
573	esac; done ;\
574	for i in $$foo; do \
575		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
576		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
577		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
578	done
579
580dist-cat5-mans:
581	@foo='$(man5_MANS)'; \
582	bar='$(man_MANS)'; \
583	for i in $$bar; do \
584	case $$i in \
585	*.5) foo="$$foo $$i";; \
586	esac; done ;\
587	for i in $$foo; do \
588		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
589		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
590		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
591	done
592
593dist-cat8-mans:
594	@foo='$(man8_MANS)'; \
595	bar='$(man_MANS)'; \
596	for i in $$bar; do \
597	case $$i in \
598	*.8) foo="$$foo $$i";; \
599	esac; done ;\
600	for i in $$foo; do \
601		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
602		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
603		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
604	done
605
606dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
607
608install-cat-mans:
609	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
610
611install-data-local: install-cat-mans
612
613.et.h:
614	$(COMPILE_ET) $<
615.et.c:
616	$(COMPILE_ET) $<
617
618.x.c:
619	@cmp -s $< $@ 2> /dev/null || cp $< $@
620
621check-local::
622	@foo='$(CHECK_LOCAL)'; \
623	  if test "$$foo"; then \
624	  failed=0; all=0; \
625	  for i in $$foo; do \
626	    all=`expr $$all + 1`; \
627	    if ./$$i --version > /dev/null 2>&1; then \
628	      echo "PASS: $$i"; \
629	    else \
630	      echo "FAIL: $$i"; \
631	      failed=`expr $$failed + 1`; \
632	    fi; \
633	  done; \
634	  if test "$$failed" -eq 0; then \
635	    banner="All $$all tests passed"; \
636	  else \
637	    banner="$$failed of $$all tests failed"; \
638	  fi; \
639	  dashes=`echo "$$banner" | sed s/./=/g`; \
640	  echo "$$dashes"; \
641	  echo "$$banner"; \
642	  echo "$$dashes"; \
643	  test "$$failed" -eq 0; \
644	fi
645
646$(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
647
648$(srcdir)/hdb-protos.h:
649	cd $(srcdir); perl ../../cf/make-proto.pl -o hdb-protos.h $(libhdb_la_SOURCES) || rm -f hdb-protos.h
650
651$(srcdir)/hdb-private.h:
652	cd $(srcdir); perl ../../cf/make-proto.pl -p hdb-private.h $(libhdb_la_SOURCES) || rm -f hdb-private.h
653
654$(foo) hdb_asn1.h: asn1_files
655
656asn1_files: ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1
657	../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1 hdb_asn1
658
659$(libhdb_la_OBJECTS): hdb_asn1.h hdb_err.h
660
661$(convert_db_OBJECTS): hdb_asn1.h hdb_err.h
662
663# to help stupid solaris make
664
665hdb_err.h: hdb_err.et
666
667# Tell versions [3.59,3.63) of GNU make to not export all variables.
668# Otherwise a system limit (for SysV at least) may be exceeded.
669.NOEXPORT:
670