xref: /freebsd/crypto/heimdal/lib/com_err/Makefile.in (revision 362982da86a3a7ce3c55e669032f8c22a2a6b4e0)
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.25 2001/05/17 00:01:26 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
193YFLAGS = -d
194
195lib_LTLIBRARIES = libcom_err.la
196libcom_err_la_LDFLAGS = -version-info 2:0:1
197
198bin_PROGRAMS = compile_et
199
200include_HEADERS = com_err.h com_right.h
201
202compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l
203
204libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
205
206CLEANFILES = lex.c parse.c parse.h
207
208compile_et_LDADD = \
209	$(LIB_roken) \
210	$(LEXLIB)
211
212subdir = lib/com_err
213mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
214CONFIG_HEADER = ../../include/config.h
215CONFIG_CLEAN_FILES =
216LTLIBRARIES =  $(lib_LTLIBRARIES)
217
218
219DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
220CPPFLAGS = @CPPFLAGS@
221LDFLAGS = @LDFLAGS@
222X_CFLAGS = @X_CFLAGS@
223X_LIBS = @X_LIBS@
224X_EXTRA_LIBS = @X_EXTRA_LIBS@
225X_PRE_LIBS = @X_PRE_LIBS@
226libcom_err_la_LIBADD =
227am_libcom_err_la_OBJECTS =  error.lo com_err.lo
228libcom_err_la_OBJECTS =  $(am_libcom_err_la_OBJECTS)
229bin_PROGRAMS =  compile_et$(EXEEXT)
230PROGRAMS =  $(bin_PROGRAMS)
231
232am_compile_et_OBJECTS =  compile_et.$(OBJEXT) parse.$(OBJEXT) \
233lex.$(OBJEXT)
234compile_et_OBJECTS =  $(am_compile_et_OBJECTS)
235compile_et_DEPENDENCIES =
236compile_et_LDFLAGS =
237COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
238LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
239CFLAGS = @CFLAGS@
240LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
241CCLD = $(CC)
242LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
243DIST_SOURCES =  $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
244HEADERS =  $(include_HEADERS)
245
246depcomp =
247DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
248lex.c parse.c parse.h
249
250
251DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
252
253GZIP_ENV = --best
254SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
255OBJECTS = $(am_libcom_err_la_OBJECTS) $(am_compile_et_OBJECTS)
256
257all: all-redirect
258.SUFFIXES:
259.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
260$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
261	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/com_err/Makefile
262
263Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
264	cd $(top_builddir) \
265	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
266
267
268mostlyclean-libLTLIBRARIES:
269
270clean-libLTLIBRARIES:
271	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
272
273distclean-libLTLIBRARIES:
274
275maintainer-clean-libLTLIBRARIES:
276
277install-libLTLIBRARIES: $(lib_LTLIBRARIES)
278	@$(NORMAL_INSTALL)
279	$(mkinstalldirs) $(DESTDIR)$(libdir)
280	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
281	  if test -f $$p; then \
282	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
283	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
284	  else :; fi; \
285	done
286
287uninstall-libLTLIBRARIES:
288	@$(NORMAL_UNINSTALL)
289	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
290	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
291	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
292	done
293
294mostlyclean-compile:
295	-rm -f *.o core *.core
296	-rm -f *.$(OBJEXT)
297
298clean-compile:
299
300distclean-compile:
301	-rm -f *.tab.c
302
303maintainer-clean-compile:
304
305mostlyclean-libtool:
306	-rm -f *.lo
307
308clean-libtool:
309	-rm -rf .libs _libs
310
311distclean-libtool:
312
313maintainer-clean-libtool:
314
315libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES)
316	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
317
318mostlyclean-binPROGRAMS:
319
320clean-binPROGRAMS:
321	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
322
323distclean-binPROGRAMS:
324
325maintainer-clean-binPROGRAMS:
326
327install-binPROGRAMS: $(bin_PROGRAMS)
328	@$(NORMAL_INSTALL)
329	$(mkinstalldirs) $(DESTDIR)$(bindir)
330	@list='$(bin_PROGRAMS)'; for p in $$list; do \
331	  if test -f $$p; then \
332	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
333	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
334	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
335	  else :; fi; \
336	done
337
338uninstall-binPROGRAMS:
339	@$(NORMAL_UNINSTALL)
340	@list='$(bin_PROGRAMS)'; for p in $$list; do \
341	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
342	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
343	  rm -f $(DESTDIR)$(bindir)/$$f; \
344	done
345
346compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES)
347	@rm -f compile_et$(EXEEXT)
348	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
349.c.o:
350	$(COMPILE) -c $<
351.c.obj:
352	$(COMPILE) -c `cygpath -w $<`
353.c.lo:
354	$(LTCOMPILE) -c -o $@ $<
355.l.c:
356	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
357.y.c:
358	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
359	if test -f y.tab.h; then \
360	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
361	else :; fi
362parse.h: parse.c
363
364
365install-includeHEADERS: $(include_HEADERS)
366	@$(NORMAL_INSTALL)
367	$(mkinstalldirs) $(DESTDIR)$(includedir)
368	@list='$(include_HEADERS)'; for p in $$list; do \
369	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
370	  f="`echo $$p | sed -e 's|^.*/||'`"; \
371	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
372	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
373	done
374
375uninstall-includeHEADERS:
376	@$(NORMAL_UNINSTALL)
377	@list='$(include_HEADERS)'; for p in $$list; do \
378	  f="`echo $$p | sed -e 's|^.*/||'`"; \
379	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
380	  rm -f $(DESTDIR)$(includedir)/$$f; \
381	done
382
383tags: TAGS
384
385ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
386	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
387	unique=`for i in $$list; do \
388	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
389	  done | \
390	  $(AWK) '    { files[$$0] = 1; } \
391	       END { for (i in files) print i; }'`; \
392	mkid -fID $$unique $(LISP)
393
394TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
395		$(TAGS_FILES) $(LISP)
396	tags=; \
397	here=`pwd`; \
398	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
399	unique=`for i in $$list; do \
400	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
401	  done | \
402	  $(AWK) '    { files[$$0] = 1; } \
403	       END { for (i in files) print i; }'`; \
404	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
405	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
406
407GTAGS:
408	here=`CDPATH=: && cd $(top_builddir) && pwd` \
409	  && cd $(top_srcdir) \
410	  && gtags -i $$here
411
412mostlyclean-tags:
413
414clean-tags:
415
416distclean-tags:
417	-rm -f TAGS ID
418
419maintainer-clean-tags:
420
421distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
422
423distdir: $(DISTFILES)
424	@for file in $(DISTFILES); do \
425	  d=$(srcdir); \
426	  if test -d $$d/$$file; then \
427	    cp -pR $$d/$$file $(distdir) \
428	    || exit 1; \
429	  else \
430	    test -f $(distdir)/$$file \
431	    || cp -p $$d/$$file $(distdir)/$$file \
432	    || exit 1; \
433	  fi; \
434	done
435	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
436info-am:
437info: info-am
438dvi-am:
439dvi: dvi-am
440check-am: all-am
441	$(MAKE) $(AM_MAKEFLAGS) check-local
442check: check-am
443installcheck-am:
444installcheck: installcheck-am
445install-binPROGRAMS: install-libLTLIBRARIES
446
447install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
448	@$(NORMAL_INSTALL)
449	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
450install-exec: install-exec-am
451
452install-data-am: install-includeHEADERS install-data-local
453install-data: install-data-am
454
455install-am: all-am
456	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
457install: install-am
458uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
459		uninstall-includeHEADERS
460uninstall: uninstall-am
461all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
462all-redirect: all-am
463install-strip:
464	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
465installdirs:
466	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
467		$(DESTDIR)$(includedir)
468
469
470mostlyclean-generic:
471
472clean-generic:
473	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
474
475distclean-generic:
476	-rm -f Makefile $(CONFIG_CLEAN_FILES)
477	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
478
479maintainer-clean-generic:
480	-rm -f Makefile.in
481	-test -z "lex.cparse.hparse.c" || rm -f lex.c parse.h parse.c
482mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
483		mostlyclean-libtool mostlyclean-binPROGRAMS \
484		mostlyclean-tags mostlyclean-generic
485
486mostlyclean: mostlyclean-am
487
488clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
489		clean-binPROGRAMS clean-tags clean-generic \
490		mostlyclean-am
491
492clean: clean-am
493
494distclean-am:  distclean-libLTLIBRARIES distclean-compile \
495		distclean-libtool distclean-binPROGRAMS distclean-tags \
496		distclean-generic clean-am
497	-rm -f libtool
498
499distclean: distclean-am
500
501maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
502		maintainer-clean-compile maintainer-clean-libtool \
503		maintainer-clean-binPROGRAMS maintainer-clean-tags \
504		maintainer-clean-generic distclean-am
505	@echo "This command is intended for maintainers to use;"
506	@echo "it deletes files that may require special tools to rebuild."
507
508maintainer-clean: maintainer-clean-am
509
510.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
511clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
512uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
513distclean-compile clean-compile maintainer-clean-compile \
514mostlyclean-libtool distclean-libtool clean-libtool \
515maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
516clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
517install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
518tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
519distdir info-am info dvi-am dvi check-local check check-am \
520installcheck-am installcheck install-exec-am install-exec \
521install-data-local install-data-am install-data install-am install \
522uninstall-am uninstall all-local all-redirect all-am all install-strip \
523installdirs mostlyclean-generic distclean-generic clean-generic \
524maintainer-clean-generic clean mostlyclean distclean maintainer-clean
525
526
527install-suid-programs:
528	@foo='$(bin_SUIDS)'; \
529	for file in $$foo; do \
530	x=$(DESTDIR)$(bindir)/$$file; \
531	if chown 0:0 $$x && chmod u+s $$x; then :; else \
532	echo "*"; \
533	echo "* Failed to install $$x setuid root"; \
534	echo "*"; \
535	fi; done
536
537install-exec-hook: install-suid-programs
538
539install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
540	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
541	for f in $$foo; do \
542		f=`basename $$f`; \
543		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
544		else file="$$f"; fi; \
545		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
546		: ; else \
547			echo " $(CP) $$file $(buildinclude)/$$f"; \
548			$(CP) $$file $(buildinclude)/$$f; \
549		fi ; \
550	done
551
552all-local: install-build-headers
553#NROFF_MAN = nroff -man
554.1.cat1:
555	$(NROFF_MAN) $< > $@
556.3.cat3:
557	$(NROFF_MAN) $< > $@
558.5.cat5:
559	$(NROFF_MAN) $< > $@
560.8.cat8:
561	$(NROFF_MAN) $< > $@
562
563dist-cat1-mans:
564	@foo='$(man1_MANS)'; \
565	bar='$(man_MANS)'; \
566	for i in $$bar; do \
567	case $$i in \
568	*.1) foo="$$foo $$i";; \
569	esac; done ;\
570	for i in $$foo; do \
571		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
572		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
573		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
574	done
575
576dist-cat3-mans:
577	@foo='$(man3_MANS)'; \
578	bar='$(man_MANS)'; \
579	for i in $$bar; do \
580	case $$i in \
581	*.3) foo="$$foo $$i";; \
582	esac; done ;\
583	for i in $$foo; do \
584		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
585		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
586		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
587	done
588
589dist-cat5-mans:
590	@foo='$(man5_MANS)'; \
591	bar='$(man_MANS)'; \
592	for i in $$bar; do \
593	case $$i in \
594	*.5) foo="$$foo $$i";; \
595	esac; done ;\
596	for i in $$foo; do \
597		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
598		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
599		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
600	done
601
602dist-cat8-mans:
603	@foo='$(man8_MANS)'; \
604	bar='$(man_MANS)'; \
605	for i in $$bar; do \
606	case $$i in \
607	*.8) foo="$$foo $$i";; \
608	esac; done ;\
609	for i in $$foo; do \
610		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
611		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
612		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
613	done
614
615dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
616
617install-cat-mans:
618	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
619
620install-data-local: install-cat-mans
621
622.et.h:
623	$(COMPILE_ET) $<
624.et.c:
625	$(COMPILE_ET) $<
626
627.x.c:
628	@cmp -s $< $@ 2> /dev/null || cp $< $@
629
630check-local::
631	@foo='$(CHECK_LOCAL)'; \
632	  if test "$$foo"; then \
633	  failed=0; all=0; \
634	  for i in $$foo; do \
635	    all=`expr $$all + 1`; \
636	    if ./$$i --version > /dev/null 2>&1; then \
637	      echo "PASS: $$i"; \
638	    else \
639	      echo "FAIL: $$i"; \
640	      failed=`expr $$failed + 1`; \
641	    fi; \
642	  done; \
643	  if test "$$failed" -eq 0; then \
644	    banner="All $$all tests passed"; \
645	  else \
646	    banner="$$failed of $$all tests failed"; \
647	  fi; \
648	  dashes=`echo "$$banner" | sed s/./=/g`; \
649	  echo "$$dashes"; \
650	  echo "$$banner"; \
651	  echo "$$dashes"; \
652	  test "$$failed" -eq 0; \
653	fi
654
655$(compile_et_OBJECTS): parse.h
656
657# Tell versions [3.59,3.63) of GNU make to not export all variables.
658# Otherwise a system limit (for SysV at least) may be exceeded.
659.NOEXPORT:
660