xref: /freebsd/crypto/heimdal/lib/kafs/Makefile.in (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# $Id$
19
20# $Id$
21
22# $Id$
23
24
25
26VPATH = @srcdir@
27pkgdatadir = $(datadir)/@PACKAGE@
28pkgincludedir = $(includedir)/@PACKAGE@
29pkglibdir = $(libdir)/@PACKAGE@
30pkglibexecdir = $(libexecdir)/@PACKAGE@
31am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
32install_sh_DATA = $(install_sh) -c -m 644
33install_sh_PROGRAM = $(install_sh) -c
34install_sh_SCRIPT = $(install_sh) -c
35INSTALL_HEADER = $(INSTALL_DATA)
36transform = $(program_transform_name)
37NORMAL_INSTALL = :
38PRE_INSTALL = :
39POST_INSTALL = :
40NORMAL_UNINSTALL = :
41PRE_UNINSTALL = :
42POST_UNINSTALL = :
43build_triplet = @build@
44host_triplet = @host@
45DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
46	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
47	$(top_srcdir)/cf/Makefile.am.common ChangeLog
48subdir = lib/kafs
49ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
51	$(top_srcdir)/cf/auth-modules.m4 \
52	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
53	$(top_srcdir)/cf/broken-glob.m4 \
54	$(top_srcdir)/cf/broken-realloc.m4 \
55	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
56	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
57	$(top_srcdir)/cf/capabilities.m4 \
58	$(top_srcdir)/cf/check-compile-et.m4 \
59	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
60	$(top_srcdir)/cf/check-man.m4 \
61	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
62	$(top_srcdir)/cf/check-type-extra.m4 \
63	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
64	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
65	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
66	$(top_srcdir)/cf/dispatch.m4 $(top_srcdir)/cf/dlopen.m4 \
67	$(top_srcdir)/cf/find-func-no-libs.m4 \
68	$(top_srcdir)/cf/find-func-no-libs2.m4 \
69	$(top_srcdir)/cf/find-func.m4 \
70	$(top_srcdir)/cf/find-if-not-broken.m4 \
71	$(top_srcdir)/cf/framework-security.m4 \
72	$(top_srcdir)/cf/have-struct-field.m4 \
73	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
74	$(top_srcdir)/cf/krb-bigendian.m4 \
75	$(top_srcdir)/cf/krb-func-getlogin.m4 \
76	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
77	$(top_srcdir)/cf/krb-readline.m4 \
78	$(top_srcdir)/cf/krb-struct-spwd.m4 \
79	$(top_srcdir)/cf/krb-struct-winsize.m4 \
80	$(top_srcdir)/cf/largefile.m4 $(top_srcdir)/cf/libtool.m4 \
81	$(top_srcdir)/cf/ltoptions.m4 $(top_srcdir)/cf/ltsugar.m4 \
82	$(top_srcdir)/cf/ltversion.m4 $(top_srcdir)/cf/lt~obsolete.m4 \
83	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
84	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
85	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/pkg.m4 \
86	$(top_srcdir)/cf/proto-compat.m4 $(top_srcdir)/cf/pthreads.m4 \
87	$(top_srcdir)/cf/resolv.m4 $(top_srcdir)/cf/retsigtype.m4 \
88	$(top_srcdir)/cf/roken-frag.m4 \
89	$(top_srcdir)/cf/socket-wrapper.m4 $(top_srcdir)/cf/sunos.m4 \
90	$(top_srcdir)/cf/telnet.m4 $(top_srcdir)/cf/test-package.m4 \
91	$(top_srcdir)/cf/version-script.m4 $(top_srcdir)/cf/wflags.m4 \
92	$(top_srcdir)/cf/win32.m4 $(top_srcdir)/cf/with-all.m4 \
93	$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
94am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
95	$(ACLOCAL_M4)
96mkinstalldirs = $(install_sh) -d
97CONFIG_HEADER = $(top_builddir)/include/config.h
98CONFIG_CLEAN_FILES =
99CONFIG_CLEAN_VPATH_FILES =
100am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
101am__vpath_adj = case $$p in \
102    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
103    *) f=$$p;; \
104  esac;
105am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
106am__install_max = 40
107am__nobase_strip_setup = \
108  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
109am__nobase_strip = \
110  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
111am__nobase_list = $(am__nobase_strip_setup); \
112  for p in $$list; do echo "$$p $$p"; done | \
113  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
114  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
115    if (++n[$$2] == $(am__install_max)) \
116      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
117    END { for (dir in files) print dir, files[dir] }'
118am__base_list = \
119  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
120  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
121am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" \
122	"$(DESTDIR)$(foodir)" "$(DESTDIR)$(includedir)"
123LTLIBRARIES = $(lib_LTLIBRARIES)
124@KRB5_TRUE@am__DEPENDENCIES_1 = ../krb5/libkrb5.la
125am__DEPENDENCIES_2 =
126libkafs_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
127am__dist_libkafs_la_SOURCES_DIST = afssys.c afskrb5.c common.c \
128	afslib.c kafs_locl.h afssysdefs.h roken_rename.h
129@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@am__objects_1 = afslib.lo
130dist_libkafs_la_OBJECTS = afssys.lo afskrb5.lo common.lo \
131	$(am__objects_1)
132@do_roken_rename_TRUE@am__objects_2 = resolve.lo strtok_r.lo \
133@do_roken_rename_TRUE@	strlcpy.lo strsep.lo
134nodist_libkafs_la_OBJECTS = $(am__objects_2)
135libkafs_la_OBJECTS = $(dist_libkafs_la_OBJECTS) \
136	$(nodist_libkafs_la_OBJECTS)
137libkafs_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
138	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
139	$(libkafs_la_LDFLAGS) $(LDFLAGS) -o $@
140depcomp = $(SHELL) $(top_srcdir)/depcomp
141am__depfiles_maybe = depfiles
142am__mv = mv -f
143COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
144	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
145LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
146	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
147	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
148CCLD = $(CC)
149LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
150	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
151	$(LDFLAGS) -o $@
152SOURCES = $(EXTRA_libkafs_la_SOURCES) $(dist_libkafs_la_SOURCES) \
153	$(nodist_libkafs_la_SOURCES)
154DIST_SOURCES = $(EXTRA_libkafs_la_SOURCES) \
155	$(am__dist_libkafs_la_SOURCES_DIST)
156man3dir = $(mandir)/man3
157MANS = $(man_MANS)
158DATA = $(foo_DATA)
159HEADERS = $(include_HEADERS)
160ETAGS = etags
161CTAGS = ctags
162DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
163ACLOCAL = @ACLOCAL@
164AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
165AMTAR = @AMTAR@
166AR = @AR@
167ASN1_COMPILE = @ASN1_COMPILE@
168ASN1_COMPILE_DEP = @ASN1_COMPILE_DEP@
169AUTOCONF = @AUTOCONF@
170AUTOHEADER = @AUTOHEADER@
171AUTOMAKE = @AUTOMAKE@
172AWK = @AWK@
173CANONICAL_HOST = @CANONICAL_HOST@
174CAPNG_CFLAGS = @CAPNG_CFLAGS@
175CAPNG_LIBS = @CAPNG_LIBS@
176CATMAN = @CATMAN@
177CATMANEXT = @CATMANEXT@
178CC = @CC@
179CCDEPMODE = @CCDEPMODE@
180CFLAGS = @CFLAGS@
181COMPILE_ET = @COMPILE_ET@
182CPP = @CPP@
183CPPFLAGS = @CPPFLAGS@
184CYGPATH_W = @CYGPATH_W@
185DBHEADER = @DBHEADER@
186DBLIB = @DBLIB@
187DEFS = @DEFS@
188DEPDIR = @DEPDIR@
189DIR_com_err = @DIR_com_err@
190DIR_hcrypto = @DIR_hcrypto@
191DIR_hdbdir = @DIR_hdbdir@
192DIR_roken = @DIR_roken@
193DLLTOOL = @DLLTOOL@
194DSYMUTIL = @DSYMUTIL@
195DUMPBIN = @DUMPBIN@
196ECHO_C = @ECHO_C@
197ECHO_N = @ECHO_N@
198ECHO_T = @ECHO_T@
199EGREP = @EGREP@
200EXEEXT = @EXEEXT@
201FGREP = @FGREP@
202GREP = @GREP@
203GROFF = @GROFF@
204INCLUDES_roken = @INCLUDES_roken@
205INCLUDE_hcrypto = @INCLUDE_hcrypto@
206INCLUDE_hesiod = @INCLUDE_hesiod@
207INCLUDE_krb4 = @INCLUDE_krb4@
208INCLUDE_libedit = @INCLUDE_libedit@
209INCLUDE_libintl = @INCLUDE_libintl@
210INCLUDE_openldap = @INCLUDE_openldap@
211INCLUDE_readline = @INCLUDE_readline@
212INCLUDE_sqlite3 = @INCLUDE_sqlite3@
213INSTALL = @INSTALL@
214INSTALL_DATA = @INSTALL_DATA@
215INSTALL_PROGRAM = @INSTALL_PROGRAM@
216INSTALL_SCRIPT = @INSTALL_SCRIPT@
217INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
218LD = @LD@
219LDFLAGS = @LDFLAGS@
220LDFLAGS_VERSION_SCRIPT = @LDFLAGS_VERSION_SCRIPT@
221LEX = @LEX@
222LEXLIB = @LEXLIB@
223LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
224LIBADD_roken = @LIBADD_roken@
225LIBOBJS = @LIBOBJS@
226LIBS = @LIBS@
227LIBTOOL = @LIBTOOL@
228LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
229LIB_NDBM = @LIB_NDBM@
230LIB_XauFileName = @LIB_XauFileName@
231LIB_XauReadAuth = @LIB_XauReadAuth@
232LIB_XauWriteAuth = @LIB_XauWriteAuth@
233LIB_bswap16 = @LIB_bswap16@
234LIB_bswap32 = @LIB_bswap32@
235LIB_com_err = @LIB_com_err@
236LIB_com_err_a = @LIB_com_err_a@
237LIB_com_err_so = @LIB_com_err_so@
238LIB_crypt = @LIB_crypt@
239LIB_db_create = @LIB_db_create@
240LIB_dbm_firstkey = @LIB_dbm_firstkey@
241LIB_dbopen = @LIB_dbopen@
242LIB_dispatch_async_f = @LIB_dispatch_async_f@
243LIB_dlopen = @LIB_dlopen@
244LIB_dn_expand = @LIB_dn_expand@
245LIB_dns_search = @LIB_dns_search@
246LIB_door_create = @LIB_door_create@
247LIB_freeaddrinfo = @LIB_freeaddrinfo@
248LIB_gai_strerror = @LIB_gai_strerror@
249LIB_getaddrinfo = @LIB_getaddrinfo@
250LIB_gethostbyname = @LIB_gethostbyname@
251LIB_gethostbyname2 = @LIB_gethostbyname2@
252LIB_getnameinfo = @LIB_getnameinfo@
253LIB_getpwnam_r = @LIB_getpwnam_r@
254LIB_getsockopt = @LIB_getsockopt@
255LIB_hcrypto = @LIB_hcrypto@
256LIB_hcrypto_a = @LIB_hcrypto_a@
257LIB_hcrypto_appl = @LIB_hcrypto_appl@
258LIB_hcrypto_so = @LIB_hcrypto_so@
259LIB_hesiod = @LIB_hesiod@
260LIB_hstrerror = @LIB_hstrerror@
261LIB_kdb = @LIB_kdb@
262LIB_krb4 = @LIB_krb4@
263LIB_libedit = @LIB_libedit@
264LIB_libintl = @LIB_libintl@
265LIB_loadquery = @LIB_loadquery@
266LIB_logout = @LIB_logout@
267LIB_logwtmp = @LIB_logwtmp@
268LIB_openldap = @LIB_openldap@
269LIB_openpty = @LIB_openpty@
270LIB_otp = @LIB_otp@
271LIB_pidfile = @LIB_pidfile@
272LIB_readline = @LIB_readline@
273LIB_res_ndestroy = @LIB_res_ndestroy@
274LIB_res_nsearch = @LIB_res_nsearch@
275LIB_res_search = @LIB_res_search@
276LIB_roken = @LIB_roken@
277LIB_security = @LIB_security@
278LIB_setsockopt = @LIB_setsockopt@
279LIB_socket = @LIB_socket@
280LIB_sqlite3 = @LIB_sqlite3@
281LIB_syslog = @LIB_syslog@
282LIB_tgetent = @LIB_tgetent@
283LIPO = @LIPO@
284LN_S = @LN_S@
285LTLIBOBJS = @LTLIBOBJS@
286MAINT = @MAINT@
287MAKEINFO = @MAKEINFO@
288MANIFEST_TOOL = @MANIFEST_TOOL@
289MKDIR_P = @MKDIR_P@
290NM = @NM@
291NMEDIT = @NMEDIT@
292NO_AFS = @NO_AFS@
293NROFF = @NROFF@
294OBJDUMP = @OBJDUMP@
295OBJEXT = @OBJEXT@
296OTOOL = @OTOOL@
297OTOOL64 = @OTOOL64@
298PACKAGE = @PACKAGE@
299PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
300PACKAGE_NAME = @PACKAGE_NAME@
301PACKAGE_STRING = @PACKAGE_STRING@
302PACKAGE_TARNAME = @PACKAGE_TARNAME@
303PACKAGE_URL = @PACKAGE_URL@
304PACKAGE_VERSION = @PACKAGE_VERSION@
305PATH_SEPARATOR = @PATH_SEPARATOR@
306PKG_CONFIG = @PKG_CONFIG@
307PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
308PTHREAD_LDADD = @PTHREAD_LDADD@
309PTHREAD_LIBADD = @PTHREAD_LIBADD@
310RANLIB = @RANLIB@
311SED = @SED@
312SET_MAKE = @SET_MAKE@
313SHELL = @SHELL@
314SLC = @SLC@
315SLC_DEP = @SLC_DEP@
316STRIP = @STRIP@
317VERSION = @VERSION@
318VERSIONING = @VERSIONING@
319WFLAGS = @WFLAGS@
320WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
321WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
322XMKMF = @XMKMF@
323X_CFLAGS = @X_CFLAGS@
324X_EXTRA_LIBS = @X_EXTRA_LIBS@
325X_LIBS = @X_LIBS@
326X_PRE_LIBS = @X_PRE_LIBS@
327YACC = @YACC@
328YFLAGS = @YFLAGS@
329abs_builddir = @abs_builddir@
330abs_srcdir = @abs_srcdir@
331abs_top_builddir = @abs_top_builddir@
332abs_top_srcdir = @abs_top_srcdir@
333ac_ct_AR = @ac_ct_AR@
334ac_ct_CC = @ac_ct_CC@
335ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
336am__include = @am__include@
337am__leading_dot = @am__leading_dot@
338am__quote = @am__quote@
339am__tar = @am__tar@
340am__untar = @am__untar@
341bindir = @bindir@
342build = @build@
343build_alias = @build_alias@
344build_cpu = @build_cpu@
345build_os = @build_os@
346build_vendor = @build_vendor@
347builddir = @builddir@
348datadir = @datadir@
349datarootdir = @datarootdir@
350docdir = @docdir@
351dpagaix_cflags = @dpagaix_cflags@
352dpagaix_ldadd = @dpagaix_ldadd@
353dpagaix_ldflags = @dpagaix_ldflags@
354dvidir = @dvidir@
355exec_prefix = @exec_prefix@
356host = @host@
357host_alias = @host_alias@
358host_cpu = @host_cpu@
359host_os = @host_os@
360host_vendor = @host_vendor@
361htmldir = @htmldir@
362includedir = @includedir@
363infodir = @infodir@
364install_sh = @install_sh@
365libdir = @libdir@
366libexecdir = @libexecdir@
367localedir = @localedir@
368localstatedir = @localstatedir@
369mandir = @mandir@
370mkdir_p = @mkdir_p@
371oldincludedir = @oldincludedir@
372pdfdir = @pdfdir@
373prefix = @prefix@
374program_transform_name = @program_transform_name@
375psdir = @psdir@
376sbindir = @sbindir@
377sharedstatedir = @sharedstatedir@
378srcdir = @srcdir@
379subdirs = @subdirs@
380sysconfdir = @sysconfdir@
381target_alias = @target_alias@
382top_build_prefix = @top_build_prefix@
383top_builddir = @top_builddir@
384top_srcdir = @top_srcdir@
385SUFFIXES = .et .h .x .z .hx .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
386DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
387AM_CPPFLAGS = $(INCLUDES_roken) $(AFS_EXTRA_DEFS) $(ROKEN_RENAME) \
388	$(krb5_am_workaround)
389@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
390AM_CFLAGS = $(WFLAGS)
391CP = cp
392buildinclude = $(top_builddir)/include
393LIB_el_init = @LIB_el_init@
394LIB_getattr = @LIB_getattr@
395LIB_getpwent_r = @LIB_getpwent_r@
396LIB_odm_initialize = @LIB_odm_initialize@
397LIB_setpcred = @LIB_setpcred@
398HESIODLIB = @HESIODLIB@
399HESIODINCLUDE = @HESIODINCLUDE@
400libexec_heimdaldir = $(libexecdir)/heimdal
401NROFF_MAN = groff -mandoc -Tascii
402LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
403@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
404@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
405
406@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
407LIB_heimbase = $(top_builddir)/base/libheimbase.la
408@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
409@KRB5_FALSE@DEPLIB_krb5 =
410@KRB5_TRUE@DEPLIB_krb5 = ../krb5/libkrb5.la
411@KRB5_FALSE@krb5_am_workaround =
412@KRB5_TRUE@krb5_am_workaround = $(INCLUDE_hcrypto) -I$(top_srcdir)/lib/krb5
413@AIX_FALSE@AFSL_EXP =
414@AIX_TRUE@AFSL_EXP = $(srcdir)/afsl.exp
415@AIX4_FALSE@@AIX_TRUE@AFS_EXTRA_LD = -e _nostart
416@AIX4_TRUE@@AIX_TRUE@AFS_EXTRA_LD = -bnoentry
417@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AIX_SRC = afslib.c
418@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AIX_SRC =
419@AIX_FALSE@AIX_SRC =
420@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_LIBS =
421@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_LIBS = afslib.so
422@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
423@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_DEFS =
424libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIBADD_roken)
425lib_LTLIBRARIES = libkafs.la
426libkafs_la_LDFLAGS = -version-info 5:1:5
427foodir = $(libdir)
428foo_DATA = $(AFS_EXTRA_LIBS)
429# EXTRA_DATA = afslib.so
430CLEANFILES = $(AFS_EXTRA_LIBS) $(ROKEN_SRCS)
431include_HEADERS = kafs.h
432@KRB5_TRUE@afskrb5_c =
433@do_roken_rename_TRUE@ROKEN_SRCS = resolve.c strtok_r.c strlcpy.c strsep.c
434dist_libkafs_la_SOURCES = \
435	afssys.c				\
436	afskrb5.c				\
437	common.c				\
438	$(AIX_SRC)				\
439	kafs_locl.h				\
440	afssysdefs.h				\
441	roken_rename.h
442
443nodist_libkafs_la_SOURCES = $(ROKEN_SRCS)
444EXTRA_libkafs_la_SOURCES = afskrb5.c afslib.c
445EXTRA_DIST = NTMakefile afsl.exp afslib.exp $(man_MANS)
446man_MANS = kafs.3
447all: all-am
448
449.SUFFIXES:
450.SUFFIXES: .et .h .x .z .hx .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
451$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
452	@for dep in $?; do \
453	  case '$(am__configure_deps)' in \
454	    *$$dep*) \
455	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
456	        && { if test -f $@; then exit 0; else break; fi; }; \
457	      exit 1;; \
458	  esac; \
459	done; \
460	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kafs/Makefile'; \
461	$(am__cd) $(top_srcdir) && \
462	  $(AUTOMAKE) --foreign lib/kafs/Makefile
463.PRECIOUS: Makefile
464Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
465	@case '$?' in \
466	  *config.status*) \
467	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
468	  *) \
469	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
470	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
471	esac;
472
473$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
474	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
475
476$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
477	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
478$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
479	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
480$(am__aclocal_m4_deps):
481install-libLTLIBRARIES: $(lib_LTLIBRARIES)
482	@$(NORMAL_INSTALL)
483	test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
484	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
485	list2=; for p in $$list; do \
486	  if test -f $$p; then \
487	    list2="$$list2 $$p"; \
488	  else :; fi; \
489	done; \
490	test -z "$$list2" || { \
491	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
492	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
493	}
494
495uninstall-libLTLIBRARIES:
496	@$(NORMAL_UNINSTALL)
497	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
498	for p in $$list; do \
499	  $(am__strip_dir) \
500	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
501	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
502	done
503
504clean-libLTLIBRARIES:
505	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
506	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
507	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
508	  test "$$dir" != "$$p" || dir=.; \
509	  echo "rm -f \"$${dir}/so_locations\""; \
510	  rm -f "$${dir}/so_locations"; \
511	done
512libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES)
513	$(libkafs_la_LINK) -rpath $(libdir) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
514
515mostlyclean-compile:
516	-rm -f *.$(OBJEXT)
517
518distclean-compile:
519	-rm -f *.tab.c
520
521@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/afskrb5.Plo@am__quote@
522@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/afslib.Plo@am__quote@
523@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/afssys.Plo@am__quote@
524@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
525@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Plo@am__quote@
526@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strlcpy.Plo@am__quote@
527@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strsep.Plo@am__quote@
528@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtok_r.Plo@am__quote@
529
530.c.o:
531@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
532@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
533@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
534@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535@am__fastdepCC_FALSE@	$(COMPILE) -c $<
536
537.c.obj:
538@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
539@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
540@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
541@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
542@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
543
544.c.lo:
545@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
546@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
547@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
548@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
549@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
550
551mostlyclean-libtool:
552	-rm -f *.lo
553
554clean-libtool:
555	-rm -rf .libs _libs
556install-man3: $(man_MANS)
557	@$(NORMAL_INSTALL)
558	test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
559	@list=''; test -n "$(man3dir)" || exit 0; \
560	{ for i in $$list; do echo "$$i"; done; \
561	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
562	  sed -n '/\.3[a-z]*$$/p'; \
563	} | while read p; do \
564	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
565	  echo "$$d$$p"; echo "$$p"; \
566	done | \
567	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
568	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
569	sed 'N;N;s,\n, ,g' | { \
570	list=; while read file base inst; do \
571	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
572	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
573	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
574	  fi; \
575	done; \
576	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
577	while read files; do \
578	  test -z "$$files" || { \
579	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
580	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
581	done; }
582
583uninstall-man3:
584	@$(NORMAL_UNINSTALL)
585	@list=''; test -n "$(man3dir)" || exit 0; \
586	files=`{ for i in $$list; do echo "$$i"; done; \
587	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
588	  sed -n '/\.3[a-z]*$$/p'; \
589	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
590	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
591	test -z "$$files" || { \
592	  echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
593	  cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
594install-fooDATA: $(foo_DATA)
595	@$(NORMAL_INSTALL)
596	test -z "$(foodir)" || $(MKDIR_P) "$(DESTDIR)$(foodir)"
597	@list='$(foo_DATA)'; test -n "$(foodir)" || list=; \
598	for p in $$list; do \
599	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
600	  echo "$$d$$p"; \
601	done | $(am__base_list) | \
602	while read files; do \
603	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(foodir)'"; \
604	  $(INSTALL_DATA) $$files "$(DESTDIR)$(foodir)" || exit $$?; \
605	done
606
607uninstall-fooDATA:
608	@$(NORMAL_UNINSTALL)
609	@list='$(foo_DATA)'; test -n "$(foodir)" || list=; \
610	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
611	test -n "$$files" || exit 0; \
612	echo " ( cd '$(DESTDIR)$(foodir)' && rm -f" $$files ")"; \
613	cd "$(DESTDIR)$(foodir)" && rm -f $$files
614install-includeHEADERS: $(include_HEADERS)
615	@$(NORMAL_INSTALL)
616	test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
617	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
618	for p in $$list; do \
619	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
620	  echo "$$d$$p"; \
621	done | $(am__base_list) | \
622	while read files; do \
623	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
624	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
625	done
626
627uninstall-includeHEADERS:
628	@$(NORMAL_UNINSTALL)
629	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
630	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
631	test -n "$$files" || exit 0; \
632	echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
633	cd "$(DESTDIR)$(includedir)" && rm -f $$files
634
635ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
636	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
637	unique=`for i in $$list; do \
638	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
639	  done | \
640	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
641	      END { if (nonempty) { for (i in files) print i; }; }'`; \
642	mkid -fID $$unique
643tags: TAGS
644
645TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
646		$(TAGS_FILES) $(LISP)
647	set x; \
648	here=`pwd`; \
649	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
650	unique=`for i in $$list; do \
651	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
652	  done | \
653	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
654	      END { if (nonempty) { for (i in files) print i; }; }'`; \
655	shift; \
656	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
657	  test -n "$$unique" || unique=$$empty_fix; \
658	  if test $$# -gt 0; then \
659	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
660	      "$$@" $$unique; \
661	  else \
662	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
663	      $$unique; \
664	  fi; \
665	fi
666ctags: CTAGS
667CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
668		$(TAGS_FILES) $(LISP)
669	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
670	unique=`for i in $$list; do \
671	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
672	  done | \
673	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
674	      END { if (nonempty) { for (i in files) print i; }; }'`; \
675	test -z "$(CTAGS_ARGS)$$unique" \
676	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
677	     $$unique
678
679GTAGS:
680	here=`$(am__cd) $(top_builddir) && pwd` \
681	  && $(am__cd) $(top_srcdir) \
682	  && gtags -i $(GTAGS_ARGS) "$$here"
683
684distclean-tags:
685	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
686
687distdir: $(DISTFILES)
688	@list='$(MANS)'; if test -n "$$list"; then \
689	  list=`for p in $$list; do \
690	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
691	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
692	  if test -n "$$list" && \
693	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
694	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
695	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
696	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
697	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
698	    exit 1; \
699	  else :; fi; \
700	else :; fi
701	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
702	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
703	list='$(DISTFILES)'; \
704	  dist_files=`for file in $$list; do echo $$file; done | \
705	  sed -e "s|^$$srcdirstrip/||;t" \
706	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
707	case $$dist_files in \
708	  */*) $(MKDIR_P) `echo "$$dist_files" | \
709			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
710			   sort -u` ;; \
711	esac; \
712	for file in $$dist_files; do \
713	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
714	  if test -d $$d/$$file; then \
715	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
716	    if test -d "$(distdir)/$$file"; then \
717	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
718	    fi; \
719	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
720	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
721	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
722	    fi; \
723	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
724	  else \
725	    test -f "$(distdir)/$$file" \
726	    || cp -p $$d/$$file "$(distdir)/$$file" \
727	    || exit 1; \
728	  fi; \
729	done
730	$(MAKE) $(AM_MAKEFLAGS) \
731	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
732	  dist-hook
733check-am: all-am
734	$(MAKE) $(AM_MAKEFLAGS) check-local
735check: check-am
736all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
737installdirs:
738	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(foodir)" "$(DESTDIR)$(includedir)"; do \
739	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
740	done
741install: install-am
742install-exec: install-exec-am
743install-data: install-data-am
744uninstall: uninstall-am
745
746install-am: all-am
747	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
748
749installcheck: installcheck-am
750install-strip:
751	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
752	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
753	  `test -z '$(STRIP)' || \
754	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
755mostlyclean-generic:
756
757clean-generic:
758	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
759
760distclean-generic:
761	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
762	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
763
764maintainer-clean-generic:
765	@echo "This command is intended for maintainers to use"
766	@echo "it deletes files that may require special tools to rebuild."
767clean: clean-am
768
769clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
770	mostlyclean-am
771
772distclean: distclean-am
773	-rm -rf ./$(DEPDIR)
774	-rm -f Makefile
775distclean-am: clean-am distclean-compile distclean-generic \
776	distclean-tags
777
778dvi: dvi-am
779
780dvi-am:
781
782html: html-am
783
784html-am:
785
786info: info-am
787
788info-am:
789
790install-data-am: install-fooDATA install-includeHEADERS install-man
791	@$(NORMAL_INSTALL)
792	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
793install-dvi: install-dvi-am
794
795install-dvi-am:
796
797install-exec-am: install-libLTLIBRARIES
798	@$(NORMAL_INSTALL)
799	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
800install-html: install-html-am
801
802install-html-am:
803
804install-info: install-info-am
805
806install-info-am:
807
808install-man: install-man3
809
810install-pdf: install-pdf-am
811
812install-pdf-am:
813
814install-ps: install-ps-am
815
816install-ps-am:
817
818installcheck-am:
819
820maintainer-clean: maintainer-clean-am
821	-rm -rf ./$(DEPDIR)
822	-rm -f Makefile
823maintainer-clean-am: distclean-am maintainer-clean-generic
824
825mostlyclean: mostlyclean-am
826
827mostlyclean-am: mostlyclean-compile mostlyclean-generic \
828	mostlyclean-libtool
829
830pdf: pdf-am
831
832pdf-am:
833
834ps: ps-am
835
836ps-am:
837
838uninstall-am: uninstall-fooDATA uninstall-includeHEADERS \
839	uninstall-libLTLIBRARIES uninstall-man
840	@$(NORMAL_INSTALL)
841	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
842uninstall-man: uninstall-man3
843
844.MAKE: check-am install-am install-data-am install-exec-am \
845	install-strip uninstall-am
846
847.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
848	clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \
849	dist-hook distclean distclean-compile distclean-generic \
850	distclean-libtool distclean-tags distdir dvi dvi-am html \
851	html-am info info-am install install-am install-data \
852	install-data-am install-data-hook install-dvi install-dvi-am \
853	install-exec install-exec-am install-exec-hook install-fooDATA \
854	install-html install-html-am install-includeHEADERS \
855	install-info install-info-am install-libLTLIBRARIES \
856	install-man install-man3 install-pdf install-pdf-am install-ps \
857	install-ps-am install-strip installcheck installcheck-am \
858	installdirs maintainer-clean maintainer-clean-generic \
859	mostlyclean mostlyclean-compile mostlyclean-generic \
860	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
861	uninstall-am uninstall-fooDATA uninstall-hook \
862	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
863	uninstall-man uninstall-man3
864
865
866install-suid-programs:
867	@foo='$(bin_SUIDS)'; \
868	for file in $$foo; do \
869	x=$(DESTDIR)$(bindir)/$$file; \
870	if chown 0:0 $$x && chmod u+s $$x; then :; else \
871	echo "*"; \
872	echo "* Failed to install $$x setuid root"; \
873	echo "*"; \
874	fi; done
875
876install-exec-hook: install-suid-programs
877
878install-build-headers:: $(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ) $(nobase_include_HEADERS)
879	@foo='$(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
880	for f in $$foo; do \
881		f=`basename $$f`; \
882		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
883		else file="$$f"; fi; \
884		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
885		: ; else \
886			echo " $(CP) $$file $(buildinclude)/$$f"; \
887			$(CP) $$file $(buildinclude)/$$f; \
888		fi ; \
889	done ; \
890	foo='$(nobase_include_HEADERS)'; \
891	for f in $$foo; do \
892		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
893		else file="$$f"; fi; \
894		$(mkdir_p) $(buildinclude)/`dirname $$f` ; \
895		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
896		: ; else \
897			echo " $(CP) $$file $(buildinclude)/$$f"; \
898			$(CP) $$file $(buildinclude)/$$f; \
899		fi ; \
900	done
901
902all-local: install-build-headers
903
904check-local::
905	@if test '$(CHECK_LOCAL)' = "no-check-local"; then \
906	  foo=''; elif test '$(CHECK_LOCAL)'; then \
907	  foo='$(CHECK_LOCAL)'; else \
908	  foo='$(PROGRAMS)'; fi; \
909	  if test "$$foo"; then \
910	  failed=0; all=0; \
911	  for i in $$foo; do \
912	    all=`expr $$all + 1`; \
913	    if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
914	      echo "PASS: $$i"; \
915	    else \
916	      echo "FAIL: $$i"; \
917	      failed=`expr $$failed + 1`; \
918	    fi; \
919	  done; \
920	  if test "$$failed" -eq 0; then \
921	    banner="All $$all tests passed"; \
922	  else \
923	    banner="$$failed of $$all tests failed"; \
924	  fi; \
925	  dashes=`echo "$$banner" | sed s/./=/g`; \
926	  echo "$$dashes"; \
927	  echo "$$banner"; \
928	  echo "$$dashes"; \
929	  test "$$failed" -eq 0 || exit 1; \
930	fi
931
932.x.c:
933	@cmp -s $< $@ 2> /dev/null || cp $< $@
934
935.hx.h:
936	@cmp -s $< $@ 2> /dev/null || cp $< $@
937#NROFF_MAN = nroff -man
938.1.cat1:
939	$(NROFF_MAN) $< > $@
940.3.cat3:
941	$(NROFF_MAN) $< > $@
942.5.cat5:
943	$(NROFF_MAN) $< > $@
944.8.cat8:
945	$(NROFF_MAN) $< > $@
946
947dist-cat1-mans:
948	@foo='$(man1_MANS)'; \
949	bar='$(man_MANS)'; \
950	for i in $$bar; do \
951	case $$i in \
952	*.1) foo="$$foo $$i";; \
953	esac; done ;\
954	for i in $$foo; do \
955		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
956		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
957		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
958	done
959
960dist-cat3-mans:
961	@foo='$(man3_MANS)'; \
962	bar='$(man_MANS)'; \
963	for i in $$bar; do \
964	case $$i in \
965	*.3) foo="$$foo $$i";; \
966	esac; done ;\
967	for i in $$foo; do \
968		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
969		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
970		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
971	done
972
973dist-cat5-mans:
974	@foo='$(man5_MANS)'; \
975	bar='$(man_MANS)'; \
976	for i in $$bar; do \
977	case $$i in \
978	*.5) foo="$$foo $$i";; \
979	esac; done ;\
980	for i in $$foo; do \
981		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
982		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
983		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
984	done
985
986dist-cat8-mans:
987	@foo='$(man8_MANS)'; \
988	bar='$(man_MANS)'; \
989	for i in $$bar; do \
990	case $$i in \
991	*.8) foo="$$foo $$i";; \
992	esac; done ;\
993	for i in $$foo; do \
994		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
995		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
996		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
997	done
998
999dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
1000
1001install-cat-mans:
1002	$(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)
1003
1004uninstall-cat-mans:
1005	$(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)
1006
1007install-data-hook: install-cat-mans
1008uninstall-hook: uninstall-cat-mans
1009
1010.et.h:
1011	$(COMPILE_ET) $<
1012.et.c:
1013	$(COMPILE_ET) $<
1014
1015#
1016# Useful target for debugging
1017#
1018
1019check-valgrind:
1020	tobjdir=`cd $(top_builddir) && pwd` ; \
1021	tsrcdir=`cd $(top_srcdir) && pwd` ; \
1022	env TESTS_ENVIRONMENT="$${tsrcdir}/cf/maybe-valgrind.sh -s $${tsrcdir} -o $${tobjdir}" make check
1023
1024#
1025# Target to please samba build farm, builds distfiles in-tree.
1026# Will break when automake changes...
1027#
1028
1029distdir-in-tree: $(DISTFILES) $(INFO_DEPS)
1030	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1031	  if test "$$subdir" != .; then \
1032	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \
1033	  fi ; \
1034	done
1035
1036# AIX: this almost works with gcc, but somehow it fails to use the
1037# correct ld, use ld instead
1038afslib.so: afslib.o
1039	ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp $(AFS_EXTRA_LD) afslib.o -lc
1040
1041resolve.c:
1042	$(LN_S) $(srcdir)/../roken/resolve.c .
1043
1044strtok_r.c:
1045	$(LN_S) $(srcdir)/../roken/strtok_r.c .
1046
1047strlcpy.c:
1048	$(LN_S) $(srcdir)/../roken/strlcpy.c .
1049
1050strsep.c:
1051	$(LN_S) $(srcdir)/../roken/strsep.c .
1052
1053# Tell versions [3.59,3.63) of GNU make to not export all variables.
1054# Otherwise a system limit (for SysV at least) may be exceeded.
1055.NOEXPORT:
1056