NetBSD/dist/am-utils/Makefile.in

738 lines
22 KiB
Makefile

# Makefile.in generated automatically by automake 1.4a 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.
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@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
@SET_MAKE@
altdir = ./aux/
host_alias = @host_alias@
host_triplet = @host@
AMDEP = @AMDEP@
AMD_FS_OBJS = @AMD_FS_OBJS@
AMD_INFO_OBJS = @AMD_INFO_OBJS@
AMTAR = @AMTAR@
AMU_CFLAGS = @AMU_CFLAGS@
AMU_NFS_PROT_HEADER = @AMU_NFS_PROT_HEADER@
AR = @AR@
AS = @AS@
AWK = @AWK@
CC = @CC@
CPP = @CPP@
CXX = @CXX@
CXXCPP = @CXXCPP@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
EXEEXT = @EXEEXT@
LEX = @LEX@
LIBTOOL = @LIBTOOL@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
LIBTOOL_LDFLAGS = @LIBTOOL_LDFLAGS@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PERL = @PERL@
RANLIB = @RANLIB@
STRIP = @STRIP@
VERSION = @VERSION@
YACC = @YACC@
am_utils_unmount_args = @am_utils_unmount_args@
am_utils_unmount_call = @am_utils_unmount_call@
install_sh = @install_sh@
# Package: am-utils
# Level: Top level Makefile
# Author: Erez Zadok
SUBDIRS = \
libamu \
amd \
amq \
\
fixmount \
fsinfo \
hlfsd \
mk-amd-map \
wire-test \
\
scripts \
doc
# temporary tests override SUBDIRS
#SUBDIRS = lib wire-test amq amd
# additional files to add to the distribution tar file
# aux/aclocal
EXTRA_DIST_AUX = \
aux/GNUmakefile \
aux/acconfig.h \
aux/acinclude.m4 \
aux/aclocal.m4 \
aux/amindent \
aux/autopat \
aux/aux_conf.h.in \
aux/chop-aclocal.pl \
aux/config.guess \
aux/config.guess.long \
aux/config.h.in \
aux/config.sub \
aux/configure.in \
aux/copy-if-newbig \
aux/depcomp \
aux/install-sh \
aux/ltconfig \
aux/ltmain.sh \
aux/mdate-sh \
aux/missing \
aux/mk-aclocal \
aux/mkconf \
aux/mkinstalldirs \
aux/rmtspc \
aux/texinfo.tex \
aux/stamp-h.in \
aux/update_build_version \
\
aux/macros/HEADER \
aux/macros/TRAILER \
aux/macros/c_void_p.m4 \
aux/macros/cache_check_dynamic.m4 \
aux/macros/check_amu_fs.m4 \
aux/macros/check_checkmount_style.m4 \
aux/macros/check_extern.m4 \
aux/macros/check_fhandle.m4 \
aux/macros/check_field.m4 \
aux/macros/check_fs_headers.m4 \
aux/macros/check_fs_mntent.m4 \
aux/macros/check_hide_mount_type.m4 \
aux/macros/check_lib2.m4 \
aux/macros/check_map_funcs.m4 \
aux/macros/check_mnt2_cdfs_opt.m4 \
aux/macros/check_mnt2_gen_opt.m4 \
aux/macros/check_mnt2_nfs_opt.m4 \
aux/macros/check_mnttab_file_name.m4 \
aux/macros/check_mnttab_location.m4 \
aux/macros/check_mnttab_opt.m4 \
aux/macros/check_mnttab_style.m4 \
aux/macros/check_mnttab_type.m4 \
aux/macros/check_mount_style.m4 \
aux/macros/check_mount_trap.m4 \
aux/macros/check_mount_type.m4 \
aux/macros/check_mtype_printf_type.m4 \
aux/macros/check_mtype_type.m4 \
aux/macros/check_network_transport_type.m4 \
aux/macros/check_nfs_fh_dref.m4 \
aux/macros/check_nfs_hn_dref.m4 \
aux/macros/check_nfs_prot_headers.m4 \
aux/macros/check_nfs_sa_dref.m4 \
aux/macros/check_nfs_socket_connection.m4 \
aux/macros/check_os_libs.m4 \
aux/macros/check_restartable_signal_handler.m4 \
aux/macros/check_umount_style.m4 \
aux/macros/check_unmount_args.m4 \
aux/macros/check_unmount_call.m4 \
aux/macros/expand_cpp_hex.m4 \
aux/macros/expand_cpp_int.m4 \
aux/macros/expand_cpp_string.m4 \
aux/macros/expand_run_string.m4 \
aux/macros/extern_optarg.m4 \
aux/macros/extern_sys_errlist.m4 \
aux/macros/field_mntent_t_mnt_time_string.m4 \
aux/macros/func_bad_memcmp.m4 \
aux/macros/func_bad_yp_all.m4 \
aux/macros/host_macros.m4 \
aux/macros/linux_headers.m4 \
aux/macros/localconfig.m4 \
aux/macros/mount_headers.m4 \
aux/macros/msg.m4 \
aux/macros/name_package.m4 \
aux/macros/name_version.m4 \
aux/macros/opt_amu_cflags.m4 \
aux/macros/opt_amq_mount.m4 \
aux/macros/opt_cppflags.m4 \
aux/macros/opt_debug.m4 \
aux/macros/opt_ldflags.m4 \
aux/macros/opt_libs.m4 \
aux/macros/os_cflags.m4 \
aux/macros/os_cppflags.m4 \
aux/macros/os_ldflags.m4 \
aux/macros/save_state.m4 \
aux/macros/struct_field_nfs_fh.m4 \
aux/macros/struct_mntent.m4 \
aux/macros/struct_mnttab.m4 \
aux/macros/struct_nfs_args.m4 \
aux/macros/struct_nfs_fh.m4 \
aux/macros/struct_nfs_fh3.m4 \
aux/macros/struct_nfs_gfs_mount.m4 \
aux/macros/struct_nfs_mount_data.m4 \
aux/macros/try_compile_anyfs.m4 \
aux/macros/try_compile_nfs.m4 \
aux/macros/try_compile_rpc.m4 \
aux/macros/type_auth_create_gidlist.m4 \
aux/macros/type_autofs_args.m4 \
aux/macros/type_cachefs_args.m4 \
aux/macros/type_cdfs_args.m4 \
aux/macros/type_efs_args.m4 \
aux/macros/type_lofs_args.m4 \
aux/macros/type_mfs_args.m4 \
aux/macros/type_pcfs_args.m4 \
aux/macros/type_recvfrom_fromlen.m4 \
aux/macros/type_rfs_args.m4 \
aux/macros/type_svc_in_arg.m4 \
aux/macros/type_time_t.m4 \
aux/macros/type_tmpfs_args.m4 \
aux/macros/type_ufs_args.m4 \
aux/macros/type_xdrproc_t.m4 \
aux/macros/type_xfs_args.m4 \
aux/macros/type_yp_order_outorder.m4
EXTRA_DIST_CONF = \
conf/checkmount/checkmount_aix.c \
conf/checkmount/checkmount_bsd44.c \
conf/checkmount/checkmount_default.c \
conf/checkmount/checkmount_osf.c \
conf/checkmount/checkmount_svr4.c \
conf/checkmount/checkmount_ultrix.c \
\
conf/fh_dref/fh_dref_aix3.h \
conf/fh_dref/fh_dref_aix42.h \
conf/fh_dref/fh_dref_bsd44.h \
conf/fh_dref/fh_dref_default.h \
conf/fh_dref/fh_dref_freebsd22.h \
conf/fh_dref/fh_dref_hpux.h \
conf/fh_dref/fh_dref_irix.h \
conf/fh_dref/fh_dref_isc3.h \
conf/fh_dref/fh_dref_linux.h \
conf/fh_dref/fh_dref_nextstep.h \
conf/fh_dref/fh_dref_osf2.h \
conf/fh_dref/fh_dref_osf4.h \
conf/fh_dref/fh_dref_sunos3.h \
conf/fh_dref/fh_dref_sunos4.h \
conf/fh_dref/fh_dref_svr4.h \
\
conf/hn_dref/hn_dref_default.h \
conf/hn_dref/hn_dref_isc3.h \
conf/hn_dref/hn_dref_linux.h \
\
conf/mount/mount_aix.c \
conf/mount/mount_bsdi3.c \
conf/mount/mount_default.c \
conf/mount/mount_hpux.c \
conf/mount/mount_irix5.c \
conf/mount/mount_irix6.c \
conf/mount/mount_isc3.c \
conf/mount/mount_linux.c \
conf/mount/mount_mach3.c \
conf/mount/mount_stellix.c \
conf/mount/mount_svr4.c \
\
conf/mtab/mtab_aix.c \
conf/mtab/mtab_bsd.c \
conf/mtab/mtab_file.c \
conf/mtab/mtab_isc3.c \
conf/mtab/mtab_mach3.c \
conf/mtab/mtab_osf.c \
conf/mtab/mtab_svr4.c \
conf/mtab/mtab_ultrix.c \
\
conf/nfs_prot/nfs_prot_aix3.h \
conf/nfs_prot/nfs_prot_aix4.h \
conf/nfs_prot/nfs_prot_aix4_2.h \
conf/nfs_prot/nfs_prot_aix4_3.h \
conf/nfs_prot/nfs_prot_bsdi2.h \
conf/nfs_prot/nfs_prot_bsdi3.h \
conf/nfs_prot/nfs_prot_default.h \
conf/nfs_prot/nfs_prot_freebsd2.h \
conf/nfs_prot/nfs_prot_freebsd3.h \
conf/nfs_prot/nfs_prot_hpux.h \
conf/nfs_prot/nfs_prot_hpux11.h \
conf/nfs_prot/nfs_prot_irix5.h \
conf/nfs_prot/nfs_prot_irix6.h \
conf/nfs_prot/nfs_prot_linux.h \
conf/nfs_prot/nfs_prot_ncr2.h \
conf/nfs_prot/nfs_prot_nextstep.h \
conf/nfs_prot/nfs_prot_netbsd.h \
conf/nfs_prot/nfs_prot_netbsd1_3.h \
conf/nfs_prot/nfs_prot_netbsd1_4.h \
conf/nfs_prot/nfs_prot_openbsd.h \
conf/nfs_prot/nfs_prot_osf2.h \
conf/nfs_prot/nfs_prot_osf4.h \
conf/nfs_prot/nfs_prot_sunos3.h \
conf/nfs_prot/nfs_prot_sunos4.h \
conf/nfs_prot/nfs_prot_sunos5_3.h \
conf/nfs_prot/nfs_prot_sunos5_4.h \
conf/nfs_prot/nfs_prot_sunos5_5.h \
conf/nfs_prot/nfs_prot_sunos5_6.h \
conf/nfs_prot/nfs_prot_sunos5_7.h \
conf/nfs_prot/nfs_prot_sunos5_8.h \
conf/nfs_prot/nfs_prot_svr4.h \
conf/nfs_prot/nfs_prot_ultrix.h \
\
conf/sa_dref/sa_dref_386bsd.h \
conf/sa_dref/sa_dref_aix3.h \
conf/sa_dref/sa_dref_aoi.h \
conf/sa_dref/sa_dref_bsd44.h \
conf/sa_dref/sa_dref_default.h \
conf/sa_dref/sa_dref_isc3.h \
conf/sa_dref/sa_dref_linux.h \
conf/sa_dref/sa_dref_svr4.h \
\
conf/transp/transp_sockets.c \
conf/transp/transp_tli.c \
\
conf/trap/trap_aix3.h \
conf/trap/trap_aux.h \
conf/trap/trap_default.h \
conf/trap/trap_dgux.h \
conf/trap/trap_hcx.h \
conf/trap/trap_hpux.h \
conf/trap/trap_hpux11.h \
conf/trap/trap_irix.h \
conf/trap/trap_isc3.h \
conf/trap/trap_linux.h \
conf/trap/trap_mach3.h \
conf/trap/trap_news4.h \
conf/trap/trap_rtu6.h \
conf/trap/trap_stellix.h \
conf/trap/trap_svr4.h \
conf/trap/trap_ultrix.h \
\
conf/umount/umount_bsd44.c \
conf/umount/umount_default.c \
conf/umount/umount_osf.c
EXTRA_DIST_INCLUDE = \
include/am_compat.h \
include/am_utils.h \
include/am_xdr_func.h \
include/am_defs.h \
include/amq_defs.h
EXTRA_DIST = \
$(EXTRA_DIST_AUX) \
$(EXTRA_DIST_CONF) \
$(EXTRA_DIST_INCLUDE) \
\
BUGS \
LSM.am-utils \
MIRRORS \
README.autofs \
README.y2k \
buildall \
tasks
DISTCLEANFILES = amu_nfs_prot.h config.cache.old dbgcf.h
# make a snapshots and put them in the ftp snapshots directory
FTPTOP = /proj/bank/ftp/pub/am-utils
subdir = .
ACLOCAL_M4 = $(top_srcdir)/./aux/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/aux/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = aux_conf.h
DIST_SOURCES =
DIST_COMMON = README ./aux/aclocal.m4 ./aux/configure.in AUTHORS \
COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS \
aux/aux_conf.h.in aux/config.guess aux/config.h.in aux/config.sub \
aux/depcomp aux/install-sh aux/ltconfig aux/ltmain.sh aux/missing \
aux/mkinstalldirs aux/stamp-h.in configure
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/$(altdir)configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --altdir=$(altdir) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): ./aux/configure.in ./aux/acinclude.m4
cd $(srcdir) && $(ACLOCAL) --altdir=$(altdir)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/$(altdir)configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF) --localdir=$(altdir) ./aux/configure.in > configure
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/aux/config.h.in $(top_builddir)/config.status
@rm -f stamp-h stamp-hT
@echo timestamp > stamp-hT 2> /dev/null
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h:aux/config.h.in \
$(SHELL) ./config.status
@mv stamp-hT stamp-h
$(srcdir)/aux/config.h.in: $(srcdir)/aux/stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/aux/stamp-h.in; \
$(MAKE) $(srcdir)/aux/stamp-h.in; \
else :; fi
$(srcdir)/aux/stamp-h.in: $(top_srcdir)/$(altdir)configure.in $(ACLOCAL_M4)
@rm -f $(srcdir)/aux/stamp-h.in $(srcdir)/aux/stamp-h.inT
@echo timestamp > $(srcdir)/aux/stamp-h.inT 2> /dev/null
cd $(top_srcdir) && $(AUTOHEADER) --localdir=$(altdir) > aux/config.h.in
@mv $(srcdir)/aux/stamp-h.inT $(srcdir)/aux/stamp-h.in
mostlyclean-hdr:
clean-hdr:
distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
aux_conf.h: $(top_builddir)/config.status $(top_srcdir)/aux/aux_conf.h.in
cd $(top_builddir) && CONFIG_FILES=$@:aux/aux_conf.h.in CONFIG_HEADERS= $(SHELL) ./config.status
# 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.
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@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; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
done; \
test "$$dot_seen" = "no" && 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
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(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 -f$$here/ID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(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)$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
chmod a-w $(distdir)
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
&& cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
&& rm -f $(distdir).tar.gz \
&& test `find . -type f -print | wc -l` -eq 0
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
dist: distdir
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
dist-all: distdir
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
distdir: $(DISTFILES)
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
mkdir $(distdir)
$(mkinstalldirs) $(distdir)/./aux $(distdir)/aux $(distdir)/aux/macros \
$(distdir)/conf/checkmount $(distdir)/conf/fh_dref \
$(distdir)/conf/hn_dref $(distdir)/conf/mount \
$(distdir)/conf/mtab $(distdir)/conf/nfs_prot \
$(distdir)/conf/sa_dref $(distdir)/conf/transp \
$(distdir)/conf/trap $(distdir)/conf/umount \
$(distdir)/include
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pR $$d/$$file $(distdir); \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
all-recursive-am: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
install-exec-am:
install-exec: install-exec-recursive
install-data-am:
install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am:
uninstall: uninstall-recursive
all-am: Makefile config.h
all-redirect: all-recursive-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
installdirs: installdirs-recursive
installdirs-am:
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
-rm -f Makefile.in
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
clean: clean-recursive
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
-rm -f libtool
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-hdr 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-recursive
-rm -f config.status
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
install-recursive uninstall-recursive install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all install-strip \
installdirs-am installdirs mostlyclean-generic distclean-generic \
clean-generic maintainer-clean-generic clean mostlyclean distclean \
maintainer-clean
##############################################################################
# Personal maintainer rules by Erez Zadok
# update possibly new versions of autoconf/automake/libtool files
update:
(cd $(top_srcdir)/$(altdir) && make update)
make libtool
# remake libtool
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
snapshot: dist install-snapshot
install-snapshot:
snap=`/bin/ls -1 am-utils*.tar.gz` && \
echo COPYING SNAPSHOTS: $$snap && \
cp -pu $$snap $(FTPTOP)/snapshots && \
rm -f $(FTPTOP)/am-utils-snapshot.tar.gz && \
ln -s snapshots/$$snap $(FTPTOP)/am-utils-snapshot.tar.gz && \
(cd $(FTPTOP) && make) && \
(cd $(FTPTOP)/snapshots && make)
test-snapshot: dist
mv -f am-utils*.tar.gz /proj/bank/ftp/private/ezk
# dist hook: change directory modes so they are not world writable
dist-hook:
@echo "Protecting distribution directories..."
chmod -R go-w $(distdir)
# 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: