.
[gnulib.git] / lib / Makefile.in
index 057426c..07187d5 100644 (file)
@@ -1,20 +1,9 @@
-# Makefile.in generated automatically by automake 0.25 from Makefile.am
-# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
+# Makefile.in generated automatically by automake 1.1l 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., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
 
 SHELL = /bin/sh
 
@@ -41,82 +30,124 @@ 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@
+YACC = @YACC@
+GENCAT = @GENCAT@
+PERL = @PERL@
+MV = @MV@
+GMSGFMT = @GMSGFMT@
+CC = @CC@
+RANLIB = @RANLIB@
+LN = @LN@
+RM = @RM@
 
-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_LIBADD = @LIBOBJS@ @ALLOCA@
+noinst_LIBRARIES = libfu.a
 
-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
+EXTRA_DIST = mkdir.c rmdir.c getline.c mktime.c strftime.c
 
-CONFIG_HEADER = ../config.h
+INCLUDES = -I.. -I$(srcdir) -I../intl
 
-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 \
+libfu_a_SOURCES = getdate.y posixtm.y getopt.c getopt1.c \
+argmatch.c backupfile.c dirname.c filemode.c \
+full-write.c getversion.c idcache.c \
+isdir.c long-options.c makepath.c modechange.c path-concat.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
 
-LIBRARIES = $(noinst_LIBRARIES)
+libfu_a_LIBADD = @LIBOBJS@ @ALLOCA@
+libfu_a_DEPENDENCIES = $(libfu_a_LIBADD)
 
-noinst_LIBFILES = libfu.a
-CC = @CC@
-LEX = @LEX@
-YACC = @YACC@
+noinst_HEADERS = argmatch.h backupfile.h error.h fnmatch.h fsusage.h \
+getline.h getopt.h group-member.h long-options.h makepath.h modechange.h \
+mountlist.h path-concat.h pathmax.h \
+save-cwd.h xstrtol.h xstrtoul.h
 
-DEFS = @DEFS@
+BUILT_SOURCES = getdate.c posixtm.c
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+LIBRARIES =  $(noinst_LIBRARIES)
+
+
+DEFS = @DEFS@ -I. -I$(srcdir) -I..
 CPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
-
-COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+libfu_a_OBJECTS =  getdate.o posixtm.o getopt.o getopt1.o argmatch.o \
+backupfile.o dirname.o filemode.o full-write.o getversion.o idcache.o \
+isdir.o long-options.o makepath.o modechange.o path-concat.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
+AR = ar
+INTERLOCK = ./interlock
+YLWRAP = ./ylwrap
+CFLAGS = @CFLAGS@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 LINK = $(CC) $(LDFLAGS) -o $@
+HEADERS =  $(noinst_HEADERS)
 
-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@
+DIST_COMMON =  Makefile.am Makefile.in alloca.c basename.c error.c \
+error.h euidaccess.c fileblocks.c fnmatch.c fsusage.c ftruncate.c \
+getdate.c getline.c group-member.c interlock memcmp.c memcpy.c memset.c \
+mkdir.c mktime.c mountlist.c obstack.c obstack.h posixtm.c regex.c \
+regex.h rename.c rmdir.c rpmatch.c rx.c rx.h stpcpy.c strcasecmp.c \
+strdup.c strndup.c strstr.c strtol.c strtoul.c ylwrap
 
-DIST_COMMON = Makefile.in Makefile.am
 
 PACKAGE = @PACKAGE@
 VERSION = @VERSION@
 
-DISTFILES = $(SOURCES) $(HEADERS) $(TEXINFOS) $(INFOS) $(MANS) \
-       $(DIST_OTHER) $(DIST_COMMON) $(DATA)
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
+       $(TEXINFOS) $(MANS) $(EXTRA_DIST)
+
+TAR = tar
+DEP_FILES =  .deps/alloca.P .deps/argmatch.P .deps/backupfile.P \
+.deps/basename.P .deps/dirname.P .deps/error.P .deps/euidaccess.P \
+.deps/fileblocks.P .deps/filemode.P .deps/fnmatch.P .deps/fsusage.P \
+.deps/ftruncate.P .deps/full-write.P .deps/getdate.P .deps/getline.P \
+.deps/getopt.P .deps/getopt1.P .deps/getversion.P .deps/group-member.P \
+.deps/idcache.P .deps/isdir.P .deps/long-options.P .deps/makepath.P \
+.deps/memcmp.P .deps/memcpy.P .deps/memset.P .deps/mkdir.P \
+.deps/mktime.P .deps/modechange.P .deps/mountlist.P .deps/obstack.P \
+.deps/path-concat.P .deps/posixtm.P .deps/regex.P .deps/rename.P \
+.deps/rmdir.P .deps/rpmatch.P .deps/rx.P .deps/safe-read.P \
+.deps/save-cwd.P .deps/savedir.P .deps/stpcpy.P .deps/strcasecmp.P \
+.deps/strdup.P .deps/stripslash.P .deps/strndup.P .deps/strstr.P \
+.deps/strtol.P .deps/strtoul.P .deps/userspec.P .deps/xgetcwd.P \
+.deps/xmalloc.P .deps/xstrdup.P .deps/xstrtol.P .deps/xstrtoul.P \
+.deps/yesno.P
+SOURCES = $(libfu_a_SOURCES)
+OBJECTS = $(libfu_a_OBJECTS)
 
-subdir = lib
+default: all
 
-SOURCES = $(fu_SOURCES)
-OBJECTS = $(fu_OBJECTS)
+.SUFFIXES:
+.SUFFIXES: .c .o .y
+$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) 
+       cd $(top_srcdir) && automake --gnu lib/Makefile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-default: all
 
 mostlyclean-noinstLIBRARIES:
 
 clean-noinstLIBRARIES:
-       rm -f $(noinst_LIBFILES)
+       test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
 
 distclean-noinstLIBRARIES:
 
 maintainer-clean-noinstLIBRARIES:
 
 .c.o:
-       $(COMPILE) $<
+       $(COMPILE) -c $<
 
 mostlyclean-compile:
        rm -f *.o core
@@ -127,28 +158,28 @@ distclean-compile:
        rm -f *.tab.c
 
 maintainer-clean-compile:
+$(libfu_a_OBJECTS): ../config.h
 
-$(fu_OBJECTS): ../config.h
-libfu.a: $(fu_OBJECTS) $(fu_LIBADD)
+libfu.a: $(libfu_a_OBJECTS) $(libfu_a_DEPENDENCIES)
        rm -f libfu.a
-       $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
+       $(AR) cru libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD)
        $(RANLIB) libfu.a
-
-$(srcdir)/Makefile.in: Makefile.am
-       cd $(top_srcdir) && automake $(subdir)/Makefile
-
-Makefile: ../config.status Makefile.in
-       cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
-
-id: ID
-
-ID:
-       here=`pwd`; cd $(srcdir) && mkid -f $$here/ID $(SOURCES) $(HEADERS)
+.y.c:
+       $(SHELL) $(INTERLOCK) =yacclockdir $(YLWRAP) "$(YACC)" y.tab.c $*.c y.tab.h $*.h -- $(YFLAGS) $<
 
 tags: TAGS
 
-TAGS:
-       here=`pwd`; cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
+ID: $(HEADERS) $(SOURCES)
+       here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
+       tags=; \
+       here=`pwd`; \
+       list="$(SUBDIRS)"; for subdir in $$list; do \
+         test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+       done; \
+       test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
+         || cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS
 
 mostlyclean-tags:
 
@@ -159,58 +190,64 @@ distclean-tags:
 
 maintainer-clean-tags:
 
-distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
-dist: $(DISTFILES)
-       @for file in $(DISTFILES); do           \
-         test -f $(distdir)/$$file || {        \
-           echo linking $$file;                \
-           ln $(srcdir)/$$file $(distdir)/$$file; \
-         } || {                                \
-           echo copying $$file instead;        \
-           cp -p $(srcdir)/$$file $(distdir)/$$file; \
-         };                                    \
-       done
-
-# 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.
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
-MKDEP = gcc -MM
+subdir = lib
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         test -f $(distdir)/$$file \
+         || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+         || cp -p $$d/$$file $(distdir)/$$file; \
+       done
 
-DEP_FILES = $(patsubst %.${kr}o,.deps/%.P,$(OBJECTS))
+MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 
 -include .deps/.P
 .deps/.P:
        test -d .deps || mkdir .deps
-       : > $@
+       echo > $@
 
 -include $(DEP_FILES)
 $(DEP_FILES): .deps/.P
 
-.deps/%.P: %.c
-       @echo "mkdeps $< > $@"
-       @$(MKDEP) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@-tmp
-       @mv $@-tmp $@
+mostlyclean-depend:
 
-# End of maintainer-only section
+clean-depend:
 
-all: $(LIBFILES)
+distclean-depend:
 
-info: 
+maintainer-clean-depend:
+       rm -rf .deps
 
-dvi: 
+.deps/%.P: $(srcdir)/%.c
+       @echo "Computing dependencies for $<..."
+       @o='o';                         \
+       test -n "$o" && o='$$o';        \
+       $(MKDEP) $< | sed "s/^\(.*\)\.o:/\1.$$o \1.l$$o:/" > $@
+info:
+dvi:
+check: all
+       $(MAKE)
+installcheck:
+install-exec: 
+       $(NORMAL_INSTALL)
 
-check: 
+install-data: 
+       $(NORMAL_INSTALL)
 
-installcheck: 
-
-install: 
-       :
+install: install-exec install-data all
+       @:
 
 uninstall: 
 
+all: $(LIBRARIES) $(BUILT_SOURCES) $(HEADERS) Makefile
+
+install-strip:
+       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
 installdirs:
 
+
 mostlyclean-generic:
        test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
@@ -219,28 +256,40 @@ clean-generic:
 
 distclean-generic:
        rm -f Makefile $(DISTCLEANFILES)
-       rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
+       rm -f config.cache config.log stamp-h
+       test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 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-depend mostlyclean-generic
 
-mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile mostlyclean-tags mostlyclean-generic
-
-clean: mostlyclean clean-noinstLIBRARIES clean-compile clean-tags clean-generic
+clean:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
+               clean-generic mostlyclean
 
-distclean: clean distclean-noinstLIBRARIES distclean-compile distclean-tags distclean-generic
+distclean:  distclean-noinstLIBRARIES distclean-compile distclean-tags \
+               distclean-depend distclean-generic clean
        rm -f config.status
 
-maintainer-clean: distclean maintainer-clean-noinstLIBRARIES maintainer-clean-compile maintainer-clean-tags maintainer-clean-generic
+maintainer-clean:  maintainer-clean-noinstLIBRARIES \
+               maintainer-clean-compile maintainer-clean-tags \
+               maintainer-clean-depend maintainer-clean-generic \
+               distclean
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."
-       rm -f config.status
 
+.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 distdir mostlyclean-depend \
+distclean-depend clean-depend maintainer-clean-depend info dvi \
+installcheck install-exec install-data install uninstall all \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
-.SUFFIXES:
-.SUFFIXES: .c .o
 
 # 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:
-