2008-04-14 18:05:12 +00:00
|
|
|
## DO NOT EDIT! GENERATED AUTOMATICALLY!
|
|
|
|
## Process this file with automake to produce Makefile.in.
|
2012-04-18 20:45:25 +00:00
|
|
|
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
2008-04-14 18:05:12 +00:00
|
|
|
#
|
2012-04-18 20:45:25 +00:00
|
|
|
# This file 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 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This file 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 file. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# 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
|
2008-04-14 18:05:12 +00:00
|
|
|
# the same distribution terms as the rest of that program.
|
|
|
|
#
|
|
|
|
# Generated by gnulib-tool.
|
2012-12-18 06:02:32 +00:00
|
|
|
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files errno fnmatch-gnu inttypes memmem update-copyright
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = 1.5 gnits
|
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
SUBDIRS =
|
2008-04-14 18:05:12 +00:00
|
|
|
noinst_HEADERS =
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
noinst_LTLIBRARIES =
|
|
|
|
EXTRA_DIST =
|
|
|
|
BUILT_SOURCES =
|
|
|
|
SUFFIXES =
|
|
|
|
MOSTLYCLEANFILES = core *.stackdump
|
|
|
|
MOSTLYCLEANDIRS =
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
MAINTAINERCLEANFILES =
|
2010-05-23 00:57:01 +00:00
|
|
|
EXTRA_DIST += m4/gnulib-cache.m4
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS =
|
2010-05-23 00:57:01 +00:00
|
|
|
AM_CFLAGS =
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
noinst_LIBRARIES += libgnu.a
|
|
|
|
|
|
|
|
libgnu_a_SOURCES =
|
|
|
|
libgnu_a_LIBADD = $(gl_LIBOBJS)
|
|
|
|
libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
|
|
|
|
EXTRA_libgnu_a_SOURCES =
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module alloca
|
|
|
|
|
|
|
|
|
|
|
|
libgnu_a_LIBADD += @ALLOCA@
|
|
|
|
libgnu_a_DEPENDENCIES += @ALLOCA@
|
|
|
|
EXTRA_DIST += alloca.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += alloca.c
|
|
|
|
|
|
|
|
## end gnulib module alloca
|
|
|
|
|
|
|
|
## begin gnulib module alloca-opt
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(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.
|
|
|
|
if GL_GENERATE_ALLOCA_H
|
|
|
|
alloca.h: alloca.in.h $(top_builddir)/config.status
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
cat $(srcdir)/alloca.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv -f $@-t $@
|
|
|
|
else
|
|
|
|
alloca.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
|
|
|
MOSTLYCLEANFILES += alloca.h alloca.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += alloca.in.h
|
|
|
|
|
|
|
|
## end gnulib module alloca-opt
|
|
|
|
|
|
|
|
## begin gnulib module configmake
|
|
|
|
|
|
|
|
# Listed in the same order as the GNU makefile conventions, and
|
|
|
|
# provided by autoconf 2.59c+.
|
|
|
|
# The Automake-defined pkg* macros are appended, in the order
|
|
|
|
# listed in the Automake 1.10a+ documentation.
|
|
|
|
configmake.h: Makefile
|
|
|
|
$(AM_V_GEN)rm -f $@-t && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
echo '#define PREFIX "$(prefix)"'; \
|
|
|
|
echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
|
|
|
|
echo '#define BINDIR "$(bindir)"'; \
|
|
|
|
echo '#define SBINDIR "$(sbindir)"'; \
|
|
|
|
echo '#define LIBEXECDIR "$(libexecdir)"'; \
|
|
|
|
echo '#define DATAROOTDIR "$(datarootdir)"'; \
|
|
|
|
echo '#define DATADIR "$(datadir)"'; \
|
|
|
|
echo '#define SYSCONFDIR "$(sysconfdir)"'; \
|
|
|
|
echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
|
|
|
|
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
|
|
|
|
echo '#define INCLUDEDIR "$(includedir)"'; \
|
|
|
|
echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
|
|
|
|
echo '#define DOCDIR "$(docdir)"'; \
|
|
|
|
echo '#define INFODIR "$(infodir)"'; \
|
|
|
|
echo '#define HTMLDIR "$(htmldir)"'; \
|
|
|
|
echo '#define DVIDIR "$(dvidir)"'; \
|
|
|
|
echo '#define PDFDIR "$(pdfdir)"'; \
|
|
|
|
echo '#define PSDIR "$(psdir)"'; \
|
|
|
|
echo '#define LIBDIR "$(libdir)"'; \
|
|
|
|
echo '#define LISPDIR "$(lispdir)"'; \
|
|
|
|
echo '#define LOCALEDIR "$(localedir)"'; \
|
|
|
|
echo '#define MANDIR "$(mandir)"'; \
|
|
|
|
echo '#define MANEXT "$(manext)"'; \
|
|
|
|
echo '#define PKGDATADIR "$(pkgdatadir)"'; \
|
|
|
|
echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
|
|
|
|
echo '#define PKGLIBDIR "$(pkglibdir)"'; \
|
|
|
|
echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
|
|
|
|
} | sed '/""/d' > $@-t && \
|
|
|
|
mv -f $@-t $@
|
|
|
|
|
|
|
|
BUILT_SOURCES += configmake.h
|
|
|
|
CLEANFILES += configmake.h configmake.h-t
|
|
|
|
|
|
|
|
## end gnulib module configmake
|
|
|
|
|
2012-12-18 06:02:32 +00:00
|
|
|
## begin gnulib module errno
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(ERRNO_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <errno.h> when the system
|
|
|
|
# doesn't have one that is POSIX compliant.
|
|
|
|
if GL_GENERATE_ERRNO_H
|
|
|
|
errno.h: errno.in.h $(top_builddir)/config.status
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
|
|
|
-e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
|
|
|
|
-e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
|
|
|
|
-e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
|
|
|
|
-e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
|
|
|
|
-e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
|
|
|
|
-e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
|
|
|
|
-e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
|
|
|
|
< $(srcdir)/errno.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
else
|
|
|
|
errno.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
|
|
|
MOSTLYCLEANFILES += errno.h errno.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += errno.in.h
|
|
|
|
|
|
|
|
## end gnulib module errno
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module fnmatch
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(FNMATCH_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <fnmatch.h> when the system
|
|
|
|
# doesn't have one that supports the required API.
|
|
|
|
if GL_GENERATE_FNMATCH_H
|
|
|
|
fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
|
|
|
< $(srcdir)/fnmatch.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv -f $@-t $@
|
|
|
|
else
|
|
|
|
fnmatch.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
|
|
|
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
|
|
|
|
|
|
|
|
## end gnulib module fnmatch
|
|
|
|
|
2012-04-18 20:45:25 +00:00
|
|
|
## begin gnulib module inttypes-incomplete
|
2012-04-14 05:24:57 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES += inttypes.h
|
|
|
|
|
|
|
|
# We need the following in order to create <inttypes.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2012-04-18 20:45:25 +00:00
|
|
|
inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
|
2012-04-14 05:24:57 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
2012-04-14 05:24:57 +00:00
|
|
|
-e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
|
|
|
|
-e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
|
|
|
|
-e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
|
|
|
|
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
|
|
|
|
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
|
|
|
|
-e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
|
|
|
|
-e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
|
|
|
|
-e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
|
|
|
|
-e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
|
|
|
|
-e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
|
|
|
|
-e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
|
|
|
|
-e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
|
|
|
|
-e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
|
|
|
|
-e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
|
2012-04-14 05:24:57 +00:00
|
|
|
-e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
|
|
|
|
-e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
|
|
|
|
-e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
|
|
|
|
-e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
2012-04-14 05:24:57 +00:00
|
|
|
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
|
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
|
|
< $(srcdir)/inttypes.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += inttypes.h inttypes.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += inttypes.in.h
|
|
|
|
|
2012-04-18 20:45:25 +00:00
|
|
|
## end gnulib module inttypes-incomplete
|
2012-04-14 05:24:57 +00:00
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module localcharset
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += localcharset.h localcharset.c
|
|
|
|
|
|
|
|
# We need the following in order to install a simple file in $(libdir)
|
|
|
|
# which is shared with other installed packages. We use a list of referencing
|
|
|
|
# packages so that "make uninstall" will remove the file if and only if it
|
|
|
|
# is not used by another installed package.
|
|
|
|
# On systems with glibc-2.1 or newer, the file is redundant, therefore we
|
|
|
|
# avoid installing it.
|
|
|
|
|
|
|
|
all-local: charset.alias ref-add.sed ref-del.sed
|
|
|
|
|
|
|
|
charset_alias = $(DESTDIR)$(libdir)/charset.alias
|
|
|
|
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
|
|
|
|
install-exec-local: install-exec-localcharset
|
|
|
|
install-exec-localcharset: all-local
|
|
|
|
if test $(GLIBC21) = no; then \
|
|
|
|
case '$(host_os)' in \
|
|
|
|
darwin[56]*) \
|
|
|
|
need_charset_alias=true ;; \
|
|
|
|
darwin* | cygwin* | mingw* | pw32* | cegcc*) \
|
|
|
|
need_charset_alias=false ;; \
|
|
|
|
*) \
|
|
|
|
need_charset_alias=true ;; \
|
|
|
|
esac ; \
|
|
|
|
else \
|
|
|
|
need_charset_alias=false ; \
|
|
|
|
fi ; \
|
|
|
|
if $$need_charset_alias; then \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir) ; \
|
|
|
|
fi ; \
|
|
|
|
if test -f $(charset_alias); then \
|
|
|
|
sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
|
|
|
|
rm -f $(charset_tmp) ; \
|
|
|
|
else \
|
|
|
|
if $$need_charset_alias; then \
|
|
|
|
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
|
|
|
|
rm -f $(charset_tmp) ; \
|
|
|
|
fi ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local: uninstall-localcharset
|
|
|
|
uninstall-localcharset: all-local
|
|
|
|
if test -f $(charset_alias); then \
|
|
|
|
sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
|
|
|
|
if grep '^# Packages using this file: $$' $(charset_tmp) \
|
|
|
|
> /dev/null; then \
|
|
|
|
rm -f $(charset_alias); \
|
|
|
|
else \
|
|
|
|
$(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
|
|
|
|
fi; \
|
|
|
|
rm -f $(charset_tmp); \
|
|
|
|
fi
|
|
|
|
|
|
|
|
charset.alias: config.charset
|
|
|
|
$(AM_V_GEN)rm -f t-$@ $@ && \
|
|
|
|
$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
|
|
|
|
mv t-$@ $@
|
|
|
|
|
|
|
|
SUFFIXES += .sed .sin
|
|
|
|
.sin.sed:
|
|
|
|
$(AM_V_GEN)rm -f t-$@ $@ && \
|
|
|
|
sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
|
|
|
|
mv t-$@ $@
|
|
|
|
|
|
|
|
CLEANFILES += charset.alias ref-add.sed ref-del.sed
|
|
|
|
|
|
|
|
EXTRA_DIST += config.charset ref-add.sin ref-del.sin
|
|
|
|
|
|
|
|
## end gnulib module localcharset
|
|
|
|
|
|
|
|
## begin gnulib module mbrtowc
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += mbrtowc.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += mbrtowc.c
|
|
|
|
|
|
|
|
## end gnulib module mbrtowc
|
|
|
|
|
|
|
|
## begin gnulib module mbsinit
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += mbsinit.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += mbsinit.c
|
|
|
|
|
|
|
|
## end gnulib module mbsinit
|
|
|
|
|
|
|
|
## begin gnulib module mbsrtowcs
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
|
|
|
|
|
|
|
|
## end gnulib module mbsrtowcs
|
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
## begin gnulib module memchr
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
EXTRA_DIST += memchr.c memchr.valgrind
|
2008-04-14 18:05:12 +00:00
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
EXTRA_libgnu_a_SOURCES += memchr.c
|
2008-04-14 18:05:12 +00:00
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
## end gnulib module memchr
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
## begin gnulib module memmem-simple
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += memmem.c str-two-way.h
|
|
|
|
|
|
|
|
EXTRA_libgnu_a_SOURCES += memmem.c
|
|
|
|
|
|
|
|
## end gnulib module memmem-simple
|
|
|
|
|
2012-04-18 20:45:25 +00:00
|
|
|
## begin gnulib module snippet/arg-nonnull
|
|
|
|
|
|
|
|
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
|
|
|
|
# statements but through direct file reference. Therefore this snippet must be
|
|
|
|
# present in all Makefile.am that need it. This is ensured by the applicability
|
|
|
|
# 'all' defined above.
|
|
|
|
|
|
|
|
BUILT_SOURCES += arg-nonnull.h
|
|
|
|
# The arg-nonnull.h that gets inserted into generated .h files is the same as
|
|
|
|
# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
|
|
|
|
# off.
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
|
2012-04-18 20:45:25 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
sed -n -e '/GL_ARG_NONNULL/,$$p' \
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
< $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
|
2012-04-18 20:45:25 +00:00
|
|
|
> $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
|
|
|
|
|
|
|
|
ARG_NONNULL_H=arg-nonnull.h
|
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
|
2012-04-18 20:45:25 +00:00
|
|
|
|
|
|
|
## end gnulib module snippet/arg-nonnull
|
|
|
|
|
|
|
|
## begin gnulib module snippet/c++defs
|
|
|
|
|
|
|
|
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
|
|
|
|
# statements but through direct file reference. Therefore this snippet must be
|
|
|
|
# present in all Makefile.am that need it. This is ensured by the applicability
|
|
|
|
# 'all' defined above.
|
|
|
|
|
|
|
|
BUILT_SOURCES += c++defs.h
|
|
|
|
# The c++defs.h that gets inserted into generated .h files is the same as
|
|
|
|
# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
|
2012-04-18 20:45:25 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
sed -n -e '/_GL_CXXDEFS/,$$p' \
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
< $(top_srcdir)/import/extra/snippet/c++defs.h \
|
2012-04-18 20:45:25 +00:00
|
|
|
> $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += c++defs.h c++defs.h-t
|
|
|
|
|
|
|
|
CXXDEFS_H=c++defs.h
|
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
|
2012-04-18 20:45:25 +00:00
|
|
|
|
|
|
|
## end gnulib module snippet/c++defs
|
|
|
|
|
|
|
|
## begin gnulib module snippet/warn-on-use
|
|
|
|
|
|
|
|
BUILT_SOURCES += warn-on-use.h
|
|
|
|
# The warn-on-use.h that gets inserted into generated .h files is the same as
|
|
|
|
# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
|
|
|
|
# off.
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
|
2012-04-18 20:45:25 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
sed -n -e '/^.ifndef/,$$p' \
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
< $(top_srcdir)/import/extra/snippet/warn-on-use.h \
|
2012-04-18 20:45:25 +00:00
|
|
|
> $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
|
|
|
|
|
|
|
|
WARN_ON_USE_H=warn-on-use.h
|
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
|
2012-04-18 20:45:25 +00:00
|
|
|
|
|
|
|
## end gnulib module snippet/warn-on-use
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module stdbool
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(STDBOOL_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <stdbool.h> when the system
|
|
|
|
# doesn't have one that works.
|
|
|
|
if GL_GENERATE_STDBOOL_H
|
|
|
|
stdbool.h: stdbool.in.h $(top_builddir)/config.status
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
else
|
|
|
|
stdbool.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
|
|
|
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += stdbool.in.h
|
|
|
|
|
|
|
|
## end gnulib module stdbool
|
|
|
|
|
2010-05-23 00:57:01 +00:00
|
|
|
## begin gnulib module stddef
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(STDDEF_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <stddef.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2012-04-18 20:45:25 +00:00
|
|
|
if GL_GENERATE_STDDEF_H
|
|
|
|
stddef.h: stddef.in.h $(top_builddir)/config.status
|
2010-05-23 00:57:01 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
2012-04-18 20:45:25 +00:00
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
|
|
|
|
-e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
|
|
|
|
-e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
|
|
|
|
< $(srcdir)/stddef.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
2012-04-18 20:45:25 +00:00
|
|
|
else
|
|
|
|
stddef.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
2010-05-23 00:57:01 +00:00
|
|
|
MOSTLYCLEANFILES += stddef.h stddef.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += stddef.in.h
|
|
|
|
|
|
|
|
## end gnulib module stddef
|
|
|
|
|
2008-04-14 18:05:12 +00:00
|
|
|
## begin gnulib module stdint
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(STDINT_H)
|
|
|
|
|
|
|
|
# We need the following in order to create <stdint.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2012-04-18 20:45:25 +00:00
|
|
|
if GL_GENERATE_STDINT_H
|
|
|
|
stdint.h: stdint.in.h $(top_builddir)/config.status
|
2010-05-23 00:57:01 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
2008-04-14 18:05:12 +00:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2012-04-18 20:45:25 +00:00
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
|
|
|
|
-e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
|
|
|
|
-e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
|
|
|
|
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
|
|
|
|
-e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
|
|
|
|
-e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
|
|
|
|
-e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
|
|
|
|
-e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
|
|
|
|
-e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
|
|
|
|
-e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
|
|
|
|
-e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
|
|
|
|
< $(srcdir)/stdint.in.h; \
|
2010-05-23 00:57:01 +00:00
|
|
|
} > $@-t && \
|
2008-04-14 18:05:12 +00:00
|
|
|
mv $@-t $@
|
2012-04-18 20:45:25 +00:00
|
|
|
else
|
|
|
|
stdint.h: $(top_builddir)/config.status
|
|
|
|
rm -f $@
|
|
|
|
endif
|
2008-04-14 18:05:12 +00:00
|
|
|
MOSTLYCLEANFILES += stdint.h stdint.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += stdint.in.h
|
|
|
|
|
|
|
|
## end gnulib module stdint
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module streq
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += streq.h
|
|
|
|
|
|
|
|
## end gnulib module streq
|
|
|
|
|
2008-04-14 18:05:12 +00:00
|
|
|
## begin gnulib module string
|
|
|
|
|
|
|
|
BUILT_SOURCES += string.h
|
|
|
|
|
|
|
|
# We need the following in order to create <string.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
2012-04-18 20:45:25 +00:00
|
|
|
string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
2010-05-23 00:57:01 +00:00
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
2008-04-14 18:05:12 +00:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
2012-04-18 20:45:25 +00:00
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
|
|
|
|
-e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
|
|
|
|
-e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
|
|
|
|
-e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
|
|
|
|
-e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
|
|
|
|
-e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
|
|
|
|
-e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
|
|
|
|
-e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
|
|
|
|
-e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
|
|
|
|
-e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
|
|
|
|
-e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
|
|
|
|
-e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
|
|
|
|
-e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
|
|
|
|
-e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
|
|
|
|
-e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
|
|
|
|
-e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
< $(srcdir)/string.in.h | \
|
2012-04-18 20:45:25 +00:00
|
|
|
sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
|
|
|
|
-e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
|
|
|
|
-e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
|
|
|
|
-e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
|
|
|
|
-e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
|
|
|
|
-e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
|
|
|
|
-e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
|
|
|
|
-e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
|
|
|
|
-e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
|
|
|
|
-e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
|
|
|
|
-e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
|
|
|
|
-e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
|
|
|
|
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
|
2012-04-18 20:45:25 +00:00
|
|
|
-e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
|
|
|
|
-e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
|
|
|
|
-e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
|
2008-04-14 18:05:12 +00:00
|
|
|
-e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
|
2010-05-23 00:57:01 +00:00
|
|
|
-e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
|
|
|
|
-e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
|
|
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
|
|
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
|
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
|
2008-04-14 18:05:12 +00:00
|
|
|
< $(srcdir)/string.in.h; \
|
2010-05-23 00:57:01 +00:00
|
|
|
} > $@-t && \
|
2008-04-14 18:05:12 +00:00
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += string.h string.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += string.in.h
|
|
|
|
|
|
|
|
## end gnulib module string
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module strnlen1
|
|
|
|
|
|
|
|
libgnu_a_SOURCES += strnlen1.h strnlen1.c
|
|
|
|
|
|
|
|
## end gnulib module strnlen1
|
|
|
|
|
2012-04-18 20:06:39 +00:00
|
|
|
## begin gnulib module update-copyright
|
|
|
|
|
|
|
|
|
2012-04-19 Pedro Alves <palves@redhat.com>
gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies. Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
* configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
calls. Configure gnulib using ACX_CONFIGURE_DIR.
(GNULIB): New variable.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile.
* gdb/defs.h: Include build-gnulib/config.h.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* gnulib/Makefile.in: New file.
* gnulib/configure.ac: New file.
* gnulib/aclocal.m4: New file.
* gnulib/config.in: New file.
* gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.
gdb/gdbserver/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
(all, install-only, uninstall, clean-info, all-lib, clean): No
longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
(maintainer-clean realclean distclean): Use subdir_do.
(subdir_do): New.
(gnulib/import/Makefile): Adjust. Replace gnulib/import with
$(GNULIB_BUILDDIR). Don't pass argument to config.status.
* acinclude.m4: Include acx_configure_dir.m4.
* configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
calls. Call AC_PROG_RANLIB. Configure gnulib using
ACX_CONFIGURE_DIR.
(GNULIB): New.
(GNULIB_STDINT_H): Adjust.
(AC_OUTPUT): Don't output gnulib/Makefile anymore.
* gdbreplay.c: Include build-gnulib/config.h.
* server.h: Likewise.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2012-04-19 19:34:52 +00:00
|
|
|
EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
|
2012-04-18 20:06:39 +00:00
|
|
|
|
|
|
|
## end gnulib module update-copyright
|
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## begin gnulib module verify
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += verify.h
|
|
|
|
|
|
|
|
## end gnulib module verify
|
|
|
|
|
|
|
|
## begin gnulib module wchar
|
|
|
|
|
|
|
|
BUILT_SOURCES += wchar.h
|
|
|
|
|
|
|
|
# We need the following in order to create <wchar.h> when the system
|
|
|
|
# version does not work standalone.
|
|
|
|
wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
|
|
|
-e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
|
|
|
|
-e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
|
|
|
|
-e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
|
|
|
|
-e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
|
|
|
|
-e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
|
|
|
|
-e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
|
|
|
|
-e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
|
|
|
|
-e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
|
|
|
|
-e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
|
|
|
|
-e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
|
|
|
|
-e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
|
|
|
|
-e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
|
|
|
|
-e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
|
|
|
|
-e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
|
|
|
|
< $(srcdir)/wchar.in.h | \
|
|
|
|
sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
|
|
|
|
-e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
|
|
|
|
-e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
|
|
|
|
-e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
|
|
|
|
-e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
|
|
|
|
-e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
|
|
|
|
-e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
|
|
|
|
-e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
|
|
|
|
-e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
|
|
|
|
-e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
|
|
|
|
-e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
|
|
|
|
-e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
|
|
|
|
-e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
|
|
|
|
-e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
|
|
|
|
-e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
|
|
|
|
-e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
|
|
|
|
-e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
|
|
|
|
-e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
|
|
|
|
-e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
|
|
|
|
-e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
|
|
|
|
-e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
|
|
|
|
-e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
|
|
|
|
-e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
|
|
|
|
-e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
|
|
|
|
-e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
|
|
|
|
-e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
|
|
|
|
-e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
|
|
|
|
-e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
|
|
|
|
| \
|
|
|
|
sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
|
|
|
|
-e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
|
|
|
|
-e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
|
|
|
|
-e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
|
|
|
|
-e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
|
|
|
|
-e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
|
|
|
|
-e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
|
|
|
|
-e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
|
|
|
|
-e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
|
|
|
|
-e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
|
|
|
|
-e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
|
|
|
|
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
|
|
|
|
-e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
|
|
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
|
|
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
|
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += wchar.h wchar.h-t
|
|
|
|
|
|
|
|
EXTRA_DIST += wchar.in.h
|
|
|
|
|
|
|
|
## end gnulib module wchar
|
|
|
|
|
|
|
|
## begin gnulib module wctype-h
|
|
|
|
|
|
|
|
BUILT_SOURCES += wctype.h
|
2012-12-18 06:00:55 +00:00
|
|
|
libgnu_a_SOURCES += wctype-h.c
|
2012-07-02 11:52:39 +00:00
|
|
|
|
|
|
|
# We need the following in order to create <wctype.h> when the system
|
|
|
|
# doesn't have one that works with the given compiler.
|
|
|
|
wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
|
|
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
|
|
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
|
|
|
|
-e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
|
|
|
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
|
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
|
|
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
|
|
|
-e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
|
|
|
|
-e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
|
|
|
|
-e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
|
|
|
|
-e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
|
|
|
|
-e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
|
|
|
|
-e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
|
|
|
|
-e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
|
|
|
|
-e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
|
|
|
|
-e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
|
|
|
|
-e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
|
|
|
|
-e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
|
|
|
|
-e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
|
|
|
|
-e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
|
|
|
|
-e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
|
|
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
|
|
< $(srcdir)/wctype.in.h; \
|
|
|
|
} > $@-t && \
|
|
|
|
mv $@-t $@
|
|
|
|
MOSTLYCLEANFILES += wctype.h wctype.h-t
|
2008-04-14 18:05:12 +00:00
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
EXTRA_DIST += wctype.in.h
|
2008-04-14 18:05:12 +00:00
|
|
|
|
2012-07-02 11:52:39 +00:00
|
|
|
## end gnulib module wctype-h
|
2008-04-14 18:05:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-local: mostlyclean-generic
|
|
|
|
@for dir in '' $(MOSTLYCLEANDIRS); do \
|
|
|
|
if test -n "$$dir" && test -d $$dir; then \
|
|
|
|
echo "rmdir $$dir"; rmdir $$dir; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
:
|