8a09ffd10e
Changes: quoted RCS Ids in all files, added NetBSD's own in most, and removed some easily regenerated files in doc/. (amd2netbsd script will follow soon.)
469 lines
14 KiB
Makefile
469 lines
14 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.
|
|
|
|
# Package: am-utils
|
|
# Level: Makefile for fsinfo/ 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
|
|
|
|
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@
|
|
AMD_FS_OBJS = @AMD_FS_OBJS@
|
|
AMD_INFO_OBJS = @AMD_INFO_OBJS@
|
|
AMU_LIB_OBJS = @AMU_LIB_OBJS@
|
|
AMU_NFS_PROT_HEADER = @AMU_NFS_PROT_HEADER@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
DLLTOOL = @DLLTOOL@
|
|
LEX = @LEX@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
|
LIBTOOL_LDFLAGS = @LIBTOOL_LDFLAGS@
|
|
LN_S = @LN_S@
|
|
LTALLOCA = @LTALLOCA@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAKEINFO = @MAKEINFO@
|
|
OBJDUMP = @OBJDUMP@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
am_utils_unmount_args = @am_utils_unmount_args@
|
|
am_utils_unmount_call = @am_utils_unmount_call@
|
|
|
|
sbin_PROGRAMS = fsinfo
|
|
|
|
# man pages
|
|
man_MANS = fsinfo.8
|
|
|
|
# headers this depends on, not to be installed
|
|
noinst_HEADERS = fsi_data.h fsinfo.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.
|
|
fsinfo_SOURCES = fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
|
|
|
|
|
|
# Cannot specify fsi_gram.y and fsi_lex.l in automake 1.0 because the
|
|
# generated .c files get added to DIST_FILES, instead of the yacc/lex
|
|
# sources. So I'm manually adding the .o files from them to the list
|
|
# of objects, and telling automake to add the yacc/lex sources to the
|
|
# distribution list.
|
|
# And automake 1.2 has a different problem (interaction with bsd44 make).
|
|
EXTRA_fsinfo_OBJECTS = fsi_gram.o fsi_lex.o
|
|
EXTRA_DIST = fsi_gram.y fsi_lex.l $(man_MANS)
|
|
|
|
# these files get automatically generated by yacc/lex
|
|
CLEANFILES = fsi_gram.c fsi_gram.h fsi_lex.c
|
|
|
|
LDADD = $(EXTRA_fsinfo_OBJECTS) ../libamu/libamu.la
|
|
# must manually add f/lex library to LIBS, and not to LDADD.
|
|
LIBS = @LIBS@ @LEXLIB@
|
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
|
|
|
# allow users to add their own flags via "configure --enable-am-flags=ARG"
|
|
AMU_CFLAGS = @AMU_CFLAGS@
|
|
CFLAGS = @CFLAGS@ $(AMU_CFLAGS)
|
|
YACC = @YACC@
|
|
YFLAGS = -d
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = ../config.h
|
|
CONFIG_CLEAN_FILES =
|
|
PROGRAMS = $(sbin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
fsinfo_OBJECTS = fsi_analyze.o fsi_dict.o fsi_util.o fsinfo.o wr_atab.o \
|
|
wr_bparam.o wr_dumpset.o wr_exportfs.o wr_fstab.o
|
|
fsinfo_LDADD = $(LDADD)
|
|
fsinfo_DEPENDENCIES = fsi_gram.o fsi_lex.o ../libamu/libamu.la
|
|
fsinfo_LDFLAGS =
|
|
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 $@
|
|
man8dir = $(mandir)/man8
|
|
MANS = $(man_MANS)
|
|
|
|
NROFF = nroff
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = gtar
|
|
GZIP_ENV = --best
|
|
SOURCES = $(fsinfo_SOURCES)
|
|
OBJECTS = $(fsinfo_OBJECTS)
|
|
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .lo .o .s
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps fsinfo/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
mostlyclean-sbinPROGRAMS:
|
|
|
|
clean-sbinPROGRAMS:
|
|
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
|
|
|
distclean-sbinPROGRAMS:
|
|
|
|
maintainer-clean-sbinPROGRAMS:
|
|
|
|
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-sbinPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
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:
|
|
|
|
fsinfo: $(fsinfo_OBJECTS) $(fsinfo_DEPENDENCIES)
|
|
@rm -f fsinfo
|
|
$(LINK) $(fsinfo_LDFLAGS) $(fsinfo_OBJECTS) $(fsinfo_LDADD) $(LIBS)
|
|
|
|
install-man8:
|
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
|
@list='$(man8_MANS)'; \
|
|
l2='$(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/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
|
done
|
|
|
|
uninstall-man8:
|
|
@list='$(man8_MANS)'; \
|
|
l2='$(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 '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
|
done
|
|
install-man: $(MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man8
|
|
uninstall-man:
|
|
@$(NORMAL_UNINSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
|
|
|
|
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 = fsinfo
|
|
|
|
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
|
|
fsi_analyze.o: fsi_analyze.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
fsi_dict.o: fsi_dict.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
fsi_util.o: fsi_util.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
fsinfo.o: fsinfo.c ../config.h ../include/am_defs.h ../amu_nfs_prot.h \
|
|
../include/am_utils.h ../include/amq_defs.h ../aux_conf.h \
|
|
../include/am_compat.h ../include/am_xdr_func.h fsi_data.h \
|
|
fsinfo.h fsi_gram.h
|
|
wr_atab.o: wr_atab.c ../config.h ../include/am_defs.h ../amu_nfs_prot.h \
|
|
../include/am_utils.h ../include/amq_defs.h ../aux_conf.h \
|
|
../include/am_compat.h ../include/am_xdr_func.h fsi_data.h \
|
|
fsinfo.h
|
|
wr_bparam.o: wr_bparam.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
wr_dumpset.o: wr_dumpset.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
wr_exportfs.o: wr_exportfs.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
wr_fstab.o: wr_fstab.c ../config.h ../include/am_defs.h \
|
|
../amu_nfs_prot.h ../include/am_utils.h ../include/amq_defs.h \
|
|
../aux_conf.h ../include/am_compat.h ../include/am_xdr_func.h \
|
|
fsi_data.h fsinfo.h
|
|
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
install-exec-am: install-sbinPROGRAMS
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am: install-man
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am: uninstall-sbinPROGRAMS uninstall-man
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
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-sbinPROGRAMS mostlyclean-compile \
|
|
mostlyclean-libtool mostlyclean-tags \
|
|
mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
|
|
clean-generic mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-sbinPROGRAMS distclean-compile \
|
|
distclean-libtool distclean-tags distclean-generic \
|
|
clean-am
|
|
-rm -f libtool
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
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-sbinPROGRAMS distclean-sbinPROGRAMS \
|
|
clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
|
|
install-sbinPROGRAMS mostlyclean-compile distclean-compile \
|
|
clean-compile maintainer-clean-compile mostlyclean-libtool \
|
|
distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
|
|
uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
|
install-exec install-data-am install-data install-am install \
|
|
uninstall-am uninstall all-redirect all-am all installdirs \
|
|
mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
# dependencies
|
|
$(PROGRAMS): $(LDADD)
|
|
fsinfo.o: fsi_gram.h
|
|
$(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)
|
|
|
|
# Must use my rules, b/c ones supplied by automake-1.2 don't work
|
|
# with bsd44 make (they have built-in rules to build yacc/lex files).
|
|
# Code generated by yacc/lex:
|
|
fsi_lex.c: $(srcdir)/fsi_lex.l
|
|
$(LEX) $?
|
|
mv lex.yy.c fsi_lex.c
|
|
|
|
fsi_gram.c fsi_gram.h: $(srcdir)/fsi_gram.y
|
|
@echo Expect two shift/reduce errors...
|
|
$(YACC) -d $?
|
|
mv y.tab.c fsi_gram.c
|
|
mv y.tab.h fsi_gram.h
|
|
|
|
# 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:
|