aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnulib/Makefile.am
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-04-14 05:24:57 +0000
committerYao Qi <yao@codesourcery.com>2012-04-14 05:24:57 +0000
commit55a8c0761da53ea56ce6e196110aa8e83dba248f (patch)
treed8bf7499e982e48fb4fea47afb97fd8cee3ab452 /gdb/gnulib/Makefile.am
parentdc750257debf4d5632328df990f95c9deeefa91b (diff)
downloadgdb-55a8c0761da53ea56ce6e196110aa8e83dba248f.zip
gdb-55a8c0761da53ea56ce6e196110aa8e83dba248f.tar.gz
gdb-55a8c0761da53ea56ce6e196110aa8e83dba248f.tar.bz2
gdb/
Import gnulib module inttypes from git (250b80067c1e1d8faa0c42fb572f721975b929c5) * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h. (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and gnulib/m4/inttypes-pri.m4 * aclocal.m4, config.in, configure: Regenerated. * gnulib/Makefile.am: Update. * gnulib/Makefile.in: Update. * gnulib/m4/gnulib-cache.m4: Update. * gnulib/m4/gnulib-comp.m4: Update. * gnulib/inttypes.in.h: New. * gnulib/m4/inttypes-pri.m4: New. * gnulib/m4/inttypes.m4: New. gdb/gdbserver/ Import gnulib module inttypes. * aclocal.m4, config.in, configure: Regenerated.
Diffstat (limited to 'gdb/gnulib/Makefile.am')
-rw-r--r--gdb/gnulib/Makefile.am43
1 files changed, 42 insertions, 1 deletions
diff --git a/gdb/gnulib/Makefile.am b/gdb/gnulib/Makefile.am
index f07c7a2..a759591 100644
--- a/gdb/gnulib/Makefile.am
+++ b/gdb/gnulib/Makefile.am
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/extra --no-libtool --macro-prefix=gl --no-vc-files memmem
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/extra --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem
AUTOMAKE_OPTIONS = 1.5 gnits
@@ -85,6 +85,47 @@ EXTRA_DIST += $(top_srcdir)/gnulib/extra/c++defs.h
## end gnulib module c++defs
+## begin gnulib module inttypes
+
+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.
+inttypes.h: inttypes.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
+ $(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' \
+ -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' \
+ -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' \
+ -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
+
+## end gnulib module inttypes
+
## begin gnulib module memchr