xref: /freebsd/crypto/heimdal/lib/roken/Makefile.in (revision bbd80c285ead4d04e4b8b9e950164352819694ba)
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.122.6.1 2003/05/12 15:20:47 joda 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.37.2.1 2003/05/08 17:08:09 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@
117MAINT = @MAINT@
118NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
119NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
120NROFF = @NROFF@
121OBJDUMP = @OBJDUMP@
122PACKAGE = @PACKAGE@
123RANLIB = @RANLIB@
124STRIP = @STRIP@
125VERSION = @VERSION@
126VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
127WFLAGS = @WFLAGS@
128WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
129WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
130X_CFLAGS = @X_CFLAGS@
131X_EXTRA_LIBS = @X_EXTRA_LIBS@
132X_LIBS = @X_LIBS@
133X_PRE_LIBS = @X_PRE_LIBS@
134YACC = @YACC@
135am__include = @am__include@
136am__quote = @am__quote@
137dpagaix_cflags = @dpagaix_cflags@
138dpagaix_ldadd = @dpagaix_ldadd@
139dpagaix_ldflags = @dpagaix_ldflags@
140install_sh = @install_sh@
141
142AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
143
144SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .hin
145
146INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
147
148@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
149
150AM_CFLAGS = $(WFLAGS)
151
152CP = cp
153
154buildinclude = $(top_builddir)/include
155
156LIB_XauReadAuth = @LIB_XauReadAuth@
157LIB_crypt = @LIB_crypt@
158LIB_dbm_firstkey = @LIB_dbm_firstkey@
159LIB_dbopen = @LIB_dbopen@
160LIB_dlopen = @LIB_dlopen@
161LIB_dn_expand = @LIB_dn_expand@
162LIB_el_init = @LIB_el_init@
163LIB_getattr = @LIB_getattr@
164LIB_gethostbyname = @LIB_gethostbyname@
165LIB_getpwent_r = @LIB_getpwent_r@
166LIB_getpwnam_r = @LIB_getpwnam_r@
167LIB_getsockopt = @LIB_getsockopt@
168LIB_logout = @LIB_logout@
169LIB_logwtmp = @LIB_logwtmp@
170LIB_odm_initialize = @LIB_odm_initialize@
171LIB_openpty = @LIB_openpty@
172LIB_pidfile = @LIB_pidfile@
173LIB_res_search = @LIB_res_search@
174LIB_setpcred = @LIB_setpcred@
175LIB_setsockopt = @LIB_setsockopt@
176LIB_socket = @LIB_socket@
177LIB_syslog = @LIB_syslog@
178LIB_tgetent = @LIB_tgetent@
179
180HESIODLIB = @HESIODLIB@
181HESIODINCLUDE = @HESIODINCLUDE@
182INCLUDE_hesiod = @INCLUDE_hesiod@
183LIB_hesiod = @LIB_hesiod@
184
185INCLUDE_krb4 = @INCLUDE_krb4@
186LIB_krb4 = @LIB_krb4@
187
188INCLUDE_openldap = @INCLUDE_openldap@
189LIB_openldap = @LIB_openldap@
190
191INCLUDE_readline = @INCLUDE_readline@
192LIB_readline = @LIB_readline@
193
194NROFF_MAN = groff -mandoc -Tascii
195
196LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
197
198@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
199@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
200
201@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
202
203@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
204
205ACLOCAL_AMFLAGS = -I ../../cf
206
207CLEANFILES = roken.h make-roken.c $(XHEADERS)
208
209lib_LTLIBRARIES = libroken.la
210libroken_la_LDFLAGS = -version-info 16:2:0
211
212noinst_PROGRAMS = make-roken snprintf-test
213
214nodist_make_roken_SOURCES = make-roken.c
215
216check_PROGRAMS = \
217		base64-test			\
218		getaddrinfo-test		\
219		parse_bytes-test		\
220		parse_reply-test		\
221		snprintf-test			\
222		strpftime-test
223
224
225TESTS = $(check_PROGRAMS)
226
227LDADD = libroken.la $(LIB_crypt)
228make_roken_LDADD =
229
230noinst_LTLIBRARIES = libtest.la
231libtest_la_SOURCES = strftime.c strptime.c snprintf.c
232libtest_la_CFLAGS = -DTEST_SNPRINTF
233
234parse_reply_test_SOURCES = parse_reply-test.c resolve.c
235parse_reply_test_CFLAGS = -DTEST_RESOLVE
236
237strpftime_test_SOURCES = strpftime-test.c
238strpftime_test_LDADD = libtest.la $(LDADD)
239snprintf_test_SOURCES = snprintf-test.c
240snprintf_test_LDADD = libtest.la $(LDADD)
241snprintf_test_CFLAGS = -DTEST_SNPRINTF
242
243libroken_la_SOURCES = \
244	base64.c		\
245	bswap.c			\
246	concat.c		\
247	environment.c		\
248	eread.c			\
249	esetenv.c		\
250	ewrite.c		\
251	getaddrinfo_hostspec.c	\
252	get_default_username.c	\
253	get_window_size.c	\
254	getarg.c		\
255	getnameinfo_verified.c	\
256	getprogname.c		\
257	h_errno.c		\
258	hostent_find_fqdn.c	\
259	issuid.c		\
260	k_getpwnam.c		\
261	k_getpwuid.c		\
262	mini_inetd.c		\
263	net_read.c		\
264	net_write.c		\
265	parse_bytes.c		\
266	parse_time.c		\
267	parse_units.c		\
268	resolve.c		\
269	roken_gethostby.c	\
270	rtbl.c			\
271	rtbl.h			\
272	setprogname.c		\
273	signal.c		\
274	simple_exec.c		\
275	snprintf.c		\
276	socket.c		\
277	strcollect.c		\
278	timeval.c		\
279	tm2time.c		\
280	unvis.c			\
281	verify.c		\
282	vis.c			\
283	vis.h			\
284	warnerr.c		\
285	write_pid.c		\
286	xdbm.h
287
288
289EXTRA_libroken_la_SOURCES = \
290	chown.c			\
291	copyhostent.c		\
292	daemon.c		\
293	ecalloc.c		\
294	emalloc.c		\
295	erealloc.c		\
296	estrdup.c		\
297	err.c			\
298	err.hin			\
299	errx.c			\
300	fchown.c		\
301	flock.c			\
302	fnmatch.c		\
303	fnmatch.hin		\
304	freehostent.c		\
305	gai_strerror.c		\
306	getdtablesize.c		\
307	getegid.c		\
308	geteuid.c		\
309	getgid.c		\
310	gethostname.c		\
311	getifaddrs.c		\
312	getipnodebyaddr.c	\
313	getipnodebyname.c	\
314	getopt.c		\
315	gettimeofday.c		\
316	getuid.c		\
317	getusershell.c		\
318	glob.hin		\
319	hstrerror.c		\
320	ifaddrs.hin		\
321	inet_aton.c		\
322	inet_ntop.c		\
323	inet_pton.c		\
324	initgroups.c		\
325	innetgr.c		\
326	iruserok.c		\
327	lstat.c			\
328	memmove.c		\
329	mkstemp.c		\
330	putenv.c		\
331	rcmd.c			\
332	readv.c			\
333	recvmsg.c		\
334	sendmsg.c		\
335	setegid.c		\
336	setenv.c		\
337	seteuid.c		\
338	strcasecmp.c		\
339	strdup.c		\
340	strerror.c		\
341	strftime.c		\
342	strlcat.c		\
343	strlcpy.c		\
344	strlwr.c		\
345	strncasecmp.c		\
346	strndup.c		\
347	strnlen.c		\
348	strptime.c		\
349	strsep.c		\
350	strsep_copy.c		\
351	strtok_r.c		\
352	strupr.c		\
353	swab.c			\
354	unsetenv.c		\
355	verr.c			\
356	verrx.c			\
357	vis.hin			\
358	vsyslog.c		\
359	vwarn.c			\
360	vwarnx.c		\
361	warn.c			\
362	warnx.c			\
363	writev.c
364
365
366EXTRA_DIST = roken.awk roken.h.in
367
368libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
369
370BUILT_SOURCES = make-roken.c roken.h
371
372@have_err_h_TRUE@err_h =
373@have_err_h_FALSE@err_h = err.h
374
375@have_fnmatch_h_TRUE@fnmatch_h =
376@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
377
378@have_glob_h_TRUE@glob_h =
379@have_glob_h_FALSE@glob_h = glob.h
380
381@have_ifaddrs_h_TRUE@ifaddrs_h =
382@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
383
384@have_vis_h_TRUE@vis_h =
385@have_vis_h_FALSE@vis_h = vis.h
386
387XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
388
389include_HEADERS = \
390	base64.h				\
391	getarg.h				\
392	parse_bytes.h 				\
393	parse_time.h 				\
394	parse_units.h				\
395	resolve.h 				\
396	roken-common.h 				\
397	rtbl.h 					\
398	xdbm.h					\
399	$(XHEADERS)
400
401
402nodist_include_HEADERS = roken.h
403
404man_MANS = getarg.3
405subdir = lib/roken
406mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
407CONFIG_HEADER = $(top_builddir)/include/config.h
408CONFIG_CLEAN_FILES =
409LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
410
411libroken_la_DEPENDENCIES = @LTLIBOBJS@
412am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo environment.lo \
413	eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
414	get_default_username.lo get_window_size.lo getarg.lo \
415	getnameinfo_verified.lo getprogname.lo h_errno.lo \
416	hostent_find_fqdn.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
417	mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo \
418	parse_time.lo parse_units.lo resolve.lo roken_gethostby.lo \
419	rtbl.lo setprogname.lo signal.lo simple_exec.lo snprintf.lo \
420	socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
421	verify.lo vis.lo warnerr.lo write_pid.lo
422libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
423libtest_la_LDFLAGS =
424libtest_la_LIBADD =
425am_libtest_la_OBJECTS = libtest_la-strftime.lo libtest_la-strptime.lo \
426	libtest_la-snprintf.lo
427libtest_la_OBJECTS = $(am_libtest_la_OBJECTS)
428check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
429	parse_bytes-test$(EXEEXT) parse_reply-test$(EXEEXT) \
430	snprintf-test$(EXEEXT) strpftime-test$(EXEEXT)
431noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT)
432PROGRAMS = $(noinst_PROGRAMS)
433
434base64_test_SOURCES = base64-test.c
435base64_test_OBJECTS = base64-test.$(OBJEXT)
436base64_test_LDADD = $(LDADD)
437base64_test_DEPENDENCIES = libroken.la
438base64_test_LDFLAGS =
439getaddrinfo_test_SOURCES = getaddrinfo-test.c
440getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
441getaddrinfo_test_LDADD = $(LDADD)
442getaddrinfo_test_DEPENDENCIES = libroken.la
443getaddrinfo_test_LDFLAGS =
444nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
445make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
446make_roken_DEPENDENCIES =
447make_roken_LDFLAGS =
448parse_bytes_test_SOURCES = parse_bytes-test.c
449parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
450parse_bytes_test_LDADD = $(LDADD)
451parse_bytes_test_DEPENDENCIES = libroken.la
452parse_bytes_test_LDFLAGS =
453am_parse_reply_test_OBJECTS = \
454	parse_reply_test-parse_reply-test.$(OBJEXT) \
455	parse_reply_test-resolve.$(OBJEXT)
456parse_reply_test_OBJECTS = $(am_parse_reply_test_OBJECTS)
457parse_reply_test_LDADD = $(LDADD)
458parse_reply_test_DEPENDENCIES = libroken.la
459parse_reply_test_LDFLAGS =
460am_snprintf_test_OBJECTS = snprintf_test-snprintf-test.$(OBJEXT)
461snprintf_test_OBJECTS = $(am_snprintf_test_OBJECTS)
462snprintf_test_DEPENDENCIES = libtest.la libroken.la
463snprintf_test_LDFLAGS =
464am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT)
465strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
466strpftime_test_DEPENDENCIES = libtest.la libroken.la
467strpftime_test_LDFLAGS =
468
469DEFS = @DEFS@
470DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
471CPPFLAGS = @CPPFLAGS@
472LDFLAGS = @LDFLAGS@
473LIBS = @LIBS@
474depcomp =
475am__depfiles_maybe =
476COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
477	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
478LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
479	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
480CCLD = $(CC)
481LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
482	$(AM_LDFLAGS) $(LDFLAGS) -o $@
483CFLAGS = @CFLAGS@
484DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
485	$(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c \
486	parse_bytes-test.c $(parse_reply_test_SOURCES) \
487	$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
488MANS = $(man_MANS)
489HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
490
491DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
492	acinclude.m4 freeaddrinfo.c getaddrinfo.c getcap.c \
493	getnameinfo.c glob.c install-sh missing mkinstalldirs
494SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) $(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(parse_reply_test_SOURCES) $(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
495
496all: $(BUILT_SOURCES)
497	$(MAKE) $(AM_MAKEFLAGS) all-am
498
499.SUFFIXES:
500.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .hin .c .lo .o .obj
501$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
502	cd $(top_srcdir) && \
503	  $(AUTOMAKE) --foreign  lib/roken/Makefile
504Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
505	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
506libLTLIBRARIES_INSTALL = $(INSTALL)
507install-libLTLIBRARIES: $(lib_LTLIBRARIES)
508	@$(NORMAL_INSTALL)
509	$(mkinstalldirs) $(DESTDIR)$(libdir)
510	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
511	  if test -f $$p; then \
512	    f="`echo $$p | sed -e 's|^.*/||'`"; \
513	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
514	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
515	  else :; fi; \
516	done
517
518uninstall-libLTLIBRARIES:
519	@$(NORMAL_UNINSTALL)
520	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
521	    p="`echo $$p | sed -e 's|^.*/||'`"; \
522	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
523	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
524	done
525
526clean-libLTLIBRARIES:
527	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
528
529clean-noinstLTLIBRARIES:
530	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
531libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES)
532	$(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
533libtest_la-strftime.lo: strftime.c
534libtest_la-strptime.lo: strptime.c
535libtest_la-snprintf.lo: snprintf.c
536libtest.la: $(libtest_la_OBJECTS) $(libtest_la_DEPENDENCIES)
537	$(LINK)  $(libtest_la_LDFLAGS) $(libtest_la_OBJECTS) $(libtest_la_LIBADD) $(LIBS)
538
539clean-checkPROGRAMS:
540	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
541
542clean-noinstPROGRAMS:
543	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
544base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES)
545	@rm -f base64-test$(EXEEXT)
546	$(LINK) $(base64_test_LDFLAGS) $(base64_test_OBJECTS) $(base64_test_LDADD) $(LIBS)
547getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES)
548	@rm -f getaddrinfo-test$(EXEEXT)
549	$(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS)
550make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
551	@rm -f make-roken$(EXEEXT)
552	$(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
553parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
554	@rm -f parse_bytes-test$(EXEEXT)
555	$(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
556parse_reply_test-parse_reply-test.$(OBJEXT): parse_reply-test.c
557parse_reply_test-resolve.$(OBJEXT): resolve.c
558parse_reply-test$(EXEEXT): $(parse_reply_test_OBJECTS) $(parse_reply_test_DEPENDENCIES)
559	@rm -f parse_reply-test$(EXEEXT)
560	$(LINK) $(parse_reply_test_LDFLAGS) $(parse_reply_test_OBJECTS) $(parse_reply_test_LDADD) $(LIBS)
561snprintf_test-snprintf-test.$(OBJEXT): snprintf-test.c
562snprintf-test$(EXEEXT): $(snprintf_test_OBJECTS) $(snprintf_test_DEPENDENCIES)
563	@rm -f snprintf-test$(EXEEXT)
564	$(LINK) $(snprintf_test_LDFLAGS) $(snprintf_test_OBJECTS) $(snprintf_test_LDADD) $(LIBS)
565strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES)
566	@rm -f strpftime-test$(EXEEXT)
567	$(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS)
568
569mostlyclean-compile:
570	-rm -f *.$(OBJEXT) core *.core
571
572distclean-compile:
573	-rm -f *.tab.c
574
575.c.o:
576	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
577
578.c.obj:
579	$(COMPILE) -c `cygpath -w $<`
580
581.c.lo:
582	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
583
584libtest_la-strftime.o: strftime.c
585	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strftime.o `test -f 'strftime.c' || echo '$(srcdir)/'`strftime.c
586
587libtest_la-strftime.obj: strftime.c
588	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strftime.obj `cygpath -w strftime.c`
589
590libtest_la-strftime.lo: strftime.c
591	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strftime.lo `test -f 'strftime.c' || echo '$(srcdir)/'`strftime.c
592
593libtest_la-strptime.o: strptime.c
594	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strptime.o `test -f 'strptime.c' || echo '$(srcdir)/'`strptime.c
595
596libtest_la-strptime.obj: strptime.c
597	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strptime.obj `cygpath -w strptime.c`
598
599libtest_la-strptime.lo: strptime.c
600	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strptime.lo `test -f 'strptime.c' || echo '$(srcdir)/'`strptime.c
601
602libtest_la-snprintf.o: snprintf.c
603	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-snprintf.o `test -f 'snprintf.c' || echo '$(srcdir)/'`snprintf.c
604
605libtest_la-snprintf.obj: snprintf.c
606	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-snprintf.obj `cygpath -w snprintf.c`
607
608libtest_la-snprintf.lo: snprintf.c
609	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-snprintf.lo `test -f 'snprintf.c' || echo '$(srcdir)/'`snprintf.c
610
611parse_reply_test-parse_reply-test.o: parse_reply-test.c
612	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-parse_reply-test.o `test -f 'parse_reply-test.c' || echo '$(srcdir)/'`parse_reply-test.c
613
614parse_reply_test-parse_reply-test.obj: parse_reply-test.c
615	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-parse_reply-test.obj `cygpath -w parse_reply-test.c`
616
617parse_reply_test-parse_reply-test.lo: parse_reply-test.c
618	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-parse_reply-test.lo `test -f 'parse_reply-test.c' || echo '$(srcdir)/'`parse_reply-test.c
619
620parse_reply_test-resolve.o: resolve.c
621	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-resolve.o `test -f 'resolve.c' || echo '$(srcdir)/'`resolve.c
622
623parse_reply_test-resolve.obj: resolve.c
624	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-resolve.obj `cygpath -w resolve.c`
625
626parse_reply_test-resolve.lo: resolve.c
627	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parse_reply_test_CFLAGS) $(CFLAGS) -c -o parse_reply_test-resolve.lo `test -f 'resolve.c' || echo '$(srcdir)/'`resolve.c
628
629snprintf_test-snprintf-test.o: snprintf-test.c
630	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.o `test -f 'snprintf-test.c' || echo '$(srcdir)/'`snprintf-test.c
631
632snprintf_test-snprintf-test.obj: snprintf-test.c
633	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.obj `cygpath -w snprintf-test.c`
634
635snprintf_test-snprintf-test.lo: snprintf-test.c
636	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.lo `test -f 'snprintf-test.c' || echo '$(srcdir)/'`snprintf-test.c
637
638mostlyclean-libtool:
639	-rm -f *.lo
640
641clean-libtool:
642	-rm -rf .libs _libs
643
644distclean-libtool:
645	-rm -f libtool
646uninstall-info-am:
647
648man3dir = $(mandir)/man3
649install-man3: $(man3_MANS) $(man_MANS)
650	@$(NORMAL_INSTALL)
651	$(mkinstalldirs) $(DESTDIR)$(man3dir)
652	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
653	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
654	for i in $$l2; do \
655	  case "$$i" in \
656	    *.3*) list="$$list $$i" ;; \
657	  esac; \
658	done; \
659	for i in $$list; do \
660	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
661	  else file=$$i; fi; \
662	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
663	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
664	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
665	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
666	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
667	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
668	done
669uninstall-man3:
670	@$(NORMAL_UNINSTALL)
671	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
672	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
673	for i in $$l2; do \
674	  case "$$i" in \
675	    *.3*) list="$$list $$i" ;; \
676	  esac; \
677	done; \
678	for i in $$list; do \
679	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
680	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
681	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
682	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
683	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
684	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
685	done
686includeHEADERS_INSTALL = $(INSTALL_HEADER)
687install-includeHEADERS: $(include_HEADERS)
688	@$(NORMAL_INSTALL)
689	$(mkinstalldirs) $(DESTDIR)$(includedir)
690	@list='$(include_HEADERS)'; for p in $$list; do \
691	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
692	  f="`echo $$p | sed -e 's|^.*/||'`"; \
693	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
694	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
695	done
696
697uninstall-includeHEADERS:
698	@$(NORMAL_UNINSTALL)
699	@list='$(include_HEADERS)'; for p in $$list; do \
700	  f="`echo $$p | sed -e 's|^.*/||'`"; \
701	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
702	  rm -f $(DESTDIR)$(includedir)/$$f; \
703	done
704nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
705install-nodist_includeHEADERS: $(nodist_include_HEADERS)
706	@$(NORMAL_INSTALL)
707	$(mkinstalldirs) $(DESTDIR)$(includedir)
708	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
709	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
710	  f="`echo $$p | sed -e 's|^.*/||'`"; \
711	  echo " $(nodist_includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
712	  $(nodist_includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
713	done
714
715uninstall-nodist_includeHEADERS:
716	@$(NORMAL_UNINSTALL)
717	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
718	  f="`echo $$p | sed -e 's|^.*/||'`"; \
719	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
720	  rm -f $(DESTDIR)$(includedir)/$$f; \
721	done
722
723ETAGS = etags
724ETAGSFLAGS =
725
726tags: TAGS
727
728ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
729	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
730	unique=`for i in $$list; do \
731	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
732	  done | \
733	  $(AWK) '    { files[$$0] = 1; } \
734	       END { for (i in files) print i; }'`; \
735	mkid -fID $$unique
736
737TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
738		$(TAGS_FILES) $(LISP)
739	tags=; \
740	here=`pwd`; \
741	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
742	unique=`for i in $$list; do \
743	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
744	  done | \
745	  $(AWK) '    { files[$$0] = 1; } \
746	       END { for (i in files) print i; }'`; \
747	test -z "$(ETAGS_ARGS)$$tags$$unique" \
748	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
749	     $$tags $$unique
750
751GTAGS:
752	here=`$(am__cd) $(top_builddir) && pwd` \
753	  && cd $(top_srcdir) \
754	  && gtags -i $(GTAGS_ARGS) $$here
755
756distclean-tags:
757	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
758
759check-TESTS: $(TESTS)
760	@failed=0; all=0; xfail=0; xpass=0; \
761	srcdir=$(srcdir); export srcdir; \
762	list='$(TESTS)'; \
763	if test -n "$$list"; then \
764	  for tst in $$list; do \
765	    if test -f ./$$tst; then dir=./; \
766	    elif test -f $$tst; then dir=; \
767	    else dir="$(srcdir)/"; fi; \
768	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
769	      all=`expr $$all + 1`; \
770	      case " $(XFAIL_TESTS) " in \
771	      *" $$tst "*) \
772	        xpass=`expr $$xpass + 1`; \
773	        failed=`expr $$failed + 1`; \
774	        echo "XPASS: $$tst"; \
775	      ;; \
776	      *) \
777	        echo "PASS: $$tst"; \
778	      ;; \
779	      esac; \
780	    elif test $$? -ne 77; then \
781	      all=`expr $$all + 1`; \
782	      case " $(XFAIL_TESTS) " in \
783	      *" $$tst "*) \
784	        xfail=`expr $$xfail + 1`; \
785	        echo "XFAIL: $$tst"; \
786	      ;; \
787	      *) \
788	        failed=`expr $$failed + 1`; \
789	        echo "FAIL: $$tst"; \
790	      ;; \
791	      esac; \
792	    fi; \
793	  done; \
794	  if test "$$failed" -eq 0; then \
795	    if test "$$xfail" -eq 0; then \
796	      banner="All $$all tests passed"; \
797	    else \
798	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
799	    fi; \
800	  else \
801	    if test "$$xpass" -eq 0; then \
802	      banner="$$failed of $$all tests failed"; \
803	    else \
804	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
805	    fi; \
806	  fi; \
807	  dashes=`echo "$$banner" | sed s/./=/g`; \
808	  echo "$$dashes"; \
809	  echo "$$banner"; \
810	  echo "$$dashes"; \
811	  test "$$failed" -eq 0; \
812	else :; fi
813DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
814
815top_distdir = ../..
816distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
817
818distdir: $(DISTFILES)
819	@for file in $(DISTFILES); do \
820	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
821	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
822	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
823	    dir="/$$dir"; \
824	    $(mkinstalldirs) "$(distdir)$$dir"; \
825	  else \
826	    dir=''; \
827	  fi; \
828	  if test -d $$d/$$file; then \
829	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
830	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
831	    fi; \
832	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
833	  else \
834	    test -f $(distdir)/$$file \
835	    || cp -p $$d/$$file $(distdir)/$$file \
836	    || exit 1; \
837	  fi; \
838	done
839	$(MAKE) $(AM_MAKEFLAGS) \
840	  top_distdir="${top_distdir}" distdir="$(distdir)" \
841	  dist-hook
842check-am: all-am
843	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
844	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
845check: check-am
846all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
847
848installdirs:
849	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)
850
851install: install-am
852install-exec: install-exec-am
853install-data: install-data-am
854uninstall: uninstall-am
855
856install-am: all-am
857	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
858
859installcheck: installcheck-am
860install-strip:
861	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
862	  INSTALL_STRIP_FLAG=-s \
863	  `test -z '$(STRIP)' || \
864	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
865mostlyclean-generic:
866
867clean-generic:
868	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
869
870distclean-generic:
871	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
872
873maintainer-clean-generic:
874	@echo "This command is intended for maintainers to use"
875	@echo "it deletes files that may require special tools to rebuild."
876	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
877clean: clean-am
878
879clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
880	clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
881	mostlyclean-am
882
883distclean: distclean-am
884
885distclean-am: clean-am distclean-compile distclean-generic \
886	distclean-libtool distclean-tags
887
888dvi: dvi-am
889
890dvi-am:
891
892info: info-am
893
894info-am:
895
896install-data-am: install-includeHEADERS install-man \
897	install-nodist_includeHEADERS
898	@$(NORMAL_INSTALL)
899	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
900
901install-exec-am: install-libLTLIBRARIES
902	@$(NORMAL_INSTALL)
903	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
904
905install-info: install-info-am
906
907install-man: install-man3
908
909installcheck-am:
910
911maintainer-clean: maintainer-clean-am
912
913maintainer-clean-am: distclean-am maintainer-clean-generic
914
915mostlyclean: mostlyclean-am
916
917mostlyclean-am: mostlyclean-compile mostlyclean-generic \
918	mostlyclean-libtool
919
920uninstall-am: uninstall-includeHEADERS uninstall-info-am \
921	uninstall-libLTLIBRARIES uninstall-man \
922	uninstall-nodist_includeHEADERS
923
924uninstall-man: uninstall-man3
925
926.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
927	check-local clean clean-checkPROGRAMS clean-generic \
928	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
929	clean-noinstPROGRAMS distclean distclean-compile \
930	distclean-generic distclean-libtool distclean-tags distdir dvi \
931	dvi-am info info-am install install-am install-data \
932	install-data-am install-exec install-exec-am \
933	install-includeHEADERS install-info install-info-am \
934	install-libLTLIBRARIES install-man install-man3 \
935	install-nodist_includeHEADERS install-strip installcheck \
936	installcheck-am installdirs maintainer-clean \
937	maintainer-clean-generic mostlyclean mostlyclean-compile \
938	mostlyclean-generic mostlyclean-libtool tags uninstall \
939	uninstall-am uninstall-includeHEADERS uninstall-info-am \
940	uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
941	uninstall-nodist_includeHEADERS
942
943
944install-suid-programs:
945	@foo='$(bin_SUIDS)'; \
946	for file in $$foo; do \
947	x=$(DESTDIR)$(bindir)/$$file; \
948	if chown 0:0 $$x && chmod u+s $$x; then :; else \
949	echo "*"; \
950	echo "* Failed to install $$x setuid root"; \
951	echo "*"; \
952	fi; done
953
954install-exec-hook: install-suid-programs
955
956install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
957	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
958	for f in $$foo; do \
959		f=`basename $$f`; \
960		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
961		else file="$$f"; fi; \
962		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
963		: ; else \
964			echo " $(CP) $$file $(buildinclude)/$$f"; \
965			$(CP) $$file $(buildinclude)/$$f; \
966		fi ; \
967	done
968
969all-local: install-build-headers
970
971check-local::
972	@if test '$(CHECK_LOCAL)'; then \
973	  foo='$(CHECK_LOCAL)'; else \
974	  foo='$(PROGRAMS)'; fi; \
975	  if test "$$foo"; then \
976	  failed=0; all=0; \
977	  for i in $$foo; do \
978	    all=`expr $$all + 1`; \
979	    if ./$$i --version > /dev/null 2>&1; then \
980	      echo "PASS: $$i"; \
981	    else \
982	      echo "FAIL: $$i"; \
983	      failed=`expr $$failed + 1`; \
984	    fi; \
985	  done; \
986	  if test "$$failed" -eq 0; then \
987	    banner="All $$all tests passed"; \
988	  else \
989	    banner="$$failed of $$all tests failed"; \
990	  fi; \
991	  dashes=`echo "$$banner" | sed s/./=/g`; \
992	  echo "$$dashes"; \
993	  echo "$$banner"; \
994	  echo "$$dashes"; \
995	  test "$$failed" -eq 0; \
996	fi
997
998.x.c:
999	@cmp -s $< $@ 2> /dev/null || cp $< $@
1000#NROFF_MAN = nroff -man
1001.1.cat1:
1002	$(NROFF_MAN) $< > $@
1003.3.cat3:
1004	$(NROFF_MAN) $< > $@
1005.5.cat5:
1006	$(NROFF_MAN) $< > $@
1007.8.cat8:
1008	$(NROFF_MAN) $< > $@
1009
1010dist-cat1-mans:
1011	@foo='$(man1_MANS)'; \
1012	bar='$(man_MANS)'; \
1013	for i in $$bar; do \
1014	case $$i in \
1015	*.1) foo="$$foo $$i";; \
1016	esac; done ;\
1017	for i in $$foo; do \
1018		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
1019		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
1020		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
1021	done
1022
1023dist-cat3-mans:
1024	@foo='$(man3_MANS)'; \
1025	bar='$(man_MANS)'; \
1026	for i in $$bar; do \
1027	case $$i in \
1028	*.3) foo="$$foo $$i";; \
1029	esac; done ;\
1030	for i in $$foo; do \
1031		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
1032		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
1033		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
1034	done
1035
1036dist-cat5-mans:
1037	@foo='$(man5_MANS)'; \
1038	bar='$(man_MANS)'; \
1039	for i in $$bar; do \
1040	case $$i in \
1041	*.5) foo="$$foo $$i";; \
1042	esac; done ;\
1043	for i in $$foo; do \
1044		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
1045		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
1046		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
1047	done
1048
1049dist-cat8-mans:
1050	@foo='$(man8_MANS)'; \
1051	bar='$(man_MANS)'; \
1052	for i in $$bar; do \
1053	case $$i in \
1054	*.8) foo="$$foo $$i";; \
1055	esac; done ;\
1056	for i in $$foo; do \
1057		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
1058		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
1059		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
1060	done
1061
1062dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
1063
1064install-cat-mans:
1065	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
1066
1067install-data-hook: install-cat-mans
1068
1069.et.h:
1070	$(COMPILE_ET) $<
1071.et.c:
1072	$(COMPILE_ET) $<
1073
1074$(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h $(XHEADERS)
1075.hin.h:
1076	cp $< $@
1077
1078roken.h: make-roken$(EXEEXT)
1079	@./make-roken$(EXEEXT) > tmp.h ;\
1080	if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \
1081	else rm -f roken.h; mv tmp.h roken.h; fi
1082
1083make-roken.c: roken.h.in roken.awk
1084	$(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
1085# Tell versions [3.59,3.63) of GNU make to not export all variables.
1086# Otherwise a system limit (for SysV at least) may be exceeded.
1087.NOEXPORT:
1088