+2012-04-19 Pedro Alves <palves@redhat.com>
+
+ * gnulib/: Move whole directory ...
+ * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust.
+ * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS)
+ (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS)
+ (aclocal_m4_deps): Adjust.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Adjust AC_OUTPUT output.
+
2012-04-19 Yao Qi <yao@codesourcery.com>
* Makefile.in (SFILES): Add common/vec.c and remove vec.c.
GDB_DATADIR = @GDB_DATADIR@
# Helper code from gnulib.
-LIBGNU = gnulib/libgnu.a
-INCGNU = -I$(srcdir)/gnulib -Ignulib
+LIBGNU = gnulib/import/libgnu.a
+INCGNU = -I$(srcdir)/gnulib/import -Ignulib/import
# Generated headers in the gnulib directory. These must be listed
# so that they are generated before other files are compiled.
-GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
+GNULIB_H = gnulib/import/string.h @GNULIB_STDINT_H@
#
# CLI sub directory definitons
TSOBS = inflow.o
SUBDIRS = doc @subdirs@ data-directory
-CLEANDIRS = $(SUBDIRS) gnulib
+CLEANDIRS = $(SUBDIRS) gnulib/import
# List of subdirectories in the build tree that must exist.
# This is used to force build failures in existing trees when
# a new directory is added.
# The format here is for the `case' shell command.
-REQUIRED_SUBDIRS = doc | testsuite | gnulib | data-directory
+REQUIRED_SUBDIRS = doc | testsuite | gnulib/import | data-directory
# For now, shortcut the "configure GDB for fewer languages" stuff.
YYFILES = c-exp.c \
# Convenience rule to handle recursion.
$(LIBGNU) $(GNULIB_H): all-lib
-all-lib: gnulib/Makefile
- @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=gnulib subdir_do
+all-lib: gnulib/import/Makefile
+ @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=gnulib/import subdir_do
.PHONY: all-lib
# Convenience rule to handle recursion.
CONFIG_HEADERS= \
$(SHELL) config.status
-gnulib/Makefile: gnulib/Makefile.in config.status @frags@
- CONFIG_FILES="gnulib/Makefile" \
+gnulib/import/Makefile: gnulib/import/Makefile.in config.status @frags@
+ CONFIG_FILES="gnulib/import/Makefile" \
CONFIG_COMMANDS="depfiles" \
CONFIG_HEADERS= \
CONFIG_LINKS= \
$(SHELL) config.status --recheck
ACLOCAL = aclocal
-ACLOCAL_AMFLAGS = -I gnulib/m4 -I ../config
+ACLOCAL_AMFLAGS = -I gnulib/import/m4 -I ../config
aclocal_m4_deps = \
configure.ac \
- gnulib/m4/00gnulib.m4 \
- gnulib/m4/extensions.m4 \
- gnulib/m4/gnulib-cache.m4 \
- gnulib/m4/gnulib-common.m4 \
- gnulib/m4/gnulib-comp.m4 \
- gnulib/m4/gnulib-tool.m4 \
- gnulib/m4/include_next.m4 \
- gnulib/m4/inttypes.m4 \
- gnulib/m4/inttypes-pri.m4 \
- gnulib/m4/longlong.m4 \
- gnulib/m4/memchr.m4 \
- gnulib/m4/memmem.m4 \
- gnulib/m4/mmap-anon.m4 \
- gnulib/m4/multiarch.m4 \
- gnulib/m4/onceonly.m4 \
- gnulib/m4/stddef_h.m4 \
- gnulib/m4/stdint.m4 \
- gnulib/m4/string_h.m4 \
- gnulib/m4/warn-on-use.m4 \
- gnulib/m4/wchar_h.m4 \
- gnulib/m4/wchar_t.m4 \
- gnulib/m4/wint_t.m4 \
+ gnulib/import/m4/00gnulib.m4 \
+ gnulib/import/m4/extensions.m4 \
+ gnulib/import/m4/gnulib-cache.m4 \
+ gnulib/import/m4/gnulib-common.m4 \
+ gnulib/import/m4/gnulib-comp.m4 \
+ gnulib/import/m4/gnulib-tool.m4 \
+ gnulib/import/m4/include_next.m4 \
+ gnulib/import/m4/inttypes.m4 \
+ gnulib/import/m4/inttypes-pri.m4 \
+ gnulib/import/m4/longlong.m4 \
+ gnulib/import/m4/memchr.m4 \
+ gnulib/import/m4/memmem.m4 \
+ gnulib/import/m4/mmap-anon.m4 \
+ gnulib/import/m4/multiarch.m4 \
+ gnulib/import/m4/onceonly.m4 \
+ gnulib/import/m4/stddef_h.m4 \
+ gnulib/import/m4/stdint.m4 \
+ gnulib/import/m4/string_h.m4 \
+ gnulib/import/m4/warn-on-use.m4 \
+ gnulib/import/m4/wchar_h.m4 \
+ gnulib/import/m4/wchar_t.m4 \
+ gnulib/import/m4/wint_t.m4 \
../config/extensions.m4 \
../config/lead-dot.m4 \
../config/proginstall.m4 \
m4_include([../config/largefile.m4])
m4_include([../config/lead-dot.m4])
m4_include([../config/plugins.m4])
-m4_include([gnulib/m4/00gnulib.m4])
-m4_include([gnulib/m4/extensions.m4])
-m4_include([gnulib/m4/gnulib-common.m4])
-m4_include([gnulib/m4/gnulib-comp.m4])
-m4_include([gnulib/m4/include_next.m4])
-m4_include([gnulib/m4/inttypes-pri.m4])
-m4_include([gnulib/m4/inttypes.m4])
-m4_include([gnulib/m4/longlong.m4])
-m4_include([gnulib/m4/memchr.m4])
-m4_include([gnulib/m4/memmem.m4])
-m4_include([gnulib/m4/mmap-anon.m4])
-m4_include([gnulib/m4/multiarch.m4])
-m4_include([gnulib/m4/onceonly.m4])
-m4_include([gnulib/m4/stddef_h.m4])
-m4_include([gnulib/m4/stdint.m4])
-m4_include([gnulib/m4/string_h.m4])
-m4_include([gnulib/m4/warn-on-use.m4])
-m4_include([gnulib/m4/wchar_t.m4])
+m4_include([gnulib/import/m4/00gnulib.m4])
+m4_include([gnulib/import/m4/extensions.m4])
+m4_include([gnulib/import/m4/gnulib-common.m4])
+m4_include([gnulib/import/m4/gnulib-comp.m4])
+m4_include([gnulib/import/m4/include_next.m4])
+m4_include([gnulib/import/m4/inttypes-pri.m4])
+m4_include([gnulib/import/m4/inttypes.m4])
+m4_include([gnulib/import/m4/longlong.m4])
+m4_include([gnulib/import/m4/memchr.m4])
+m4_include([gnulib/import/m4/memmem.m4])
+m4_include([gnulib/import/m4/mmap-anon.m4])
+m4_include([gnulib/import/m4/multiarch.m4])
+m4_include([gnulib/import/m4/onceonly.m4])
+m4_include([gnulib/import/m4/stddef_h.m4])
+m4_include([gnulib/import/m4/stdint.m4])
+m4_include([gnulib/import/m4/string_h.m4])
+m4_include([gnulib/import/m4/warn-on-use.m4])
+m4_include([gnulib/import/m4/wchar_t.m4])
m4_include([acinclude.m4])
gl_cond_libtool=false
gl_libdeps=
gl_ltlibdeps=
- gl_m4_base='gnulib/m4'
+ gl_m4_base='gnulib/import/m4'
- gl_source_base='gnulib'
+ gl_source_base='gnulib/import'
$as_echo "#define GDB_DEFAULT_HOST_CHARSET \"UTF-8\"" >>confdefs.h
-ac_config_files="$ac_config_files Makefile gdb-gdb.gdb doc/Makefile gnulib/Makefile data-directory/Makefile"
+ac_config_files="$ac_config_files Makefile gdb-gdb.gdb doc/Makefile gnulib/import/Makefile data-directory/Makefile"
ac_config_commands="$ac_config_commands default"
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"gdb-gdb.gdb") CONFIG_FILES="$CONFIG_FILES gdb-gdb.gdb" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- "gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/Makefile" ;;
+ "gnulib/import/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/import/Makefile" ;;
"data-directory/Makefile") CONFIG_FILES="$CONFIG_FILES data-directory/Makefile" ;;
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
AC_DEFINE(GDB_DEFAULT_HOST_CHARSET, "UTF-8",
[Define to be a string naming the default host character set.])
-AC_OUTPUT(Makefile gdb-gdb.gdb doc/Makefile gnulib/Makefile data-directory/Makefile,
+AC_OUTPUT(Makefile gdb-gdb.gdb doc/Makefile gnulib/import/Makefile data-directory/Makefile,
[
case x$CONFIG_HEADERS in
xconfig.h:config.in)
2012-04-19 Pedro Alves <palves@redhat.com>
+ * Makefile.in (LIBGNU, INCGNU): Adjust.
+ (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust.
+ (all, install-only, uninstall, clean-info, all-lib, clean)
+ (maintainer-clean, Makefile, gnulib/Makefile): Adjust.
+ * configure.ac: Adjust AC_OUTPUT output.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2012-04-19 Pedro Alves <palves@redhat.com>
+
* Makefile.in (generated_files): New.
(server_h): Remove the explicit dependency on config.h, and depend
on $generated_files.
ustinc = @ustinc@
# gnulib
-LIBGNU = gnulib/libgnu.a
-INCGNU = -I$(srcdir)/../gnulib -Ignulib
+LIBGNU = gnulib/import/libgnu.a
+INCGNU = -I$(srcdir)/../gnulib/import -Ignulib/import
# We build gnulib directly under the gdbserver build directory, but
# its sources don't live directly under gdbserver's source directory.
# Tweak $srcdir and VPATH to make that work.
GNULIB_FLAGS_TO_PASS = \
"top_srcdir=$(abs_top_srcdir)/.." \
- "srcdir=$(abs_srcdir)/../gnulib" \
- "VPATH=$(abs_top_srcdir)/../gnulib:$(abs_top_srcdir)"
+ "srcdir=$(abs_srcdir)/../gnulib/import" \
+ "VPATH=$(abs_top_srcdir)/../gnulib/import:$(abs_top_srcdir)"
# Generated headers in the gnulib directory. These must be listed
# so that they are generated before other files are compiled.
-GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
+GNULIB_H = gnulib/import/string.h @GNULIB_STDINT_H@
# All the includes used for CFLAGS and for lint.
# -I. for config files.
${CC} -c ${INTERNAL_CFLAGS} $<
all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
# Traditionally "install" depends on "all". But it may be useful
# not to; for example, if the user has made some trivial change to a
$(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT); \
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \
$(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) install
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) install
uninstall: force
n=`echo gdbserver | sed '$(program_transform_name)'`; \
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) uninstall
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) uninstall
installcheck:
check:
html:
install-html:
clean-info: force
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBGNU)
rm -f gdbserver$(EXEEXT)
$(LIBGNU) $(GDBSERVER_LIBS) $(XM_CLIBS)
$(LIBGNU) $(GNULIB_H): all-lib
-all-lib: gnulib/Makefile
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
+all-lib: gnulib/import/Makefile
+ @cd gnulib/import/; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
.PHONY: all-lib
rm -f i386-mmx.c i386-mmx-linux.c
rm -f x32.c x32-linux.c
rm -f x32-avx.c x32-avx-linux.c
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) clean
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) clean
maintainer-clean realclean distclean: clean
rm -f nm.h tm.h xm.h config.h stamp-h config.log
- @cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
+ @cd gnulib/import; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
rm -f Makefile config.status
config.h: stamp-h ; @true
Makefile: Makefile.in config.status
CONFIG_HEADERS="" $(SHELL) ./config.status
-gnulib/Makefile: $(srcdir)/../gnulib/Makefile.in config.status
+gnulib/import/Makefile: $(srcdir)/../gnulib/import/Makefile.in config.status
CONFIG_COMMANDS="depfiles" \
CONFIG_HEADERS= \
CONFIG_LINKS= \
- $(SHELL) config.status "gnulib/Makefile"
+ $(SHELL) config.status "gnulib/import/Makefile"
config.status: configure configure.srv
$(SHELL) ./config.status --recheck
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-m4_include([../gnulib/m4/00gnulib.m4])
-m4_include([../gnulib/m4/extensions.m4])
-m4_include([../gnulib/m4/gnulib-common.m4])
-m4_include([../gnulib/m4/gnulib-comp.m4])
-m4_include([../gnulib/m4/include_next.m4])
-m4_include([../gnulib/m4/inttypes-pri.m4])
-m4_include([../gnulib/m4/inttypes.m4])
-m4_include([../gnulib/m4/longlong.m4])
-m4_include([../gnulib/m4/memchr.m4])
-m4_include([../gnulib/m4/memmem.m4])
-m4_include([../gnulib/m4/mmap-anon.m4])
-m4_include([../gnulib/m4/multiarch.m4])
-m4_include([../gnulib/m4/onceonly.m4])
-m4_include([../gnulib/m4/stddef_h.m4])
-m4_include([../gnulib/m4/stdint.m4])
-m4_include([../gnulib/m4/string_h.m4])
-m4_include([../gnulib/m4/warn-on-use.m4])
-m4_include([../gnulib/m4/wchar_t.m4])
+m4_include([../gnulib/import/m4/00gnulib.m4])
+m4_include([../gnulib/import/m4/extensions.m4])
+m4_include([../gnulib/import/m4/gnulib-common.m4])
+m4_include([../gnulib/import/m4/gnulib-comp.m4])
+m4_include([../gnulib/import/m4/include_next.m4])
+m4_include([../gnulib/import/m4/inttypes-pri.m4])
+m4_include([../gnulib/import/m4/inttypes.m4])
+m4_include([../gnulib/import/m4/longlong.m4])
+m4_include([../gnulib/import/m4/memchr.m4])
+m4_include([../gnulib/import/m4/memmem.m4])
+m4_include([../gnulib/import/m4/mmap-anon.m4])
+m4_include([../gnulib/import/m4/multiarch.m4])
+m4_include([../gnulib/import/m4/onceonly.m4])
+m4_include([../gnulib/import/m4/stddef_h.m4])
+m4_include([../gnulib/import/m4/stdint.m4])
+m4_include([../gnulib/import/m4/string_h.m4])
+m4_include([../gnulib/import/m4/warn-on-use.m4])
+m4_include([../gnulib/import/m4/wchar_t.m4])
m4_include([acinclude.m4])
gl_cond_libtool=false
gl_libdeps=
gl_ltlibdeps=
- gl_m4_base='gnulib/m4'
+ gl_m4_base='gnulib/import/m4'
- gl_source_base='gnulib'
+ gl_source_base='gnulib/import'
fi
-ac_config_files="$ac_config_files Makefile gnulib/Makefile:${srcdir}/../gnulib/Makefile.in"
+ac_config_files="$ac_config_files Makefile gnulib/import/Makefile:${srcdir}/../gnulib/import/Makefile.in"
ac_config_commands="$ac_config_commands default"
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/Makefile:${srcdir}/../gnulib/Makefile.in" ;;
+ "gnulib/import/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/import/Makefile:${srcdir}/../gnulib/import/Makefile.in" ;;
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
fi
AC_SUBST(GNULIB_STDINT_H)
-AC_OUTPUT(Makefile gnulib/Makefile:${srcdir}/../gnulib/Makefile.in,
+AC_OUTPUT(Makefile gnulib/import/Makefile:${srcdir}/../gnulib/import/Makefile.in,
[case x$CONFIG_HEADERS in
xconfig.h:config.in)
echo > stamp-h ;;
# 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-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/import --m4-base=gnulib/import/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
AUTOMAKE_OPTIONS = 1.5 gnits
# 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.
-arg-nonnull.h: $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h
+arg-nonnull.h: $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/GL_ARG_NONNULL/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h \
> $@-t && \
mv $@-t $@
MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
ARG_NONNULL_H=arg-nonnull.h
-EXTRA_DIST += $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h
+EXTRA_DIST += $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h
## end gnulib module snippet/arg-nonnull
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.
-c++defs.h: $(top_srcdir)/gnulib/extra/snippet/c++defs.h
+c++defs.h: $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/_GL_CXXDEFS/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/c++defs.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h \
> $@-t && \
mv $@-t $@
MOSTLYCLEANFILES += c++defs.h c++defs.h-t
CXXDEFS_H=c++defs.h
-EXTRA_DIST += $(top_srcdir)/gnulib/extra/snippet/c++defs.h
+EXTRA_DIST += $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h
## end gnulib module snippet/c++defs
# 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.
-warn-on-use.h: $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h
+warn-on-use.h: $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/^.ifndef/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h \
> $@-t && \
mv $@-t $@
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
WARN_ON_USE_H=warn-on-use.h
-EXTRA_DIST += $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h
+EXTRA_DIST += $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h
## end gnulib module snippet/warn-on-use
## begin gnulib module update-copyright
-EXTRA_DIST += $(top_srcdir)/gnulib/extra/update-copyright
+EXTRA_DIST += $(top_srcdir)/gnulib/import/extra/update-copyright
## end gnulib module update-copyright
# 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-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/import --m4-base=gnulib/import/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
-subdir = gnulib
+subdir = gnulib/import
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../config/largefile.m4 \
$(top_srcdir)/../config/lead-dot.m4 \
$(top_srcdir)/../config/plugins.m4 \
- $(top_srcdir)/gnulib/m4/00gnulib.m4 \
- $(top_srcdir)/gnulib/m4/extensions.m4 \
- $(top_srcdir)/gnulib/m4/gnulib-common.m4 \
- $(top_srcdir)/gnulib/m4/gnulib-comp.m4 \
- $(top_srcdir)/gnulib/m4/include_next.m4 \
- $(top_srcdir)/gnulib/m4/inttypes-pri.m4 \
- $(top_srcdir)/gnulib/m4/inttypes.m4 \
- $(top_srcdir)/gnulib/m4/longlong.m4 \
- $(top_srcdir)/gnulib/m4/memchr.m4 \
- $(top_srcdir)/gnulib/m4/memmem.m4 \
- $(top_srcdir)/gnulib/m4/mmap-anon.m4 \
- $(top_srcdir)/gnulib/m4/multiarch.m4 \
- $(top_srcdir)/gnulib/m4/onceonly.m4 \
- $(top_srcdir)/gnulib/m4/stddef_h.m4 \
- $(top_srcdir)/gnulib/m4/stdint.m4 \
- $(top_srcdir)/gnulib/m4/string_h.m4 \
- $(top_srcdir)/gnulib/m4/warn-on-use.m4 \
- $(top_srcdir)/gnulib/m4/wchar_t.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/../bfd/bfd.m4 \
+ $(top_srcdir)/gnulib/import/m4/00gnulib.m4 \
+ $(top_srcdir)/gnulib/import/m4/extensions.m4 \
+ $(top_srcdir)/gnulib/import/m4/gnulib-common.m4 \
+ $(top_srcdir)/gnulib/import/m4/gnulib-comp.m4 \
+ $(top_srcdir)/gnulib/import/m4/include_next.m4 \
+ $(top_srcdir)/gnulib/import/m4/inttypes-pri.m4 \
+ $(top_srcdir)/gnulib/import/m4/inttypes.m4 \
+ $(top_srcdir)/gnulib/import/m4/longlong.m4 \
+ $(top_srcdir)/gnulib/import/m4/memchr.m4 \
+ $(top_srcdir)/gnulib/import/m4/memmem.m4 \
+ $(top_srcdir)/gnulib/import/m4/mmap-anon.m4 \
+ $(top_srcdir)/gnulib/import/m4/multiarch.m4 \
+ $(top_srcdir)/gnulib/import/m4/onceonly.m4 \
+ $(top_srcdir)/gnulib/import/m4/stddef_h.m4 \
+ $(top_srcdir)/gnulib/import/m4/stdint.m4 \
+ $(top_srcdir)/gnulib/import/m4/string_h.m4 \
+ $(top_srcdir)/gnulib/import/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/import/m4/wchar_t.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/../bfd/bfd.m4 \
$(top_srcdir)/../config/acinclude.m4 \
$(top_srcdir)/../config/override.m4 \
$(top_srcdir)/../config/gettext-sister.m4 \
noinst_LTLIBRARIES =
EXTRA_DIST = m4/gnulib-cache.m4 inttypes.in.h memchr.c memchr.valgrind \
memmem.c str-two-way.h \
- $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h \
- $(top_srcdir)/gnulib/extra/snippet/c++defs.h \
- $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h stddef.in.h \
- stdint.in.h string.in.h \
- $(top_srcdir)/gnulib/extra/update-copyright
+ $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h \
+ $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h \
+ $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h \
+ stddef.in.h stdint.in.h string.in.h \
+ $(top_srcdir)/gnulib/import/extra/update-copyright
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
# statements but through direct file reference. Therefore this snippet must be
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gnulib/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gnulib/import/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --gnits gnulib/Makefile
+ $(AUTOMAKE) --gnits gnulib/import/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
# 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.
-arg-nonnull.h: $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h
+arg-nonnull.h: $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/GL_ARG_NONNULL/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/arg-nonnull.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/arg-nonnull.h \
> $@-t && \
mv $@-t $@
# 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.
-c++defs.h: $(top_srcdir)/gnulib/extra/snippet/c++defs.h
+c++defs.h: $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/_GL_CXXDEFS/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/c++defs.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/c++defs.h \
> $@-t && \
mv $@-t $@
# 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.
-warn-on-use.h: $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h
+warn-on-use.h: $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h
$(AM_V_GEN)rm -f $@-t $@ && \
sed -n -e '/^.ifndef/,$$p' \
- < $(top_srcdir)/gnulib/extra/snippet/warn-on-use.h \
+ < $(top_srcdir)/gnulib/import/extra/snippet/warn-on-use.h \
> $@-t && \
mv $@-t $@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/import --m4-base=gnulib/import/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem update-copyright
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
update-copyright
])
gl_AVOID([])
-gl_SOURCE_BASE([gnulib])
-gl_M4_BASE([gnulib/m4])
+gl_SOURCE_BASE([gnulib/import])
+gl_M4_BASE([gnulib/import/m4])
gl_PO_BASE([])
gl_DOC_BASE([doc])
gl_TESTS_BASE([tests])
gl_cond_libtool=false
gl_libdeps=
gl_ltlibdeps=
- gl_m4_base='gnulib/m4'
+ gl_m4_base='gnulib/import/m4'
m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
m4_pushdef([gl_LIBSOURCES_LIST], [])
m4_pushdef([gl_LIBSOURCES_DIR], [])
gl_COMMON
- gl_source_base='gnulib'
+ gl_source_base='gnulib/import'
gl_INTTYPES_H
gl_INTTYPES_INCOMPLETE
gl_FUNC_MEMCHR
AC_DEFUN([gl_LIBSOURCES], [
m4_foreach([_gl_NAME], [$1], [
m4_if(_gl_NAME, [alloca.c], [], [
- m4_define([gl_LIBSOURCES_DIR], [gnulib])
+ m4_define([gl_LIBSOURCES_DIR], [gnulib/import])
m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
])
])