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