xref: /freebsd/crypto/heimdal/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.16 2000/11/15 22:54:15 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)
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
193SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl doc tools
194
195ACLOCAL_AMFLAGS = -I cf
196
197EXTRA_DIST = Makefile.am.common krb5.conf
198subdir = .
199ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
200mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
201CONFIG_HEADER = ./include/config.h
202CONFIG_CLEAN_FILES =
203CFLAGS = @CFLAGS@
204COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
205LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
208DIST_SOURCES =
209depcomp =
210DIST_COMMON =  README ChangeLog Makefile.am Makefile.in NEWS TODO \
211acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub configure \
212configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
213
214
215DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
216
217GZIP_ENV = --best
218DIST_SUBDIRS =  $(SUBDIRS)
219all: all-redirect
220.SUFFIXES:
221.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
222$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
223	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
224
225Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
226	cd $(top_builddir) \
227	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
228
229$(ACLOCAL_M4):  configure.in  acinclude.m4 cf/aix.m4 cf/auth-modules.m4 \
230		cf/broken-getnameinfo.m4 cf/broken-glob.m4 \
231		cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 \
232		cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 \
233		cf/capabilities.m4 cf/check-declaration.m4 \
234		cf/check-getpwnam_r-posix.m4 cf/check-man.m4 \
235		cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 \
236		cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/db.m4 \
237		cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 \
238		cf/find-func.m4 cf/find-if-not-broken.m4 \
239		cf/grok-type.m4 cf/have-pragma-weak.m4 \
240		cf/have-struct-field.m4 cf/have-type.m4 \
241		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 \
242		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
243		cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
244		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
245		cf/krb-readline.m4 cf/krb-struct-spwd.m4 \
246		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
247		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
248		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
249		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
250		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
251		cf/wflags.m4
252	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
253
254config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
255	$(SHELL) ./config.status --recheck
256$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
257	cd $(srcdir) && $(AUTOCONF)
258
259# This directory's subdirectories are mostly independent; you can cd
260# into them and run `make' without going through this Makefile.
261# To change the values of `make' variables: instead of editing Makefiles,
262# (1) if the variable is set in `config.status', edit `config.status'
263#     (which will cause the Makefiles to be regenerated when you run `make');
264# (2) otherwise, pass the desired values on the `make' command line.
265
266all-recursive install-data-recursive install-exec-recursive \
267installdirs-recursive install-recursive uninstall-recursive  \
268check-recursive installcheck-recursive info-recursive dvi-recursive:
269	@set fnord $(MAKEFLAGS); amf=$$2; \
270	dot_seen=no; \
271	target=`echo $@ | sed s/-recursive//`; \
272	list='$(SUBDIRS)'; for subdir in $$list; do \
273	  echo "Making $$target in $$subdir"; \
274	  if test "$$subdir" = "."; then \
275	    dot_seen=yes; \
276	    local_target="$$target-am"; \
277	  else \
278	    local_target="$$target"; \
279	  fi; \
280	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
281	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
282	done; \
283	if test "$$dot_seen" = "no"; then \
284	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
285	fi; test -z "$$fail"
286
287mostlyclean-recursive clean-recursive distclean-recursive \
288maintainer-clean-recursive:
289	@set fnord $(MAKEFLAGS); amf=$$2; \
290	dot_seen=no; \
291	case "$@" in \
292	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
293	  *) list='$(SUBDIRS)' ;; \
294	esac; \
295	rev=''; for subdir in $$list; do \
296	  if test "$$subdir" = "."; then :; else \
297	    rev="$$subdir $$rev"; \
298	  fi; \
299	done; \
300	rev="$$rev ."; \
301	target=`echo $@ | sed s/-recursive//`; \
302	for subdir in $$rev; do \
303	  echo "Making $$target in $$subdir"; \
304	  if test "$$subdir" = "."; then \
305	    local_target="$$target-am"; \
306	  else \
307	    local_target="$$target"; \
308	  fi; \
309	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
310	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
311	done && test -z "$$fail"
312tags-recursive:
313	list='$(SUBDIRS)'; for subdir in $$list; do \
314	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
315	done
316
317tags: TAGS
318
319ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
320	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
321	unique=`for i in $$list; do \
322	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
323	  done | \
324	  $(AWK) '    { files[$$0] = 1; } \
325	       END { for (i in files) print i; }'`; \
326	mkid -fID $$unique $(LISP)
327
328TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
329		$(TAGS_FILES) $(LISP)
330	tags=; \
331	here=`pwd`; \
332	list='$(SUBDIRS)'; for subdir in $$list; do \
333   if test "$$subdir" = .; then :; else \
334	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
335   fi; \
336	done; \
337	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
338	unique=`for i in $$list; do \
339	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
340	  done | \
341	  $(AWK) '    { files[$$0] = 1; } \
342	       END { for (i in files) print i; }'`; \
343	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
344	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
345
346GTAGS:
347	here=`CDPATH=: && cd $(top_builddir) && pwd` \
348	  && cd $(top_srcdir) \
349	  && gtags -i $$here
350
351mostlyclean-tags:
352
353clean-tags:
354
355distclean-tags:
356	-rm -f TAGS ID
357
358maintainer-clean-tags:
359
360distdir = $(PACKAGE)-$(VERSION)
361top_distdir = $(distdir)
362
363
364# This target untars the dist file and tries a VPATH configuration.  Then
365# it guarantees that the distribution is self-contained by making another
366# tarfile.
367distcheck: dist
368	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
369	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
370	chmod -R a-w $(distdir); chmod a+w $(distdir)
371	mkdir $(distdir)/=build
372	mkdir $(distdir)/=inst
373	chmod a-w $(distdir)
374	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
375	  && cd $(distdir)/=build \
376	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
377	  && $(MAKE) $(AM_MAKEFLAGS) \
378	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
379	  && $(MAKE) $(AM_MAKEFLAGS) check \
380	  && $(MAKE) $(AM_MAKEFLAGS) install \
381	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
382	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
383	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
384	  && $(MAKE) $(AM_MAKEFLAGS) dist \
385	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
386	  && rm -f $(distdir).tar.gz \
387	  && test `find . -type f -print | wc -l` -eq 0
388	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
389	@banner="$(distdir).tar.gz is ready for distribution"; \
390	dashes=`echo "$$banner" | sed s/./=/g`; \
391	echo "$$dashes"; \
392	echo "$$banner"; \
393	echo "$$dashes"
394dist: distdir
395	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
396	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
397	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
398	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
399	|| chmod -R a+r $(distdir)
400	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
401	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
402dist-all: distdir
403	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
404	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
405	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
406	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
407	|| chmod -R a+r $(distdir)
408	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
409	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
410distdir: $(DISTFILES)
411	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
412	mkdir $(distdir)
413	@for file in $(DISTFILES); do \
414	  d=$(srcdir); \
415	  if test -d $$d/$$file; then \
416	    cp -pR $$d/$$file $(distdir) \
417	    || exit 1; \
418	  else \
419	    test -f $(distdir)/$$file \
420	    || cp -p $$d/$$file $(distdir)/$$file \
421	    || exit 1; \
422	  fi; \
423	done
424	for subdir in $(SUBDIRS); do \
425	  if test "$$subdir" = .; then :; else \
426	    test -d $(distdir)/$$subdir \
427	    || mkdir $(distdir)/$$subdir \
428	    || exit 1; \
429	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
430	      || exit 1; \
431	  fi; \
432	done
433	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
434info-am:
435info: info-recursive
436dvi-am:
437dvi: dvi-recursive
438check-am: all-am
439	$(MAKE) $(AM_MAKEFLAGS) check-local
440check: check-recursive
441installcheck-am:
442installcheck: installcheck-recursive
443install-exec-am:
444	@$(NORMAL_INSTALL)
445	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
446install-exec: install-exec-recursive
447
448install-data-am: install-data-local
449install-data: install-data-recursive
450
451install-am: all-am
452	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
453install: install-recursive
454uninstall-am:
455uninstall: uninstall-recursive
456all-am: Makefile all-local
457all-redirect: all-recursive
458install-strip:
459	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
460installdirs: installdirs-recursive
461installdirs-am:
462
463
464mostlyclean-generic:
465
466clean-generic:
467
468distclean-generic:
469	-rm -f Makefile $(CONFIG_CLEAN_FILES)
470	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
471
472maintainer-clean-generic:
473	-rm -f Makefile.in
474mostlyclean-am:  mostlyclean-tags mostlyclean-generic
475
476mostlyclean: mostlyclean-recursive
477
478clean-am:  clean-tags clean-generic mostlyclean-am
479
480clean: clean-recursive
481
482distclean-am:  distclean-tags distclean-generic clean-am
483	-rm -f libtool
484
485distclean: distclean-recursive
486	-rm -f config.status
487
488maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
489		distclean-am
490	@echo "This command is intended for maintainers to use;"
491	@echo "it deletes files that may require special tools to rebuild."
492
493maintainer-clean: maintainer-clean-recursive
494	-rm -f config.status
495
496.PHONY: install-recursive uninstall-recursive install-data-recursive \
497uninstall-data-recursive install-exec-recursive \
498uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
499all-recursive check-recursive installcheck-recursive info-recursive \
500dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
501maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
502distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
503dvi-am dvi check-local check check-am installcheck-am installcheck \
504install-exec-am install-exec install-data-local install-data-am \
505install-data install-am install uninstall-am uninstall all-local \
506all-redirect all-am all install-strip installdirs-am installdirs \
507mostlyclean-generic distclean-generic clean-generic \
508maintainer-clean-generic clean mostlyclean distclean maintainer-clean
509
510
511install-suid-programs:
512	@foo='$(bin_SUIDS)'; \
513	for file in $$foo; do \
514	x=$(DESTDIR)$(bindir)/$$file; \
515	if chown 0:0 $$x && chmod u+s $$x; then :; else \
516	echo "*"; \
517	echo "* Failed to install $$x setuid root"; \
518	echo "*"; \
519	fi; done
520
521install-exec-hook: install-suid-programs
522
523install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
524	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
525	for f in $$foo; do \
526		f=`basename $$f`; \
527		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
528		else file="$$f"; fi; \
529		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
530		: ; else \
531			echo " $(CP) $$file $(buildinclude)/$$f"; \
532			$(CP) $$file $(buildinclude)/$$f; \
533		fi ; \
534	done
535
536all-local: install-build-headers
537#NROFF_MAN = nroff -man
538.1.cat1:
539	$(NROFF_MAN) $< > $@
540.3.cat3:
541	$(NROFF_MAN) $< > $@
542.5.cat5:
543	$(NROFF_MAN) $< > $@
544.8.cat8:
545	$(NROFF_MAN) $< > $@
546
547dist-cat1-mans:
548	@foo='$(man1_MANS)'; \
549	bar='$(man_MANS)'; \
550	for i in $$bar; do \
551	case $$i in \
552	*.1) foo="$$foo $$i";; \
553	esac; done ;\
554	for i in $$foo; do \
555		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
556		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
557		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
558	done
559
560dist-cat3-mans:
561	@foo='$(man3_MANS)'; \
562	bar='$(man_MANS)'; \
563	for i in $$bar; do \
564	case $$i in \
565	*.3) foo="$$foo $$i";; \
566	esac; done ;\
567	for i in $$foo; do \
568		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
569		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
570		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
571	done
572
573dist-cat5-mans:
574	@foo='$(man5_MANS)'; \
575	bar='$(man_MANS)'; \
576	for i in $$bar; do \
577	case $$i in \
578	*.5) foo="$$foo $$i";; \
579	esac; done ;\
580	for i in $$foo; do \
581		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
582		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
583		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
584	done
585
586dist-cat8-mans:
587	@foo='$(man8_MANS)'; \
588	bar='$(man_MANS)'; \
589	for i in $$bar; do \
590	case $$i in \
591	*.8) foo="$$foo $$i";; \
592	esac; done ;\
593	for i in $$foo; do \
594		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
595		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
596		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
597	done
598
599dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
600
601install-cat-mans:
602	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
603
604install-data-local: install-cat-mans
605
606.et.h:
607	$(COMPILE_ET) $<
608.et.c:
609	$(COMPILE_ET) $<
610
611.x.c:
612	@cmp -s $< $@ 2> /dev/null || cp $< $@
613
614check-local::
615	@foo='$(CHECK_LOCAL)'; \
616	  if test "$$foo"; then \
617	  failed=0; all=0; \
618	  for i in $$foo; do \
619	    all=`expr $$all + 1`; \
620	    if ./$$i --version > /dev/null 2>&1; then \
621	      echo "PASS: $$i"; \
622	    else \
623	      echo "FAIL: $$i"; \
624	      failed=`expr $$failed + 1`; \
625	    fi; \
626	  done; \
627	  if test "$$failed" -eq 0; then \
628	    banner="All $$all tests passed"; \
629	  else \
630	    banner="$$failed of $$all tests failed"; \
631	  fi; \
632	  dashes=`echo "$$banner" | sed s/./=/g`; \
633	  echo "$$dashes"; \
634	  echo "$$banner"; \
635	  echo "$$dashes"; \
636	  test "$$failed" -eq 0; \
637	fi
638
639# Tell versions [3.59,3.63) of GNU make to not export all variables.
640# Otherwise a system limit (for SysV at least) may be exceeded.
641.NOEXPORT:
642