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