xref: /freebsd/crypto/heimdal/kpasswd/Makefile.in (revision 41466b50c1d5bfd1cf6adaae547a579a75d7c04e)
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.15 2000/11/15 22:51:13 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
193man_MANS = kpasswd.1 kpasswdd.8
194
195bin_PROGRAMS = kpasswd
196
197kpasswd_SOURCES = kpasswd.c kpasswd_locl.h
198
199libexec_PROGRAMS = kpasswdd
200
201noinst_PROGRAMS = kpasswd-generator
202
203kpasswdd_SOURCES = kpasswdd.c kpasswd_locl.h
204
205kpasswdd_LDADD = \
206	$(top_builddir)/lib/kadm5/libkadm5srv.la \
207	$(top_builddir)/lib/hdb/libhdb.la \
208	$(LIB_openldap) \
209	$(LDADD) \
210	$(LIB_pidfile) \
211	$(LIB_dlopen) \
212	$(DBLIB)
213
214
215LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
216	$(LIB_des) \
217	$(top_builddir)/lib/asn1/libasn1.la \
218	$(LIB_roken)
219
220subdir = kpasswd
221mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
222CONFIG_HEADER = ../include/config.h
223CONFIG_CLEAN_FILES =
224bin_PROGRAMS =  kpasswd$(EXEEXT)
225libexec_PROGRAMS =  kpasswdd$(EXEEXT)
226noinst_PROGRAMS =  kpasswd-generator$(EXEEXT)
227PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
228
229
230DEFS = @DEFS@ -I. -I$(srcdir) -I../include
231CPPFLAGS = @CPPFLAGS@
232LDFLAGS = @LDFLAGS@
233X_CFLAGS = @X_CFLAGS@
234X_LIBS = @X_LIBS@
235X_EXTRA_LIBS = @X_EXTRA_LIBS@
236X_PRE_LIBS = @X_PRE_LIBS@
237am_kpasswd_OBJECTS =  kpasswd.$(OBJEXT)
238kpasswd_OBJECTS =  $(am_kpasswd_OBJECTS)
239kpasswd_LDADD = $(LDADD)
240kpasswd_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
241$(top_builddir)/lib/asn1/libasn1.la
242kpasswd_LDFLAGS =
243kpasswd_generator_SOURCES = kpasswd-generator.c
244kpasswd_generator_OBJECTS =  kpasswd-generator.$(OBJEXT)
245kpasswd_generator_LDADD = $(LDADD)
246kpasswd_generator_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
247$(top_builddir)/lib/asn1/libasn1.la
248kpasswd_generator_LDFLAGS =
249am_kpasswdd_OBJECTS =  kpasswdd.$(OBJEXT)
250kpasswdd_OBJECTS =  $(am_kpasswdd_OBJECTS)
251kpasswdd_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5srv.la \
252$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
253$(top_builddir)/lib/asn1/libasn1.la
254kpasswdd_LDFLAGS =
255COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
256LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
257CFLAGS = @CFLAGS@
258CCLD = $(CC)
259LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
260DIST_SOURCES =  $(kpasswd_SOURCES) kpasswd-generator.c \
261$(kpasswdd_SOURCES)
262man1dir = $(mandir)/man1
263man8dir = $(mandir)/man8
264MANS = $(man_MANS)
265depcomp =
266DIST_COMMON =  Makefile.am Makefile.in
267
268
269DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
270
271GZIP_ENV = --best
272SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
273OBJECTS = $(am_kpasswd_OBJECTS) kpasswd-generator.$(OBJEXT) $(am_kpasswdd_OBJECTS)
274
275all: all-redirect
276.SUFFIXES:
277.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
278$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
279	cd $(top_srcdir) && $(AUTOMAKE) --foreign kpasswd/Makefile
280
281Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
282	cd $(top_builddir) \
283	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
284
285
286mostlyclean-binPROGRAMS:
287
288clean-binPROGRAMS:
289	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
290
291distclean-binPROGRAMS:
292
293maintainer-clean-binPROGRAMS:
294
295install-binPROGRAMS: $(bin_PROGRAMS)
296	@$(NORMAL_INSTALL)
297	$(mkinstalldirs) $(DESTDIR)$(bindir)
298	@list='$(bin_PROGRAMS)'; for p in $$list; do \
299	  if test -f $$p; then \
300	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
301	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
302	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
303	  else :; fi; \
304	done
305
306uninstall-binPROGRAMS:
307	@$(NORMAL_UNINSTALL)
308	@list='$(bin_PROGRAMS)'; for p in $$list; do \
309	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
310	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
311	  rm -f $(DESTDIR)$(bindir)/$$f; \
312	done
313
314mostlyclean-libexecPROGRAMS:
315
316clean-libexecPROGRAMS:
317	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
318
319distclean-libexecPROGRAMS:
320
321maintainer-clean-libexecPROGRAMS:
322
323install-libexecPROGRAMS: $(libexec_PROGRAMS)
324	@$(NORMAL_INSTALL)
325	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
326	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
327	  if test -f $$p; then \
328	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
329	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
330	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
331	  else :; fi; \
332	done
333
334uninstall-libexecPROGRAMS:
335	@$(NORMAL_UNINSTALL)
336	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
337	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
338	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
339	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
340	done
341
342mostlyclean-noinstPROGRAMS:
343
344clean-noinstPROGRAMS:
345	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
346
347distclean-noinstPROGRAMS:
348
349maintainer-clean-noinstPROGRAMS:
350
351mostlyclean-compile:
352	-rm -f *.o core *.core
353	-rm -f *.$(OBJEXT)
354
355clean-compile:
356
357distclean-compile:
358	-rm -f *.tab.c
359
360maintainer-clean-compile:
361
362mostlyclean-libtool:
363	-rm -f *.lo
364
365clean-libtool:
366	-rm -rf .libs _libs
367
368distclean-libtool:
369
370maintainer-clean-libtool:
371
372kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES)
373	@rm -f kpasswd$(EXEEXT)
374	$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
375
376kpasswd-generator$(EXEEXT): $(kpasswd_generator_OBJECTS) $(kpasswd_generator_DEPENDENCIES)
377	@rm -f kpasswd-generator$(EXEEXT)
378	$(LINK) $(kpasswd_generator_LDFLAGS) $(kpasswd_generator_OBJECTS) $(kpasswd_generator_LDADD) $(LIBS)
379
380kpasswdd$(EXEEXT): $(kpasswdd_OBJECTS) $(kpasswdd_DEPENDENCIES)
381	@rm -f kpasswdd$(EXEEXT)
382	$(LINK) $(kpasswdd_LDFLAGS) $(kpasswdd_OBJECTS) $(kpasswdd_LDADD) $(LIBS)
383.c.o:
384	$(COMPILE) -c $<
385.c.obj:
386	$(COMPILE) -c `cygpath -w $<`
387.c.lo:
388	$(LTCOMPILE) -c -o $@ $<
389
390install-man1:
391	$(mkinstalldirs) $(DESTDIR)$(man1dir)
392	@list='$(man1_MANS)'; \
393	l2='$(man_MANS)'; for i in $$l2; do \
394	  case "$$i" in \
395	    *.1*) list="$$list $$i" ;; \
396	  esac; \
397	done; \
398	for i in $$list; do \
399	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
400	  else file=$$i; fi; \
401	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
402	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
403	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
404	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
405	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
406	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
407	done
408
409uninstall-man1:
410	@list='$(man1_MANS)'; \
411	l2='$(man_MANS)'; for i in $$l2; do \
412	  case "$$i" in \
413	    *.1*) list="$$list $$i" ;; \
414	  esac; \
415	done; \
416	for i in $$list; do \
417	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
418	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
419	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
420	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
421	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
422	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
423	done
424
425install-man8:
426	$(mkinstalldirs) $(DESTDIR)$(man8dir)
427	@list='$(man8_MANS)'; \
428	l2='$(man_MANS)'; for i in $$l2; do \
429	  case "$$i" in \
430	    *.8*) list="$$list $$i" ;; \
431	  esac; \
432	done; \
433	for i in $$list; do \
434	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
435	  else file=$$i; fi; \
436	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
437	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
438	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
439	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
440	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
441	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
442	done
443
444uninstall-man8:
445	@list='$(man8_MANS)'; \
446	l2='$(man_MANS)'; for i in $$l2; do \
447	  case "$$i" in \
448	    *.8*) list="$$list $$i" ;; \
449	  esac; \
450	done; \
451	for i in $$list; do \
452	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
453	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
454	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
455	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
456	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
457	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
458	done
459install-man: $(MANS)
460	@$(NORMAL_INSTALL)
461	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
462uninstall-man:
463	@$(NORMAL_UNINSTALL)
464	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
465
466tags: TAGS
467
468ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
469	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
470	unique=`for i in $$list; do \
471	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472	  done | \
473	  $(AWK) '    { files[$$0] = 1; } \
474	       END { for (i in files) print i; }'`; \
475	mkid -fID $$unique $(LISP)
476
477TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
478		$(TAGS_FILES) $(LISP)
479	tags=; \
480	here=`pwd`; \
481	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
482	unique=`for i in $$list; do \
483	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
484	  done | \
485	  $(AWK) '    { files[$$0] = 1; } \
486	       END { for (i in files) print i; }'`; \
487	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
488	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
489
490GTAGS:
491	here=`CDPATH=: && cd $(top_builddir) && pwd` \
492	  && cd $(top_srcdir) \
493	  && gtags -i $$here
494
495mostlyclean-tags:
496
497clean-tags:
498
499distclean-tags:
500	-rm -f TAGS ID
501
502maintainer-clean-tags:
503
504distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
505
506distdir: $(DISTFILES)
507	@for file in $(DISTFILES); do \
508	  d=$(srcdir); \
509	  if test -d $$d/$$file; then \
510	    cp -pR $$d/$$file $(distdir) \
511	    || exit 1; \
512	  else \
513	    test -f $(distdir)/$$file \
514	    || cp -p $$d/$$file $(distdir)/$$file \
515	    || exit 1; \
516	  fi; \
517	done
518	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
519info-am:
520info: info-am
521dvi-am:
522dvi: dvi-am
523check-am: all-am
524	$(MAKE) $(AM_MAKEFLAGS) check-local
525check: check-am
526installcheck-am:
527installcheck: installcheck-am
528install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
529	@$(NORMAL_INSTALL)
530	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
531install-exec: install-exec-am
532
533install-data-am: install-man install-data-local
534install-data: install-data-am
535
536install-am: all-am
537	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
538install: install-am
539uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
540		uninstall-man
541uninstall: uninstall-am
542all-am: Makefile $(PROGRAMS) $(MANS) all-local
543all-redirect: all-am
544install-strip:
545	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
546installdirs:
547	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
548		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
549
550
551mostlyclean-generic:
552
553clean-generic:
554
555distclean-generic:
556	-rm -f Makefile $(CONFIG_CLEAN_FILES)
557	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
558
559maintainer-clean-generic:
560	-rm -f Makefile.in
561mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
562		mostlyclean-noinstPROGRAMS mostlyclean-compile \
563		mostlyclean-libtool mostlyclean-tags \
564		mostlyclean-generic
565
566mostlyclean: mostlyclean-am
567
568clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-noinstPROGRAMS \
569		clean-compile clean-libtool clean-tags clean-generic \
570		mostlyclean-am
571
572clean: clean-am
573
574distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
575		distclean-noinstPROGRAMS distclean-compile \
576		distclean-libtool distclean-tags distclean-generic \
577		clean-am
578	-rm -f libtool
579
580distclean: distclean-am
581
582maintainer-clean-am:  maintainer-clean-binPROGRAMS \
583		maintainer-clean-libexecPROGRAMS \
584		maintainer-clean-noinstPROGRAMS \
585		maintainer-clean-compile maintainer-clean-libtool \
586		maintainer-clean-tags maintainer-clean-generic \
587		distclean-am
588	@echo "This command is intended for maintainers to use;"
589	@echo "it deletes files that may require special tools to rebuild."
590
591maintainer-clean: maintainer-clean-am
592
593.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
594maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
595mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
596clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
597uninstall-libexecPROGRAMS install-libexecPROGRAMS \
598mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
599clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
600mostlyclean-compile distclean-compile clean-compile \
601maintainer-clean-compile mostlyclean-libtool distclean-libtool \
602clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
603install-man8 uninstall-man8 install-man uninstall-man tags \
604mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
605distdir info-am info dvi-am dvi check-local check check-am \
606installcheck-am installcheck install-exec-am install-exec \
607install-data-local install-data-am install-data install-am install \
608uninstall-am uninstall all-local all-redirect all-am all install-strip \
609installdirs mostlyclean-generic distclean-generic clean-generic \
610maintainer-clean-generic clean mostlyclean distclean maintainer-clean
611
612
613install-suid-programs:
614	@foo='$(bin_SUIDS)'; \
615	for file in $$foo; do \
616	x=$(DESTDIR)$(bindir)/$$file; \
617	if chown 0:0 $$x && chmod u+s $$x; then :; else \
618	echo "*"; \
619	echo "* Failed to install $$x setuid root"; \
620	echo "*"; \
621	fi; done
622
623install-exec-hook: install-suid-programs
624
625install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
626	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
627	for f in $$foo; do \
628		f=`basename $$f`; \
629		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
630		else file="$$f"; fi; \
631		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
632		: ; else \
633			echo " $(CP) $$file $(buildinclude)/$$f"; \
634			$(CP) $$file $(buildinclude)/$$f; \
635		fi ; \
636	done
637
638all-local: install-build-headers
639#NROFF_MAN = nroff -man
640.1.cat1:
641	$(NROFF_MAN) $< > $@
642.3.cat3:
643	$(NROFF_MAN) $< > $@
644.5.cat5:
645	$(NROFF_MAN) $< > $@
646.8.cat8:
647	$(NROFF_MAN) $< > $@
648
649dist-cat1-mans:
650	@foo='$(man1_MANS)'; \
651	bar='$(man_MANS)'; \
652	for i in $$bar; do \
653	case $$i in \
654	*.1) foo="$$foo $$i";; \
655	esac; done ;\
656	for i in $$foo; do \
657		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
658		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
659		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
660	done
661
662dist-cat3-mans:
663	@foo='$(man3_MANS)'; \
664	bar='$(man_MANS)'; \
665	for i in $$bar; do \
666	case $$i in \
667	*.3) foo="$$foo $$i";; \
668	esac; done ;\
669	for i in $$foo; do \
670		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
671		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
672		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
673	done
674
675dist-cat5-mans:
676	@foo='$(man5_MANS)'; \
677	bar='$(man_MANS)'; \
678	for i in $$bar; do \
679	case $$i in \
680	*.5) foo="$$foo $$i";; \
681	esac; done ;\
682	for i in $$foo; do \
683		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
684		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
685		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
686	done
687
688dist-cat8-mans:
689	@foo='$(man8_MANS)'; \
690	bar='$(man_MANS)'; \
691	for i in $$bar; do \
692	case $$i in \
693	*.8) foo="$$foo $$i";; \
694	esac; done ;\
695	for i in $$foo; do \
696		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
697		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
698		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
699	done
700
701dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
702
703install-cat-mans:
704	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
705
706install-data-local: install-cat-mans
707
708.et.h:
709	$(COMPILE_ET) $<
710.et.c:
711	$(COMPILE_ET) $<
712
713.x.c:
714	@cmp -s $< $@ 2> /dev/null || cp $< $@
715
716check-local::
717	@foo='$(CHECK_LOCAL)'; \
718	  if test "$$foo"; then \
719	  failed=0; all=0; \
720	  for i in $$foo; do \
721	    all=`expr $$all + 1`; \
722	    if ./$$i --version > /dev/null 2>&1; then \
723	      echo "PASS: $$i"; \
724	    else \
725	      echo "FAIL: $$i"; \
726	      failed=`expr $$failed + 1`; \
727	    fi; \
728	  done; \
729	  if test "$$failed" -eq 0; then \
730	    banner="All $$all tests passed"; \
731	  else \
732	    banner="$$failed of $$all tests failed"; \
733	  fi; \
734	  dashes=`echo "$$banner" | sed s/./=/g`; \
735	  echo "$$dashes"; \
736	  echo "$$banner"; \
737	  echo "$$dashes"; \
738	  test "$$failed" -eq 0; \
739	fi
740
741# Tell versions [3.59,3.63) of GNU make to not export all variables.
742# Otherwise a system limit (for SysV at least) may be exceeded.
743.NOEXPORT:
744