1# Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4# This Makefile.in is free software; the Free Software Foundation 5# gives unlimited permission to copy and/or distribute it, 6# with or without modifications, as long as this notice is preserved. 7 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11# PARTICULAR PURPOSE. 12
| 1# Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4# This Makefile.in is free software; the Free Software Foundation 5# gives unlimited permission to copy and/or distribute it, 6# with or without modifications, as long as this notice is preserved. 7 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11# PARTICULAR PURPOSE. 12
|
13# $Id: Makefile.am,v 1.69 2000/02/13 20:34:03 assar Exp $
| 13# $Id: Makefile.am,v 1.70 2000/02/19 18:53:13 assar Exp $
|
14 15 16# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $ 17 18 19# $Id: Makefile.am.common,v 1.13 1999/11/01 03:19:58 assar Exp $ 20 21 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 42 43DESTDIR = 44 45pkgdatadir = $(datadir)/@PACKAGE@ 46pkglibdir = $(libdir)/@PACKAGE@ 47pkgincludedir = $(includedir)/@PACKAGE@ 48 49top_builddir = ../.. 50 51ACLOCAL = @ACLOCAL@ 52AUTOCONF = @AUTOCONF@ 53AUTOMAKE = @AUTOMAKE@ 54AUTOHEADER = @AUTOHEADER@ 55 56INSTALL = @INSTALL@ 57INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 58INSTALL_DATA = @INSTALL_DATA@ 59INSTALL_SCRIPT = @INSTALL_SCRIPT@ 60transform = @program_transform_name@ 61 62NORMAL_INSTALL = : 63PRE_INSTALL = : 64POST_INSTALL = : 65NORMAL_UNINSTALL = : 66PRE_UNINSTALL = : 67POST_UNINSTALL = : 68host_alias = @host_alias@ 69host_triplet = @host@ 70AFS_EXTRA_LD = @AFS_EXTRA_LD@ 71AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@ 72AWK = @AWK@ 73CANONICAL_HOST = @CANONICAL_HOST@ 74CATMAN = @CATMAN@ 75CATMANEXT = @CATMANEXT@ 76CC = @CC@ 77DBLIB = @DBLIB@ 78EXEEXT = @EXEEXT@ 79EXTRA_LIB45 = @EXTRA_LIB45@ 80GROFF = @GROFF@ 81INCLUDE_ = @INCLUDE_@ 82LD = @LD@ 83LEX = @LEX@ 84LIBOBJS = @LIBOBJS@ 85LIBTOOL = @LIBTOOL@ 86LIB_ = @LIB_@ 87LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@ 88LIB_kdb = @LIB_kdb@ 89LIB_otp = @LIB_otp@ 90LIB_roken = @LIB_roken@ 91LIB_security = @LIB_security@ 92LN_S = @LN_S@ 93LTLIBOBJS = @LTLIBOBJS@ 94MAKEINFO = @MAKEINFO@ 95MAKE_X_PROGS_BIN_PROGS = @MAKE_X_PROGS_BIN_PROGS@ 96MAKE_X_PROGS_BIN_SCRPTS = @MAKE_X_PROGS_BIN_SCRPTS@ 97MAKE_X_PROGS_LIBEXEC_PROGS = @MAKE_X_PROGS_LIBEXEC_PROGS@ 98NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@ 99NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@ 100NM = @NM@ 101NROFF = @NROFF@ 102OBJEXT = @OBJEXT@ 103PACKAGE = @PACKAGE@ 104RANLIB = @RANLIB@ 105VERSION = @VERSION@ 106VOID_RETSIGTYPE = @VOID_RETSIGTYPE@ 107WFLAGS = @WFLAGS@ 108WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@ 109WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@ 110YACC = @YACC@ 111 112AUTOMAKE_OPTIONS = foreign no-dependencies 113 114SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x 115 116INCLUDES = -I$(top_builddir)/include 117 118AM_CFLAGS = $(WFLAGS) 119 120COMPILE_ET = $(top_builddir)/lib/com_err/compile_et 121 122buildinclude = $(top_builddir)/include 123 124LIB_XauReadAuth = @LIB_XauReadAuth@ 125LIB_crypt = @LIB_crypt@ 126LIB_dbm_firstkey = @LIB_dbm_firstkey@ 127LIB_dbopen = @LIB_dbopen@ 128LIB_dlopen = @LIB_dlopen@ 129LIB_dn_expand = @LIB_dn_expand@ 130LIB_el_init = @LIB_el_init@ 131LIB_getattr = @LIB_getattr@ 132LIB_gethostbyname = @LIB_gethostbyname@ 133LIB_getpwent_r = @LIB_getpwent_r@ 134LIB_getpwnam_r = @LIB_getpwnam_r@ 135LIB_getsockopt = @LIB_getsockopt@ 136LIB_logout = @LIB_logout@ 137LIB_logwtmp = @LIB_logwtmp@ 138LIB_odm_initialize = @LIB_odm_initialize@ 139LIB_readline = @LIB_readline@ 140LIB_res_search = @LIB_res_search@ 141LIB_setpcred = @LIB_setpcred@ 142LIB_setsockopt = @LIB_setsockopt@ 143LIB_socket = @LIB_socket@ 144LIB_syslog = @LIB_syslog@ 145LIB_tgetent = @LIB_tgetent@ 146 147HESIODLIB = @HESIODLIB@ 148HESIODINCLUDE = @HESIODINCLUDE@ 149INCLUDE_hesiod = @INCLUDE_hesiod@ 150LIB_hesiod = @LIB_hesiod@ 151 152INCLUDE_krb4 = @INCLUDE_krb4@ 153LIB_krb4 = @LIB_krb4@ 154 155INCLUDE_readline = @INCLUDE_readline@ 156 157LEXLIB = @LEXLIB@ 158 159cat1dir = $(mandir)/cat1 160cat3dir = $(mandir)/cat3 161cat5dir = $(mandir)/cat5 162cat8dir = $(mandir)/cat8 163 164MANRX = \(.*\)\.\([0-9]\) 165CATSUFFIX = @CATSUFFIX@ 166 167NROFF_MAN = groff -mandoc -Tascii 168 169@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS) 170 171@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la 172@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la 173 174CHECK_LOCAL = $(PROGRAMS) 175 176CLEANFILES = roken.h make-roken.c print_version.h 177 178lib_LTLIBRARIES = libroken.la
| 14 15 16# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $ 17 18 19# $Id: Makefile.am.common,v 1.13 1999/11/01 03:19:58 assar Exp $ 20 21 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 42 43DESTDIR = 44 45pkgdatadir = $(datadir)/@PACKAGE@ 46pkglibdir = $(libdir)/@PACKAGE@ 47pkgincludedir = $(includedir)/@PACKAGE@ 48 49top_builddir = ../.. 50 51ACLOCAL = @ACLOCAL@ 52AUTOCONF = @AUTOCONF@ 53AUTOMAKE = @AUTOMAKE@ 54AUTOHEADER = @AUTOHEADER@ 55 56INSTALL = @INSTALL@ 57INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 58INSTALL_DATA = @INSTALL_DATA@ 59INSTALL_SCRIPT = @INSTALL_SCRIPT@ 60transform = @program_transform_name@ 61 62NORMAL_INSTALL = : 63PRE_INSTALL = : 64POST_INSTALL = : 65NORMAL_UNINSTALL = : 66PRE_UNINSTALL = : 67POST_UNINSTALL = : 68host_alias = @host_alias@ 69host_triplet = @host@ 70AFS_EXTRA_LD = @AFS_EXTRA_LD@ 71AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@ 72AWK = @AWK@ 73CANONICAL_HOST = @CANONICAL_HOST@ 74CATMAN = @CATMAN@ 75CATMANEXT = @CATMANEXT@ 76CC = @CC@ 77DBLIB = @DBLIB@ 78EXEEXT = @EXEEXT@ 79EXTRA_LIB45 = @EXTRA_LIB45@ 80GROFF = @GROFF@ 81INCLUDE_ = @INCLUDE_@ 82LD = @LD@ 83LEX = @LEX@ 84LIBOBJS = @LIBOBJS@ 85LIBTOOL = @LIBTOOL@ 86LIB_ = @LIB_@ 87LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@ 88LIB_kdb = @LIB_kdb@ 89LIB_otp = @LIB_otp@ 90LIB_roken = @LIB_roken@ 91LIB_security = @LIB_security@ 92LN_S = @LN_S@ 93LTLIBOBJS = @LTLIBOBJS@ 94MAKEINFO = @MAKEINFO@ 95MAKE_X_PROGS_BIN_PROGS = @MAKE_X_PROGS_BIN_PROGS@ 96MAKE_X_PROGS_BIN_SCRPTS = @MAKE_X_PROGS_BIN_SCRPTS@ 97MAKE_X_PROGS_LIBEXEC_PROGS = @MAKE_X_PROGS_LIBEXEC_PROGS@ 98NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@ 99NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@ 100NM = @NM@ 101NROFF = @NROFF@ 102OBJEXT = @OBJEXT@ 103PACKAGE = @PACKAGE@ 104RANLIB = @RANLIB@ 105VERSION = @VERSION@ 106VOID_RETSIGTYPE = @VOID_RETSIGTYPE@ 107WFLAGS = @WFLAGS@ 108WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@ 109WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@ 110YACC = @YACC@ 111 112AUTOMAKE_OPTIONS = foreign no-dependencies 113 114SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x 115 116INCLUDES = -I$(top_builddir)/include 117 118AM_CFLAGS = $(WFLAGS) 119 120COMPILE_ET = $(top_builddir)/lib/com_err/compile_et 121 122buildinclude = $(top_builddir)/include 123 124LIB_XauReadAuth = @LIB_XauReadAuth@ 125LIB_crypt = @LIB_crypt@ 126LIB_dbm_firstkey = @LIB_dbm_firstkey@ 127LIB_dbopen = @LIB_dbopen@ 128LIB_dlopen = @LIB_dlopen@ 129LIB_dn_expand = @LIB_dn_expand@ 130LIB_el_init = @LIB_el_init@ 131LIB_getattr = @LIB_getattr@ 132LIB_gethostbyname = @LIB_gethostbyname@ 133LIB_getpwent_r = @LIB_getpwent_r@ 134LIB_getpwnam_r = @LIB_getpwnam_r@ 135LIB_getsockopt = @LIB_getsockopt@ 136LIB_logout = @LIB_logout@ 137LIB_logwtmp = @LIB_logwtmp@ 138LIB_odm_initialize = @LIB_odm_initialize@ 139LIB_readline = @LIB_readline@ 140LIB_res_search = @LIB_res_search@ 141LIB_setpcred = @LIB_setpcred@ 142LIB_setsockopt = @LIB_setsockopt@ 143LIB_socket = @LIB_socket@ 144LIB_syslog = @LIB_syslog@ 145LIB_tgetent = @LIB_tgetent@ 146 147HESIODLIB = @HESIODLIB@ 148HESIODINCLUDE = @HESIODINCLUDE@ 149INCLUDE_hesiod = @INCLUDE_hesiod@ 150LIB_hesiod = @LIB_hesiod@ 151 152INCLUDE_krb4 = @INCLUDE_krb4@ 153LIB_krb4 = @LIB_krb4@ 154 155INCLUDE_readline = @INCLUDE_readline@ 156 157LEXLIB = @LEXLIB@ 158 159cat1dir = $(mandir)/cat1 160cat3dir = $(mandir)/cat3 161cat5dir = $(mandir)/cat5 162cat8dir = $(mandir)/cat8 163 164MANRX = \(.*\)\.\([0-9]\) 165CATSUFFIX = @CATSUFFIX@ 166 167NROFF_MAN = groff -mandoc -Tascii 168 169@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS) 170 171@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la 172@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la 173 174CHECK_LOCAL = $(PROGRAMS) 175 176CLEANFILES = roken.h make-roken.c print_version.h 177 178lib_LTLIBRARIES = libroken.la
|
179libroken_la_LDFLAGS = -version-info 7:0:2
| 179libroken_la_LDFLAGS = -version-info 7:1:2
|
180 181noinst_PROGRAMS = make-roken make-print-version 182 183check_PROGRAMS = parse_bytes-test strpftime-test getaddrinfo-test 184TESTS = $(check_PROGRAMS) 185 186getaddrinfo_test_LDADD = libroken.la 187parse_bytes_test_LDADD = libroken.la 188strpftime_test_SOURCES = strpftime-test.c strftime.c strptime.c snprintf.c 189 190@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = $(LIB_krb4) -ldes 191 192libroken_la_SOURCES = base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c ewrite.c getaddrinfo_hostspec.c get_default_username.c get_window_size.c getarg.c getnameinfo_verified.c issuid.c k_getpwnam.c k_getpwuid.c mini_inetd.c net_read.c net_write.c parse_bytes.c parse_time.c parse_units.c print_version.c resolve.c roken_gethostby.c signal.c simple_exec.c snprintf.c socket.c strcollect.c tm2time.c verify.c warnerr.c xdbm.h 193 194 195EXTRA_libroken_la_SOURCES = chown.c copyhostent.c daemon.c err.c err.h errx.c fchown.c flock.c fnmatch.c fnmatch.h freeaddrinfo.c freehostent.c gai_strerror.c getaddrinfo.c getdtablesize.c getegid.c geteuid.c getgid.c gethostname.c getipnodebyaddr.c getipnodebyname.c getnameinfo.c getopt.c gettimeofday.c getuid.c getusershell.c glob.h hstrerror.c inet_aton.c inet_ntop.c inet_pton.c initgroups.c innetgr.c iruserok.c lstat.c memmove.c mkstemp.c putenv.c rcmd.c readv.c recvmsg.c sendmsg.c setegid.c setenv.c seteuid.c strcasecmp.c strdup.c strerror.c strftime.c strlcat.c strlcpy.c strlwr.c strncasecmp.c strndup.c strnlen.c strptime.c strsep.c strtok_r.c strupr.c swab.c unsetenv.c verr.c verrx.c vsyslog.c vwarn.c vwarnx.c warn.c warnx.c writev.c 196 197 198EXTRA_DIST = resource.h roken.awk roken.def roken.dsp roken.h.in roken.mak roken.rc 199 200 201libroken_la_LIBADD = @LTLIBOBJS@ 202 203include_HEADERS = $(err_h) base64.h getarg.h parse_bytes.h parse_time.h parse_units.h resolve.h roken.h roken-common.h 204 205 206build_HEADERZ = $(err_h) $(fnmatch_h) $(glob_h) xdbm.h 207@have_err_h_TRUE@err_h = 208@have_err_h_FALSE@err_h = err.h 209@have_fnmatch_h_TRUE@fnmatch_h = 210@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h 211@have_glob_h_TRUE@glob_h = 212@have_glob_h_FALSE@glob_h = glob.h 213mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 214CONFIG_HEADER = ../../include/config.h 215CONFIG_CLEAN_FILES = 216LTLIBRARIES = $(lib_LTLIBRARIES) 217 218 219DEFS = @DEFS@ -I. -I$(srcdir) -I../../include 220CPPFLAGS = @CPPFLAGS@ 221LDFLAGS = @LDFLAGS@ 222LIBS = @LIBS@ 223X_CFLAGS = @X_CFLAGS@ 224X_LIBS = @X_LIBS@ 225X_EXTRA_LIBS = @X_EXTRA_LIBS@ 226X_PRE_LIBS = @X_PRE_LIBS@ 227libroken_la_DEPENDENCIES = @LTLIBOBJS@ 228libroken_la_OBJECTS = base64.lo concat.lo emalloc.lo eread.lo \ 229erealloc.lo estrdup.lo ewrite.lo getaddrinfo_hostspec.lo \ 230get_default_username.lo get_window_size.lo getarg.lo \ 231getnameinfo_verified.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \ 232mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo parse_time.lo \ 233parse_units.lo print_version.lo resolve.lo roken_gethostby.lo signal.lo \ 234simple_exec.lo snprintf.lo socket.lo strcollect.lo tm2time.lo verify.lo \ 235warnerr.lo 236check_PROGRAMS = parse_bytes-test$(EXEEXT) strpftime-test$(EXEEXT) \ 237getaddrinfo-test$(EXEEXT) 238noinst_PROGRAMS = make-roken$(EXEEXT) make-print-version$(EXEEXT) 239PROGRAMS = $(noinst_PROGRAMS) 240 241parse_bytes_test_SOURCES = parse_bytes-test.c 242parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT) 243parse_bytes_test_DEPENDENCIES = libroken.la 244parse_bytes_test_LDFLAGS = 245strpftime_test_OBJECTS = strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \ 246strptime.$(OBJEXT) snprintf.$(OBJEXT) 247strpftime_test_LDADD = $(LDADD) 248strpftime_test_DEPENDENCIES = 249strpftime_test_LDFLAGS = 250getaddrinfo_test_SOURCES = getaddrinfo-test.c 251getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT) 252getaddrinfo_test_DEPENDENCIES = libroken.la 253getaddrinfo_test_LDFLAGS = 254make_roken_SOURCES = make-roken.c 255make_roken_OBJECTS = make-roken.$(OBJEXT) 256make_roken_LDADD = $(LDADD) 257make_roken_DEPENDENCIES = 258make_roken_LDFLAGS = 259make_print_version_SOURCES = make-print-version.c 260make_print_version_OBJECTS = make-print-version.$(OBJEXT) 261@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES = 262make_print_version_LDFLAGS = 263CFLAGS = @CFLAGS@ 264COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 265LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 266CCLD = $(CC) 267LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 268HEADERS = $(include_HEADERS) 269 270DIST_COMMON = ChangeLog Makefile.am Makefile.in getcap.c glob.c \ 271make-print-version.c 272 273 274DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 275 276TAR = tar 277GZIP_ENV = --best 278SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) parse_bytes-test.c $(strpftime_test_SOURCES) getaddrinfo-test.c make-roken.c make-print-version.c 279OBJECTS = $(libroken_la_OBJECTS) parse_bytes-test.$(OBJEXT) $(strpftime_test_OBJECTS) getaddrinfo-test.$(OBJEXT) make-roken.$(OBJEXT) make-print-version.$(OBJEXT) 280 281all: all-redirect 282.SUFFIXES: 283.SUFFIXES: .1 .3 .5 .8 .S .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .s .x 284$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common 285 cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile 286 287Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 288 cd $(top_builddir) \ 289 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 290 291 292mostlyclean-libLTLIBRARIES: 293 294clean-libLTLIBRARIES: 295 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 296 297distclean-libLTLIBRARIES: 298 299maintainer-clean-libLTLIBRARIES: 300 301install-libLTLIBRARIES: $(lib_LTLIBRARIES) 302 @$(NORMAL_INSTALL) 303 $(mkinstalldirs) $(DESTDIR)$(libdir) 304 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 305 if test -f $$p; then \ 306 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \ 307 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \ 308 else :; fi; \ 309 done 310 311uninstall-libLTLIBRARIES: 312 @$(NORMAL_UNINSTALL) 313 list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 314 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ 315 done 316 317.c.o: 318 $(COMPILE) -c $< 319 320# FIXME: We should only use cygpath when building on Windows, 321# and only if it is available. 322.c.obj: 323 $(COMPILE) -c `cygpath -w $<` 324 325.s.o: 326 $(COMPILE) -c $< 327 328.S.o: 329 $(COMPILE) -c $< 330 331mostlyclean-compile: 332 -rm -f *.o core *.core 333 -rm -f *.$(OBJEXT) 334 335clean-compile: 336 337distclean-compile: 338 -rm -f *.tab.c 339 340maintainer-clean-compile: 341 342.c.lo: 343 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 344 345.s.lo: 346 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 347 348.S.lo: 349 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 350 351mostlyclean-libtool: 352 -rm -f *.lo 353 354clean-libtool: 355 -rm -rf .libs _libs 356 357distclean-libtool: 358 359maintainer-clean-libtool: 360 361libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 362 $(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS) 363 364mostlyclean-checkPROGRAMS: 365 366clean-checkPROGRAMS: 367 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 368 369distclean-checkPROGRAMS: 370 371maintainer-clean-checkPROGRAMS: 372 373mostlyclean-noinstPROGRAMS: 374 375clean-noinstPROGRAMS: 376 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 377 378distclean-noinstPROGRAMS: 379 380maintainer-clean-noinstPROGRAMS: 381 382parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES) 383 @rm -f parse_bytes-test$(EXEEXT) 384 $(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS) 385 386strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES) 387 @rm -f strpftime-test$(EXEEXT) 388 $(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS) 389 390getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES) 391 @rm -f getaddrinfo-test$(EXEEXT) 392 $(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS) 393 394make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES) 395 @rm -f make-roken$(EXEEXT) 396 $(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS) 397 398make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 399 @rm -f make-print-version$(EXEEXT) 400 $(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS) 401 402install-includeHEADERS: $(include_HEADERS) 403 @$(NORMAL_INSTALL) 404 $(mkinstalldirs) $(DESTDIR)$(includedir) 405 @list='$(include_HEADERS)'; for p in $$list; do \ 406 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ 407 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \ 408 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \ 409 done 410 411uninstall-includeHEADERS: 412 @$(NORMAL_UNINSTALL) 413 list='$(include_HEADERS)'; for p in $$list; do \ 414 rm -f $(DESTDIR)$(includedir)/$$p; \ 415 done 416 417tags: TAGS 418 419ID: $(HEADERS) $(SOURCES) $(LISP) 420 list='$(SOURCES) $(HEADERS)'; \ 421 unique=`for i in $$list; do echo $$i; done | \ 422 awk ' { files[$$0] = 1; } \ 423 END { for (i in files) print i; }'`; \ 424 here=`pwd` && cd $(srcdir) \ 425 && mkid -f$$here/ID $$unique $(LISP) 426 427TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 428 tags=; \ 429 here=`pwd`; \ 430 list='$(SOURCES) $(HEADERS)'; \ 431 unique=`for i in $$list; do echo $$i; done | \ 432 awk ' { files[$$0] = 1; } \ 433 END { for (i in files) print i; }'`; \ 434 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 435 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 436 437mostlyclean-tags: 438 439clean-tags: 440 441distclean-tags: 442 -rm -f TAGS ID 443 444maintainer-clean-tags: 445 446distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) 447 448subdir = lib/roken 449 450distdir: $(DISTFILES) 451 @for file in $(DISTFILES); do \ 452 d=$(srcdir); \ 453 if test -d $$d/$$file; then \ 454 cp -pr $$/$$file $(distdir)/$$file; \ 455 else \ 456 test -f $(distdir)/$$file \ 457 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 458 || cp -p $$d/$$file $(distdir)/$$file || :; \ 459 fi; \ 460 done 461 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook 462check-TESTS: $(TESTS) 463 @failed=0; all=0; \ 464 srcdir=$(srcdir); export srcdir; \ 465 for tst in $(TESTS); do \ 466 if test -f $$tst; then dir=.; \ 467 else dir="$(srcdir)"; fi; \ 468 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \ 469 all=`expr $$all + 1`; \ 470 echo "PASS: $$tst"; \ 471 elif test $$? -ne 77; then \ 472 all=`expr $$all + 1`; \ 473 failed=`expr $$failed + 1`; \ 474 echo "FAIL: $$tst"; \ 475 fi; \ 476 done; \ 477 if test "$$failed" -eq 0; then \ 478 banner="All $$all tests passed"; \ 479 else \ 480 banner="$$failed of $$all tests failed"; \ 481 fi; \ 482 dashes=`echo "$$banner" | sed s/./=/g`; \ 483 echo "$$dashes"; \ 484 echo "$$banner"; \ 485 echo "$$dashes"; \ 486 test "$$failed" -eq 0 487info-am: 488info: info-am 489dvi-am: 490dvi: dvi-am 491check-am: all-am 492 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 493 $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local 494check: check-am 495installcheck-am: 496installcheck: installcheck-am 497install-exec-am: install-libLTLIBRARIES 498 @$(NORMAL_INSTALL) 499 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook 500install-exec: install-exec-am 501 502install-data-am: install-includeHEADERS install-data-local 503install-data: install-data-am 504 505install-am: all-am 506 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 507install: install-am 508uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS 509uninstall: uninstall-am 510all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local 511all-redirect: all-am 512install-strip: 513 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 514installdirs: 515 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) 516 517 518mostlyclean-generic: 519 520clean-generic: 521 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 522 523distclean-generic: 524 -rm -f Makefile $(CONFIG_CLEAN_FILES) 525 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 526 527maintainer-clean-generic: 528mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \ 529 mostlyclean-libtool mostlyclean-checkPROGRAMS \ 530 mostlyclean-noinstPROGRAMS mostlyclean-tags \ 531 mostlyclean-generic 532 533mostlyclean: mostlyclean-am 534 535clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \ 536 clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \ 537 clean-generic mostlyclean-am 538 539clean: clean-am 540 541distclean-am: distclean-libLTLIBRARIES distclean-compile \ 542 distclean-libtool distclean-checkPROGRAMS \ 543 distclean-noinstPROGRAMS distclean-tags \ 544 distclean-generic clean-am 545 -rm -f libtool 546 547distclean: distclean-am 548 549maintainer-clean-am: maintainer-clean-libLTLIBRARIES \ 550 maintainer-clean-compile maintainer-clean-libtool \ 551 maintainer-clean-checkPROGRAMS \ 552 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \ 553 maintainer-clean-generic distclean-am 554 @echo "This command is intended for maintainers to use;" 555 @echo "it deletes files that may require special tools to rebuild." 556 557maintainer-clean: maintainer-clean-am 558 559.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ 560clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ 561uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ 562distclean-compile clean-compile maintainer-clean-compile \ 563mostlyclean-libtool distclean-libtool clean-libtool \ 564maintainer-clean-libtool mostlyclean-checkPROGRAMS \ 565distclean-checkPROGRAMS clean-checkPROGRAMS \ 566maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \ 567distclean-noinstPROGRAMS clean-noinstPROGRAMS \ 568maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \ 569install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \ 570maintainer-clean-tags distdir check-TESTS info-am info dvi-am dvi \ 571check-local check check-am installcheck-am installcheck install-exec-am \ 572install-exec install-data-local install-data-am install-data install-am \ 573install uninstall-am uninstall all-local all-redirect all-am all \ 574installdirs mostlyclean-generic distclean-generic clean-generic \ 575maintainer-clean-generic clean mostlyclean distclean maintainer-clean 576 577 578install-suid-programs: 579 @foo='$(bin_SUIDS)'; \ 580 for file in $$foo; do \ 581 x=$(DESTDIR)$(bindir)/$$file; \ 582 if chown 0:0 $$x && chmod u+s $$x; then :; else \ 583 chmod 0 $$x; fi; done 584 585install-exec-hook: install-suid-programs 586 587install-build-headers:: $(include_HEADERS) $(build_HEADERZ) 588 @foo='$(include_HEADERS) $(build_HEADERZ)'; \ 589 for f in $$foo; do \ 590 f=`basename $$f`; \ 591 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \ 592 else file="$$f"; fi; \ 593 if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \ 594 : ; else \ 595 echo " cp $$file $(buildinclude)/$$f"; \ 596 cp $$file $(buildinclude)/$$f; \ 597 fi ; \ 598 done 599 600all-local: install-build-headers 601#NROFF_MAN = nroff -man 602.1.cat1: 603 $(NROFF_MAN) $< > $@ 604.3.cat3: 605 $(NROFF_MAN) $< > $@ 606.5.cat5: 607 $(NROFF_MAN) $< > $@ 608.8.cat8: 609 $(NROFF_MAN) $< > $@ 610 611dist-cat1-mans: 612 @foo='$(man1_MANS)'; \ 613 bar='$(man_MANS)'; \ 614 for i in $$bar; do \ 615 case $$i in \ 616 *.1) foo="$$foo $$i";; \ 617 esac; done ;\ 618 for i in $$foo; do \ 619 x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \ 620 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 621 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 622 done 623 624dist-cat3-mans: 625 @foo='$(man3_MANS)'; \ 626 bar='$(man_MANS)'; \ 627 for i in $$bar; do \ 628 case $$i in \ 629 *.3) foo="$$foo $$i";; \ 630 esac; done ;\ 631 for i in $$foo; do \ 632 x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \ 633 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 634 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 635 done 636 637dist-cat5-mans: 638 @foo='$(man5_MANS)'; \ 639 bar='$(man_MANS)'; \ 640 for i in $$bar; do \ 641 case $$i in \ 642 *.5) foo="$$foo $$i";; \ 643 esac; done ;\ 644 for i in $$foo; do \ 645 x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \ 646 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 647 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 648 done 649 650dist-cat8-mans: 651 @foo='$(man8_MANS)'; \ 652 bar='$(man_MANS)'; \ 653 for i in $$bar; do \ 654 case $$i in \ 655 *.8) foo="$$foo $$i";; \ 656 esac; done ;\ 657 for i in $$foo; do \ 658 x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \ 659 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 660 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 661 done 662 663dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans 664 665install-cat1-mans: 666 @ext=1;\ 667 foo='$(man1_MANS)'; \ 668 bar='$(man_MANS)'; \ 669 for i in $$bar; do \ 670 case $$i in \ 671 *.1) foo="$$foo $$i";; \ 672 esac; done; \ 673 if test "$$foo"; then \ 674 $(mkinstalldirs) $(DESTDIR)$(cat1dir); \ 675 for x in $$foo; do \ 676 f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \ 677 if test -f "$(srcdir)/$$f"; then \ 678 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 679 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\ 680 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\ 681 fi; \ 682 done ;\ 683 fi 684 685install-cat3-mans: 686 @ext=3;\ 687 foo='$(man3_MANS)'; \ 688 bar='$(man_MANS)'; \ 689 for i in $$bar; do \ 690 case $$i in \ 691 *.3) foo="$$foo $$i";; \ 692 esac; done; \ 693 if test "$$foo"; then \ 694 $(mkinstalldirs) $(DESTDIR)$(cat3dir); \ 695 for x in $$foo; do \ 696 f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \ 697 if test -f "$(srcdir)/$$f"; then \ 698 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 699 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\ 700 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\ 701 fi; \ 702 done ;\ 703 fi 704 705install-cat5-mans: 706 @ext=5;\ 707 foo='$(man5_MANS)'; \ 708 bar='$(man_MANS)'; \ 709 for i in $$bar; do \ 710 case $$i in \ 711 *.5) foo="$$foo $$i";; \ 712 esac; done; \ 713 if test "$$foo"; then \ 714 $(mkinstalldirs) $(DESTDIR)$(cat5dir); \ 715 for x in $$foo; do \ 716 f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \ 717 if test -f "$(srcdir)/$$f"; then \ 718 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 719 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\ 720 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\ 721 fi; \ 722 done ;\ 723 fi 724 725install-cat8-mans: 726 @ext=8;\ 727 foo='$(man8_MANS)'; \ 728 bar='$(man_MANS)'; \ 729 for i in $$bar; do \ 730 case $$i in \ 731 *.8) foo="$$foo $$i";; \ 732 esac; done; \ 733 if test "$$foo"; then \ 734 $(mkinstalldirs) $(DESTDIR)$(cat8dir); \ 735 for x in $$foo; do \ 736 f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \ 737 if test -f "$(srcdir)/$$f"; then \ 738 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 739 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\ 740 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\ 741 fi; \ 742 done ;\ 743 fi 744 745install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans 746 747install-data-local: install-cat-mans 748 749.et.h: 750 $(COMPILE_ET) $< 751.et.c: 752 $(COMPILE_ET) $< 753 754.x.c: 755 @cmp -s $< $@ 2> /dev/null || cp $< $@ 756 757check-local:: 758 @foo='$(CHECK_LOCAL)'; \ 759 if test "$$foo"; then \ 760 failed=0; all=0; \ 761 for i in $$foo; do \ 762 all=`expr $$all + 1`; \ 763 if ./$$i --version > /dev/null 2>&1; then \ 764 echo "PASS: $$i"; \ 765 else \ 766 echo "FAIL: $$i"; \ 767 failed=`expr $$failed + 1`; \ 768 fi; \ 769 done; \ 770 if test "$$failed" -eq 0; then \ 771 banner="All $$all tests passed"; \ 772 else \ 773 banner="$$failed of $$all tests failed"; \ 774 fi; \ 775 dashes=`echo "$$banner" | sed s/./=/g`; \ 776 echo "$$dashes"; \ 777 echo "$$banner"; \ 778 echo "$$dashes"; \ 779 test "$$failed" -eq 0; \ 780 fi 781 782$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h 783 784roken.h: make-roken$(EXEEXT) 785 @./make-roken$(EXEEXT) > tmp.h ;\ 786 if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \ 787 else rm -f roken.h; mv tmp.h roken.h; fi 788 789make-roken.c: roken.h.in roken.awk 790 $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c 791 792print_version.lo: print_version.h 793 794print_version.h: make-print-version$(EXEEXT) 795 ./make-print-version$(EXEEXT) print_version.h 796 797make-print-version.o: $(top_builddir)/include/version.h 798 799# Tell versions [3.59,3.63) of GNU make to not export all variables. 800# Otherwise a system limit (for SysV at least) may be exceeded. 801.NOEXPORT:
| 180 181noinst_PROGRAMS = make-roken make-print-version 182 183check_PROGRAMS = parse_bytes-test strpftime-test getaddrinfo-test 184TESTS = $(check_PROGRAMS) 185 186getaddrinfo_test_LDADD = libroken.la 187parse_bytes_test_LDADD = libroken.la 188strpftime_test_SOURCES = strpftime-test.c strftime.c strptime.c snprintf.c 189 190@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = $(LIB_krb4) -ldes 191 192libroken_la_SOURCES = base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c ewrite.c getaddrinfo_hostspec.c get_default_username.c get_window_size.c getarg.c getnameinfo_verified.c issuid.c k_getpwnam.c k_getpwuid.c mini_inetd.c net_read.c net_write.c parse_bytes.c parse_time.c parse_units.c print_version.c resolve.c roken_gethostby.c signal.c simple_exec.c snprintf.c socket.c strcollect.c tm2time.c verify.c warnerr.c xdbm.h 193 194 195EXTRA_libroken_la_SOURCES = chown.c copyhostent.c daemon.c err.c err.h errx.c fchown.c flock.c fnmatch.c fnmatch.h freeaddrinfo.c freehostent.c gai_strerror.c getaddrinfo.c getdtablesize.c getegid.c geteuid.c getgid.c gethostname.c getipnodebyaddr.c getipnodebyname.c getnameinfo.c getopt.c gettimeofday.c getuid.c getusershell.c glob.h hstrerror.c inet_aton.c inet_ntop.c inet_pton.c initgroups.c innetgr.c iruserok.c lstat.c memmove.c mkstemp.c putenv.c rcmd.c readv.c recvmsg.c sendmsg.c setegid.c setenv.c seteuid.c strcasecmp.c strdup.c strerror.c strftime.c strlcat.c strlcpy.c strlwr.c strncasecmp.c strndup.c strnlen.c strptime.c strsep.c strtok_r.c strupr.c swab.c unsetenv.c verr.c verrx.c vsyslog.c vwarn.c vwarnx.c warn.c warnx.c writev.c 196 197 198EXTRA_DIST = resource.h roken.awk roken.def roken.dsp roken.h.in roken.mak roken.rc 199 200 201libroken_la_LIBADD = @LTLIBOBJS@ 202 203include_HEADERS = $(err_h) base64.h getarg.h parse_bytes.h parse_time.h parse_units.h resolve.h roken.h roken-common.h 204 205 206build_HEADERZ = $(err_h) $(fnmatch_h) $(glob_h) xdbm.h 207@have_err_h_TRUE@err_h = 208@have_err_h_FALSE@err_h = err.h 209@have_fnmatch_h_TRUE@fnmatch_h = 210@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h 211@have_glob_h_TRUE@glob_h = 212@have_glob_h_FALSE@glob_h = glob.h 213mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 214CONFIG_HEADER = ../../include/config.h 215CONFIG_CLEAN_FILES = 216LTLIBRARIES = $(lib_LTLIBRARIES) 217 218 219DEFS = @DEFS@ -I. -I$(srcdir) -I../../include 220CPPFLAGS = @CPPFLAGS@ 221LDFLAGS = @LDFLAGS@ 222LIBS = @LIBS@ 223X_CFLAGS = @X_CFLAGS@ 224X_LIBS = @X_LIBS@ 225X_EXTRA_LIBS = @X_EXTRA_LIBS@ 226X_PRE_LIBS = @X_PRE_LIBS@ 227libroken_la_DEPENDENCIES = @LTLIBOBJS@ 228libroken_la_OBJECTS = base64.lo concat.lo emalloc.lo eread.lo \ 229erealloc.lo estrdup.lo ewrite.lo getaddrinfo_hostspec.lo \ 230get_default_username.lo get_window_size.lo getarg.lo \ 231getnameinfo_verified.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \ 232mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo parse_time.lo \ 233parse_units.lo print_version.lo resolve.lo roken_gethostby.lo signal.lo \ 234simple_exec.lo snprintf.lo socket.lo strcollect.lo tm2time.lo verify.lo \ 235warnerr.lo 236check_PROGRAMS = parse_bytes-test$(EXEEXT) strpftime-test$(EXEEXT) \ 237getaddrinfo-test$(EXEEXT) 238noinst_PROGRAMS = make-roken$(EXEEXT) make-print-version$(EXEEXT) 239PROGRAMS = $(noinst_PROGRAMS) 240 241parse_bytes_test_SOURCES = parse_bytes-test.c 242parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT) 243parse_bytes_test_DEPENDENCIES = libroken.la 244parse_bytes_test_LDFLAGS = 245strpftime_test_OBJECTS = strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \ 246strptime.$(OBJEXT) snprintf.$(OBJEXT) 247strpftime_test_LDADD = $(LDADD) 248strpftime_test_DEPENDENCIES = 249strpftime_test_LDFLAGS = 250getaddrinfo_test_SOURCES = getaddrinfo-test.c 251getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT) 252getaddrinfo_test_DEPENDENCIES = libroken.la 253getaddrinfo_test_LDFLAGS = 254make_roken_SOURCES = make-roken.c 255make_roken_OBJECTS = make-roken.$(OBJEXT) 256make_roken_LDADD = $(LDADD) 257make_roken_DEPENDENCIES = 258make_roken_LDFLAGS = 259make_print_version_SOURCES = make-print-version.c 260make_print_version_OBJECTS = make-print-version.$(OBJEXT) 261@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES = 262make_print_version_LDFLAGS = 263CFLAGS = @CFLAGS@ 264COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 265LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 266CCLD = $(CC) 267LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 268HEADERS = $(include_HEADERS) 269 270DIST_COMMON = ChangeLog Makefile.am Makefile.in getcap.c glob.c \ 271make-print-version.c 272 273 274DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 275 276TAR = tar 277GZIP_ENV = --best 278SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) parse_bytes-test.c $(strpftime_test_SOURCES) getaddrinfo-test.c make-roken.c make-print-version.c 279OBJECTS = $(libroken_la_OBJECTS) parse_bytes-test.$(OBJEXT) $(strpftime_test_OBJECTS) getaddrinfo-test.$(OBJEXT) make-roken.$(OBJEXT) make-print-version.$(OBJEXT) 280 281all: all-redirect 282.SUFFIXES: 283.SUFFIXES: .1 .3 .5 .8 .S .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .s .x 284$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common 285 cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile 286 287Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 288 cd $(top_builddir) \ 289 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 290 291 292mostlyclean-libLTLIBRARIES: 293 294clean-libLTLIBRARIES: 295 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 296 297distclean-libLTLIBRARIES: 298 299maintainer-clean-libLTLIBRARIES: 300 301install-libLTLIBRARIES: $(lib_LTLIBRARIES) 302 @$(NORMAL_INSTALL) 303 $(mkinstalldirs) $(DESTDIR)$(libdir) 304 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 305 if test -f $$p; then \ 306 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \ 307 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \ 308 else :; fi; \ 309 done 310 311uninstall-libLTLIBRARIES: 312 @$(NORMAL_UNINSTALL) 313 list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 314 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ 315 done 316 317.c.o: 318 $(COMPILE) -c $< 319 320# FIXME: We should only use cygpath when building on Windows, 321# and only if it is available. 322.c.obj: 323 $(COMPILE) -c `cygpath -w $<` 324 325.s.o: 326 $(COMPILE) -c $< 327 328.S.o: 329 $(COMPILE) -c $< 330 331mostlyclean-compile: 332 -rm -f *.o core *.core 333 -rm -f *.$(OBJEXT) 334 335clean-compile: 336 337distclean-compile: 338 -rm -f *.tab.c 339 340maintainer-clean-compile: 341 342.c.lo: 343 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 344 345.s.lo: 346 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 347 348.S.lo: 349 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 350 351mostlyclean-libtool: 352 -rm -f *.lo 353 354clean-libtool: 355 -rm -rf .libs _libs 356 357distclean-libtool: 358 359maintainer-clean-libtool: 360 361libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 362 $(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS) 363 364mostlyclean-checkPROGRAMS: 365 366clean-checkPROGRAMS: 367 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 368 369distclean-checkPROGRAMS: 370 371maintainer-clean-checkPROGRAMS: 372 373mostlyclean-noinstPROGRAMS: 374 375clean-noinstPROGRAMS: 376 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 377 378distclean-noinstPROGRAMS: 379 380maintainer-clean-noinstPROGRAMS: 381 382parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES) 383 @rm -f parse_bytes-test$(EXEEXT) 384 $(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS) 385 386strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES) 387 @rm -f strpftime-test$(EXEEXT) 388 $(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS) 389 390getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES) 391 @rm -f getaddrinfo-test$(EXEEXT) 392 $(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS) 393 394make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES) 395 @rm -f make-roken$(EXEEXT) 396 $(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS) 397 398make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 399 @rm -f make-print-version$(EXEEXT) 400 $(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS) 401 402install-includeHEADERS: $(include_HEADERS) 403 @$(NORMAL_INSTALL) 404 $(mkinstalldirs) $(DESTDIR)$(includedir) 405 @list='$(include_HEADERS)'; for p in $$list; do \ 406 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ 407 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \ 408 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \ 409 done 410 411uninstall-includeHEADERS: 412 @$(NORMAL_UNINSTALL) 413 list='$(include_HEADERS)'; for p in $$list; do \ 414 rm -f $(DESTDIR)$(includedir)/$$p; \ 415 done 416 417tags: TAGS 418 419ID: $(HEADERS) $(SOURCES) $(LISP) 420 list='$(SOURCES) $(HEADERS)'; \ 421 unique=`for i in $$list; do echo $$i; done | \ 422 awk ' { files[$$0] = 1; } \ 423 END { for (i in files) print i; }'`; \ 424 here=`pwd` && cd $(srcdir) \ 425 && mkid -f$$here/ID $$unique $(LISP) 426 427TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 428 tags=; \ 429 here=`pwd`; \ 430 list='$(SOURCES) $(HEADERS)'; \ 431 unique=`for i in $$list; do echo $$i; done | \ 432 awk ' { files[$$0] = 1; } \ 433 END { for (i in files) print i; }'`; \ 434 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 435 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 436 437mostlyclean-tags: 438 439clean-tags: 440 441distclean-tags: 442 -rm -f TAGS ID 443 444maintainer-clean-tags: 445 446distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) 447 448subdir = lib/roken 449 450distdir: $(DISTFILES) 451 @for file in $(DISTFILES); do \ 452 d=$(srcdir); \ 453 if test -d $$d/$$file; then \ 454 cp -pr $$/$$file $(distdir)/$$file; \ 455 else \ 456 test -f $(distdir)/$$file \ 457 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 458 || cp -p $$d/$$file $(distdir)/$$file || :; \ 459 fi; \ 460 done 461 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook 462check-TESTS: $(TESTS) 463 @failed=0; all=0; \ 464 srcdir=$(srcdir); export srcdir; \ 465 for tst in $(TESTS); do \ 466 if test -f $$tst; then dir=.; \ 467 else dir="$(srcdir)"; fi; \ 468 if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \ 469 all=`expr $$all + 1`; \ 470 echo "PASS: $$tst"; \ 471 elif test $$? -ne 77; then \ 472 all=`expr $$all + 1`; \ 473 failed=`expr $$failed + 1`; \ 474 echo "FAIL: $$tst"; \ 475 fi; \ 476 done; \ 477 if test "$$failed" -eq 0; then \ 478 banner="All $$all tests passed"; \ 479 else \ 480 banner="$$failed of $$all tests failed"; \ 481 fi; \ 482 dashes=`echo "$$banner" | sed s/./=/g`; \ 483 echo "$$dashes"; \ 484 echo "$$banner"; \ 485 echo "$$dashes"; \ 486 test "$$failed" -eq 0 487info-am: 488info: info-am 489dvi-am: 490dvi: dvi-am 491check-am: all-am 492 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 493 $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local 494check: check-am 495installcheck-am: 496installcheck: installcheck-am 497install-exec-am: install-libLTLIBRARIES 498 @$(NORMAL_INSTALL) 499 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook 500install-exec: install-exec-am 501 502install-data-am: install-includeHEADERS install-data-local 503install-data: install-data-am 504 505install-am: all-am 506 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 507install: install-am 508uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS 509uninstall: uninstall-am 510all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local 511all-redirect: all-am 512install-strip: 513 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 514installdirs: 515 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) 516 517 518mostlyclean-generic: 519 520clean-generic: 521 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 522 523distclean-generic: 524 -rm -f Makefile $(CONFIG_CLEAN_FILES) 525 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 526 527maintainer-clean-generic: 528mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \ 529 mostlyclean-libtool mostlyclean-checkPROGRAMS \ 530 mostlyclean-noinstPROGRAMS mostlyclean-tags \ 531 mostlyclean-generic 532 533mostlyclean: mostlyclean-am 534 535clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \ 536 clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \ 537 clean-generic mostlyclean-am 538 539clean: clean-am 540 541distclean-am: distclean-libLTLIBRARIES distclean-compile \ 542 distclean-libtool distclean-checkPROGRAMS \ 543 distclean-noinstPROGRAMS distclean-tags \ 544 distclean-generic clean-am 545 -rm -f libtool 546 547distclean: distclean-am 548 549maintainer-clean-am: maintainer-clean-libLTLIBRARIES \ 550 maintainer-clean-compile maintainer-clean-libtool \ 551 maintainer-clean-checkPROGRAMS \ 552 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \ 553 maintainer-clean-generic distclean-am 554 @echo "This command is intended for maintainers to use;" 555 @echo "it deletes files that may require special tools to rebuild." 556 557maintainer-clean: maintainer-clean-am 558 559.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ 560clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ 561uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ 562distclean-compile clean-compile maintainer-clean-compile \ 563mostlyclean-libtool distclean-libtool clean-libtool \ 564maintainer-clean-libtool mostlyclean-checkPROGRAMS \ 565distclean-checkPROGRAMS clean-checkPROGRAMS \ 566maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \ 567distclean-noinstPROGRAMS clean-noinstPROGRAMS \ 568maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \ 569install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \ 570maintainer-clean-tags distdir check-TESTS info-am info dvi-am dvi \ 571check-local check check-am installcheck-am installcheck install-exec-am \ 572install-exec install-data-local install-data-am install-data install-am \ 573install uninstall-am uninstall all-local all-redirect all-am all \ 574installdirs mostlyclean-generic distclean-generic clean-generic \ 575maintainer-clean-generic clean mostlyclean distclean maintainer-clean 576 577 578install-suid-programs: 579 @foo='$(bin_SUIDS)'; \ 580 for file in $$foo; do \ 581 x=$(DESTDIR)$(bindir)/$$file; \ 582 if chown 0:0 $$x && chmod u+s $$x; then :; else \ 583 chmod 0 $$x; fi; done 584 585install-exec-hook: install-suid-programs 586 587install-build-headers:: $(include_HEADERS) $(build_HEADERZ) 588 @foo='$(include_HEADERS) $(build_HEADERZ)'; \ 589 for f in $$foo; do \ 590 f=`basename $$f`; \ 591 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \ 592 else file="$$f"; fi; \ 593 if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \ 594 : ; else \ 595 echo " cp $$file $(buildinclude)/$$f"; \ 596 cp $$file $(buildinclude)/$$f; \ 597 fi ; \ 598 done 599 600all-local: install-build-headers 601#NROFF_MAN = nroff -man 602.1.cat1: 603 $(NROFF_MAN) $< > $@ 604.3.cat3: 605 $(NROFF_MAN) $< > $@ 606.5.cat5: 607 $(NROFF_MAN) $< > $@ 608.8.cat8: 609 $(NROFF_MAN) $< > $@ 610 611dist-cat1-mans: 612 @foo='$(man1_MANS)'; \ 613 bar='$(man_MANS)'; \ 614 for i in $$bar; do \ 615 case $$i in \ 616 *.1) foo="$$foo $$i";; \ 617 esac; done ;\ 618 for i in $$foo; do \ 619 x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \ 620 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 621 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 622 done 623 624dist-cat3-mans: 625 @foo='$(man3_MANS)'; \ 626 bar='$(man_MANS)'; \ 627 for i in $$bar; do \ 628 case $$i in \ 629 *.3) foo="$$foo $$i";; \ 630 esac; done ;\ 631 for i in $$foo; do \ 632 x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \ 633 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 634 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 635 done 636 637dist-cat5-mans: 638 @foo='$(man5_MANS)'; \ 639 bar='$(man_MANS)'; \ 640 for i in $$bar; do \ 641 case $$i in \ 642 *.5) foo="$$foo $$i";; \ 643 esac; done ;\ 644 for i in $$foo; do \ 645 x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \ 646 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 647 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 648 done 649 650dist-cat8-mans: 651 @foo='$(man8_MANS)'; \ 652 bar='$(man_MANS)'; \ 653 for i in $$bar; do \ 654 case $$i in \ 655 *.8) foo="$$foo $$i";; \ 656 esac; done ;\ 657 for i in $$foo; do \ 658 x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \ 659 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 660 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 661 done 662 663dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans 664 665install-cat1-mans: 666 @ext=1;\ 667 foo='$(man1_MANS)'; \ 668 bar='$(man_MANS)'; \ 669 for i in $$bar; do \ 670 case $$i in \ 671 *.1) foo="$$foo $$i";; \ 672 esac; done; \ 673 if test "$$foo"; then \ 674 $(mkinstalldirs) $(DESTDIR)$(cat1dir); \ 675 for x in $$foo; do \ 676 f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \ 677 if test -f "$(srcdir)/$$f"; then \ 678 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 679 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\ 680 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\ 681 fi; \ 682 done ;\ 683 fi 684 685install-cat3-mans: 686 @ext=3;\ 687 foo='$(man3_MANS)'; \ 688 bar='$(man_MANS)'; \ 689 for i in $$bar; do \ 690 case $$i in \ 691 *.3) foo="$$foo $$i";; \ 692 esac; done; \ 693 if test "$$foo"; then \ 694 $(mkinstalldirs) $(DESTDIR)$(cat3dir); \ 695 for x in $$foo; do \ 696 f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \ 697 if test -f "$(srcdir)/$$f"; then \ 698 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 699 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\ 700 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\ 701 fi; \ 702 done ;\ 703 fi 704 705install-cat5-mans: 706 @ext=5;\ 707 foo='$(man5_MANS)'; \ 708 bar='$(man_MANS)'; \ 709 for i in $$bar; do \ 710 case $$i in \ 711 *.5) foo="$$foo $$i";; \ 712 esac; done; \ 713 if test "$$foo"; then \ 714 $(mkinstalldirs) $(DESTDIR)$(cat5dir); \ 715 for x in $$foo; do \ 716 f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \ 717 if test -f "$(srcdir)/$$f"; then \ 718 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 719 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\ 720 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\ 721 fi; \ 722 done ;\ 723 fi 724 725install-cat8-mans: 726 @ext=8;\ 727 foo='$(man8_MANS)'; \ 728 bar='$(man_MANS)'; \ 729 for i in $$bar; do \ 730 case $$i in \ 731 *.8) foo="$$foo $$i";; \ 732 esac; done; \ 733 if test "$$foo"; then \ 734 $(mkinstalldirs) $(DESTDIR)$(cat8dir); \ 735 for x in $$foo; do \ 736 f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \ 737 if test -f "$(srcdir)/$$f"; then \ 738 b=`echo $$x | sed 's!$(MANRX)!\1!'`; \ 739 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\ 740 $(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\ 741 fi; \ 742 done ;\ 743 fi 744 745install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans 746 747install-data-local: install-cat-mans 748 749.et.h: 750 $(COMPILE_ET) $< 751.et.c: 752 $(COMPILE_ET) $< 753 754.x.c: 755 @cmp -s $< $@ 2> /dev/null || cp $< $@ 756 757check-local:: 758 @foo='$(CHECK_LOCAL)'; \ 759 if test "$$foo"; then \ 760 failed=0; all=0; \ 761 for i in $$foo; do \ 762 all=`expr $$all + 1`; \ 763 if ./$$i --version > /dev/null 2>&1; then \ 764 echo "PASS: $$i"; \ 765 else \ 766 echo "FAIL: $$i"; \ 767 failed=`expr $$failed + 1`; \ 768 fi; \ 769 done; \ 770 if test "$$failed" -eq 0; then \ 771 banner="All $$all tests passed"; \ 772 else \ 773 banner="$$failed of $$all tests failed"; \ 774 fi; \ 775 dashes=`echo "$$banner" | sed s/./=/g`; \ 776 echo "$$dashes"; \ 777 echo "$$banner"; \ 778 echo "$$dashes"; \ 779 test "$$failed" -eq 0; \ 780 fi 781 782$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h 783 784roken.h: make-roken$(EXEEXT) 785 @./make-roken$(EXEEXT) > tmp.h ;\ 786 if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \ 787 else rm -f roken.h; mv tmp.h roken.h; fi 788 789make-roken.c: roken.h.in roken.awk 790 $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c 791 792print_version.lo: print_version.h 793 794print_version.h: make-print-version$(EXEEXT) 795 ./make-print-version$(EXEEXT) print_version.h 796 797make-print-version.o: $(top_builddir)/include/version.h 798 799# Tell versions [3.59,3.63) of GNU make to not export all variables. 800# Otherwise a system limit (for SysV at least) may be exceeded. 801.NOEXPORT:
|