xref: /freebsd/crypto/heimdal/kadmin/Makefile.in (revision 5e9cd1ae3e10592ed70e7575551cba1bbab04d84)
1# Makefile.in generated automatically by automake 1.4a from Makefile.am
2
3# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13SHELL = @SHELL@
14
15srcdir = @srcdir@
16top_srcdir = @top_srcdir@
17VPATH = @srcdir@
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21bindir = @bindir@
22sbindir = @sbindir@
23libexecdir = @libexecdir@
24datadir = @datadir@
25sysconfdir = @sysconfdir@
26sharedstatedir = @sharedstatedir@
27localstatedir = @localstatedir@
28libdir = @libdir@
29infodir = @infodir@
30mandir = @mandir@
31includedir = @includedir@
32oldincludedir = /usr/include
33
34pkgdatadir = $(datadir)/@PACKAGE@
35pkglibdir = $(libdir)/@PACKAGE@
36pkgincludedir = $(includedir)/@PACKAGE@
37
38top_builddir = ..
39
40ACLOCAL = @ACLOCAL@
41AUTOCONF = @AUTOCONF@
42AUTOMAKE = @AUTOMAKE@
43AUTOHEADER = @AUTOHEADER@
44
45INSTALL = @INSTALL@
46INSTALL_PROGRAM = @INSTALL_PROGRAM@
47INSTALL_DATA = @INSTALL_DATA@
48INSTALL_SCRIPT = @INSTALL_SCRIPT@
49INSTALL_STRIP_FLAG =
50transform = @program_transform_name@
51
52NORMAL_INSTALL = :
53PRE_INSTALL = :
54POST_INSTALL = :
55NORMAL_UNINSTALL = :
56PRE_UNINSTALL = :
57POST_UNINSTALL = :
58
59@SET_MAKE@
60host_alias = @host_alias@
61host_triplet = @host@
62AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
63AMDEP = @AMDEP@
64AMTAR = @AMTAR@
65AS = @AS@
66AWK = @AWK@
67CANONICAL_HOST = @CANONICAL_HOST@
68CATMAN = @CATMAN@
69CATMANEXT = @CATMANEXT@
70CC = @CC@
71CPP = @CPP@
72CXX = @CXX@
73CXXCPP = @CXXCPP@
74DBLIB = @DBLIB@
75DEPDIR = @DEPDIR@
76DIR_des = @DIR_des@
77DIR_roken = @DIR_roken@
78DLLTOOL = @DLLTOOL@
79EXEEXT = @EXEEXT@
80EXTRA_LIB45 = @EXTRA_LIB45@
81GROFF = @GROFF@
82INCLUDES_roken = @INCLUDES_roken@
83INCLUDE_ = @INCLUDE_@
84LEX = @LEX@
85LIBOBJS = @LIBOBJS@
86LIBTOOL = @LIBTOOL@
87LIB_ = @LIB_@
88LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
89LIB_des = @LIB_des@
90LIB_des_appl = @LIB_des_appl@
91LIB_kdb = @LIB_kdb@
92LIB_otp = @LIB_otp@
93LIB_roken = @LIB_roken@
94LIB_security = @LIB_security@
95LN_S = @LN_S@
96LTLIBOBJS = @LTLIBOBJS@
97MAKEINFO = @MAKEINFO@
98NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
99NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
100NROFF = @NROFF@
101OBJDUMP = @OBJDUMP@
102OBJEXT = @OBJEXT@
103PACKAGE = @PACKAGE@
104RANLIB = @RANLIB@
105STRIP = @STRIP@
106VERSION = @VERSION@
107VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
108WFLAGS = @WFLAGS@
109WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
110WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
111YACC = @YACC@
112dpagaix_CFLAGS = @dpagaix_CFLAGS@
113dpagaix_LDADD = @dpagaix_LDADD@
114install_sh = @install_sh@
115
116# $Id: Makefile.am,v 1.32 2000/11/15 22:51:12 assar Exp $
117
118
119# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
120
121
122# $Id: Makefile.am.common,v 1.23 2000/12/05 09:11:09 joda Exp $
123
124
125AUTOMAKE_OPTIONS = foreign no-dependencies
126
127SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
128
129INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
130
131AM_CFLAGS =  $(WFLAGS)
132
133CP = cp
134
135COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
136
137buildinclude = $(top_builddir)/include
138
139LIB_XauReadAuth = @LIB_XauReadAuth@
140LIB_crypt = @LIB_crypt@
141LIB_dbm_firstkey = @LIB_dbm_firstkey@
142LIB_dbopen = @LIB_dbopen@
143LIB_dlopen = @LIB_dlopen@
144LIB_dn_expand = @LIB_dn_expand@
145LIB_el_init = @LIB_el_init@
146LIB_getattr = @LIB_getattr@
147LIB_gethostbyname = @LIB_gethostbyname@
148LIB_getpwent_r = @LIB_getpwent_r@
149LIB_getpwnam_r = @LIB_getpwnam_r@
150LIB_getsockopt = @LIB_getsockopt@
151LIB_logout = @LIB_logout@
152LIB_logwtmp = @LIB_logwtmp@
153LIB_odm_initialize = @LIB_odm_initialize@
154LIB_pidfile = @LIB_pidfile@
155LIB_readline = @LIB_readline@
156LIB_res_search = @LIB_res_search@
157LIB_setpcred = @LIB_setpcred@
158LIB_setsockopt = @LIB_setsockopt@
159LIB_socket = @LIB_socket@
160LIB_syslog = @LIB_syslog@
161LIB_tgetent = @LIB_tgetent@
162
163LIBS = @LIBS@
164
165HESIODLIB = @HESIODLIB@
166HESIODINCLUDE = @HESIODINCLUDE@
167INCLUDE_hesiod = @INCLUDE_hesiod@
168LIB_hesiod = @LIB_hesiod@
169
170INCLUDE_krb4 = @INCLUDE_krb4@
171LIB_krb4 = @LIB_krb4@
172
173INCLUDE_openldap = @INCLUDE_openldap@
174LIB_openldap = @LIB_openldap@
175
176INCLUDE_readline = @INCLUDE_readline@
177
178LEXLIB = @LEXLIB@
179
180NROFF_MAN = groff -mandoc -Tascii
181
182@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
183
184@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
185@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
186@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
187
188CHECK_LOCAL = $(PROGRAMS)
189
190sbin_PROGRAMS = kadmin
191
192libexec_PROGRAMS = kadmind
193
194man_MANS = kadmin.8 kadmind.8
195
196noinst_PROGRAMS = add_random_users
197
198kadmin_SOURCES = \
199	ank.c					\
200	cpw.c					\
201	del.c					\
202	del_enctype.c				\
203	dump.c					\
204	ext.c					\
205	get.c					\
206	init.c					\
207	kadmin.c				\
208	load.c					\
209	mod.c					\
210	rename.c				\
211	util.c					\
212	random_password.c			\
213	kadmin_locl.h
214
215
216@KRB4_TRUE@KRB4LIB = @KRB4_TRUE@$(LIB_krb4)
217@KRB4_TRUE@version4_c = @KRB4_TRUE@version4.c
218
219kadmind_SOURCES = \
220	kadmind.c				\
221	server.c				\
222	kadmin_locl.h				\
223	$(version4_c)				\
224	kadm_conn.c
225
226
227EXTRA_kadmind_SOURCES = version4.c
228
229add_random_users_SOURCES = add-random-users.c
230
231COMMON_LDADD = \
232	$(top_builddir)/lib/hdb/libhdb.la \
233	$(LIB_openldap) \
234	$(top_builddir)/lib/krb5/libkrb5.la \
235	$(LIB_des) \
236	$(top_builddir)/lib/asn1/libasn1.la \
237	$(LIB_roken) \
238	$(DBLIB)
239
240
241kadmind_LDADD = $(KRB4LIB) $(top_builddir)/lib/kadm5/libkadm5srv.la \
242	$(COMMON_LDADD) \
243	$(LIB_pidfile) \
244	$(LIB_dlopen)
245
246
247kadmin_LDADD = \
248	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
249	$(top_builddir)/lib/kadm5/libkadm5srv.la \
250	$(top_builddir)/lib/sl/libsl.la \
251	$(LIB_readline) \
252	$(COMMON_LDADD) \
253	$(LIB_dlopen)
254
255
256add_random_users_LDADD = \
257	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
258	$(top_builddir)/lib/kadm5/libkadm5srv.la \
259	$(COMMON_LDADD) \
260	$(LIB_dlopen)
261
262subdir = kadmin
263mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
264CONFIG_HEADER = ../include/config.h
265CONFIG_CLEAN_FILES =
266libexec_PROGRAMS =  kadmind$(EXEEXT)
267noinst_PROGRAMS =  add_random_users$(EXEEXT)
268sbin_PROGRAMS =  kadmin$(EXEEXT)
269PROGRAMS =  $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
270
271
272DEFS = @DEFS@ -I. -I$(srcdir) -I../include
273CPPFLAGS = @CPPFLAGS@
274LDFLAGS = @LDFLAGS@
275X_CFLAGS = @X_CFLAGS@
276X_LIBS = @X_LIBS@
277X_EXTRA_LIBS = @X_EXTRA_LIBS@
278X_PRE_LIBS = @X_PRE_LIBS@
279am_add_random_users_OBJECTS =  add-random-users.$(OBJEXT)
280add_random_users_OBJECTS =  $(am_add_random_users_OBJECTS)
281add_random_users_DEPENDENCIES =  \
282$(top_builddir)/lib/kadm5/libkadm5clnt.la \
283$(top_builddir)/lib/kadm5/libkadm5srv.la \
284$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
285$(top_builddir)/lib/asn1/libasn1.la
286add_random_users_LDFLAGS =
287am_kadmin_OBJECTS =  ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
288del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) get.$(OBJEXT) \
289init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) mod.$(OBJEXT) \
290rename.$(OBJEXT) util.$(OBJEXT) random_password.$(OBJEXT)
291kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
292kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
293$(top_builddir)/lib/kadm5/libkadm5srv.la \
294$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
295$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
296kadmin_LDFLAGS =
297@KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
298@KRB4_FALSE@kadm_conn.$(OBJEXT)
299@KRB4_TRUE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
300@KRB4_TRUE@version4.$(OBJEXT) kadm_conn.$(OBJEXT)
301kadmind_OBJECTS =  $(am_kadmind_OBJECTS)
302@KRB4_FALSE@kadmind_DEPENDENCIES =  \
303@KRB4_FALSE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
304@KRB4_FALSE@$(top_builddir)/lib/hdb/libhdb.la \
305@KRB4_FALSE@$(top_builddir)/lib/krb5/libkrb5.la \
306@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
307@KRB4_TRUE@kadmind_DEPENDENCIES =  \
308@KRB4_TRUE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
309@KRB4_TRUE@$(top_builddir)/lib/hdb/libhdb.la \
310@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
311@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
312kadmind_LDFLAGS =
313COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
314LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
315CFLAGS = @CFLAGS@
316CCLD = $(CC)
317LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
318DIST_SOURCES =  $(add_random_users_SOURCES) $(kadmin_SOURCES) \
319$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
320man8dir = $(mandir)/man8
321MANS = $(man_MANS)
322depcomp =
323DIST_COMMON =  ChangeLog Makefile.am Makefile.in
324
325
326DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
327
328GZIP_ENV = --best
329SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) $(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
330OBJECTS = $(am_add_random_users_OBJECTS) $(am_kadmin_OBJECTS) $(am_kadmind_OBJECTS)
331
332all: all-redirect
333.SUFFIXES:
334.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
335$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
336	cd $(top_srcdir) && $(AUTOMAKE) --foreign kadmin/Makefile
337
338Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
339	cd $(top_builddir) \
340	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
341
342
343mostlyclean-libexecPROGRAMS:
344
345clean-libexecPROGRAMS:
346	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
347
348distclean-libexecPROGRAMS:
349
350maintainer-clean-libexecPROGRAMS:
351
352install-libexecPROGRAMS: $(libexec_PROGRAMS)
353	@$(NORMAL_INSTALL)
354	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
355	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
356	  if test -f $$p; then \
357	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
358	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
359	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
360	  else :; fi; \
361	done
362
363uninstall-libexecPROGRAMS:
364	@$(NORMAL_UNINSTALL)
365	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
366	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
367	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
368	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
369	done
370
371mostlyclean-noinstPROGRAMS:
372
373clean-noinstPROGRAMS:
374	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
375
376distclean-noinstPROGRAMS:
377
378maintainer-clean-noinstPROGRAMS:
379
380mostlyclean-sbinPROGRAMS:
381
382clean-sbinPROGRAMS:
383	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
384
385distclean-sbinPROGRAMS:
386
387maintainer-clean-sbinPROGRAMS:
388
389install-sbinPROGRAMS: $(sbin_PROGRAMS)
390	@$(NORMAL_INSTALL)
391	$(mkinstalldirs) $(DESTDIR)$(sbindir)
392	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
393	  if test -f $$p; then \
394	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
395	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
396	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
397	  else :; fi; \
398	done
399
400uninstall-sbinPROGRAMS:
401	@$(NORMAL_UNINSTALL)
402	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
403	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
404	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
405	  rm -f $(DESTDIR)$(sbindir)/$$f; \
406	done
407
408mostlyclean-compile:
409	-rm -f *.o core *.core
410	-rm -f *.$(OBJEXT)
411
412clean-compile:
413
414distclean-compile:
415	-rm -f *.tab.c
416
417maintainer-clean-compile:
418
419mostlyclean-libtool:
420	-rm -f *.lo
421
422clean-libtool:
423	-rm -rf .libs _libs
424
425distclean-libtool:
426
427maintainer-clean-libtool:
428
429add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES)
430	@rm -f add_random_users$(EXEEXT)
431	$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
432
433kadmin$(EXEEXT): $(kadmin_OBJECTS) $(kadmin_DEPENDENCIES)
434	@rm -f kadmin$(EXEEXT)
435	$(LINK) $(kadmin_LDFLAGS) $(kadmin_OBJECTS) $(kadmin_LDADD) $(LIBS)
436
437kadmind$(EXEEXT): $(kadmind_OBJECTS) $(kadmind_DEPENDENCIES)
438	@rm -f kadmind$(EXEEXT)
439	$(LINK) $(kadmind_LDFLAGS) $(kadmind_OBJECTS) $(kadmind_LDADD) $(LIBS)
440.c.o:
441	$(COMPILE) -c $<
442.c.obj:
443	$(COMPILE) -c `cygpath -w $<`
444.c.lo:
445	$(LTCOMPILE) -c -o $@ $<
446
447install-man8:
448	$(mkinstalldirs) $(DESTDIR)$(man8dir)
449	@list='$(man8_MANS)'; \
450	l2='$(man_MANS)'; for i in $$l2; do \
451	  case "$$i" in \
452	    *.8*) list="$$list $$i" ;; \
453	  esac; \
454	done; \
455	for i in $$list; do \
456	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
457	  else file=$$i; fi; \
458	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
459	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
460	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
461	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
462	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
463	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
464	done
465
466uninstall-man8:
467	@list='$(man8_MANS)'; \
468	l2='$(man_MANS)'; for i in $$l2; do \
469	  case "$$i" in \
470	    *.8*) list="$$list $$i" ;; \
471	  esac; \
472	done; \
473	for i in $$list; do \
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 " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
479	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
480	done
481install-man: $(MANS)
482	@$(NORMAL_INSTALL)
483	$(MAKE) $(AM_MAKEFLAGS) install-man8
484uninstall-man:
485	@$(NORMAL_UNINSTALL)
486	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
487
488tags: TAGS
489
490ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
491	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
492	unique=`for i in $$list; do \
493	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494	  done | \
495	  $(AWK) '    { files[$$0] = 1; } \
496	       END { for (i in files) print i; }'`; \
497	mkid -fID $$unique $(LISP)
498
499TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
500		$(TAGS_FILES) $(LISP)
501	tags=; \
502	here=`pwd`; \
503	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
504	unique=`for i in $$list; do \
505	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
506	  done | \
507	  $(AWK) '    { files[$$0] = 1; } \
508	       END { for (i in files) print i; }'`; \
509	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
510	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
511
512mostlyclean-tags:
513
514clean-tags:
515
516distclean-tags:
517	-rm -f TAGS ID
518
519maintainer-clean-tags:
520
521distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
522
523distdir: $(DISTFILES)
524	@for file in $(DISTFILES); do \
525	  d=$(srcdir); \
526	  if test -d $$d/$$file; then \
527	    cp -pR $$d/$$file $(distdir) \
528	    || exit 1; \
529	  else \
530	    test -f $(distdir)/$$file \
531	    || cp -p $$d/$$file $(distdir)/$$file \
532	    || exit 1; \
533	  fi; \
534	done
535	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
536info-am:
537info: info-am
538dvi-am:
539dvi: dvi-am
540check-am: all-am
541	$(MAKE) $(AM_MAKEFLAGS) check-local
542check: check-am
543installcheck-am:
544installcheck: installcheck-am
545install-exec-am: install-libexecPROGRAMS install-sbinPROGRAMS
546	@$(NORMAL_INSTALL)
547	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
548install-exec: install-exec-am
549
550install-data-am: install-man install-data-local
551install-data: install-data-am
552
553install-am: all-am
554	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
555install: install-am
556uninstall-am: uninstall-libexecPROGRAMS uninstall-sbinPROGRAMS \
557		uninstall-man
558uninstall: uninstall-am
559all-am: Makefile $(PROGRAMS) $(MANS) all-local
560all-redirect: all-am
561install-strip:
562	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
563installdirs:
564	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) \
565		$(DESTDIR)$(mandir)/man8
566
567
568mostlyclean-generic:
569
570clean-generic:
571
572distclean-generic:
573	-rm -f Makefile $(CONFIG_CLEAN_FILES)
574	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
575
576maintainer-clean-generic:
577	-rm -f Makefile.in
578mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
579		mostlyclean-sbinPROGRAMS mostlyclean-compile \
580		mostlyclean-libtool mostlyclean-tags \
581		mostlyclean-generic
582
583mostlyclean: mostlyclean-am
584
585clean-am:  clean-libexecPROGRAMS clean-noinstPROGRAMS clean-sbinPROGRAMS \
586		clean-compile clean-libtool clean-tags clean-generic \
587		mostlyclean-am
588
589clean: clean-am
590
591distclean-am:  distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
592		distclean-sbinPROGRAMS distclean-compile \
593		distclean-libtool distclean-tags distclean-generic \
594		clean-am
595	-rm -f libtool
596
597distclean: distclean-am
598
599maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
600		maintainer-clean-noinstPROGRAMS \
601		maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
602		maintainer-clean-libtool maintainer-clean-tags \
603		maintainer-clean-generic distclean-am
604	@echo "This command is intended for maintainers to use;"
605	@echo "it deletes files that may require special tools to rebuild."
606
607maintainer-clean: maintainer-clean-am
608
609.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
610clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
611uninstall-libexecPROGRAMS install-libexecPROGRAMS \
612mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
613clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
614mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
615maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
616install-sbinPROGRAMS mostlyclean-compile distclean-compile \
617clean-compile maintainer-clean-compile mostlyclean-libtool \
618distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
619uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
620distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
621dvi-am dvi check-local check check-am installcheck-am installcheck \
622install-exec-am install-exec install-data-local install-data-am \
623install-data install-am install uninstall-am uninstall all-local \
624all-redirect all-am all install-strip installdirs mostlyclean-generic \
625distclean-generic clean-generic maintainer-clean-generic clean \
626mostlyclean distclean maintainer-clean
627
628
629install-suid-programs:
630	@foo='$(bin_SUIDS)'; \
631	for file in $$foo; do \
632	x=$(DESTDIR)$(bindir)/$$file; \
633	if chown 0:0 $$x && chmod u+s $$x; then :; else \
634	echo "*"; \
635	echo "* Failed to install $$x setuid root"; \
636	echo "*"; \
637	fi; done
638
639install-exec-hook: install-suid-programs
640
641install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
642	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
643	for f in $$foo; do \
644		f=`basename $$f`; \
645		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
646		else file="$$f"; fi; \
647		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
648		: ; else \
649			echo " $(CP) $$file $(buildinclude)/$$f"; \
650			$(CP) $$file $(buildinclude)/$$f; \
651		fi ; \
652	done
653
654all-local: install-build-headers
655#NROFF_MAN = nroff -man
656.1.cat1:
657	$(NROFF_MAN) $< > $@
658.3.cat3:
659	$(NROFF_MAN) $< > $@
660.5.cat5:
661	$(NROFF_MAN) $< > $@
662.8.cat8:
663	$(NROFF_MAN) $< > $@
664
665dist-cat1-mans:
666	@foo='$(man1_MANS)'; \
667	bar='$(man_MANS)'; \
668	for i in $$bar; do \
669	case $$i in \
670	*.1) foo="$$foo $$i";; \
671	esac; done ;\
672	for i in $$foo; do \
673		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
674		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
675		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
676	done
677
678dist-cat3-mans:
679	@foo='$(man3_MANS)'; \
680	bar='$(man_MANS)'; \
681	for i in $$bar; do \
682	case $$i in \
683	*.3) foo="$$foo $$i";; \
684	esac; done ;\
685	for i in $$foo; do \
686		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
687		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
688		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
689	done
690
691dist-cat5-mans:
692	@foo='$(man5_MANS)'; \
693	bar='$(man_MANS)'; \
694	for i in $$bar; do \
695	case $$i in \
696	*.5) foo="$$foo $$i";; \
697	esac; done ;\
698	for i in $$foo; do \
699		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
700		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
701		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
702	done
703
704dist-cat8-mans:
705	@foo='$(man8_MANS)'; \
706	bar='$(man_MANS)'; \
707	for i in $$bar; do \
708	case $$i in \
709	*.8) foo="$$foo $$i";; \
710	esac; done ;\
711	for i in $$foo; do \
712		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
713		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
714		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
715	done
716
717dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
718
719install-cat-mans:
720	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
721
722install-data-local: install-cat-mans
723
724.et.h:
725	$(COMPILE_ET) $<
726.et.c:
727	$(COMPILE_ET) $<
728
729.x.c:
730	@cmp -s $< $@ 2> /dev/null || cp $< $@
731
732check-local::
733	@foo='$(CHECK_LOCAL)'; \
734	  if test "$$foo"; then \
735	  failed=0; all=0; \
736	  for i in $$foo; do \
737	    all=`expr $$all + 1`; \
738	    if ./$$i --version > /dev/null 2>&1; then \
739	      echo "PASS: $$i"; \
740	    else \
741	      echo "FAIL: $$i"; \
742	      failed=`expr $$failed + 1`; \
743	    fi; \
744	  done; \
745	  if test "$$failed" -eq 0; then \
746	    banner="All $$all tests passed"; \
747	  else \
748	    banner="$$failed of $$all tests failed"; \
749	  fi; \
750	  dashes=`echo "$$banner" | sed s/./=/g`; \
751	  echo "$$dashes"; \
752	  echo "$$banner"; \
753	  echo "$$dashes"; \
754	  test "$$failed" -eq 0; \
755	fi
756
757# Tell versions [3.59,3.63) of GNU make to not export all variables.
758# Otherwise a system limit (for SysV at least) may be exceeded.
759.NOEXPORT:
760