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