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