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