451 lines
12 KiB
Makefile
451 lines
12 KiB
Makefile
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
# 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 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
|
|
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_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@
|
|
AMD_FS_OBJS = @AMD_FS_OBJS@
|
|
AMD_INFO_OBJS = @AMD_INFO_OBJS@
|
|
AMTAR = @AMTAR@
|
|
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@
|
|
EXEEXT = @EXEEXT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LEX = @LEX@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
|
LIBTOOL_LDFLAGS = @LIBTOOL_LDFLAGS@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
OBJDUMP = @OBJDUMP@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
RANLIB = @RANLIB@
|
|
STRIP = @STRIP@
|
|
VERSION = @VERSION@
|
|
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@
|
|
|
|
# allow users to add their own flags via "configure --enable-am-flags=ARG"
|
|
AMU_CFLAGS = @AMU_CFLAGS@
|
|
YACC = @YACC@
|
|
|
|
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
|
|
CFLAGS = @CFLAGS@ $(AMU_CFLAGS)
|
|
YFLAGS = -d
|
|
subdir = fsinfo
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
sbin_PROGRAMS = fsinfo$(EXEEXT)
|
|
PROGRAMS = $(sbin_PROGRAMS)
|
|
|
|
am_fsinfo_OBJECTS = fsi_analyze.$(OBJEXT) fsi_dict.$(OBJEXT) \
|
|
fsi_util.$(OBJEXT) fsinfo.$(OBJEXT) wr_atab.$(OBJEXT) \
|
|
wr_bparam.$(OBJEXT) wr_dumpset.$(OBJEXT) wr_exportfs.$(OBJEXT) \
|
|
wr_fstab.$(OBJEXT)
|
|
fsinfo_OBJECTS = $(am_fsinfo_OBJECTS)
|
|
fsinfo_LDADD = $(LDADD)
|
|
fsinfo_DEPENDENCIES = fsi_gram.o fsi_lex.o ../libamu/libamu.la
|
|
fsinfo_LDFLAGS =
|
|
|
|
DEFS = @DEFS@
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
depcomp =
|
|
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 $@
|
|
DIST_SOURCES = $(fsinfo_SOURCES)
|
|
|
|
NROFF = nroff
|
|
MANS = $(man_MANS)
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
|
|
SOURCES = $(fsinfo_SOURCES)
|
|
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .lo .o .obj
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnu --ignore-deps fsinfo/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && \
|
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
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 '$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
|
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-sbinPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(sbindir)/$$f; \
|
|
done
|
|
|
|
clean-sbinPROGRAMS:
|
|
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
|
fsinfo$(EXEEXT): $(fsinfo_OBJECTS) $(fsinfo_DEPENDENCIES)
|
|
@rm -f fsinfo$(EXEEXT)
|
|
$(LINK) $(fsinfo_LDFLAGS) $(fsinfo_OBJECTS) $(fsinfo_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)/'`$<
|
|
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/^.*\\.//'`; \
|
|
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
|
|
|
|
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 -fID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
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)
|
|
|
|
GTAGS:
|
|
here=`CDPATH=: && 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; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
cp -pR $$d/$$file $(distdir) \
|
|
|| exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
check-am: all-am
|
|
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)" \
|
|
`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) 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-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-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
|
|
|
|
|
|
# dependencies
|
|
$(PROGRAMS): $(LDADD)
|
|
fsinfo.o: fsi_gram.h
|
|
$(fsinfo_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:
|