778 lines
22 KiB
Makefile
778 lines
22 KiB
Makefile
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 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.
|
|
|
|
# $Id: Makefile.am,v 1.16 1999/07/26 12:38:01 joda Exp $
|
|
|
|
|
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
|
|
|
|
# $Id: Makefile.am.common,v 1.12 1999/07/28 00:54:29 assar Exp $
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ../..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
AFS_EXTRA_LD = @AFS_EXTRA_LD@
|
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
|
AWK = @AWK@
|
|
CANONICAL_HOST = @CANONICAL_HOST@
|
|
CATMAN = @CATMAN@
|
|
CATMANEXT = @CATMANEXT@
|
|
CC = @CC@
|
|
DBLIB = @DBLIB@
|
|
EXEEXT = @EXEEXT@
|
|
EXTRA_LIB45 = @EXTRA_LIB45@
|
|
GROFF = @GROFF@
|
|
INCLUDE_ = @INCLUDE_@
|
|
LD = @LD@
|
|
LEX = @LEX@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_ = @LIB_@
|
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
|
LIB_kdb = @LIB_kdb@
|
|
LIB_otp = @LIB_otp@
|
|
LIB_roken = @LIB_roken@
|
|
LIB_security = @LIB_security@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAKEINFO = @MAKEINFO@
|
|
MAKE_X_PROGS_BIN_PROGS = @MAKE_X_PROGS_BIN_PROGS@
|
|
MAKE_X_PROGS_BIN_SCRPTS = @MAKE_X_PROGS_BIN_SCRPTS@
|
|
MAKE_X_PROGS_LIBEXEC_PROGS = @MAKE_X_PROGS_LIBEXEC_PROGS@
|
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
|
NM = @NM@
|
|
NROFF = @NROFF@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
|
WFLAGS = @WFLAGS@
|
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
|
YACC = @YACC@
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
|
|
|
INCLUDES = -I$(top_builddir)/include
|
|
|
|
AM_CFLAGS = $(WFLAGS)
|
|
|
|
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
|
|
buildinclude = $(top_builddir)/include
|
|
|
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
|
LIB_crypt = @LIB_crypt@
|
|
LIB_dbm_firstkey = @LIB_dbm_firstkey@
|
|
LIB_dbopen = @LIB_dbopen@
|
|
LIB_dlopen = @LIB_dlopen@
|
|
LIB_dn_expand = @LIB_dn_expand@
|
|
LIB_el_init = @LIB_el_init@
|
|
LIB_getattr = @LIB_getattr@
|
|
LIB_gethostbyname = @LIB_gethostbyname@
|
|
LIB_getpwent_r = @LIB_getpwent_r@
|
|
LIB_getpwnam_r = @LIB_getpwnam_r@
|
|
LIB_getsockopt = @LIB_getsockopt@
|
|
LIB_logout = @LIB_logout@
|
|
LIB_logwtmp = @LIB_logwtmp@
|
|
LIB_odm_initialize = @LIB_odm_initialize@
|
|
LIB_readline = @LIB_readline@
|
|
LIB_res_search = @LIB_res_search@
|
|
LIB_setpcred = @LIB_setpcred@
|
|
LIB_setsockopt = @LIB_setsockopt@
|
|
LIB_socket = @LIB_socket@
|
|
LIB_syslog = @LIB_syslog@
|
|
LIB_tgetent = @LIB_tgetent@
|
|
|
|
HESIODLIB = @HESIODLIB@
|
|
HESIODINCLUDE = @HESIODINCLUDE@
|
|
INCLUDE_hesiod = @INCLUDE_hesiod@
|
|
LIB_hesiod = @LIB_hesiod@
|
|
|
|
INCLUDE_krb4 = @INCLUDE_krb4@
|
|
LIB_krb4 = @LIB_krb4@
|
|
|
|
INCLUDE_readline = @INCLUDE_readline@
|
|
|
|
LEXLIB = @LEXLIB@
|
|
|
|
cat1dir = $(mandir)/cat1
|
|
cat3dir = $(mandir)/cat3
|
|
cat5dir = $(mandir)/cat5
|
|
cat8dir = $(mandir)/cat8
|
|
|
|
MANRX = \(.*\)\.\([0-9]\)
|
|
CATSUFFIX = @CATSUFFIX@
|
|
|
|
NROFF_MAN = groff -mandoc -Tascii
|
|
|
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
|
|
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
|
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
|
CHECK_LOCAL =
|
|
|
|
lib_LTLIBRARIES = libdes.la
|
|
libdes_la_LDFLAGS = -version-info 0:1:0
|
|
|
|
include_HEADERS = des.h md4.h md5.h sha.h
|
|
|
|
build_HEADERZ = $(include_HEADERS)
|
|
|
|
check_PROGRAMS = destest mdtest
|
|
|
|
TESTS = destest mdtest
|
|
bin_PROGRAMS = des #rpw speed
|
|
|
|
des_SOURCES = des.c des_ver.h
|
|
|
|
LDADD = $(lib_LTLIBRARIES)
|
|
|
|
libdes_la_SOURCES = cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c des_enc.c des_locl.h ecb3_enc.c ecb_enc.c ede_enc.c enc_read.c enc_writ.c fcrypt.c hash.h key_par.c md4.c md5.c ncbc_enc.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c podd.h qud_cksm.c read_pwd.c rnd_keys.c set_key.c sha.c sk.h spr.h str2key.c xcbc_enc.c
|
|
|
|
|
|
EXTRA_libdes_la_SOURCES = dllmain.c passwd_dialog.aps passwd_dialog.clw passwd_dialog.rc passwd_dialog.res passwd_dlg.c passwd_dlg.h resource.h
|
|
|
|
|
|
EXTRA_DIST = COPYRIGHT DES.pm DES.pod DES.xs FILES Imakefile KERBEROS MODES.DES Makefile.PL Makefile.ssl Makefile.uni PC1 PC2 VERSION des.def des.dsp des.doc des.mak des.man des.org des.pl des_crypt.man des_locl.org des_opts.c doIP doPC1 doPC2 makefile.bc rand_key.c rpc_des.h rpc_enc.c shifts.pl supp.c testdes.pl times typemap version.h vms.com
|
|
|
|
|
|
asm_files = des-som2.pl des-som3.pl des586.pl des686.pl desboth.pl dx86-cpp.s dx86unix.cpp readme win32.asm win32.obj win32.uu x86ms.pl x86unix.pl
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = ../../include/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
LTLIBRARIES = $(lib_LTLIBRARIES)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_LIBS = @X_LIBS@
|
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
X_PRE_LIBS = @X_PRE_LIBS@
|
|
libdes_la_LIBADD =
|
|
libdes_la_OBJECTS = cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
|
|
cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo ede_enc.lo \
|
|
enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo md5.lo ncbc_enc.lo \
|
|
ofb64ede.lo ofb64enc.lo ofb_enc.lo pcbc_enc.lo qud_cksm.lo read_pwd.lo \
|
|
rnd_keys.lo set_key.lo sha.lo str2key.lo xcbc_enc.lo
|
|
bin_PROGRAMS = des$(EXEEXT)
|
|
check_PROGRAMS = destest$(EXEEXT) mdtest$(EXEEXT)
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
des_OBJECTS = des.$(OBJEXT)
|
|
des_LDADD = $(LDADD)
|
|
des_DEPENDENCIES = libdes.la
|
|
des_LDFLAGS =
|
|
destest_SOURCES = destest.c
|
|
destest_OBJECTS = destest.$(OBJEXT)
|
|
destest_LDADD = $(LDADD)
|
|
destest_DEPENDENCIES = libdes.la
|
|
destest_LDFLAGS =
|
|
mdtest_SOURCES = mdtest.c
|
|
mdtest_OBJECTS = mdtest.$(OBJEXT)
|
|
mdtest_LDADD = $(LDADD)
|
|
mdtest_DEPENDENCIES = libdes.la
|
|
mdtest_LDFLAGS =
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
HEADERS = $(include_HEADERS)
|
|
|
|
DIST_COMMON = README ChangeLog INSTALL Makefile.am Makefile.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP_ENV = --best
|
|
SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) $(des_SOURCES) destest.c mdtest.c
|
|
OBJECTS = $(libdes_la_OBJECTS) $(des_OBJECTS) destest.$(OBJEXT) mdtest.$(OBJEXT)
|
|
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
.SUFFIXES: .1 .3 .5 .8 .S .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .s .x
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/des/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
mostlyclean-libLTLIBRARIES:
|
|
|
|
clean-libLTLIBRARIES:
|
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
|
|
|
distclean-libLTLIBRARIES:
|
|
|
|
maintainer-clean-libLTLIBRARIES:
|
|
|
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-libLTLIBRARIES:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
# and only if it is available.
|
|
.c.obj:
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
.c.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.s.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.S.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES)
|
|
$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
done
|
|
|
|
mostlyclean-checkPROGRAMS:
|
|
|
|
clean-checkPROGRAMS:
|
|
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
|
|
|
|
distclean-checkPROGRAMS:
|
|
|
|
maintainer-clean-checkPROGRAMS:
|
|
|
|
des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES)
|
|
@rm -f des$(EXEEXT)
|
|
$(LINK) $(des_LDFLAGS) $(des_OBJECTS) $(des_LDADD) $(LIBS)
|
|
|
|
destest$(EXEEXT): $(destest_OBJECTS) $(destest_DEPENDENCIES)
|
|
@rm -f destest$(EXEEXT)
|
|
$(LINK) $(destest_LDFLAGS) $(destest_OBJECTS) $(destest_LDADD) $(LIBS)
|
|
|
|
mdtest$(EXEEXT): $(mdtest_OBJECTS) $(mdtest_DEPENDENCIES)
|
|
@rm -f mdtest$(EXEEXT)
|
|
$(LINK) $(mdtest_LDFLAGS) $(mdtest_OBJECTS) $(mdtest_LDADD) $(LIBS)
|
|
|
|
install-includeHEADERS: $(include_HEADERS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
|
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
|
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
|
|
done
|
|
|
|
uninstall-includeHEADERS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(include_HEADERS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(includedir)/$$p; \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = lib/des
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pr $$/$$file $(distdir)/$$file; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
fi; \
|
|
done
|
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
for tst in $(TESTS); do \
|
|
if test -f $$tst; then dir=.; \
|
|
else dir="$(srcdir)"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
echo "PASS: $$tst"; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
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
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am: install-includeHEADERS install-data-local
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
|
|
uninstall-includeHEADERS
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
|
|
$(DESTDIR)$(includedir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
|
|
mostlyclean-libtool mostlyclean-binPROGRAMS \
|
|
mostlyclean-checkPROGRAMS mostlyclean-tags \
|
|
mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
|
|
clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
|
|
clean-generic mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-libLTLIBRARIES distclean-compile \
|
|
distclean-libtool distclean-binPROGRAMS \
|
|
distclean-checkPROGRAMS distclean-tags \
|
|
distclean-generic clean-am
|
|
-rm -f libtool
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
maintainer-clean-binPROGRAMS \
|
|
maintainer-clean-checkPROGRAMS maintainer-clean-tags \
|
|
maintainer-clean-generic distclean-am
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
|
|
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
|
|
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
|
|
distclean-compile clean-compile maintainer-clean-compile \
|
|
mostlyclean-libtool distclean-libtool clean-libtool \
|
|
maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
|
|
clean-checkPROGRAMS maintainer-clean-checkPROGRAMS \
|
|
uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
|
|
info-am info dvi-am dvi check-local check check-am installcheck-am \
|
|
installcheck install-exec-am install-exec install-data-local \
|
|
install-data-am install-data install-am install uninstall-am uninstall \
|
|
all-local all-redirect all-am all installdirs mostlyclean-generic \
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
|
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 \
|
|
chmod 0 $$x; fi; done
|
|
|
|
install-exec-hook: install-suid-programs
|
|
|
|
install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
|
|
@foo='$(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 " $(INSTALL_DATA) $$file $(buildinclude)/$$f"; \
|
|
$(INSTALL_DATA) $$file $(buildinclude)/$$f; \
|
|
fi ; \
|
|
done
|
|
|
|
all-local: install-build-headers
|
|
#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-cat1-mans:
|
|
@ext=1;\
|
|
foo='$(man1_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.1) foo="$$foo $$i";; \
|
|
esac; done; \
|
|
if test "$$foo"; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(cat1dir); \
|
|
for x in $$foo; do \
|
|
f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \
|
|
if test -f "$(srcdir)/$$f"; then \
|
|
b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
|
|
echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\
|
|
$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\
|
|
fi; \
|
|
done ;\
|
|
fi
|
|
|
|
install-cat3-mans:
|
|
@ext=3;\
|
|
foo='$(man3_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.3) foo="$$foo $$i";; \
|
|
esac; done; \
|
|
if test "$$foo"; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(cat3dir); \
|
|
for x in $$foo; do \
|
|
f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \
|
|
if test -f "$(srcdir)/$$f"; then \
|
|
b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
|
|
echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\
|
|
$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\
|
|
fi; \
|
|
done ;\
|
|
fi
|
|
|
|
install-cat5-mans:
|
|
@ext=5;\
|
|
foo='$(man5_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.5) foo="$$foo $$i";; \
|
|
esac; done; \
|
|
if test "$$foo"; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(cat5dir); \
|
|
for x in $$foo; do \
|
|
f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \
|
|
if test -f "$(srcdir)/$$f"; then \
|
|
b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
|
|
echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\
|
|
$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\
|
|
fi; \
|
|
done ;\
|
|
fi
|
|
|
|
install-cat8-mans:
|
|
@ext=8;\
|
|
foo='$(man8_MANS)'; \
|
|
bar='$(man_MANS)'; \
|
|
for i in $$bar; do \
|
|
case $$i in \
|
|
*.8) foo="$$foo $$i";; \
|
|
esac; done; \
|
|
if test "$$foo"; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(cat8dir); \
|
|
for x in $$foo; do \
|
|
f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \
|
|
if test -f "$(srcdir)/$$f"; then \
|
|
b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
|
|
echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\
|
|
$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\
|
|
fi; \
|
|
done ;\
|
|
fi
|
|
|
|
install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans
|
|
|
|
install-data-local: install-cat-mans
|
|
|
|
.et.h:
|
|
$(COMPILE_ET) $<
|
|
.et.c:
|
|
$(COMPILE_ET) $<
|
|
|
|
.x.c:
|
|
@cmp -s $< $@ 2> /dev/null || cp $< $@
|
|
|
|
check-local::
|
|
@foo='$(CHECK_LOCAL)'; \
|
|
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
|
|
|
|
dist-hook:
|
|
$(mkinstalldirs) $(distdir)/t
|
|
$(INSTALL_DATA) $(srcdir)/t/perl $(distdir)/t
|
|
$(INSTALL_DATA) $(srcdir)/t/test $(distdir)/t
|
|
$(mkinstalldirs) $(distdir)/asm
|
|
(cd $(srcdir)/asm && tar cf - $(asm_files)) \
|
|
| (cd $(distdir)/asm; tar xf -)
|
|
|
|
# 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:
|