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