.
[gnulib.git] / lib / Makefile.in
index 27b6862..dfbaea4 100644 (file)
-# Makefile for library files used by GNU fileutils.
-# Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+# Makefile.in generated automatically by automake 0.30 from Makefile.am
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 SHELL = /bin/sh
 
 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 = ..
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+noinst_LIBRARIES = fu
+
+DIST_OTHER = alloca.c euidaccess.c fnmatch.c fsusage.c ftruncate.c \
+getdate.y memcmp.c memcpy.c memset.c mkdir.c mktime.c mountlist.c \
+posixtm.y rename.c rmdir.c stpcpy.c strdup.c strstr.c strtol.c strtoul.c
+
+INCLUDES = -I.. -I$(srcdir)
+
+fu_SOURCES = getdate.c posixtm.c argmatch.c backupfile.c basename.c \
+dirname.c error.c fileblocks.c filemode.c \
+full-write.c getopt.c getopt1.c getversion.c group-member.c idcache.c \
+isdir.c long-options.c makepath.c modechange.c obstack.c \
+safe-read.c save-cwd.c savedir.c stripslash.c userspec.c xgetcwd.c \
+xmalloc.c xstrdup.c xstrtol.c xstrtoul.c yesno.c
+
+fu_LIBADD = @LIBOBJS@ @ALLOCA@
+
+noinst_HEADERS = argmatch.h backupfile.h error.h fnmatch.h fsusage.h \
+getopt.h group-member.h long-options.h makepath.h modechange.h mountlist.h \
+obstack.h pathmax.h save-cwd.h xstrtol.h xstrtoul.h
+
+BUILT_SOURCES = getdate.c posixtm.c
+CONFIG_HEADER = ../config.h
+LIBRARIES = $(noinst_LIBRARIES)
+
+noinst_LIBFILES = libfu.a
 
 CC = @CC@
+LEX = @LEX@
+YACC = @YACC@
+
+DEFS = @DEFS@ -I. -I$(srcdir) -I..
+CPPFLAGS = @CPPFLAGS@
+CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
+
+COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+LINK = $(CC) $(LDFLAGS) -o $@
+fu_OBJECTS = getdate.o posixtm.o argmatch.o backupfile.o basename.o \
+    dirname.o error.o fileblocks.o filemode.o full-write.o getopt.o \
+    getopt1.o getversion.o group-member.o idcache.o isdir.o \
+    long-options.o makepath.o modechange.o obstack.o safe-read.o \
+    save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o xmalloc.o \
+    xstrdup.o xstrtol.o xstrtoul.o yesno.o
+LIBFILES =  libfu.a
+
 AR = ar
 RANLIB = @RANLIB@
-DEFS = -Dlint -DCONFIG_BROKETS @DEFS@
-CFLAGS = @CFLAGS@
-YACC = @YACC@
+HEADERS = $(noinst_HEADERS)
 
-prefix = @prefix@
-exec_prefix = $(prefix)
-libdir = $(exec_prefix)/lib
-
-SOURCES = getdate.y posixtm.y \
-argmatch.c backupfile.c basename.c dirname.c eaccess.c \
-error.c filemode.c fsusage.c full-write.c getopt.c getopt1.c \
-getversion.c group-member.c idcache.c isdir.c makepath.c \
-modechange.c mountlist.c safe-read.c savedir.c \
-stripslash.c xgetcwd.c xmalloc.c xstrdup.c userspec.c yesno.c \
-fileblocks.c fnmatch.c ftruncate.c mkdir.c mktime.c rename.c stpcpy.c \
-strdup.c strstr.c alloca.c
-
-OBJECTS = getdate.o posixtm.o \
-argmatch.o backupfile.o basename.o dirname.o eaccess.o \
-error.o filemode.o full-write.o getopt.o getopt1.o \
-getversion.o group-member.o idcache.o isdir.o makepath.o \
-modechange.o safe-read.o savedir.o \
-stripslash.o xgetcwd.o xmalloc.o xstrdup.o userspec.o yesno.o \
-@LIBOBJS@ @ALLOCA@
-
-DISTFILES = Makefile.in backupfile.h getopt.h modechange.h \
-fnmatch.h fsusage.h mountlist.h pathmax.h $(SOURCES)
-
-all: libfu.a
+DIST_COMMON = Makefile.am Makefile.in alloca.c fileblocks.c fnmatch.c \
+    fsusage.c ftruncate.c mountlist.c
+
+
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
+       $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER) $(DATA)
+DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
+       $(TEXINFOS) $(INFO_DEPS) $(MANS) $(DIST_OTHER) $(DATA)
+DEP_FILES = $(srcdir)/.deps/alloca.P $(srcdir)/.deps/argmatch.P \
+    $(srcdir)/.deps/backupfile.P $(srcdir)/.deps/basename.P \
+    $(srcdir)/.deps/dirname.P $(srcdir)/.deps/error.P \
+    $(srcdir)/.deps/fileblocks.P $(srcdir)/.deps/filemode.P \
+    $(srcdir)/.deps/fnmatch.P $(srcdir)/.deps/fsusage.P \
+    $(srcdir)/.deps/ftruncate.P $(srcdir)/.deps/full-write.P \
+    $(srcdir)/.deps/getdate.P $(srcdir)/.deps/getopt.P \
+    $(srcdir)/.deps/getopt1.P $(srcdir)/.deps/getversion.P \
+    $(srcdir)/.deps/group-member.P $(srcdir)/.deps/idcache.P \
+    $(srcdir)/.deps/isdir.P $(srcdir)/.deps/long-options.P \
+    $(srcdir)/.deps/makepath.P $(srcdir)/.deps/modechange.P \
+    $(srcdir)/.deps/mountlist.P $(srcdir)/.deps/obstack.P \
+    $(srcdir)/.deps/posixtm.P $(srcdir)/.deps/safe-read.P \
+    $(srcdir)/.deps/save-cwd.P $(srcdir)/.deps/savedir.P \
+    $(srcdir)/.deps/stripslash.P $(srcdir)/.deps/userspec.P \
+    $(srcdir)/.deps/xgetcwd.P $(srcdir)/.deps/xmalloc.P \
+    $(srcdir)/.deps/xstrdup.P $(srcdir)/.deps/xstrtol.P \
+    $(srcdir)/.deps/xstrtoul.P $(srcdir)/.deps/yesno.P
+SOURCES = $(fu_SOURCES)
+OBJECTS = $(fu_OBJECTS)
+
+default: all
+
+
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
+       cd $(top_srcdir) && automake $(subdir)/Makefile
+
+Makefile: $(top_builddir)/config.status Makefile.in
+       cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
+
+mostlyclean-noinstLIBRARIES:
+
+clean-noinstLIBRARIES:
+       rm -f $(noinst_LIBFILES)
+
+distclean-noinstLIBRARIES:
+
+maintainer-clean-noinstLIBRARIES:
 
 .c.o:
-       $(CC) -c $(CPPFLAGS) $(DEFS) -I.. -I$(srcdir) $(CFLAGS) $<
+       $(COMPILE) $<
+
+mostlyclean-compile:
+       rm -f *.o core
+
+clean-compile:
+
+distclean-compile:
+       rm -f *.tab.c
 
-Makefile: ../config.status Makefile.in
-       CONFIG_FILES=$@ CONFIG_HEADERS= ../config.status
+maintainer-clean-compile:
+$(fu_OBJECTS): ../config.h
 
-install: all
+libfu.a: $(fu_OBJECTS) $(fu_LIBADD)
+       rm -f libfu.a
+       $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
+       $(RANLIB) libfu.a
 
-uninstall:
+ID: $(HEADERS) $(SOURCES)
+       here=`pwd` && cd $(srcdir) && mkid -f $$here/ID $(SOURCES) $(HEADERS)
 
-TAGS: $(SOURCES)
-       etags $(SOURCES)
+tags: TAGS
 
-check:
+TAGS:
+       here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
 
-clean:
-       rm -f *.a *.o
+mostlyclean-tags:
 
-mostlyclean: clean
+clean-tags:
 
-distclean: clean
-       rm -f Makefile *.tab.c getdate.c *posixtm.c
+distclean-tags:
+       rm -f TAGS ID
 
-realclean: distclean
-       rm -f TAGS
+maintainer-clean-tags:
 
-dist: $(DISTFILES)
-       for file in $(DISTFILES); do \
-         ln $$file ../`cat ../.fname`/lib \
-           || cp -p $$file ../`cat ../.fname`/lib; \
+subdir = lib
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+dist: $(DEP_DISTFILES)
+       @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
+         test -f $(distdir)/$$file \
+         || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
+         || cp -p $(srcdir)/$$file $(distdir)/$$file; \
        done
 
-libfu.a: $(OBJECTS)
-       rm -f $@
-       $(AR) cr $@ $(OBJECTS)
-       -$(RANLIB) $@
+# This fragment is probably only useful for maintainers.  It relies on
+# GNU make and gcc.  It is only included in the generated Makefile.in
+# if `automake' is not passed the `--include-deps' flag.
+
+MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+
+-include $(srcdir)/.deps/.P
+$(srcdir)/.deps/.P: $(BUILT_SOURCES)
+       cd $(srcdir) && test -d .deps || mkdir .deps
+       echo > $@
+
+-include $(DEP_FILES)
+$(DEP_FILES): $(srcdir)/.deps/.P
+
+$(srcdir)/.deps/%.P: $(srcdir)/%.c
+       @echo "mkdeps $< > $@"
+       @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
+         $(MKDEP) $< | sed "$$re" > $@-tmp
+       @if test -n "$o"; then                  \
+         sed 's/\.o:/$$o:/' $@-tmp > $@;       \
+         rm $@-tmp;                            \
+       else                                    \
+         mv $@-tmp $@;                         \
+       fi
+
+# End of maintainer-only section
+info:
+
+dvi:
+
+check: all
+
+installcheck:
+
+install-exec: 
+
+install-data: 
+
+install: install-exec install-data
+       @:
+
+uninstall: 
+
+all: $(LIBFILES) $(HEADERS) Makefile
+
+installdirs:
+
+
+mostlyclean-generic:
+       test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
+
+clean-generic:
+       test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+       rm -f Makefile $(DISTCLEANFILES)
+       rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
+
+maintainer-clean-generic:
+       test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+       test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+mostlyclean:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
+               mostlyclean-tags mostlyclean-generic
+
+clean:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
+               mostlyclean 
+
+distclean:  distclean-noinstLIBRARIES distclean-compile distclean-tags \
+               distclean-generic clean 
+       rm -f config.status
+
+maintainer-clean:  maintainer-clean-noinstLIBRARIES \
+               maintainer-clean-compile maintainer-clean-tags \
+               maintainer-clean-generic distclean 
+       @echo "This command is intended for maintainers to use;"
+       @echo "it deletes files that may require special tools to rebuild."
+
+.PHONY: default mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
+    clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
+    mostlyclean-compile distclean-compile clean-compile \
+    maintainer-clean-compile tags mostlyclean-tags distclean-tags \
+    clean-tags maintainer-clean-tags dist info dvi check installcheck \
+    install-exec install-data install uninstall all installdirs \
+    mostlyclean-generic distclean-generic clean-generic \
+    maintainer-clean-generic clean mostlyclean distclean \
+    maintainer-clean
+
 
 # Since this directory contains two parsers, we have to be careful to avoid
 # running two $(YACC)s during parallel makes.  See below.
@@ -107,21 +289,9 @@ posixtm.c: posixtm.y getdate.c
        sed -e 's/yy/zz/g' posixtm.tab.c > tposixtm.c
        mv tposixtm.c posixtm.c
        rm -f posixtm.tab.c
+.SUFFIXES:
+.SUFFIXES: .c .o
 
-rename.o: rename.c
-       $(CC) -c $(CPPFLAGS) -DMVDIR="\"$(libdir)/mvdir\"" $(DEFS) \
-           -I.. -I$(srcdir) $(CFLAGS) $(srcdir)/rename.c
-
-$(OBJECTS): ../config.h
-
-backupfile.o getversion.o: backupfile.h
-fnmatch.o: fnmatch.h
-fsusage.o: fsusage.h
-getopt1.o: getopt.h
-modechange.o: modechange.h
-mountlist.o: mountlist.h
-xgetcwd.o: pathmax.h
-
-# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# 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: