summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-02 19:23:38 +0100
committerJim Meyering <meyering@redhat.com>2008-01-14 17:57:51 +0100
commit63968066e895362d2fadbc7e04e7ea995c5efb7c (patch)
tree3443952bb306fc1e262125302882779971178346 /lib
parent7ff7be6283aca46525a5386dfb5bff0780b6d46a (diff)
downloadidutils-63968066e895362d2fadbc7e04e7ea995c5efb7c.tar.gz
idutils-63968066e895362d2fadbc7e04e7ea995c5efb7c.tar.bz2
idutils-63968066e895362d2fadbc7e04e7ea995c5efb7c.zip
Convert to coreutils-flavored gnulib.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am217
1 files changed, 5 insertions, 212 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index e1e87de..2aadabf 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,222 +1,15 @@
## Process this file with automake to produce Makefile.in.
-# Copyright (C) 2004-2006 Free Software Foundation, Inc.
+# Copyright (C) 2004-2007 Free Software Foundation, Inc.
#
# This file is free software, distributed under the terms of the GNU
# General Public License. As a special exception to the GNU General
# Public License, this file may be distributed as part of a program
# that contains a configuration script generated by Autoconf, under
# the same distribution terms as the rest of that program.
-#
-# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --aux-dir=. --macro-prefix=gl --assume-autoconf=2.59 alloca alloca-opt atexit closeout dirname error exclude exit exitfail extensions fnmatch fnmatch-gnu fpending getcwd getopt gettext gettext-h havelib inttostr lstat malloc mbchar mbuiter memchr memcpy mempcpy memset obstack pathmax quotearg realloc regex restrict stat-macros stdbool strcase strcspn strdup strnlen1 strpbrk strsep strstr xalloc xalloc-die xgetcwd
-
-AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
-
-noinst_LIBRARIES = libgnu.a
-
-libgnu_a_SOURCES =
-libgnu_a_LIBADD = @LIBOBJS@
-noinst_HEADERS =
-EXTRA_DIST =
-BUILT_SOURCES =
-SUFFIXES =
-MOSTLYCLEANFILES =
-MOSTLYCLEANDIRS =
-CLEANFILES =
-DISTCLEANFILES =
-MAINTAINERCLEANFILES =
-
-AM_CPPFLAGS =
-
-## begin gnulib module alloca
-
-
-libgnu_a_LIBADD += @ALLOCA@
-## end gnulib module alloca
-
-## begin gnulib module alloca-opt
-
-BUILT_SOURCES += $(ALLOCA_H)
-EXTRA_DIST += alloca_.h
-
-# We need the following in order to create <alloca.h> when the system
-# doesn't have one that works with the given compiler.
-alloca.h: alloca_.h
- cp $(srcdir)/alloca_.h $@-t
- mv $@-t $@
-MOSTLYCLEANFILES += alloca.h alloca.h-t
-
-## end gnulib module alloca-opt
-
-## begin gnulib module dirname
-
-## end gnulib module dirname
-
-## begin gnulib module exit
-
-libgnu_a_SOURCES += exit.h
-
-## end gnulib module exit
-
-## begin gnulib module fnmatch
-
-BUILT_SOURCES += $(FNMATCH_H)
-EXTRA_DIST += fnmatch_.h fnmatch_loop.c
-
-# We need the following in order to create <fnmatch.h> when the system
-# doesn't have one that supports the required API.
-fnmatch.h: fnmatch_.h
- cp $(srcdir)/fnmatch_.h $@-t
- mv $@-t $@
-MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
-
-## end gnulib module fnmatch
-
-## begin gnulib module getopt
-
-BUILT_SOURCES += $(GETOPT_H)
-EXTRA_DIST += getopt_.h getopt_int.h
-
-# We need the following in order to create <getopt.h> when the system
-# doesn't have one that works with the given compiler.
-getopt.h: getopt_.h
- cp $(srcdir)/getopt_.h $@-t
- mv $@-t $@
-MOSTLYCLEANFILES += getopt.h getopt.h-t
-
-## end gnulib module getopt
-
-## begin gnulib module gettext
-
-# This is for those projects which use "gettextize --intl" to put a source-code
-# copy of libintl into their package. In such projects, every Makefile.am needs
-# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
-# For the Makefile.ams in other directories it is the maintainer's
-# responsibility; for the one from gnulib we do it here.
-# This option has no effect when the user disables NLS (because then the intl
-# directory contains no libintl.h file) or when the project does not use
-# "gettextize --intl".
-AM_CPPFLAGS += -I$(top_builddir)/intl
-
-## end gnulib module gettext
-
-## begin gnulib module gettext-h
-
-libgnu_a_SOURCES += gettext.h
-
-## end gnulib module gettext-h
-
-## begin gnulib module intprops
-
-EXTRA_DIST += intprops.h
-
-## end gnulib module intprops
-
-## begin gnulib module inttostr
-
-EXTRA_DIST += inttostr.c
-
-## end gnulib module inttostr
-
-## begin gnulib module mbchar
-
-libgnu_a_SOURCES += mbchar.h
-
-## end gnulib module mbchar
-
-## begin gnulib module mbuiter
-
-libgnu_a_SOURCES += mbuiter.h
-
-## end gnulib module mbuiter
-
-## begin gnulib module stdbool
-
-BUILT_SOURCES += $(STDBOOL_H)
-EXTRA_DIST += stdbool_.h
-
-# We need the following in order to create <stdbool.h> when the system
-# doesn't have one that works.
-stdbool.h: stdbool_.h
- sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
- mv $@-t $@
-MOSTLYCLEANFILES += stdbool.h stdbool.h-t
-
-## end gnulib module stdbool
-
-## begin gnulib module strcase
-
-libgnu_a_SOURCES += strcase.h
-
-## end gnulib module strcase
-
-## begin gnulib module strnlen1
-
-libgnu_a_SOURCES += strnlen1.h strnlen1.c
-
-## end gnulib module strnlen1
-
-## begin gnulib module strpbrk
-
-libgnu_a_SOURCES += strpbrk.h
-
-## end gnulib module strpbrk
-
-## begin gnulib module strsep
-
-libgnu_a_SOURCES += strsep.h
-
-## end gnulib module strsep
-
-## begin gnulib module strstr
-
-libgnu_a_SOURCES += strstr.h
-
-## end gnulib module strstr
-
-## begin gnulib module unistd
-
-BUILT_SOURCES += $(UNISTD_H)
-
-# We need the following in order to create an empty placeholder for
-# <unistd.h> when the system doesn't have one.
-unistd.h:
- echo '/* Empty placeholder for $@. */' >$@
-MOSTLYCLEANFILES += unistd.h
-
-## end gnulib module unistd
-
-## begin gnulib module verify
-
-libgnu_a_SOURCES += verify.h
-
-## end gnulib module verify
-
-## begin gnulib module wcwidth
-
-libgnu_a_SOURCES += wcwidth.h
-
-## end gnulib module wcwidth
-
-## begin gnulib module xalloc-die
-
-libgnu_a_SOURCES += xalloc-die.c
-
-## end gnulib module xalloc-die
-
-## begin gnulib module xstrndup
-
-libgnu_a_SOURCES += xstrndup.h xstrndup.c
-
-## end gnulib module xstrndup
+include gnulib.mk
-mostlyclean-local:
- @test -z "$(MOSTLYCLEANDIRS)" || \
- for dir in $(MOSTLYCLEANDIRS); do \
- if test -d $$dir; then \
- echo "rmdir $$dir"; rmdir $$dir; \
- fi; \
- done
+AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
-# Makefile.am ends here
+libgnu_a_LIBADD += $(LIBOBJS)
+libgnu_a_DEPENDENCIES += $(LIBOBJS)