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