1abd325d28
Approved by: re
587 lines
16 KiB
Makefile
587 lines
16 KiB
Makefile
# Makefile.in generated by automake 1.6.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
|
# 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.
|
|
|
|
@SET_MAKE@
|
|
|
|
# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
|
|
|
|
# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
|
|
|
|
# $Id: Makefile.am.common,v 1.36 2002/08/19 16:10:25 joda 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
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ../..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = @program_transform_name@
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
OBJEXT = @OBJEXT@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
|
AMTAR = @AMTAR@
|
|
AS = @AS@
|
|
AWK = @AWK@
|
|
CANONICAL_HOST = @CANONICAL_HOST@
|
|
CATMAN = @CATMAN@
|
|
CATMANEXT = @CATMANEXT@
|
|
CC = @CC@
|
|
COMPILE_ET = @COMPILE_ET@
|
|
CPP = @CPP@
|
|
DBLIB = @DBLIB@
|
|
DEPDIR = @DEPDIR@
|
|
DIR_com_err = @DIR_com_err@
|
|
DIR_des = @DIR_des@
|
|
DIR_roken = @DIR_roken@
|
|
DLLTOOL = @DLLTOOL@
|
|
ECHO = @ECHO@
|
|
EXTRA_LIB45 = @EXTRA_LIB45@
|
|
GROFF = @GROFF@
|
|
INCLUDES_roken = @INCLUDES_roken@
|
|
INCLUDE_ = @INCLUDE_@
|
|
INCLUDE_des = @INCLUDE_des@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LEX = @LEX@
|
|
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_ = @LIB_@
|
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
|
LIB_NDBM = @LIB_NDBM@
|
|
LIB_com_err = @LIB_com_err@
|
|
LIB_com_err_a = @LIB_com_err_a@
|
|
LIB_com_err_so = @LIB_com_err_so@
|
|
LIB_des = @LIB_des@
|
|
LIB_des_a = @LIB_des_a@
|
|
LIB_des_appl = @LIB_des_appl@
|
|
LIB_des_so = @LIB_des_so@
|
|
LIB_kdb = @LIB_kdb@
|
|
LIB_otp = @LIB_otp@
|
|
LIB_roken = @LIB_roken@
|
|
LIB_security = @LIB_security@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
|
NROFF = @NROFF@
|
|
OBJDUMP = @OBJDUMP@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
STRIP = @STRIP@
|
|
VERSION = @VERSION@
|
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
|
WFLAGS = @WFLAGS@
|
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
X_LIBS = @X_LIBS@
|
|
X_PRE_LIBS = @X_PRE_LIBS@
|
|
YACC = @YACC@
|
|
am__include = @am__include@
|
|
am__quote = @am__quote@
|
|
dpagaix_cflags = @dpagaix_cflags@
|
|
dpagaix_ldadd = @dpagaix_ldadd@
|
|
dpagaix_ldflags = @dpagaix_ldflags@
|
|
install_sh = @install_sh@
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
|
|
|
|
SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
|
|
|
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
|
|
|
@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
|
|
|
|
AM_CFLAGS = $(WFLAGS)
|
|
|
|
CP = cp
|
|
|
|
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_openpty = @LIB_openpty@
|
|
LIB_pidfile = @LIB_pidfile@
|
|
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_openldap = @INCLUDE_openldap@
|
|
LIB_openldap = @LIB_openldap@
|
|
|
|
INCLUDE_readline = @INCLUDE_readline@
|
|
LIB_readline = @LIB_readline@
|
|
|
|
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 \
|
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
|
|
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
|
|
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
|
|
|
bin_PROGRAMS = rcp
|
|
|
|
rcp_SOURCES = rcp.c util.c
|
|
|
|
LDADD = $(LIB_roken)
|
|
subdir = appl/rcp
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
bin_PROGRAMS = rcp$(EXEEXT)
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
|
|
rcp_OBJECTS = $(am_rcp_OBJECTS)
|
|
rcp_LDADD = $(LDADD)
|
|
rcp_DEPENDENCIES =
|
|
rcp_LDFLAGS =
|
|
|
|
DEFS = @DEFS@
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
CFLAGS = @CFLAGS@
|
|
DIST_SOURCES = $(rcp_SOURCES)
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
SOURCES = $(rcp_SOURCES)
|
|
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
|
|
$(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/rcp/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
if test -f $$p \
|
|
|| test -f $$p1 \
|
|
; then \
|
|
p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
|
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
|
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
done
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
|
|
@rm -f rcp$(EXEEXT)
|
|
$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.$(OBJEXT) core *.core
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
.c.o:
|
|
$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
|
.c.obj:
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
.c.lo:
|
|
$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
uninstall-info-am:
|
|
|
|
ETAGS = etags
|
|
ETAGSFLAGS =
|
|
|
|
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: $(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 "$(ETAGS_ARGS)$$tags$$unique" \
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_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
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ../..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
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
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
|
dist-hook
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
check: check-am
|
|
all-am: Makefile $(PROGRAMS) all-local
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_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 Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
|
|
|
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-am
|
|
|
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
distclean-libtool distclean-tags
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am:
|
|
|
|
info: info-am
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-data-local
|
|
|
|
install-exec-am: install-binPROGRAMS
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
|
mostlyclean-libtool
|
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
|
|
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
|
distclean-compile distclean-generic distclean-libtool \
|
|
distclean-tags distdir dvi dvi-am info info-am install \
|
|
install-am install-binPROGRAMS install-data install-data-am \
|
|
install-data-local install-exec install-exec-am install-info \
|
|
install-info-am install-man install-strip installcheck \
|
|
installcheck-am installdirs maintainer-clean \
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
|
|
|
|
|
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-local: install-cat-mans
|
|
|
|
.et.h:
|
|
$(COMPILE_ET) $<
|
|
.et.c:
|
|
$(COMPILE_ET) $<
|
|
# 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:
|