1 # Makefile.in generated automatically by automake 1.4b from Makefile.am
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
61 host_alias = @host_alias@
63 AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
68 CANONICAL_HOST = @CANONICAL_HOST@
70 CATMANEXT = @CATMANEXT@
78 DIR_roken = @DIR_roken@
81 EXTRA_LIB45 = @EXTRA_LIB45@
83 INCLUDES_roken = @INCLUDES_roken@
89 LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
91 LIB_des_appl = @LIB_des_appl@
94 LIB_roken = @LIB_roken@
95 LIB_security = @LIB_security@
97 LTLIBOBJS = @LTLIBOBJS@
99 NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
100 NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
108 VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
110 WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
111 WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
113 dpagaix_CFLAGS = @dpagaix_CFLAGS@
114 dpagaix_LDADD = @dpagaix_LDADD@
115 install_sh = @install_sh@
117 # $Id: Makefile.am,v 1.96 2001/05/16 23:57:10 assar Exp $
120 AUTOMAKE_OPTIONS = foreign no-dependencies
122 AM_CFLAGS = $(WFLAGS)
124 ACLOCAL_AMFLAGS = -I ../../cf
126 CLEANFILES = roken.h make-roken.c $(XHEADERS)
128 lib_LTLIBRARIES = libroken.la
129 libroken_la_LDFLAGS = -version-info 12:0:3
131 noinst_PROGRAMS = make-roken
133 nodist_make_roken_SOURCES = make-roken.c
135 check_PROGRAMS = parse_bytes-test \
140 TESTS = $(check_PROGRAMS)
142 LIB_crypt = @LIB_crypt@
144 common_LDADD = libroken.la $(LIB_crypt)
146 strpftime_test_SOURCES = strpftime-test.c strftime.c strptime.c snprintf.c
147 getaddrinfo_test_LDADD = $(common_LDADD)
148 parse_bytes_test_LDADD = $(common_LDADD)
150 libroken_la_SOURCES = \
161 getaddrinfo_hostspec.c \
162 get_default_username.c \
165 getnameinfo_verified.c \
195 EXTRA_libroken_la_SOURCES = \
269 EXTRA_DIST = roken.awk roken.h.in
271 libroken_la_LIBADD = @LTLIBOBJS@
273 BUILT_SOURCES = make-roken.c roken.h
274 @have_err_h_TRUE@err_h =
275 @have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
276 @have_fnmatch_h_TRUE@fnmatch_h =
277 @have_fnmatch_h_FALSE@fnmatch_h = @have_fnmatch_h_FALSE@fnmatch.h
278 @have_glob_h_TRUE@glob_h =
279 @have_glob_h_FALSE@glob_h = @have_glob_h_FALSE@glob.h
280 @have_ifaddrs_h_TRUE@ifaddrs_h =
281 @have_ifaddrs_h_FALSE@ifaddrs_h = @have_ifaddrs_h_FALSE@ifaddrs.h
282 @have_vis_h_TRUE@vis_h =
283 @have_vis_h_FALSE@vis_h = @have_vis_h_FALSE@vis.h
285 XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
300 nodist_include_HEADERS = roken.h
304 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
305 CONFIG_HEADER = ../../include/config.h
307 LTLIBRARIES = $(lib_LTLIBRARIES)
310 DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
311 CPPFLAGS = @CPPFLAGS@
314 X_CFLAGS = @X_CFLAGS@
316 X_EXTRA_LIBS = @X_EXTRA_LIBS@
317 X_PRE_LIBS = @X_PRE_LIBS@
318 libroken_la_DEPENDENCIES = @LTLIBOBJS@
319 am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo emalloc.lo \
320 environment.lo eread.lo erealloc.lo esetenv.lo estrdup.lo ewrite.lo \
321 getaddrinfo_hostspec.lo get_default_username.lo get_window_size.lo \
322 getarg.lo getnameinfo_verified.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
323 mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo parse_time.lo \
324 parse_units.lo resolve.lo roken_gethostby.lo rtbl.lo signal.lo \
325 simple_exec.lo snprintf.lo socket.lo strcollect.lo timeval.lo \
326 tm2time.lo unvis.lo verify.lo vis.lo warnerr.lo write_pid.lo
327 libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
328 check_PROGRAMS = parse_bytes-test$(EXEEXT) strpftime-test$(EXEEXT) \
329 getaddrinfo-test$(EXEEXT)
330 noinst_PROGRAMS = make-roken$(EXEEXT)
331 PROGRAMS = $(noinst_PROGRAMS)
333 getaddrinfo_test_SOURCES = getaddrinfo-test.c
334 getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
335 getaddrinfo_test_DEPENDENCIES = libroken.la
336 getaddrinfo_test_LDFLAGS =
337 nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
338 make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
339 make_roken_LDADD = $(LDADD)
340 make_roken_DEPENDENCIES =
342 parse_bytes_test_SOURCES = parse_bytes-test.c
343 parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
344 parse_bytes_test_DEPENDENCIES = libroken.la
345 parse_bytes_test_LDFLAGS =
346 am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \
347 strptime.$(OBJEXT) snprintf.$(OBJEXT)
348 strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
349 strpftime_test_LDADD = $(LDADD)
350 strpftime_test_DEPENDENCIES =
351 strpftime_test_LDFLAGS =
352 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
353 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
356 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
357 DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
358 getaddrinfo-test.c parse_bytes-test.c $(strpftime_test_SOURCES)
359 HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
362 DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
363 acinclude.m4 getcap.c getnameinfo.c glob.c install-sh \
364 make-print-version.c missing mkinstalldirs
367 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
370 SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(strpftime_test_SOURCES)
371 OBJECTS = $(am_libroken_la_OBJECTS) getaddrinfo-test.$(OBJEXT) $(nodist_make_roken_OBJECTS) parse_bytes-test.$(OBJEXT) $(am_strpftime_test_OBJECTS)
375 .SUFFIXES: .hin .c .h .lo .o .obj
376 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
377 cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile
379 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
381 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
384 mostlyclean-libLTLIBRARIES:
386 clean-libLTLIBRARIES:
387 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
389 distclean-libLTLIBRARIES:
391 maintainer-clean-libLTLIBRARIES:
393 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
395 $(mkinstalldirs) $(DESTDIR)$(libdir)
396 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
397 if test -f $$p; then \
398 echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
399 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
403 uninstall-libLTLIBRARIES:
405 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
406 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
407 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
411 -rm -f *.o core *.core
419 maintainer-clean-compile:
429 maintainer-clean-libtool:
431 libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES)
432 $(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
434 mostlyclean-checkPROGRAMS:
437 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
439 distclean-checkPROGRAMS:
441 maintainer-clean-checkPROGRAMS:
443 mostlyclean-noinstPROGRAMS:
445 clean-noinstPROGRAMS:
446 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
448 distclean-noinstPROGRAMS:
450 maintainer-clean-noinstPROGRAMS:
452 getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES)
453 @rm -f getaddrinfo-test$(EXEEXT)
454 $(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS)
456 make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
457 @rm -f make-roken$(EXEEXT)
458 $(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
460 parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
461 @rm -f parse_bytes-test$(EXEEXT)
462 $(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
464 strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES)
465 @rm -f strpftime-test$(EXEEXT)
466 $(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS)
470 $(COMPILE) -c `cygpath -w $<`
472 $(LTCOMPILE) -c -o $@ $<
474 install-includeHEADERS: $(include_HEADERS)
476 $(mkinstalldirs) $(DESTDIR)$(includedir)
477 @list='$(include_HEADERS)'; for p in $$list; do \
478 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
479 f="`echo $$p | sed -e 's|^.*/||'`"; \
480 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
481 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
484 uninstall-includeHEADERS:
486 @list='$(include_HEADERS)'; for p in $$list; do \
487 f="`echo $$p | sed -e 's|^.*/||'`"; \
488 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
489 rm -f $(DESTDIR)$(includedir)/$$f; \
492 install-nodist_includeHEADERS: $(nodist_include_HEADERS)
494 $(mkinstalldirs) $(DESTDIR)$(includedir)
495 @list='$(nodist_include_HEADERS)'; for p in $$list; do \
496 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
497 f="`echo $$p | sed -e 's|^.*/||'`"; \
498 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
499 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
502 uninstall-nodist_includeHEADERS:
504 @list='$(nodist_include_HEADERS)'; for p in $$list; do \
505 f="`echo $$p | sed -e 's|^.*/||'`"; \
506 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
507 rm -f $(DESTDIR)$(includedir)/$$f; \
512 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
513 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
514 unique=`for i in $$list; do \
515 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
517 $(AWK) ' { files[$$0] = 1; } \
518 END { for (i in files) print i; }'`; \
519 mkid -fID $$unique $(LISP)
521 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
522 $(TAGS_FILES) $(LISP)
525 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
526 unique=`for i in $$list; do \
527 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
529 $(AWK) ' { files[$$0] = 1; } \
530 END { for (i in files) print i; }'`; \
531 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
532 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
535 here=`CDPATH=: && cd $(top_builddir) && pwd` \
536 && cd $(top_srcdir) \
546 maintainer-clean-tags:
547 check-TESTS: $(TESTS)
548 @failed=0; all=0; xfail=0; xpass=0; \
549 srcdir=$(srcdir); export srcdir; \
551 if test -n "$$list"; then \
552 for tst in $$list; do \
553 if test -f ./$$tst; then dir=./; \
554 elif test -f $$tst; then dir=; \
555 else dir="$(srcdir)/"; fi; \
556 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
557 all=`expr $$all + 1`; \
558 case " $(XFAIL_TESTS) " in \
560 xpass=`expr $$xpass + 1`; \
561 failed=`expr $$failed + 1`; \
562 echo "XPASS: $$tst"; \
565 echo "PASS: $$tst"; \
568 elif test $$? -ne 77; then \
569 all=`expr $$all + 1`; \
570 case " $(XFAIL_TESTS) " in \
572 xfail=`expr $$xfail + 1`; \
573 echo "XFAIL: $$tst"; \
576 failed=`expr $$failed + 1`; \
577 echo "FAIL: $$tst"; \
582 if test "$$failed" -eq 0; then \
583 if test "$$xfail" -eq 0; then \
584 banner="All $$all tests passed"; \
586 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
589 if test "$$xpass" -eq 0; then \
590 banner="$$failed of $$all tests failed"; \
592 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
595 dashes=`echo "$$banner" | sed s/./=/g`; \
599 test "$$failed" -eq 0; \
602 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
604 distdir: $(DISTFILES)
605 @for file in $(DISTFILES); do \
607 if test -d $$d/$$file; then \
608 cp -pR $$d/$$file $(distdir) \
611 test -f $(distdir)/$$file \
612 || cp -p $$d/$$file $(distdir)/$$file \
621 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
622 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
625 installcheck: installcheck-am
626 all-recursive-am: $(BUILT_SOURCES)
627 $(MAKE) $(AM_MAKEFLAGS) all-recursive
629 install-exec-am: install-libLTLIBRARIES
630 install-exec: install-exec-am
632 install-data-am: install-includeHEADERS install-nodist_includeHEADERS
633 install-data: install-data-am
636 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
638 uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS \
639 uninstall-nodist_includeHEADERS
640 uninstall: uninstall-am
641 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
644 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
646 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) \
647 $(DESTDIR)$(nodist_includedir)
653 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
656 -rm -f Makefile $(CONFIG_CLEAN_FILES)
657 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
659 maintainer-clean-generic:
661 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
662 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
663 mostlyclean-libtool mostlyclean-checkPROGRAMS \
664 mostlyclean-noinstPROGRAMS mostlyclean-tags \
667 mostlyclean: mostlyclean-am
669 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
670 clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
671 clean-generic mostlyclean-am
675 distclean-am: distclean-libLTLIBRARIES distclean-compile \
676 distclean-libtool distclean-checkPROGRAMS \
677 distclean-noinstPROGRAMS distclean-tags \
678 distclean-generic clean-am
681 distclean: distclean-am
683 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
684 maintainer-clean-compile maintainer-clean-libtool \
685 maintainer-clean-checkPROGRAMS \
686 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
687 maintainer-clean-generic distclean-am
688 @echo "This command is intended for maintainers to use;"
689 @echo "it deletes files that may require special tools to rebuild."
691 maintainer-clean: maintainer-clean-am
693 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
694 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
695 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
696 distclean-compile clean-compile maintainer-clean-compile \
697 mostlyclean-libtool distclean-libtool clean-libtool \
698 maintainer-clean-libtool mostlyclean-checkPROGRAMS \
699 distclean-checkPROGRAMS clean-checkPROGRAMS \
700 maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
701 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
702 maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
703 install-includeHEADERS uninstall-nodist_includeHEADERS \
704 install-nodist_includeHEADERS tags mostlyclean-tags distclean-tags \
705 clean-tags maintainer-clean-tags check-TESTS distdir info-am info \
706 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
707 install-exec-am install-exec install-data-am install-data install-am \
708 install uninstall-am uninstall all-redirect all-am all install-strip \
709 installdirs mostlyclean-generic distclean-generic clean-generic \
710 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
713 $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h
717 roken.h: make-roken$(EXEEXT)
718 @./make-roken$(EXEEXT) > tmp.h ;\
719 if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \
720 else rm -f roken.h; mv tmp.h roken.h; fi
722 make-roken.c: roken.h.in roken.awk
723 $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
725 # Tell versions [3.59,3.63) of GNU make to not export all variables.
726 # Otherwise a system limit (for SysV at least) may be exceeded.