xref: /freebsd/crypto/heimdal/appl/su/Makefile.in (revision 195ebc7e9e4b129de810833791a19dfb4349d6a9)
1# Makefile.in generated by automake 1.10 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006  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 21986 2007-10-19 05:22:57Z lha $
18
19# $Id: Makefile.am.common 10998 2002-05-19 18:35:37Z joda $
20
21# $Id: Makefile.am.common 22488 2008-01-21 11:47:22Z lha $
22
23VPATH = @srcdir@
24pkgdatadir = $(datadir)/@PACKAGE@
25pkglibdir = $(libdir)/@PACKAGE@
26pkgincludedir = $(includedir)/@PACKAGE@
27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28install_sh_DATA = $(install_sh) -c -m 644
29install_sh_PROGRAM = $(install_sh) -c
30install_sh_SCRIPT = $(install_sh) -c
31INSTALL_HEADER = $(INSTALL_DATA)
32transform = $(program_transform_name)
33NORMAL_INSTALL = :
34PRE_INSTALL = :
35POST_INSTALL = :
36NORMAL_UNINSTALL = :
37PRE_UNINSTALL = :
38POST_UNINSTALL = :
39build_triplet = @build@
40host_triplet = @host@
41DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42	$(top_srcdir)/Makefile.am.common \
43	$(top_srcdir)/cf/Makefile.am.common ChangeLog
44bin_PROGRAMS = su$(EXEEXT)
45subdir = appl/su
46ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
48	$(top_srcdir)/cf/auth-modules.m4 $(top_srcdir)/cf/autobuild.m4 \
49	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
50	$(top_srcdir)/cf/broken-glob.m4 \
51	$(top_srcdir)/cf/broken-realloc.m4 \
52	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
53	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
54	$(top_srcdir)/cf/capabilities.m4 \
55	$(top_srcdir)/cf/check-compile-et.m4 \
56	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
57	$(top_srcdir)/cf/check-man.m4 \
58	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
59	$(top_srcdir)/cf/check-type-extra.m4 \
60	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
61	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
62	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
63	$(top_srcdir)/cf/dlopen.m4 \
64	$(top_srcdir)/cf/find-func-no-libs.m4 \
65	$(top_srcdir)/cf/find-func-no-libs2.m4 \
66	$(top_srcdir)/cf/find-func.m4 \
67	$(top_srcdir)/cf/find-if-not-broken.m4 \
68	$(top_srcdir)/cf/framework-security.m4 \
69	$(top_srcdir)/cf/have-struct-field.m4 \
70	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
71	$(top_srcdir)/cf/krb-bigendian.m4 \
72	$(top_srcdir)/cf/krb-func-getlogin.m4 \
73	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
74	$(top_srcdir)/cf/krb-readline.m4 \
75	$(top_srcdir)/cf/krb-struct-spwd.m4 \
76	$(top_srcdir)/cf/krb-struct-winsize.m4 \
77	$(top_srcdir)/cf/largefile.m4 $(top_srcdir)/cf/mips-abi.m4 \
78	$(top_srcdir)/cf/misc.m4 $(top_srcdir)/cf/need-proto.m4 \
79	$(top_srcdir)/cf/osfc2.m4 $(top_srcdir)/cf/otp.m4 \
80	$(top_srcdir)/cf/proto-compat.m4 $(top_srcdir)/cf/pthreads.m4 \
81	$(top_srcdir)/cf/resolv.m4 $(top_srcdir)/cf/retsigtype.m4 \
82	$(top_srcdir)/cf/roken-frag.m4 \
83	$(top_srcdir)/cf/socket-wrapper.m4 $(top_srcdir)/cf/sunos.m4 \
84	$(top_srcdir)/cf/telnet.m4 $(top_srcdir)/cf/test-package.m4 \
85	$(top_srcdir)/cf/version-script.m4 $(top_srcdir)/cf/wflags.m4 \
86	$(top_srcdir)/cf/win32.m4 $(top_srcdir)/cf/with-all.m4 \
87	$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
88am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89	$(ACLOCAL_M4)
90mkinstalldirs = $(install_sh) -d
91CONFIG_HEADER = $(top_builddir)/include/config.h
92CONFIG_CLEAN_FILES =
93am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
94binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
95PROGRAMS = $(bin_PROGRAMS)
96am_su_OBJECTS = su.$(OBJEXT)
97su_OBJECTS = $(am_su_OBJECTS)
98su_LDADD = $(LDADD)
99am__DEPENDENCIES_1 =
100am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
101	$(am__DEPENDENCIES_1)
102su_DEPENDENCIES = $(am__DEPENDENCIES_2) \
103	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
104	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
105	$(am__DEPENDENCIES_1)
106DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@
107depcomp =
108am__depfiles_maybe =
109COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
110	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
112	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
113	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
114CCLD = $(CC)
115LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
116	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
117	$(LDFLAGS) -o $@
118SOURCES = $(su_SOURCES)
119DIST_SOURCES = $(su_SOURCES)
120man1dir = $(mandir)/man1
121MANS = $(man_MANS)
122ETAGS = etags
123CTAGS = ctags
124DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
125ACLOCAL = @ACLOCAL@
126AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
127AMTAR = @AMTAR@
128AR = @AR@
129AUTOCONF = @AUTOCONF@
130AUTOHEADER = @AUTOHEADER@
131AUTOMAKE = @AUTOMAKE@
132AWK = @AWK@
133CANONICAL_HOST = @CANONICAL_HOST@
134CATMAN = @CATMAN@
135CATMANEXT = @CATMANEXT@
136CC = @CC@
137CFLAGS = @CFLAGS@
138COMPILE_ET = @COMPILE_ET@
139CPP = @CPP@
140CPPFLAGS = @CPPFLAGS@
141CXX = @CXX@
142CXXCPP = @CXXCPP@
143CXXFLAGS = @CXXFLAGS@
144CYGPATH_W = @CYGPATH_W@
145DBLIB = @DBLIB@
146DEFS = @DEFS@
147DIR_com_err = @DIR_com_err@
148DIR_hcrypto = @DIR_hcrypto@
149DIR_hdbdir = @DIR_hdbdir@
150DIR_roken = @DIR_roken@
151ECHO = @ECHO@
152ECHO_C = @ECHO_C@
153ECHO_N = @ECHO_N@
154ECHO_T = @ECHO_T@
155EGREP = @EGREP@
156EXEEXT = @EXEEXT@
157F77 = @F77@
158FFLAGS = @FFLAGS@
159GREP = @GREP@
160GROFF = @GROFF@
161INCLUDES_roken = @INCLUDES_roken@
162INCLUDE_hcrypto = @INCLUDE_hcrypto@
163INCLUDE_hesiod = @INCLUDE_hesiod@
164INCLUDE_krb4 = @INCLUDE_krb4@
165INCLUDE_openldap = @INCLUDE_openldap@
166INCLUDE_readline = @INCLUDE_readline@
167INSTALL = @INSTALL@
168INSTALL_DATA = @INSTALL_DATA@
169INSTALL_PROGRAM = @INSTALL_PROGRAM@
170INSTALL_SCRIPT = @INSTALL_SCRIPT@
171INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
172LDFLAGS = @LDFLAGS@
173LDFLAGS_VERSION_SCRIPT = @LDFLAGS_VERSION_SCRIPT@
174LEX = @LEX@
175LEXLIB = @LEXLIB@
176LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
177LIBADD_roken = @LIBADD_roken@
178LIBOBJS = @LIBOBJS@
179LIBS = @LIBS@
180LIBTOOL = @LIBTOOL@
181LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
182LIB_NDBM = @LIB_NDBM@
183LIB_XauFileName = @LIB_XauFileName@
184LIB_XauReadAuth = @LIB_XauReadAuth@
185LIB_XauWriteAuth = @LIB_XauWriteAuth@
186LIB_bswap16 = @LIB_bswap16@
187LIB_bswap32 = @LIB_bswap32@
188LIB_com_err = @LIB_com_err@
189LIB_com_err_a = @LIB_com_err_a@
190LIB_com_err_so = @LIB_com_err_so@
191LIB_crypt = @LIB_crypt@
192LIB_db_create = @LIB_db_create@
193LIB_dbm_firstkey = @LIB_dbm_firstkey@
194LIB_dbopen = @LIB_dbopen@
195LIB_dlopen = @LIB_dlopen@
196LIB_dn_expand = @LIB_dn_expand@
197LIB_door_create = @LIB_door_create@
198LIB_el_init = @LIB_el_init@
199LIB_freeaddrinfo = @LIB_freeaddrinfo@
200LIB_gai_strerror = @LIB_gai_strerror@
201LIB_getaddrinfo = @LIB_getaddrinfo@
202LIB_gethostbyname = @LIB_gethostbyname@
203LIB_gethostbyname2 = @LIB_gethostbyname2@
204LIB_getnameinfo = @LIB_getnameinfo@
205LIB_getpwnam_r = @LIB_getpwnam_r@
206LIB_getsockopt = @LIB_getsockopt@
207LIB_hcrypto = @LIB_hcrypto@
208LIB_hcrypto_a = @LIB_hcrypto_a@
209LIB_hcrypto_appl = @LIB_hcrypto_appl@
210LIB_hcrypto_so = @LIB_hcrypto_so@
211LIB_hesiod = @LIB_hesiod@
212LIB_hstrerror = @LIB_hstrerror@
213LIB_kdb = @LIB_kdb@
214LIB_krb4 = @LIB_krb4@
215LIB_loadquery = @LIB_loadquery@
216LIB_logout = @LIB_logout@
217LIB_logwtmp = @LIB_logwtmp@
218LIB_openldap = @LIB_openldap@
219LIB_openpty = @LIB_openpty@
220LIB_otp = @LIB_otp@
221LIB_pidfile = @LIB_pidfile@
222LIB_readline = @LIB_readline@
223LIB_res_ndestroy = @LIB_res_ndestroy@
224LIB_res_nsearch = @LIB_res_nsearch@
225LIB_res_search = @LIB_res_search@
226LIB_roken = @LIB_roken@
227LIB_security = @LIB_security@
228LIB_setsockopt = @LIB_setsockopt@
229LIB_socket = @LIB_socket@
230LIB_syslog = @LIB_syslog@
231LIB_tgetent = @LIB_tgetent@
232LN_S = @LN_S@
233LTLIBOBJS = @LTLIBOBJS@
234MAINT = @MAINT@
235MAKEINFO = @MAKEINFO@
236MKDIR_P = @MKDIR_P@
237NROFF = @NROFF@
238OBJEXT = @OBJEXT@
239PACKAGE = @PACKAGE@
240PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
241PACKAGE_NAME = @PACKAGE_NAME@
242PACKAGE_STRING = @PACKAGE_STRING@
243PACKAGE_TARNAME = @PACKAGE_TARNAME@
244PACKAGE_VERSION = @PACKAGE_VERSION@
245PATH_SEPARATOR = @PATH_SEPARATOR@
246PTHREADS_CFLAGS = @PTHREADS_CFLAGS@
247PTHREADS_LIBS = @PTHREADS_LIBS@
248RANLIB = @RANLIB@
249SET_MAKE = @SET_MAKE@
250SHELL = @SHELL@
251STRIP = @STRIP@
252VERSION = @VERSION@
253VERSIONING = @VERSIONING@
254VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
255WFLAGS = @WFLAGS@
256WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
257WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
258XMKMF = @XMKMF@
259X_CFLAGS = @X_CFLAGS@
260X_EXTRA_LIBS = @X_EXTRA_LIBS@
261X_LIBS = @X_LIBS@
262X_PRE_LIBS = @X_PRE_LIBS@
263YACC = @YACC@
264YFLAGS = @YFLAGS@
265abs_builddir = @abs_builddir@
266abs_srcdir = @abs_srcdir@
267abs_top_builddir = @abs_top_builddir@
268abs_top_srcdir = @abs_top_srcdir@
269ac_ct_CC = @ac_ct_CC@
270ac_ct_CXX = @ac_ct_CXX@
271ac_ct_F77 = @ac_ct_F77@
272am__leading_dot = @am__leading_dot@
273am__tar = @am__tar@
274am__untar = @am__untar@
275bindir = @bindir@
276build = @build@
277build_alias = @build_alias@
278build_cpu = @build_cpu@
279build_os = @build_os@
280build_vendor = @build_vendor@
281builddir = @builddir@
282datadir = @datadir@
283datarootdir = @datarootdir@
284docdir = @docdir@
285dpagaix_cflags = @dpagaix_cflags@
286dpagaix_ldadd = @dpagaix_ldadd@
287dpagaix_ldflags = @dpagaix_ldflags@
288dvidir = @dvidir@
289exec_prefix = @exec_prefix@
290host = @host@
291host_alias = @host_alias@
292host_cpu = @host_cpu@
293host_os = @host_os@
294host_vendor = @host_vendor@
295htmldir = @htmldir@
296includedir = @includedir@
297infodir = @infodir@
298install_sh = @install_sh@
299libdir = @libdir@
300libexecdir = @libexecdir@
301localedir = @localedir@
302localstatedir = @localstatedir@
303mandir = @mandir@
304mkdir_p = @mkdir_p@
305oldincludedir = @oldincludedir@
306pdfdir = @pdfdir@
307prefix = @prefix@
308program_transform_name = @program_transform_name@
309psdir = @psdir@
310sbindir = @sbindir@
311sharedstatedir = @sharedstatedir@
312srcdir = @srcdir@
313sysconfdir = @sysconfdir@
314target_alias = @target_alias@
315top_builddir = @top_builddir@
316top_srcdir = @top_srcdir@
317SUFFIXES = .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
318AM_CPPFLAGS = -I$(top_builddir)/include $(INCLUDES_roken) \
319	$(INCLUDE_krb4) $(INCLUDE_hcrypto)
320@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
321AM_CFLAGS = $(WFLAGS)
322CP = cp
323buildinclude = $(top_builddir)/include
324LIB_getattr = @LIB_getattr@
325LIB_getpwent_r = @LIB_getpwent_r@
326LIB_odm_initialize = @LIB_odm_initialize@
327LIB_setpcred = @LIB_setpcred@
328HESIODLIB = @HESIODLIB@
329HESIODINCLUDE = @HESIODINCLUDE@
330NROFF_MAN = groff -mandoc -Tascii
331LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
332@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
333@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
334
335@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
336@KRB5_TRUE@LIB_tsasl = $(top_builddir)/lib/tsasl/libtsasl.la
337@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
338bin_SUIDS = su
339su_SOURCES = su.c supaths.h
340man_MANS = su.1
341LDADD = $(LIB_kafs) \
342	$(top_builddir)/lib/krb5/libkrb5.la \
343	$(LIB_krb4) \
344	$(LIB_hcrypto) \
345	$(top_builddir)/lib/asn1/libasn1.la \
346	$(LIB_roken)
347
348EXTRA_DIST = $(man_MANS)
349all: all-am
350
351.SUFFIXES:
352.SUFFIXES: .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
353$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
354	@for dep in $?; do \
355	  case '$(am__configure_deps)' in \
356	    *$$dep*) \
357	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
358		&& exit 0; \
359	      exit 1;; \
360	  esac; \
361	done; \
362	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/su/Makefile'; \
363	cd $(top_srcdir) && \
364	  $(AUTOMAKE) --foreign  --ignore-deps appl/su/Makefile
365.PRECIOUS: Makefile
366Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
367	@case '$?' in \
368	  *config.status*) \
369	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
370	  *) \
371	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
372	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
373	esac;
374
375$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
376	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
377
378$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
379	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
380$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
381	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382install-binPROGRAMS: $(bin_PROGRAMS)
383	@$(NORMAL_INSTALL)
384	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
385	@list='$(bin_PROGRAMS)'; for p in $$list; do \
386	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
387	  if test -f $$p \
388	     || test -f $$p1 \
389	  ; then \
390	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
391	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
392	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
393	  else :; fi; \
394	done
395
396uninstall-binPROGRAMS:
397	@$(NORMAL_UNINSTALL)
398	@list='$(bin_PROGRAMS)'; for p in $$list; do \
399	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
400	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
401	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
402	done
403
404clean-binPROGRAMS:
405	@list='$(bin_PROGRAMS)'; for p in $$list; do \
406	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
407	  echo " rm -f $$p $$f"; \
408	  rm -f $$p $$f ; \
409	done
410su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
411	@rm -f su$(EXEEXT)
412	$(LINK) $(su_OBJECTS) $(su_LDADD) $(LIBS)
413
414mostlyclean-compile:
415	-rm -f *.$(OBJEXT)
416
417distclean-compile:
418	-rm -f *.tab.c
419
420.c.o:
421	$(COMPILE) -c $<
422
423.c.obj:
424	$(COMPILE) -c `$(CYGPATH_W) '$<'`
425
426.c.lo:
427	$(LTCOMPILE) -c -o $@ $<
428
429mostlyclean-libtool:
430	-rm -f *.lo
431
432clean-libtool:
433	-rm -rf .libs _libs
434install-man1: $(man1_MANS) $(man_MANS)
435	@$(NORMAL_INSTALL)
436	test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
437	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
438	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
439	for i in $$l2; do \
440	  case "$$i" in \
441	    *.1*) list="$$list $$i" ;; \
442	  esac; \
443	done; \
444	for i in $$list; do \
445	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
446	  else file=$$i; fi; \
447	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
448	  case "$$ext" in \
449	    1*) ;; \
450	    *) ext='1' ;; \
451	  esac; \
452	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
453	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
454	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
455	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
456	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
457	done
458uninstall-man1:
459	@$(NORMAL_UNINSTALL)
460	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
461	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
462	for i in $$l2; do \
463	  case "$$i" in \
464	    *.1*) list="$$list $$i" ;; \
465	  esac; \
466	done; \
467	for i in $$list; do \
468	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
469	  case "$$ext" in \
470	    1*) ;; \
471	    *) ext='1' ;; \
472	  esac; \
473	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
474	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
475	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
476	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
477	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
478	done
479
480ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
481	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
482	unique=`for i in $$list; do \
483	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
484	  done | \
485	  $(AWK) '    { files[$$0] = 1; } \
486	       END { for (i in files) print i; }'`; \
487	mkid -fID $$unique
488tags: TAGS
489
490TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
491		$(TAGS_FILES) $(LISP)
492	tags=; \
493	here=`pwd`; \
494	list='$(SOURCES) $(HEADERS)  $(LISP) $(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	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
501	  test -n "$$unique" || unique=$$empty_fix; \
502	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
503	    $$tags $$unique; \
504	fi
505ctags: CTAGS
506CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
507		$(TAGS_FILES) $(LISP)
508	tags=; \
509	here=`pwd`; \
510	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
511	unique=`for i in $$list; do \
512	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
513	  done | \
514	  $(AWK) '    { files[$$0] = 1; } \
515	       END { for (i in files) print i; }'`; \
516	test -z "$(CTAGS_ARGS)$$tags$$unique" \
517	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
518	     $$tags $$unique
519
520GTAGS:
521	here=`$(am__cd) $(top_builddir) && pwd` \
522	  && cd $(top_srcdir) \
523	  && gtags -i $(GTAGS_ARGS) $$here
524
525distclean-tags:
526	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
527
528distdir: $(DISTFILES)
529	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
530	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
531	list='$(DISTFILES)'; \
532	  dist_files=`for file in $$list; do echo $$file; done | \
533	  sed -e "s|^$$srcdirstrip/||;t" \
534	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
535	case $$dist_files in \
536	  */*) $(MKDIR_P) `echo "$$dist_files" | \
537			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
538			   sort -u` ;; \
539	esac; \
540	for file in $$dist_files; do \
541	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
542	  if test -d $$d/$$file; then \
543	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
544	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
545	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
546	    fi; \
547	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
548	  else \
549	    test -f $(distdir)/$$file \
550	    || cp -p $$d/$$file $(distdir)/$$file \
551	    || exit 1; \
552	  fi; \
553	done
554	$(MAKE) $(AM_MAKEFLAGS) \
555	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
556	  dist-hook
557check-am: all-am
558	$(MAKE) $(AM_MAKEFLAGS) check-local
559check: check-am
560all-am: Makefile $(PROGRAMS) $(MANS) all-local
561installdirs:
562	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
563	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
564	done
565install: install-am
566install-exec: install-exec-am
567install-data: install-data-am
568uninstall: uninstall-am
569
570install-am: all-am
571	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
572
573installcheck: installcheck-am
574install-strip:
575	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
576	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
577	  `test -z '$(STRIP)' || \
578	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
579mostlyclean-generic:
580
581clean-generic:
582
583distclean-generic:
584	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
585
586maintainer-clean-generic:
587	@echo "This command is intended for maintainers to use"
588	@echo "it deletes files that may require special tools to rebuild."
589clean: clean-am
590
591clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
592
593distclean: distclean-am
594	-rm -f Makefile
595distclean-am: clean-am distclean-compile distclean-generic \
596	distclean-tags
597
598dvi: dvi-am
599
600dvi-am:
601
602html: html-am
603
604info: info-am
605
606info-am:
607
608install-data-am: install-man
609	@$(NORMAL_INSTALL)
610	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
611
612install-dvi: install-dvi-am
613
614install-exec-am: install-binPROGRAMS
615	@$(NORMAL_INSTALL)
616	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
617
618install-html: install-html-am
619
620install-info: install-info-am
621
622install-man: install-man1
623
624install-pdf: install-pdf-am
625
626install-ps: install-ps-am
627
628installcheck-am:
629
630maintainer-clean: maintainer-clean-am
631	-rm -f Makefile
632maintainer-clean-am: distclean-am maintainer-clean-generic
633
634mostlyclean: mostlyclean-am
635
636mostlyclean-am: mostlyclean-compile mostlyclean-generic \
637	mostlyclean-libtool
638
639pdf: pdf-am
640
641pdf-am:
642
643ps: ps-am
644
645ps-am:
646
647uninstall-am: uninstall-binPROGRAMS uninstall-man
648	@$(NORMAL_INSTALL)
649	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
650
651uninstall-man: uninstall-man1
652
653.MAKE: install-am install-data-am install-exec-am install-strip \
654	uninstall-am
655
656.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
657	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
658	dist-hook distclean distclean-compile distclean-generic \
659	distclean-libtool distclean-tags distdir dvi dvi-am html \
660	html-am info info-am install install-am install-binPROGRAMS \
661	install-data install-data-am install-data-hook install-dvi \
662	install-dvi-am install-exec install-exec-am install-exec-hook \
663	install-html install-html-am install-info install-info-am \
664	install-man install-man1 install-pdf install-pdf-am install-ps \
665	install-ps-am install-strip installcheck installcheck-am \
666	installdirs maintainer-clean maintainer-clean-generic \
667	mostlyclean mostlyclean-compile mostlyclean-generic \
668	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
669	uninstall-am uninstall-binPROGRAMS uninstall-hook \
670	uninstall-man uninstall-man1
671
672
673install-suid-programs:
674	@foo='$(bin_SUIDS)'; \
675	for file in $$foo; do \
676	x=$(DESTDIR)$(bindir)/$$file; \
677	if chown 0:0 $$x && chmod u+s $$x; then :; else \
678	echo "*"; \
679	echo "* Failed to install $$x setuid root"; \
680	echo "*"; \
681	fi; done
682
683install-exec-hook: install-suid-programs
684
685install-build-headers:: $(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ) $(nobase_include_HEADERS)
686	@foo='$(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
687	for f in $$foo; do \
688		f=`basename $$f`; \
689		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
690		else file="$$f"; fi; \
691		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
692		: ; else \
693			echo " $(CP) $$file $(buildinclude)/$$f"; \
694			$(CP) $$file $(buildinclude)/$$f; \
695		fi ; \
696	done ; \
697	foo='$(nobase_include_HEADERS)'; \
698	for f in $$foo; do \
699		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
700		else file="$$f"; fi; \
701		$(mkdir_p) $(buildinclude)/`dirname $$f` ; \
702		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
703		: ; else \
704			echo " $(CP) $$file $(buildinclude)/$$f"; \
705			$(CP) $$file $(buildinclude)/$$f; \
706		fi ; \
707	done
708
709all-local: install-build-headers
710
711check-local::
712	@if test '$(CHECK_LOCAL)' = "no-check-local"; then \
713	  foo=''; elif test '$(CHECK_LOCAL)'; then \
714	  foo='$(CHECK_LOCAL)'; else \
715	  foo='$(PROGRAMS)'; fi; \
716	  if test "$$foo"; then \
717	  failed=0; all=0; \
718	  for i in $$foo; do \
719	    all=`expr $$all + 1`; \
720	    if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
721	      echo "PASS: $$i"; \
722	    else \
723	      echo "FAIL: $$i"; \
724	      failed=`expr $$failed + 1`; \
725	    fi; \
726	  done; \
727	  if test "$$failed" -eq 0; then \
728	    banner="All $$all tests passed"; \
729	  else \
730	    banner="$$failed of $$all tests failed"; \
731	  fi; \
732	  dashes=`echo "$$banner" | sed s/./=/g`; \
733	  echo "$$dashes"; \
734	  echo "$$banner"; \
735	  echo "$$dashes"; \
736	  test "$$failed" -eq 0 || exit 1; \
737	fi
738
739.x.c:
740	@cmp -s $< $@ 2> /dev/null || cp $< $@
741#NROFF_MAN = nroff -man
742.1.cat1:
743	$(NROFF_MAN) $< > $@
744.3.cat3:
745	$(NROFF_MAN) $< > $@
746.5.cat5:
747	$(NROFF_MAN) $< > $@
748.8.cat8:
749	$(NROFF_MAN) $< > $@
750
751dist-cat1-mans:
752	@foo='$(man1_MANS)'; \
753	bar='$(man_MANS)'; \
754	for i in $$bar; do \
755	case $$i in \
756	*.1) foo="$$foo $$i";; \
757	esac; done ;\
758	for i in $$foo; do \
759		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
760		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
761		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
762	done
763
764dist-cat3-mans:
765	@foo='$(man3_MANS)'; \
766	bar='$(man_MANS)'; \
767	for i in $$bar; do \
768	case $$i in \
769	*.3) foo="$$foo $$i";; \
770	esac; done ;\
771	for i in $$foo; do \
772		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
773		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
774		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
775	done
776
777dist-cat5-mans:
778	@foo='$(man5_MANS)'; \
779	bar='$(man_MANS)'; \
780	for i in $$bar; do \
781	case $$i in \
782	*.5) foo="$$foo $$i";; \
783	esac; done ;\
784	for i in $$foo; do \
785		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
786		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
787		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
788	done
789
790dist-cat8-mans:
791	@foo='$(man8_MANS)'; \
792	bar='$(man_MANS)'; \
793	for i in $$bar; do \
794	case $$i in \
795	*.8) foo="$$foo $$i";; \
796	esac; done ;\
797	for i in $$foo; do \
798		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
799		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
800		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
801	done
802
803dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
804
805install-cat-mans:
806	$(SHELL) $(top_srcdir)/cf/install-catman.sh install "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
807
808uninstall-cat-mans:
809	$(SHELL) $(top_srcdir)/cf/install-catman.sh uninstall "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
810
811install-data-hook: install-cat-mans
812uninstall-hook: uninstall-cat-mans
813
814.et.h:
815	$(COMPILE_ET) $<
816.et.c:
817	$(COMPILE_ET) $<
818
819#
820# Useful target for debugging
821#
822
823check-valgrind:
824	tobjdir=`cd $(top_builddir) && pwd` ; \
825	tsrcdir=`cd $(top_srcdir) && pwd` ; \
826	env TESTS_ENVIRONMENT="$${tobjdir}/libtool --mode execute valgrind --leak-check=full --trace-children=yes --quiet -q --num-callers=30 --suppressions=$${tsrcdir}/cf/valgrind-suppressions" make check
827
828#
829# Target to please samba build farm, builds distfiles in-tree.
830# Will break when automake changes...
831#
832
833distdir-in-tree: $(DISTFILES) $(INFO_DEPS)
834	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
835	  if test "$$subdir" != .; then \
836	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \
837	  fi ; \
838	done
839# Tell versions [3.59,3.63) of GNU make to not export all variables.
840# Otherwise a system limit (for SysV at least) may be exceeded.
841.NOEXPORT:
842