1# Makefile.in generated by automake 1.6.3 from Makefile.am. 2# @configure_input@ 3 4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5# Free Software Foundation, Inc. 6# This Makefile.in is free software; the Free Software Foundation 7# gives unlimited permission to copy and/or distribute it, 8# with or without modifications, as long as this notice is preserved. 9 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13# PARTICULAR PURPOSE. 14 15@SET_MAKE@ 16 17# $Id: Makefile.am,v 1.37 2002/08/19 15:08:37 joda Exp $ 18 19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $ 20 21# $Id: Makefile.am.common,v 1.36 2002/08/19 16:10:25 joda Exp $ 22SHELL = @SHELL@ 23 24srcdir = @srcdir@ 25top_srcdir = @top_srcdir@ 26VPATH = @srcdir@ 27prefix = @prefix@ 28exec_prefix = @exec_prefix@ 29 30bindir = @bindir@ 31sbindir = @sbindir@ 32libexecdir = @libexecdir@ 33datadir = @datadir@ 34sysconfdir = @sysconfdir@ 35sharedstatedir = @sharedstatedir@ 36localstatedir = @localstatedir@ 37libdir = @libdir@ 38infodir = @infodir@ 39mandir = @mandir@ 40includedir = @includedir@ 41oldincludedir = /usr/include 42pkgdatadir = $(datadir)/@PACKAGE@ 43pkglibdir = $(libdir)/@PACKAGE@ 44pkgincludedir = $(includedir)/@PACKAGE@ 45top_builddir = ../.. 46 47ACLOCAL = @ACLOCAL@ 48AUTOCONF = @AUTOCONF@ 49AUTOMAKE = @AUTOMAKE@ 50AUTOHEADER = @AUTOHEADER@ 51 52am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 53INSTALL = @INSTALL@ 54INSTALL_PROGRAM = @INSTALL_PROGRAM@ 55INSTALL_DATA = @INSTALL_DATA@ 56install_sh_DATA = $(install_sh) -c -m 644 57install_sh_PROGRAM = $(install_sh) -c 58install_sh_SCRIPT = $(install_sh) -c 59INSTALL_SCRIPT = @INSTALL_SCRIPT@ 60INSTALL_HEADER = $(INSTALL_DATA) 61transform = @program_transform_name@ 62NORMAL_INSTALL = : 63PRE_INSTALL = : 64POST_INSTALL = : 65NORMAL_UNINSTALL = : 66PRE_UNINSTALL = : 67POST_UNINSTALL = : 68host_alias = @host_alias@ 69host_triplet = @host@ 70 71EXEEXT = @EXEEXT@ 72OBJEXT = @OBJEXT@ 73PATH_SEPARATOR = @PATH_SEPARATOR@ 74AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@ 75AMTAR = @AMTAR@ 76AS = @AS@ 77AWK = @AWK@ 78CANONICAL_HOST = @CANONICAL_HOST@ 79CATMAN = @CATMAN@ 80CATMANEXT = @CATMANEXT@ 81CC = @CC@ 82COMPILE_ET = @COMPILE_ET@ 83CPP = @CPP@ 84DBLIB = @DBLIB@ 85DEPDIR = @DEPDIR@ 86DIR_com_err = @DIR_com_err@ 87DIR_des = @DIR_des@ 88DIR_roken = @DIR_roken@ 89DLLTOOL = @DLLTOOL@ 90ECHO = @ECHO@ 91EXTRA_LIB45 = @EXTRA_LIB45@ 92GROFF = @GROFF@ 93INCLUDES_roken = @INCLUDES_roken@ 94INCLUDE_ = @INCLUDE_@ 95INCLUDE_des = @INCLUDE_des@ 96INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 97LEX = @LEX@ 98 99LEXLIB = @LEXLIB@ 100LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 101LIBTOOL = @LIBTOOL@ 102LIB_ = @LIB_@ 103LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@ 104LIB_NDBM = @LIB_NDBM@ 105LIB_com_err = @LIB_com_err@ 106LIB_com_err_a = @LIB_com_err_a@ 107LIB_com_err_so = @LIB_com_err_so@ 108LIB_des = @LIB_des@ 109LIB_des_a = @LIB_des_a@ 110LIB_des_appl = @LIB_des_appl@ 111LIB_des_so = @LIB_des_so@ 112LIB_kdb = @LIB_kdb@ 113LIB_otp = @LIB_otp@ 114LIB_roken = @LIB_roken@ 115LIB_security = @LIB_security@ 116LN_S = @LN_S@ 117LTLIBOBJS = @LTLIBOBJS@ 118NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@ 119NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@ 120NROFF = @NROFF@ 121OBJDUMP = @OBJDUMP@ 122PACKAGE = @PACKAGE@ 123RANLIB = @RANLIB@ 124STRIP = @STRIP@ 125VERSION = @VERSION@ 126VOID_RETSIGTYPE = @VOID_RETSIGTYPE@ 127WFLAGS = @WFLAGS@ 128WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@ 129WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@ 130X_CFLAGS = @X_CFLAGS@ 131X_EXTRA_LIBS = @X_EXTRA_LIBS@ 132X_LIBS = @X_LIBS@ 133X_PRE_LIBS = @X_PRE_LIBS@ 134YACC = @YACC@ 135am__include = @am__include@ 136am__quote = @am__quote@ 137dpagaix_cflags = @dpagaix_cflags@ 138dpagaix_ldadd = @dpagaix_ldadd@ 139dpagaix_ldflags = @dpagaix_ldflags@ 140install_sh = @install_sh@ 141 142AUTOMAKE_OPTIONS = foreign no-dependencies 1.6 143 144SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 145 146INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(AFS_EXTRA_DEFS) $(ROKEN_RENAME) 147 148@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME 149 150AM_CFLAGS = $(WFLAGS) 151 152CP = cp 153 154buildinclude = $(top_builddir)/include 155 156LIB_XauReadAuth = @LIB_XauReadAuth@ 157LIB_crypt = @LIB_crypt@ 158LIB_dbm_firstkey = @LIB_dbm_firstkey@ 159LIB_dbopen = @LIB_dbopen@ 160LIB_dlopen = @LIB_dlopen@ 161LIB_dn_expand = @LIB_dn_expand@ 162LIB_el_init = @LIB_el_init@ 163LIB_getattr = @LIB_getattr@ 164LIB_gethostbyname = @LIB_gethostbyname@ 165LIB_getpwent_r = @LIB_getpwent_r@ 166LIB_getpwnam_r = @LIB_getpwnam_r@ 167LIB_getsockopt = @LIB_getsockopt@ 168LIB_logout = @LIB_logout@ 169LIB_logwtmp = @LIB_logwtmp@ 170LIB_odm_initialize = @LIB_odm_initialize@ 171LIB_openpty = @LIB_openpty@ 172LIB_pidfile = @LIB_pidfile@ 173LIB_res_search = @LIB_res_search@ 174LIB_setpcred = @LIB_setpcred@ 175LIB_setsockopt = @LIB_setsockopt@ 176LIB_socket = @LIB_socket@ 177LIB_syslog = @LIB_syslog@ 178LIB_tgetent = @LIB_tgetent@ 179 180HESIODLIB = @HESIODLIB@ 181HESIODINCLUDE = @HESIODINCLUDE@ 182INCLUDE_hesiod = @INCLUDE_hesiod@ 183LIB_hesiod = @LIB_hesiod@ 184 185INCLUDE_krb4 = @INCLUDE_krb4@ 186LIB_krb4 = @LIB_krb4@ 187 188INCLUDE_openldap = @INCLUDE_openldap@ 189LIB_openldap = @LIB_openldap@ 190 191INCLUDE_readline = @INCLUDE_readline@ 192LIB_readline = @LIB_readline@ 193 194NROFF_MAN = groff -mandoc -Tascii 195 196@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS) 197 198@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \ 199@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la 200 201@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la 202 203@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la 204 205@KRB4_TRUE@AFSLIBS = libkafs.la 206@KRB4_FALSE@AFSLIBS = 207@KRB4_TRUE@DEPLIB_krb4 = $(LIB_krb4) $(LIB_des) 208@KRB4_FALSE@DEPLIB_krb4 = 209 210@AIX_FALSE@@KRB4_TRUE@AFSL_EXP = 211@AIX_TRUE@@KRB4_TRUE@AFSL_EXP = $(srcdir)/afsl.exp 212 213@AIX4_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -e _nostart 214@AIX4_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -bnoentry 215 216@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AIX_SRC = afslib.c 217@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@AIX_SRC = dlfcn.c 218@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@AIX_SRC = 219@AIX_FALSE@@KRB4_TRUE@AIX_SRC = 220@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = 221@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = afslib.so 222@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS 223@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = 224 225@KRB5_TRUE@libkafs_la_LIBADD = ../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4) 226@KRB5_FALSE@libkafs_la_LIBADD = ../roken/libroken.la $(DEPLIB_krb4) 227 228lib_LTLIBRARIES = $(AFSLIBS) 229libkafs_la_LDFLAGS = -version-info 3:4:3 230foodir = $(libdir) 231foo_DATA = $(AFS_EXTRA_LIBS) 232 233# EXTRA_DATA = afslib.so 234CLEANFILES = $(AFS_EXTRA_LIBS) $(ROKEN_SRCS) 235 236include_HEADERS = kafs.h 237 238@KRB5_TRUE@afskrb5_c = afskrb5.c 239 240@do_roken_rename_TRUE@ROKEN_SRCS = resolve.c strtok_r.c strlcpy.c strsep.c 241 242libkafs_la_SOURCES = \ 243 afssys.c \ 244 afskrb.c \ 245 $(afskrb5_c) \ 246 common.c \ 247 $(AIX_SRC) \ 248 kafs_locl.h \ 249 afssysdefs.h \ 250 $(ROKEN_SRCS) 251 252 253 254#afslib_so_SOURCES = afslib.c 255EXTRA_libkafs_la_SOURCES = afskrb5.c dlfcn.c afslib.c dlfcn.h 256 257EXTRA_DIST = README.dlfcn afsl.exp afslib.exp 258 259man_MANS = kafs.3 260subdir = lib/kafs 261mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 262CONFIG_HEADER = $(top_builddir)/include/config.h 263CONFIG_CLEAN_FILES = 264LTLIBRARIES = $(lib_LTLIBRARIES) 265 266@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \ 267@KRB4_FALSE@@KRB5_TRUE@ ../roken/libroken.la 268@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la 269@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \ 270@KRB4_TRUE@@KRB5_TRUE@ ../roken/libroken.la 271@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la 272@KRB5_TRUE@am__objects_1 = afskrb5.lo 273@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@am__objects_2 = afslib.lo 274@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@am__objects_2 = \ 275@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@ dlfcn.lo 276@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@am__objects_2 = 277@AIX_FALSE@@KRB4_TRUE@am__objects_2 = 278@do_roken_rename_TRUE@am__objects_3 = resolve.lo strtok_r.lo strlcpy.lo \ 279@do_roken_rename_TRUE@ strsep.lo 280am_libkafs_la_OBJECTS = afssys.lo afskrb.lo $(am__objects_1) common.lo \ 281 $(am__objects_2) $(am__objects_3) 282libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS) 283 284DEFS = @DEFS@ 285DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include 286CPPFLAGS = @CPPFLAGS@ 287LDFLAGS = @LDFLAGS@ 288LIBS = @LIBS@ 289depcomp = 290am__depfiles_maybe = 291COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 292 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 293LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 294 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 295CCLD = $(CC) 296LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 297 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 298CFLAGS = @CFLAGS@ 299DIST_SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES) 300MANS = $(man_MANS) 301DATA = $(foo_DATA) 302 303HEADERS = $(include_HEADERS) 304 305DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in 306SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES) 307 308all: all-am 309 310.SUFFIXES: 311.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj 312$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4) 313 cd $(top_srcdir) && \ 314 $(AUTOMAKE) --foreign lib/kafs/Makefile 315Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 316 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 317libLTLIBRARIES_INSTALL = $(INSTALL) 318install-libLTLIBRARIES: $(lib_LTLIBRARIES) 319 @$(NORMAL_INSTALL) 320 $(mkinstalldirs) $(DESTDIR)$(libdir) 321 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 322 if test -f $$p; then \ 323 f="`echo $$p | sed -e 's|^.*/||'`"; \ 324 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \ 325 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \ 326 else :; fi; \ 327 done 328 329uninstall-libLTLIBRARIES: 330 @$(NORMAL_UNINSTALL) 331 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 332 p="`echo $$p | sed -e 's|^.*/||'`"; \ 333 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ 334 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ 335 done 336 337clean-libLTLIBRARIES: 338 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 339 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 340 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 341 test -z "$dir" && dir=.; \ 342 echo "rm -f \"$${dir}/so_locations\""; \ 343 rm -f "$${dir}/so_locations"; \ 344 done 345libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) 346 $(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS) 347 348mostlyclean-compile: 349 -rm -f *.$(OBJEXT) core *.core 350 351distclean-compile: 352 -rm -f *.tab.c 353 354.c.o: 355 $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 356 357.c.obj: 358 $(COMPILE) -c `cygpath -w $<` 359 360.c.lo: 361 $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 362 363mostlyclean-libtool: 364 -rm -f *.lo 365 366clean-libtool: 367 -rm -rf .libs _libs 368 369distclean-libtool: 370 -rm -f libtool 371uninstall-info-am: 372 373man3dir = $(mandir)/man3 374install-man3: $(man3_MANS) $(man_MANS) 375 @$(NORMAL_INSTALL) 376 $(mkinstalldirs) $(DESTDIR)$(man3dir) 377 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ 378 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ 379 for i in $$l2; do \ 380 case "$$i" in \ 381 *.3*) list="$$list $$i" ;; \ 382 esac; \ 383 done; \ 384 for i in $$list; do \ 385 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 386 else file=$$i; fi; \ 387 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 388 case "$$ext" in \ 389 3*) ;; \ 390 *) ext='3' ;; \ 391 esac; \ 392 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 393 inst=`echo $$inst | sed -e 's/^.*\///'`; \ 394 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 395 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \ 396 $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \ 397 done 398uninstall-man3: 399 @$(NORMAL_UNINSTALL) 400 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ 401 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ 402 for i in $$l2; do \ 403 case "$$i" in \ 404 *.3*) list="$$list $$i" ;; \ 405 esac; \ 406 done; \ 407 for i in $$list; do \ 408 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 409 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 410 inst=`echo $$inst | sed -e 's/^.*\///'`; \ 411 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 412 echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \ 413 rm -f $(DESTDIR)$(man3dir)/$$inst; \ 414 done 415fooDATA_INSTALL = $(INSTALL_DATA) 416install-fooDATA: $(foo_DATA) 417 @$(NORMAL_INSTALL) 418 $(mkinstalldirs) $(DESTDIR)$(foodir) 419 @list='$(foo_DATA)'; for p in $$list; do \ 420 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 421 f="`echo $$p | sed -e 's|^.*/||'`"; \ 422 echo " $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f"; \ 423 $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f; \ 424 done 425 426uninstall-fooDATA: 427 @$(NORMAL_UNINSTALL) 428 @list='$(foo_DATA)'; for p in $$list; do \ 429 f="`echo $$p | sed -e 's|^.*/||'`"; \ 430 echo " rm -f $(DESTDIR)$(foodir)/$$f"; \ 431 rm -f $(DESTDIR)$(foodir)/$$f; \ 432 done 433includeHEADERS_INSTALL = $(INSTALL_HEADER) 434install-includeHEADERS: $(include_HEADERS) 435 @$(NORMAL_INSTALL) 436 $(mkinstalldirs) $(DESTDIR)$(includedir) 437 @list='$(include_HEADERS)'; for p in $$list; do \ 438 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 439 f="`echo $$p | sed -e 's|^.*/||'`"; \ 440 echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ 441 $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \ 442 done 443 444uninstall-includeHEADERS: 445 @$(NORMAL_UNINSTALL) 446 @list='$(include_HEADERS)'; for p in $$list; do \ 447 f="`echo $$p | sed -e 's|^.*/||'`"; \ 448 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ 449 rm -f $(DESTDIR)$(includedir)/$$f; \ 450 done 451 452ETAGS = etags 453ETAGSFLAGS = 454 455tags: TAGS 456 457ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 458 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 459 unique=`for i in $$list; do \ 460 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 461 done | \ 462 $(AWK) ' { files[$$0] = 1; } \ 463 END { for (i in files) print i; }'`; \ 464 mkid -fID $$unique 465 466TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 467 $(TAGS_FILES) $(LISP) 468 tags=; \ 469 here=`pwd`; \ 470 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 471 unique=`for i in $$list; do \ 472 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 473 done | \ 474 $(AWK) ' { files[$$0] = 1; } \ 475 END { for (i in files) print i; }'`; \ 476 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 477 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 478 $$tags $$unique 479 480GTAGS: 481 here=`$(am__cd) $(top_builddir) && pwd` \ 482 && cd $(top_srcdir) \ 483 && gtags -i $(GTAGS_ARGS) $$here 484 485distclean-tags: 486 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 487DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 488 489top_distdir = ../.. 490distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 491 492distdir: $(DISTFILES) 493 @list='$(DISTFILES)'; for file in $$list; do \ 494 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 495 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 496 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 497 dir="/$$dir"; \ 498 $(mkinstalldirs) "$(distdir)$$dir"; \ 499 else \ 500 dir=''; \ 501 fi; \ 502 if test -d $$d/$$file; then \ 503 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 504 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 505 fi; \ 506 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 507 else \ 508 test -f $(distdir)/$$file \ 509 || cp -p $$d/$$file $(distdir)/$$file \ 510 || exit 1; \ 511 fi; \ 512 done 513 $(MAKE) $(AM_MAKEFLAGS) \ 514 top_distdir="${top_distdir}" distdir="$(distdir)" \ 515 dist-hook 516check-am: all-am 517 $(MAKE) $(AM_MAKEFLAGS) check-local 518check: check-am 519all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local 520 521installdirs: 522 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(foodir) $(DESTDIR)$(includedir) 523 524install: install-am 525install-exec: install-exec-am 526install-data: install-data-am 527uninstall: uninstall-am 528 529install-am: all-am 530 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 531 532installcheck: installcheck-am 533install-strip: 534 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 535 INSTALL_STRIP_FLAG=-s \ 536 `test -z '$(STRIP)' || \ 537 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 538mostlyclean-generic: 539 540clean-generic: 541 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 542 543distclean-generic: 544 -rm -f Makefile $(CONFIG_CLEAN_FILES) 545 546maintainer-clean-generic: 547 @echo "This command is intended for maintainers to use" 548 @echo "it deletes files that may require special tools to rebuild." 549clean: clean-am 550 551clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ 552 mostlyclean-am 553 554distclean: distclean-am 555 556distclean-am: clean-am distclean-compile distclean-generic \ 557 distclean-libtool distclean-tags 558 559dvi: dvi-am 560 561dvi-am: 562 563info: info-am 564 565info-am: 566 567install-data-am: install-data-local install-fooDATA \ 568 install-includeHEADERS install-man 569 570install-exec-am: install-libLTLIBRARIES 571 @$(NORMAL_INSTALL) 572 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook 573 574install-info: install-info-am 575 576install-man: install-man3 577 578installcheck-am: 579 580maintainer-clean: maintainer-clean-am 581 582maintainer-clean-am: distclean-am maintainer-clean-generic 583 584mostlyclean: mostlyclean-am 585 586mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 587 mostlyclean-libtool 588 589uninstall-am: uninstall-fooDATA uninstall-includeHEADERS \ 590 uninstall-info-am uninstall-libLTLIBRARIES uninstall-man 591 592uninstall-man: uninstall-man3 593 594.PHONY: GTAGS all all-am all-local check check-am check-local clean \ 595 clean-generic clean-libLTLIBRARIES clean-libtool distclean \ 596 distclean-compile distclean-generic distclean-libtool \ 597 distclean-tags distdir dvi dvi-am info info-am install \ 598 install-am install-data install-data-am install-data-local \ 599 install-exec install-exec-am install-fooDATA \ 600 install-includeHEADERS install-info install-info-am \ 601 install-libLTLIBRARIES install-man install-man3 install-strip \ 602 installcheck installcheck-am installdirs maintainer-clean \ 603 maintainer-clean-generic mostlyclean mostlyclean-compile \ 604 mostlyclean-generic mostlyclean-libtool tags uninstall \ 605 uninstall-am uninstall-fooDATA uninstall-includeHEADERS \ 606 uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \ 607 uninstall-man3 608 609 610install-suid-programs: 611 @foo='$(bin_SUIDS)'; \ 612 for file in $$foo; do \ 613 x=$(DESTDIR)$(bindir)/$$file; \ 614 if chown 0:0 $$x && chmod u+s $$x; then :; else \ 615 echo "*"; \ 616 echo "* Failed to install $$x setuid root"; \ 617 echo "*"; \ 618 fi; done 619 620install-exec-hook: install-suid-programs 621 622install-build-headers:: $(include_HEADERS) $(build_HEADERZ) 623 @foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \ 624 for f in $$foo; do \ 625 f=`basename $$f`; \ 626 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \ 627 else file="$$f"; fi; \ 628 if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \ 629 : ; else \ 630 echo " $(CP) $$file $(buildinclude)/$$f"; \ 631 $(CP) $$file $(buildinclude)/$$f; \ 632 fi ; \ 633 done 634 635all-local: install-build-headers 636 637check-local:: 638 @if test '$(CHECK_LOCAL)'; then \ 639 foo='$(CHECK_LOCAL)'; else \ 640 foo='$(PROGRAMS)'; fi; \ 641 if test "$$foo"; then \ 642 failed=0; all=0; \ 643 for i in $$foo; do \ 644 all=`expr $$all + 1`; \ 645 if ./$$i --version > /dev/null 2>&1; then \ 646 echo "PASS: $$i"; \ 647 else \ 648 echo "FAIL: $$i"; \ 649 failed=`expr $$failed + 1`; \ 650 fi; \ 651 done; \ 652 if test "$$failed" -eq 0; then \ 653 banner="All $$all tests passed"; \ 654 else \ 655 banner="$$failed of $$all tests failed"; \ 656 fi; \ 657 dashes=`echo "$$banner" | sed s/./=/g`; \ 658 echo "$$dashes"; \ 659 echo "$$banner"; \ 660 echo "$$dashes"; \ 661 test "$$failed" -eq 0; \ 662 fi 663 664.x.c: 665 @cmp -s $< $@ 2> /dev/null || cp $< $@ 666#NROFF_MAN = nroff -man 667.1.cat1: 668 $(NROFF_MAN) $< > $@ 669.3.cat3: 670 $(NROFF_MAN) $< > $@ 671.5.cat5: 672 $(NROFF_MAN) $< > $@ 673.8.cat8: 674 $(NROFF_MAN) $< > $@ 675 676dist-cat1-mans: 677 @foo='$(man1_MANS)'; \ 678 bar='$(man_MANS)'; \ 679 for i in $$bar; do \ 680 case $$i in \ 681 *.1) foo="$$foo $$i";; \ 682 esac; done ;\ 683 for i in $$foo; do \ 684 x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \ 685 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 686 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 687 done 688 689dist-cat3-mans: 690 @foo='$(man3_MANS)'; \ 691 bar='$(man_MANS)'; \ 692 for i in $$bar; do \ 693 case $$i in \ 694 *.3) foo="$$foo $$i";; \ 695 esac; done ;\ 696 for i in $$foo; do \ 697 x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \ 698 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 699 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 700 done 701 702dist-cat5-mans: 703 @foo='$(man5_MANS)'; \ 704 bar='$(man_MANS)'; \ 705 for i in $$bar; do \ 706 case $$i in \ 707 *.5) foo="$$foo $$i";; \ 708 esac; done ;\ 709 for i in $$foo; do \ 710 x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \ 711 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 712 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 713 done 714 715dist-cat8-mans: 716 @foo='$(man8_MANS)'; \ 717 bar='$(man_MANS)'; \ 718 for i in $$bar; do \ 719 case $$i in \ 720 *.8) foo="$$foo $$i";; \ 721 esac; done ;\ 722 for i in $$foo; do \ 723 x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \ 724 echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \ 725 $(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \ 726 done 727 728dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans 729 730install-cat-mans: 731 $(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS) 732 733install-data-local: install-cat-mans 734 735.et.h: 736 $(COMPILE_ET) $< 737.et.c: 738 $(COMPILE_ET) $< 739 740# AIX: this almost works with gcc, but somehow it fails to use the 741# correct ld, use ld instead 742afslib.so: afslib.o 743 ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp $(AFS_EXTRA_LD) afslib.o -lc 744 745$(OBJECTS): ../../include/config.h 746 747resolve.c: 748 $(LN_S) $(srcdir)/../roken/resolve.c . 749 750strtok_r.c: 751 $(LN_S) $(srcdir)/../roken/strtok_r.c . 752 753strlcpy.c: 754 $(LN_S) $(srcdir)/../roken/strlcpy.c . 755 756strsep.c: 757 $(LN_S) $(srcdir)/../roken/strsep.c . 758# Tell versions [3.59,3.63) of GNU make to not export all variables. 759# Otherwise a system limit (for SysV at least) may be exceeded. 760.NOEXPORT: 761