a08e247c98
Changes in release 0.6.1 * Fixed ARCFOUR suppport * Cross realm vulnerability * kdc: fix denial of service attack * kdc: stop clients from renewing kerberos 4 tickets into the future * bug fixes
750 lines
21 KiB
Makefile
750 lines
21 KiB
Makefile
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
|
# appl/telnet/Makefile. Generated from Makefile.in by configure.
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
# $Heimdal: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
|
|
# $NetBSD: Makefile,v 1.1.1.1 2004/04/02 14:47:27 lha Exp $
|
|
|
|
# $Heimdal: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
|
|
# $NetBSD: Makefile,v 1.1.1.1 2004/04/02 14:47:27 lha Exp $
|
|
|
|
# $Heimdal: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
|
|
# $NetBSD: Makefile,v 1.1.1.1 2004/04/02 14:47:27 lha Exp $
|
|
|
|
srcdir = .
|
|
top_srcdir = ../..
|
|
|
|
pkgdatadir = $(datadir)/heimdal
|
|
pkglibdir = $(libdir)/heimdal
|
|
pkgincludedir = $(includedir)/heimdal
|
|
top_builddir = ../..
|
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = /usr/bin/install -c
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = $(program_transform_name)
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_triplet = i386-unknown-netbsdelf2.0.
|
|
ACLOCAL = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run aclocal-1.7
|
|
AIX4_FALSE =
|
|
AIX4_TRUE = #
|
|
AIX_DYNAMIC_AFS_FALSE = #
|
|
AIX_DYNAMIC_AFS_TRUE =
|
|
AIX_EXTRA_KAFS =
|
|
AIX_FALSE =
|
|
AIX_TRUE = #
|
|
AMTAR = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run tar
|
|
AR = ar
|
|
AUTOCONF = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run autoconf
|
|
AUTOHEADER = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run autoheader
|
|
AUTOMAKE = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run automake-1.7
|
|
AWK = awk
|
|
CANONICAL_HOST = i386-unknown-netbsdelf2.0.
|
|
CATMAN = /usr/bin/nroff -mdoc $< > $@
|
|
CATMANEXT = 0
|
|
CATMAN_FALSE = #
|
|
CATMAN_TRUE =
|
|
CC = gcc
|
|
CFLAGS = -DINET6 -g -O2
|
|
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
CPP = gcc -E
|
|
CPPFLAGS =
|
|
CXX = g++
|
|
CXXCPP = g++ -E
|
|
CXXFLAGS = -g -O2
|
|
CYGPATH_W = echo
|
|
DBLIB =
|
|
DCE_FALSE =
|
|
DCE_TRUE = #
|
|
DEFS = -DHAVE_CONFIG_H
|
|
DIR_com_err = com_err
|
|
DIR_des = des
|
|
DIR_roken = roken
|
|
ECHO = echo
|
|
ECHO_C =
|
|
ECHO_N = -n
|
|
ECHO_T =
|
|
EGREP = grep -E
|
|
EXEEXT =
|
|
EXTRA_LIB45 =
|
|
F77 = g77
|
|
FFLAGS = -g -O2
|
|
GROFF = /usr/bin/groff
|
|
HAVE_DB1_FALSE = #
|
|
HAVE_DB1_TRUE =
|
|
HAVE_DB3_FALSE =
|
|
HAVE_DB3_TRUE = #
|
|
HAVE_DLOPEN_FALSE = #
|
|
HAVE_DLOPEN_TRUE =
|
|
HAVE_NDBM_FALSE =
|
|
HAVE_NDBM_TRUE = #
|
|
HAVE_OPENSSL_FALSE =
|
|
HAVE_OPENSSL_TRUE = #
|
|
HAVE_X_FALSE = #
|
|
HAVE_X_TRUE =
|
|
INCLUDES_roken = -I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken
|
|
INCLUDE_des =
|
|
INCLUDE_hesiod =
|
|
|
|
INCLUDE_krb4 =
|
|
|
|
INCLUDE_openldap =
|
|
|
|
INCLUDE_readline =
|
|
INSTALL_DATA = ${INSTALL} -m 644
|
|
INSTALL_PROGRAM = ${INSTALL}
|
|
INSTALL_SCRIPT = ${INSTALL}
|
|
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
|
|
IRIX_FALSE =
|
|
IRIX_TRUE = #
|
|
KRB4_FALSE =
|
|
KRB4_TRUE = #
|
|
KRB5_FALSE = #
|
|
KRB5_TRUE =
|
|
LDFLAGS =
|
|
LEX = flex
|
|
|
|
LEXLIB = -lfl
|
|
LEX_OUTPUT_ROOT = lex.yy
|
|
LIBOBJS = copyhostent$U.o ecalloc$U.o emalloc$U.o erealloc$U.o estrdup$U.o freehostent$U.o getipnodebyaddr$U.o getipnodebyname$U.o strlwr$U.o strndup$U.o strnlen$U.o strsep_copy$U.o strupr$U.o
|
|
LIBS =
|
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
|
LIB_AUTH_SUBDIRS =
|
|
LIB_NDBM =
|
|
LIB_XauFileName =
|
|
|
|
LIB_XauReadAuth = -lXau
|
|
LIB_XauWriteAuth = -lXau
|
|
LIB_bswap16 =
|
|
LIB_bswap32 =
|
|
LIB_com_err = $(top_builddir)/lib/com_err/libcom_err.la
|
|
LIB_com_err_a = $(top_builddir)/lib/com_err/.libs/libcom_err.a
|
|
LIB_com_err_so = $(top_builddir)/lib/com_err/.libs/libcom_err.so
|
|
LIB_crypt = -lcrypt
|
|
LIB_db_create =
|
|
LIB_dbm_firstkey =
|
|
LIB_dbopen =
|
|
LIB_des = $(top_builddir)/lib/des/libdes.la
|
|
LIB_des_a = $(top_builddir)/lib/des/.libs/libdes.a
|
|
LIB_des_appl = -ldes
|
|
LIB_des_so = $(top_builddir)/lib/des/.libs/libdes.so
|
|
LIB_dlopen =
|
|
LIB_dn_expand =
|
|
LIB_el_init = -ledit
|
|
LIB_freeaddrinfo =
|
|
LIB_gai_strerror =
|
|
LIB_getaddrinfo =
|
|
LIB_gethostbyname =
|
|
LIB_gethostbyname2 =
|
|
LIB_getnameinfo =
|
|
LIB_getpwnam_r =
|
|
LIB_getsockopt =
|
|
LIB_hesiod =
|
|
LIB_hstrerror =
|
|
LIB_kdb =
|
|
LIB_krb4 =
|
|
LIB_krb_disable_debug =
|
|
LIB_krb_enable_debug =
|
|
LIB_krb_get_kdc_time_diff =
|
|
LIB_krb_get_our_ip_for_realm =
|
|
LIB_krb_kdctimeofday =
|
|
LIB_loadquery =
|
|
LIB_logout = -lutil
|
|
LIB_logwtmp = -lutil
|
|
LIB_openldap =
|
|
LIB_openpty = -lutil
|
|
LIB_otp = $(top_builddir)/lib/otp/libotp.la
|
|
LIB_pidfile = -lutil
|
|
LIB_readline = $(top_builddir)/lib/editline/libel_compat.la $(LIB_el_init) $(LIB_tgetent)
|
|
LIB_res_nsearch =
|
|
LIB_res_search =
|
|
LIB_roken = $(top_builddir)/lib/vers/libvers.la $(top_builddir)/lib/roken/libroken.la $(LIB_crypt) $(LIB_dbopen)
|
|
LIB_security =
|
|
LIB_setsockopt =
|
|
LIB_socket =
|
|
LIB_syslog =
|
|
LIB_tgetent = -ltermcap
|
|
LN_S = ln -s
|
|
LTLIBOBJS = copyhostent$U.lo ecalloc$U.lo emalloc$U.lo erealloc$U.lo estrdup$U.lo freehostent$U.lo getipnodebyaddr$U.lo getipnodebyname$U.lo strlwr$U.lo strndup$U.lo strnlen$U.lo strsep_copy$U.lo strupr$U.lo
|
|
MAINT = #
|
|
MAINTAINER_MODE_FALSE =
|
|
MAINTAINER_MODE_TRUE = #
|
|
MAKEINFO = ${SHELL} /home/lha/netbsd2/heimdal-0.6.1/missing --run makeinfo
|
|
NEED_WRITEAUTH_FALSE =
|
|
NEED_WRITEAUTH_TRUE = #
|
|
NROFF = /usr/bin/nroff
|
|
OBJEXT = o
|
|
OTP_FALSE = #
|
|
OTP_TRUE =
|
|
PACKAGE = heimdal
|
|
PACKAGE_BUGREPORT = heimdal-bugs@pdc.kth.se
|
|
PACKAGE_NAME = Heimdal
|
|
PACKAGE_STRING = Heimdal 0.6.1
|
|
PACKAGE_TARNAME = heimdal
|
|
PACKAGE_VERSION = 0.6.1
|
|
PATH_SEPARATOR = :
|
|
RANLIB = ranlib
|
|
SET_MAKE =
|
|
SHELL = /usr/pkg/bin/bash
|
|
STRIP = strip
|
|
VERSION = 0.6.1
|
|
VOID_RETSIGTYPE =
|
|
WFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs
|
|
WFLAGS_NOIMPLICITINT =
|
|
WFLAGS_NOUNUSED =
|
|
X_CFLAGS = -I/usr/X11R6/include
|
|
X_EXTRA_LIBS =
|
|
X_LIBS = -L/usr/X11R6/lib -R/usr/X11R6/lib
|
|
X_PRE_LIBS = -lSM -lICE
|
|
YACC = yacc
|
|
ac_ct_AR = ar
|
|
ac_ct_CC = gcc
|
|
ac_ct_CXX = g++
|
|
ac_ct_F77 = g77
|
|
ac_ct_RANLIB = ranlib
|
|
ac_ct_STRIP = strip
|
|
am__leading_dot = .
|
|
bindir = ${exec_prefix}/bin
|
|
build = i386-unknown-netbsdelf2.0.
|
|
build_alias =
|
|
build_cpu = i386
|
|
build_os = netbsdelf2.0.
|
|
build_vendor = unknown
|
|
datadir = ${prefix}/share
|
|
do_roken_rename_FALSE = #
|
|
do_roken_rename_TRUE =
|
|
dpagaix_cflags = -D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce
|
|
dpagaix_ldadd = -L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r
|
|
dpagaix_ldflags = -Wl,-bI:dfspag.exp
|
|
el_compat_FALSE = #
|
|
el_compat_TRUE =
|
|
exec_prefix = ${prefix}
|
|
have_err_h_FALSE = #
|
|
have_err_h_TRUE =
|
|
have_fnmatch_h_FALSE =
|
|
have_fnmatch_h_TRUE = #
|
|
have_glob_h_FALSE = #
|
|
have_glob_h_TRUE =
|
|
have_ifaddrs_h_FALSE = #
|
|
have_ifaddrs_h_TRUE =
|
|
have_vis_h_FALSE = #
|
|
have_vis_h_TRUE =
|
|
host = i386-unknown-netbsdelf2.0.
|
|
host_alias =
|
|
host_cpu = i386
|
|
host_os = netbsdelf2.0.
|
|
host_vendor = unknown
|
|
includedir = ${prefix}/include
|
|
infodir = ${prefix}/info
|
|
install_sh = /home/lha/netbsd2/heimdal-0.6.1/install-sh
|
|
libdir = ${exec_prefix}/lib
|
|
libexecdir = ${exec_prefix}/libexec
|
|
localstatedir = /var/heimdal
|
|
mandir = ${prefix}/man
|
|
oldincludedir = /usr/include
|
|
prefix = /usr
|
|
program_transform_name = s,x,x,
|
|
sbindir = ${exec_prefix}/sbin
|
|
sharedstatedir = ${prefix}/com
|
|
sysconfdir = /etc
|
|
target_alias =
|
|
|
|
SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
|
|
|
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
|
|
|
ROKEN_RENAME = -DROKEN_RENAME
|
|
|
|
AM_CFLAGS = $(WFLAGS)
|
|
|
|
CP = cp
|
|
|
|
buildinclude = $(top_builddir)/include
|
|
LIB_getattr = @LIB_getattr@
|
|
LIB_getpwent_r = @LIB_getpwent_r@
|
|
LIB_odm_initialize = @LIB_odm_initialize@
|
|
LIB_setpcred = @LIB_setpcred@
|
|
|
|
HESIODLIB = @HESIODLIB@
|
|
HESIODINCLUDE = @HESIODINCLUDE@
|
|
|
|
NROFF_MAN = groff -mandoc -Tascii
|
|
|
|
LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
|
|
|
LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
$(top_builddir)/lib/asn1/libasn1.la
|
|
|
|
LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
|
|
|
#LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
|
|
|
SUBDIRS = libtelnet telnet telnetd
|
|
|
|
EXTRA_DIST = README.ORIG telnet.state
|
|
subdir = appl/telnet
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
DIST_SOURCES =
|
|
|
|
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
|
ps-recursive install-info-recursive uninstall-info-recursive \
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
installdirs-recursive install-recursive uninstall-recursive \
|
|
check-recursive installcheck-recursive
|
|
DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
|
|
$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
all: all-recursive
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
|
|
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --foreign appl/telnet/Makefile
|
|
Makefile: # $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
uninstall-info-am:
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
# into them and run `make' without going through this Makefile.
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
$(RECURSIVE_TARGETS):
|
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
|
dot_seen=no; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
dot_seen=yes; \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done; \
|
|
if test "$$dot_seen" = "no"; then \
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
fi; test -z "$$fail"
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
maintainer-clean-recursive:
|
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
|
dot_seen=no; \
|
|
case "$@" in \
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
*) list='$(SUBDIRS)' ;; \
|
|
esac; \
|
|
rev=''; for subdir in $$list; do \
|
|
if test "$$subdir" = "."; then :; else \
|
|
rev="$$subdir $$rev"; \
|
|
fi; \
|
|
done; \
|
|
rev="$$rev ."; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
for subdir in $$rev; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
ctags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
done
|
|
|
|
ETAGS = etags
|
|
ETAGSFLAGS =
|
|
|
|
CTAGS = ctags
|
|
CTAGSFLAGS =
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
if (etags --etags-include --version) >/dev/null 2>&1; then \
|
|
include_option=--etags-include; \
|
|
else \
|
|
include_option=--include; \
|
|
fi; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -f $$subdir/TAGS && \
|
|
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
|
fi; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
ctags: CTAGS
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ../..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
esac; \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
dir="/$$dir"; \
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
else \
|
|
dir=''; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -d $(distdir)/$$subdir \
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|| exit 1; \
|
|
(cd $$subdir && \
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$(top_distdir)" \
|
|
distdir=../$(distdir)/$$subdir \
|
|
distdir) \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
|
dist-hook
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
check: check-recursive
|
|
all-am: Makefile all-local
|
|
installdirs: installdirs-recursive
|
|
installdirs-am:
|
|
|
|
install: install-recursive
|
|
install-exec: install-exec-recursive
|
|
install-data: install-data-recursive
|
|
uninstall: uninstall-recursive
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-recursive
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
clean: clean-recursive
|
|
|
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
|
|
distclean: distclean-recursive
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
|
distclean-tags
|
|
|
|
dvi: dvi-recursive
|
|
|
|
dvi-am:
|
|
|
|
info: info-recursive
|
|
|
|
info-am:
|
|
|
|
install-data-am:
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
|
|
|
install-exec-am:
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
|
|
install-info: install-info-recursive
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
|
|
|
pdf: pdf-recursive
|
|
|
|
pdf-am:
|
|
|
|
ps: ps-recursive
|
|
|
|
ps-am:
|
|
|
|
uninstall-am: uninstall-info-am
|
|
|
|
uninstall-info: uninstall-info-recursive
|
|
|
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \
|
|
check-am check-local clean clean-generic clean-libtool \
|
|
clean-recursive ctags ctags-recursive distclean \
|
|
distclean-generic distclean-libtool distclean-recursive \
|
|
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
|
|
info-recursive install install-am install-data install-data-am \
|
|
install-data-recursive install-exec install-exec-am \
|
|
install-exec-recursive install-info install-info-am \
|
|
install-info-recursive install-man install-recursive \
|
|
install-strip installcheck installcheck-am installdirs \
|
|
installdirs-am installdirs-recursive maintainer-clean \
|
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
|
pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
|
|
tags-recursive uninstall uninstall-am uninstall-info-am \
|
|
uninstall-info-recursive uninstall-recursive
|
|
|
|
|
|
install-suid-programs:
|
|
@foo='$(bin_SUIDS)'; \
|
|
for file in $$foo; do \
|
|
x=$(DESTDIR)$(bindir)/$$file; \
|
|
if chown 0:0 $$x && chmod u+s $$x; then :; else \
|
|
echo "*"; \
|
|
echo "* Failed to install $$x setuid root"; \
|
|
echo "*"; \
|
|
fi; done
|
|
|
|
install-exec-hook: install-suid-programs
|
|
|
|
install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
|
|
@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
|
|
for f in $$foo; do \
|
|
f=`basename $$f`; \
|
|
if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
|
|
else file="$$f"; fi; \
|
|
if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \
|
|
: ; else \
|
|
echo " $(CP) $$file $(buildinclude)/$$f"; \
|
|
$(CP) $$file $(buildinclude)/$$f; \
|
|
fi ; \
|
|
done
|
|
|
|
all-local: install-build-headers
|
|
|
|
check-local::
|
|
@if test '$(CHECK_LOCAL)'; then \
|
|
foo='$(CHECK_LOCAL)'; else \
|
|
foo='$(PROGRAMS)'; fi; \
|
|
if test "$$foo"; then \
|
|
failed=0; all=0; \
|
|
for i in $$foo; do \
|
|
all=`expr $$all + 1`; \
|
|
if ./$$i --version > /dev/null 2>&1; then \
|
|
echo "PASS: $$i"; \
|
|
else \
|
|
echo "FAIL: $$i"; \
|
|
failed=`expr $$failed + 1`; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="$$failed of $$all tests failed"; \
|
|
fi; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0; \
|
|
fi
|
|
|
|
.x.c:
|
|
@cmp -s $< $@ 2> /dev/null || cp $< $@
|
|
#NROFF_MAN = nroff -man
|
|
.1.cat1:
|
|
$(NROFF_MAN) $< > $@
|
|
.3.cat3:
|
|
$(NROFF_MAN) $< > $@
|
|
.5.cat5:
|
|
$(NROFF_MAN) $< > $@
|
|
.8.cat8:
|
|
$(NROFF_MAN) $< > $@
|
|
|
|
dist-cat1-mans:
|
|
@foo='$(man1_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.1) foo="$$foo $$i";; \
|
|
esac; done ;\
|
|
for i in $$foo; do \
|
|
x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
|
|
echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
|
|
$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
|
|
done
|
|
|
|
dist-cat3-mans:
|
|
@foo='$(man3_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.3) foo="$$foo $$i";; \
|
|
esac; done ;\
|
|
for i in $$foo; do \
|
|
x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
|
|
echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
|
|
$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
|
|
done
|
|
|
|
dist-cat5-mans:
|
|
@foo='$(man5_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.5) foo="$$foo $$i";; \
|
|
esac; done ;\
|
|
for i in $$foo; do \
|
|
x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
|
|
echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
|
|
$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
|
|
done
|
|
|
|
dist-cat8-mans:
|
|
@foo='$(man8_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.8) foo="$$foo $$i";; \
|
|
esac; done ;\
|
|
for i in $$foo; do \
|
|
x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
|
|
echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
|
|
$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
|
|
done
|
|
|
|
dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
|
|
|
|
install-cat-mans:
|
|
$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
|
|
|
|
install-data-hook: install-cat-mans
|
|
|
|
.et.h:
|
|
$(COMPILE_ET) $<
|
|
.et.c:
|
|
$(COMPILE_ET) $<
|
|
|
|
dist-hook:
|
|
$(mkinstalldirs) $(distdir)/arpa
|
|
$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|