635 lines
17 KiB
Makefile
635 lines
17 KiB
Makefile
# Makefile.in generated by automake 1.6.3 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@
|
|
|
|
# Package: am-utils
|
|
# Level: Makefile for amd/ directory
|
|
# Author: Erez Zadok
|
|
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_sh_SCRIPT = $(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@
|
|
AMD_FS_OBJS = @AMD_FS_OBJS@
|
|
AMD_INFO_OBJS = @AMD_INFO_OBJS@
|
|
AMTAR = @AMTAR@
|
|
|
|
# allow users to add their own flags via "configure --enable-am-flags=ARG"
|
|
AMU_CFLAGS = @AMU_CFLAGS@
|
|
AMU_LIB_OBJS = @AMU_LIB_OBJS@
|
|
AMU_NFS_PROT_HEADER = @AMU_NFS_PROT_HEADER@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
AWK = @AWK@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
DEPDIR = @DEPDIR@
|
|
DLLTOOL = @DLLTOOL@
|
|
ECHO = @ECHO@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
|
LIBTOOL_LDFLAGS = @LIBTOOL_LDFLAGS@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
OBJDUMP = @OBJDUMP@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
RANLIB = @RANLIB@
|
|
STRIP = @STRIP@
|
|
VERSION = @VERSION@
|
|
YACC = @YACC@
|
|
am__include = @am__include@
|
|
am__quote = @am__quote@
|
|
am_utils_unmount_args = @am_utils_unmount_args@
|
|
am_utils_unmount_call = @am_utils_unmount_call@
|
|
install_sh = @install_sh@
|
|
|
|
sbin_PROGRAMS = amd
|
|
|
|
# man pages
|
|
man_MANS = amd.8
|
|
|
|
# test scripts
|
|
TESTS = test1.sh
|
|
|
|
# headers this depends on, not to be installed
|
|
noinst_HEADERS = amd.h
|
|
|
|
# *.y must be listed before *.l, because of a bug in automake-1.2
|
|
# which will not generate the .h needs for the lex file from the yacc file.
|
|
# I took out the conf .y/.l files b/c of bad interaction between bsd44 make
|
|
# and automake-1.2 rules.
|
|
|
|
# sources needed: note .y and .l files have to be first
|
|
# get_args.c is handled separately
|
|
amd_SOURCES = \
|
|
conf_parse.y \
|
|
conf_tok.l \
|
|
\
|
|
am_ops.c \
|
|
amd.c \
|
|
amfs_auto.c \
|
|
amfs_direct.c \
|
|
amfs_error.c \
|
|
amfs_host.c \
|
|
amfs_inherit.c \
|
|
amfs_link.c \
|
|
amfs_linkx.c \
|
|
amfs_nfsl.c \
|
|
amfs_nfsx.c \
|
|
amfs_program.c \
|
|
amfs_root.c \
|
|
amfs_toplvl.c \
|
|
amfs_union.c \
|
|
amq_subr.c \
|
|
amq_svc.c \
|
|
autil.c \
|
|
clock.c \
|
|
conf.c \
|
|
map.c \
|
|
mapc.c \
|
|
mntfs.c \
|
|
nfs_prot_svc.c \
|
|
nfs_start.c \
|
|
nfs_subr.c \
|
|
opts.c \
|
|
restart.c \
|
|
rpc_fwd.c \
|
|
sched.c \
|
|
srvr_amfs_auto.c \
|
|
srvr_nfs.c
|
|
|
|
|
|
# the complete list of all optional sources
|
|
EXTRA_amd_SOURCES = \
|
|
info_file.c \
|
|
info_hesiod.c \
|
|
info_ldap.c \
|
|
info_ndbm.c \
|
|
info_nis.c \
|
|
info_nisplus.c \
|
|
info_passwd.c \
|
|
info_union.c \
|
|
\
|
|
ops_cachefs.c \
|
|
ops_cdfs.c \
|
|
ops_efs.c \
|
|
ops_lofs.c \
|
|
ops_mfs.c \
|
|
ops_nfs.c \
|
|
ops_nfs3.c \
|
|
ops_nullfs.c \
|
|
ops_pcfs.c \
|
|
ops_tfs.c \
|
|
ops_tmpfs.c \
|
|
ops_ufs.c \
|
|
ops_umapfs.c \
|
|
ops_unionfs.c \
|
|
ops_xfs.c \
|
|
\
|
|
get_args.c
|
|
|
|
|
|
# AMD_FS_OBJS: a list of ops_*.o objects added, depending on which
|
|
# filesystem types this system supports.
|
|
# AMD_INFO_OBJS: a list of info_*.o objects added, depending on which map
|
|
# types this system supports.
|
|
EXTRA_amd_OBJECTS = @AMD_FS_OBJS@ @AMD_INFO_OBJS@
|
|
LDADD = $(EXTRA_amd_OBJECTS) get_args.o ../libamu/libamu.la
|
|
# must manually add f/lex library to LIBS, and not to LDADD.
|
|
LIBS = @LIBS@ @LEXLIB@
|
|
|
|
# additional files to distribute and clean
|
|
EXTRA_DIST = ops_TEMPLATE.c $(man_MANS) $(TESTS)
|
|
CLEANFILES = conf_tok.c conf_parse.c conf_parse.h
|
|
DISTCLEANFILES = build_version.h
|
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
|
CFLAGS = @CFLAGS@ $(AMU_CFLAGS)
|
|
AM_YFLAGS = -d
|
|
subdir = amd
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
sbin_PROGRAMS = amd$(EXEEXT)
|
|
PROGRAMS = $(sbin_PROGRAMS)
|
|
|
|
am_amd_OBJECTS = conf_parse.$(OBJEXT) conf_tok.$(OBJEXT) \
|
|
am_ops.$(OBJEXT) amd.$(OBJEXT) amfs_auto.$(OBJEXT) \
|
|
amfs_direct.$(OBJEXT) amfs_error.$(OBJEXT) amfs_host.$(OBJEXT) \
|
|
amfs_inherit.$(OBJEXT) amfs_link.$(OBJEXT) amfs_linkx.$(OBJEXT) \
|
|
amfs_nfsl.$(OBJEXT) amfs_nfsx.$(OBJEXT) amfs_program.$(OBJEXT) \
|
|
amfs_root.$(OBJEXT) amfs_toplvl.$(OBJEXT) amfs_union.$(OBJEXT) \
|
|
amq_subr.$(OBJEXT) amq_svc.$(OBJEXT) autil.$(OBJEXT) \
|
|
clock.$(OBJEXT) conf.$(OBJEXT) map.$(OBJEXT) mapc.$(OBJEXT) \
|
|
mntfs.$(OBJEXT) nfs_prot_svc.$(OBJEXT) nfs_start.$(OBJEXT) \
|
|
nfs_subr.$(OBJEXT) opts.$(OBJEXT) restart.$(OBJEXT) \
|
|
rpc_fwd.$(OBJEXT) sched.$(OBJEXT) srvr_amfs_auto.$(OBJEXT) \
|
|
srvr_nfs.$(OBJEXT)
|
|
amd_OBJECTS = $(am_amd_OBJECTS)
|
|
amd_LDADD = $(LDADD)
|
|
amd_DEPENDENCIES = get_args.o ../libamu/libamu.la
|
|
amd_LDFLAGS =
|
|
|
|
DEFS = @DEFS@
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
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 $@
|
|
LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
|
|
LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
|
|
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
|
LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
|
DIST_SOURCES = $(amd_SOURCES) $(EXTRA_amd_SOURCES)
|
|
|
|
NROFF = nroff
|
|
MANS = $(man_MANS)
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in conf_parse.c \
|
|
conf_parse.h conf_tok.c
|
|
SOURCES = $(amd_SOURCES) $(EXTRA_amd_SOURCES)
|
|
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .l .lo .o .obj .y
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnu --ignore-deps amd/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
if test -f $$p \
|
|
|| test -f $$p1 \
|
|
; then \
|
|
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
|
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-sbinPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(sbindir)/$$f; \
|
|
done
|
|
|
|
clean-sbinPROGRAMS:
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
echo " rm -f $$p $$f"; \
|
|
rm -f $$p $$f ; \
|
|
done
|
|
conf_parse.h: conf_parse.c
|
|
@if test ! -f $@; then \
|
|
rm -f conf_parse.c; \
|
|
$(MAKE) conf_parse.c; \
|
|
else :; fi
|
|
amd$(EXEEXT): $(amd_OBJECTS) $(amd_DEPENDENCIES)
|
|
@rm -f amd$(EXEEXT)
|
|
$(LINK) $(amd_LDFLAGS) $(amd_OBJECTS) $(amd_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)/'`$<
|
|
|
|
.l.c:
|
|
$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
|
|
sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
|
|
rm -f $(LEX_OUTPUT_ROOT).c
|
|
|
|
.y.c:
|
|
$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
|
|
sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@
|
|
rm -f y.tab.c
|
|
if test -f y.tab.h; then \
|
|
to=`echo "$*_H" | sed \
|
|
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
|
|
-e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
|
|
sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \
|
|
rm -f y.tab.h; \
|
|
if cmp -s $*.ht $*.h; then \
|
|
rm -f $*.ht ;\
|
|
else \
|
|
mv $*.ht $*.h; \
|
|
fi; \
|
|
fi
|
|
if test -f y.output; then \
|
|
mv y.output $*.output; \
|
|
fi
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
uninstall-info-am:
|
|
|
|
man8dir = $(mandir)/man8
|
|
install-man8: $(man8_MANS) $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.8*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
8*) ;; \
|
|
*) ext='8' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
|
done
|
|
uninstall-man8:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.8*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
|
done
|
|
|
|
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
|
|
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; xfail=0; xpass=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
list='$(TESTS)'; \
|
|
if test -n "$$list"; then \
|
|
for tst in $$list; do \
|
|
if test -f ./$$tst; then dir=./; \
|
|
elif test -f $$tst; then dir=; \
|
|
else dir="$(srcdir)/"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xpass=`expr $$xpass + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "XPASS: $$tst"; \
|
|
;; \
|
|
*) \
|
|
echo "PASS: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xfail=`expr $$xfail + 1`; \
|
|
echo "XFAIL: $$tst"; \
|
|
;; \
|
|
*) \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
if test "$$xfail" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
|
fi; \
|
|
else \
|
|
if test "$$xpass" -eq 0; then \
|
|
banner="$$failed of $$all tests failed"; \
|
|
else \
|
|
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
|
fi; \
|
|
fi; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0; \
|
|
else :; fi
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
@list='$(DISTFILES)'; for file in $$list; 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-TESTS
|
|
check: check-am
|
|
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
|
|
|
|
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:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "conf_parse.hconf_parse.cconf_tok.c" || rm -f conf_parse.h conf_parse.c conf_tok.c
|
|
clean: clean-am
|
|
|
|
clean-am: clean-generic clean-libtool clean-sbinPROGRAMS 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-man
|
|
|
|
install-exec-am: install-sbinPROGRAMS
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man: install-man8
|
|
|
|
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-info-am uninstall-man uninstall-sbinPROGRAMS
|
|
|
|
uninstall-man: uninstall-man8
|
|
|
|
.PHONY: GTAGS all all-am check check-TESTS check-am clean clean-generic \
|
|
clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
|
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
|
dvi-am info info-am install install-am install-data \
|
|
install-data-am install-exec install-exec-am install-info \
|
|
install-info-am install-man install-man8 install-sbinPROGRAMS \
|
|
install-strip installcheck installcheck-am installdirs \
|
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
|
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
|
tags uninstall uninstall-am uninstall-info-am uninstall-man \
|
|
uninstall-man8 uninstall-sbinPROGRAMS
|
|
|
|
|
|
# do not distribute files that should be generated by lex/yacc locally
|
|
dist-hook:
|
|
(cd $(distdir) && rm -f conf_parse.c conf_parse.h conf_tok.c)
|
|
|
|
# dependencies
|
|
$(PROGRAMS): $(LDADD)
|
|
get_args.o: build_version.h
|
|
$(amd_OBJECTS) $(EXTRA_amd_OBJECTS): \
|
|
../config.h \
|
|
../aux_conf.h \
|
|
$(top_srcdir)/include/am_compat.h \
|
|
$(top_srcdir)/include/am_defs.h \
|
|
$(top_srcdir)/include/am_utils.h \
|
|
$(top_srcdir)/include/am_xdr_func.h \
|
|
$(top_srcdir)/include/amq_defs.h \
|
|
@AMU_NFS_PROT_HEADER@ \
|
|
$(noinst_HEADERS)
|
|
|
|
# auto-generate build number
|
|
build_version.h: $(OBJECTS) $(EXTRA_amd_OBJECTS) get_args.c
|
|
$(top_srcdir)/m4/update_build_version
|
|
# 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:
|