4460 lines
124 KiB
Makefile
4460 lines
124 KiB
Makefile
## DO NOT EDIT! GENERATED AUTOMATICALLY!
|
|
## Process this file with automake to produce Makefile.in.
|
|
# Copyright (C) 2002-2026 Free Software Foundation, Inc.
|
|
#
|
|
# 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 <https://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
|
|
# the same distribution terms as the rest of that program.
|
|
#
|
|
# Generated by gnulib-tool.
|
|
|
|
AUTOMAKE_OPTIONS = 1.14 foreign subdir-objects
|
|
|
|
SUBDIRS = .
|
|
TESTS =
|
|
XFAIL_TESTS =
|
|
TESTS_ENVIRONMENT =
|
|
noinst_PROGRAMS =
|
|
check_PROGRAMS =
|
|
EXTRA_PROGRAMS =
|
|
noinst_HEADERS =
|
|
noinst_LIBRARIES =
|
|
check_LIBRARIES = libtests.a
|
|
pkgdata_DATA =
|
|
EXTRA_DIST =
|
|
BUILT_SOURCES =
|
|
SUFFIXES =
|
|
MOSTLYCLEANFILES = core *.stackdump
|
|
MOSTLYCLEANDIRS =
|
|
CLEANFILES =
|
|
DISTCLEANFILES =
|
|
MAINTAINERCLEANFILES =
|
|
|
|
AM_CFLAGS += @GL_CFLAG_ALLOW_WARNINGS@ $(GL_CFLAG_GNULIB_WARNINGS)
|
|
AM_CXXFLAGS += @GL_CXXFLAG_ALLOW_WARNINGS@
|
|
|
|
CFLAGS = @GL_CFLAG_ALLOW_WARNINGS@ $(GL_CFLAG_GNULIB_WARNINGS) @CFLAGS@
|
|
CXXFLAGS = @GL_CXXFLAG_ALLOW_WARNINGS@ @CXXFLAGS@
|
|
|
|
AM_CPPFLAGS = \
|
|
-D@M4tests_WITNESS@=1 \
|
|
-I. -I$(srcdir) \
|
|
-I.. -I$(srcdir)/.. \
|
|
-I../lib -I$(srcdir)/../lib
|
|
|
|
LDADD = libtests.a ../lib/libm4.a libtests.a ../lib/libm4.a libtests.a $(LIBTESTS_LIBDEPS)
|
|
|
|
libtests_a_SOURCES =
|
|
libtests_a_LIBADD = $(M4tests_LIBOBJS)
|
|
libtests_a_DEPENDENCIES = $(M4tests_LIBOBJS)
|
|
EXTRA_libtests_a_SOURCES =
|
|
AM_LIBTOOLFLAGS = --preserve-dup-deps
|
|
|
|
TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
|
|
IGNORE_SKIPPED_LOGS = 1
|
|
|
|
## begin gnulib module accept
|
|
|
|
if GL_COND_OBJ_ACCEPT
|
|
libtests_a_SOURCES += accept.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module accept
|
|
|
|
## begin gnulib module accept-tests
|
|
|
|
TESTS += test-accept
|
|
check_PROGRAMS += test-accept
|
|
test_accept_LDADD = $(LDADD) @LIBSOCKET@
|
|
EXTRA_DIST += test-accept.c signature.h macros.h
|
|
|
|
## end gnulib module accept-tests
|
|
|
|
## begin gnulib module access-tests
|
|
|
|
TESTS += test-access
|
|
check_PROGRAMS += test-access
|
|
EXTRA_DIST += test-access.c test-access.h signature.h macros.h
|
|
|
|
## end gnulib module access-tests
|
|
|
|
## begin gnulib module alignasof-tests
|
|
|
|
TESTS += test-alignasof
|
|
check_PROGRAMS += test-alignasof
|
|
EXTRA_DIST += test-alignasof.c macros.h
|
|
|
|
## end gnulib module alignasof-tests
|
|
|
|
## begin gnulib module all-shells-tests
|
|
|
|
TESTS_ENVIRONMENT += \
|
|
abs_aux_dir='$(abs_aux_dir)' \
|
|
abs_srcdir='$(abs_srcdir)'
|
|
EXTRA_DIST += test-all-shells.sh
|
|
|
|
## end gnulib module all-shells-tests
|
|
|
|
## begin gnulib module alloca
|
|
|
|
|
|
libtests_a_LIBADD += @ALLOCA@
|
|
libtests_a_DEPENDENCIES += @ALLOCA@
|
|
EXTRA_DIST += alloca.c
|
|
|
|
EXTRA_libtests_a_SOURCES += alloca.c
|
|
|
|
## end gnulib module alloca
|
|
|
|
## begin gnulib module alloca-opt-tests
|
|
|
|
TESTS += test-alloca-opt
|
|
check_PROGRAMS += test-alloca-opt
|
|
|
|
EXTRA_DIST += test-alloca-opt.c
|
|
|
|
## end gnulib module alloca-opt-tests
|
|
|
|
## begin gnulib module arpa_inet-h
|
|
|
|
BUILT_SOURCES += arpa/inet.h
|
|
libtests_a_SOURCES += arpa_inet.c
|
|
|
|
# We need the following in order to create <arpa/inet.h> when the system
|
|
# doesn't have one.
|
|
arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
|
|
-e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
|
|
-e 's/@''GNULIB_INET_NTOP''@/$(GL_M4_GNULIB_INET_NTOP)/g' \
|
|
-e 's/@''GNULIB_INET_PTON''@/$(GL_M4_GNULIB_INET_PTON)/g' \
|
|
-e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
|
|
-e 's|@''HAVE_DECL_HTONL''@|$(HAVE_DECL_HTONL)|g' \
|
|
-e 's|@''HAVE_DECL_HTONS''@|$(HAVE_DECL_HTONS)|g' \
|
|
-e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
|
|
-e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
|
|
-e 's|@''HAVE_DECL_NTOHL''@|$(HAVE_DECL_NTOHL)|g' \
|
|
-e 's|@''HAVE_DECL_NTOHS''@|$(HAVE_DECL_NTOHS)|g' \
|
|
-e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
|
|
-e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|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)' \
|
|
$(srcdir)/arpa_inet.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
|
|
MOSTLYCLEANDIRS += arpa
|
|
|
|
EXTRA_DIST += arpa_inet.in.h
|
|
|
|
## end gnulib module arpa_inet-h
|
|
|
|
## begin gnulib module arpa_inet-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-arpa_inet-h-c++
|
|
check_PROGRAMS += test-arpa_inet-h-c++
|
|
test_arpa_inet_h_c___SOURCES = test-arpa_inet-h-c++.cc
|
|
test_arpa_inet_h_c___LDADD = $(LDADD) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET)
|
|
endif
|
|
EXTRA_DIST += test-arpa_inet-h-c++.cc signature.h
|
|
|
|
## end gnulib module arpa_inet-h-c++-tests
|
|
|
|
## begin gnulib module arpa_inet-h-tests
|
|
|
|
TESTS += test-arpa_inet-h
|
|
check_PROGRAMS += test-arpa_inet-h
|
|
EXTRA_DIST += test-arpa_inet-h.c
|
|
|
|
## end gnulib module arpa_inet-h-tests
|
|
|
|
## begin gnulib module array-list
|
|
|
|
libtests_a_SOURCES += gl_array_list.h gl_array_list.c
|
|
|
|
## end gnulib module array-list
|
|
|
|
## begin gnulib module array-list-tests
|
|
|
|
TESTS += test-array_list
|
|
check_PROGRAMS += test-array_list
|
|
|
|
EXTRA_DIST += test-array_list.c macros.h
|
|
|
|
## end gnulib module array-list-tests
|
|
|
|
## begin gnulib module array-oset
|
|
|
|
libtests_a_SOURCES += gl_array_oset.h gl_array_oset.c
|
|
|
|
## end gnulib module array-oset
|
|
|
|
## begin gnulib module array-oset-tests
|
|
|
|
TESTS += test-array_oset
|
|
check_PROGRAMS += test-array_oset
|
|
test_array_oset_LDADD = $(LDADD) @LIBINTL@
|
|
|
|
EXTRA_DIST += test-array_oset.c test-oset-update.h macros.h
|
|
|
|
## end gnulib module array-oset-tests
|
|
|
|
## begin gnulib module assert-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-assert-h-c++
|
|
check_PROGRAMS += test-assert-h-c++
|
|
test_assert_h_c___SOURCES = test-assert-h-c++.cc test-assert-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-assert-h-c++.cc test-assert-h-c++2.cc
|
|
|
|
## end gnulib module assert-h-c++-tests
|
|
|
|
## begin gnulib module assert-h-tests
|
|
|
|
TESTS += test-assert
|
|
check_PROGRAMS += test-assert
|
|
EXTRA_DIST += test-assert.c
|
|
|
|
## end gnulib module assert-h-tests
|
|
|
|
## begin gnulib module asyncsafe-spin-tests
|
|
|
|
TESTS += test-asyncsafe-spin1 test-asyncsafe-spin2
|
|
check_PROGRAMS += test-asyncsafe-spin1 test-asyncsafe-spin2
|
|
test_asyncsafe_spin2_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@
|
|
EXTRA_DIST += test-asyncsafe-spin1.c test-asyncsafe-spin2.c atomic-int-gnulib.h
|
|
|
|
## end gnulib module asyncsafe-spin-tests
|
|
|
|
## begin gnulib module avltree-oset-tests
|
|
|
|
TESTS += test-avltree_oset
|
|
check_PROGRAMS += test-avltree_oset
|
|
EXTRA_DIST += test-avltree_oset.c test-oset-update.h macros.h
|
|
|
|
## end gnulib module avltree-oset-tests
|
|
|
|
## begin gnulib module binary-io-tests
|
|
|
|
TESTS += test-binary-io.sh
|
|
check_PROGRAMS += test-binary-io
|
|
|
|
EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
|
|
|
|
## end gnulib module binary-io-tests
|
|
|
|
## begin gnulib module bind
|
|
|
|
if GL_COND_OBJ_BIND
|
|
libtests_a_SOURCES += bind.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module bind
|
|
|
|
## begin gnulib module bind-tests
|
|
|
|
TESTS += test-bind
|
|
check_PROGRAMS += test-bind
|
|
test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
|
|
test_bind_LDFLAGS = $(LDFLAGS) @LIBSOCKET@ $(INET_PTON_LIB)
|
|
EXTRA_DIST += test-bind.c signature.h macros.h
|
|
|
|
## end gnulib module bind-tests
|
|
|
|
## begin gnulib module bitrotate-tests
|
|
|
|
TESTS += test-bitrotate
|
|
check_PROGRAMS += test-bitrotate
|
|
EXTRA_DIST += test-bitrotate.c macros.h
|
|
|
|
## end gnulib module bitrotate-tests
|
|
|
|
## begin gnulib module bool-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-bool-c++
|
|
check_PROGRAMS += test-bool-c++
|
|
test_bool_c___SOURCES = test-bool-c++.cc test-bool-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-bool-c++.cc test-bool-c++2.cc
|
|
|
|
## end gnulib module bool-c++-tests
|
|
|
|
## begin gnulib module bool-tests
|
|
|
|
TESTS += test-bool
|
|
check_PROGRAMS += test-bool
|
|
EXTRA_DIST += test-bool.c
|
|
|
|
## end gnulib module bool-tests
|
|
|
|
## begin gnulib module btoc32
|
|
|
|
libtests_a_SOURCES += btoc32.c
|
|
|
|
## end gnulib module btoc32
|
|
|
|
## begin gnulib module btoc32-tests
|
|
|
|
TESTS += test-btoc32-1.sh test-btoc32-2.sh test-btoc32-3.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-btoc32
|
|
test_btoc32_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-btoc32-1.sh test-btoc32-2.sh test-btoc32-3.sh test-btoc32.c signature.h macros.h
|
|
|
|
## end gnulib module btoc32-tests
|
|
|
|
## begin gnulib module btowc-tests
|
|
|
|
TESTS += test-btowc-1.sh test-btowc-2.sh test-btowc-3.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-btowc
|
|
test_btowc_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-btowc-1.sh test-btowc-2.sh test-btowc-3.sh test-btowc.c signature.h macros.h
|
|
|
|
## end gnulib module btowc-tests
|
|
|
|
## begin gnulib module c-ctype-tests
|
|
|
|
TESTS += test-c-ctype
|
|
check_PROGRAMS += test-c-ctype
|
|
test_c_ctype_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-c-ctype.c macros.h
|
|
|
|
## end gnulib module c-ctype-tests
|
|
|
|
## begin gnulib module c-stack-tests
|
|
|
|
TESTS += test-c-stack.sh test-c-stack2.sh
|
|
TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@'
|
|
check_PROGRAMS += test-c-stack
|
|
test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@
|
|
MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp
|
|
EXTRA_DIST += test-c-stack.c test-c-stack.sh test-c-stack2.sh macros.h
|
|
|
|
## end gnulib module c-stack-tests
|
|
|
|
## begin gnulib module c-strcasecmp-tests
|
|
|
|
TESTS += test-c-strcasecmp.sh
|
|
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
|
|
check_PROGRAMS += test-c-strcasecmp
|
|
test_c_strcasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-c-strcasecmp.sh test-c-strcasecmp.c macros.h
|
|
|
|
## end gnulib module c-strcasecmp-tests
|
|
|
|
## begin gnulib module c-strcasestr
|
|
|
|
libtests_a_SOURCES += c-strcasestr.h c-strcasestr.c
|
|
|
|
EXTRA_DIST += str-two-way.h
|
|
|
|
## end gnulib module c-strcasestr
|
|
|
|
## begin gnulib module c-strcasestr-tests
|
|
|
|
TESTS += test-c-strcasestr
|
|
check_PROGRAMS += test-c-strcasestr
|
|
|
|
EXTRA_DIST += test-c-strcasestr.c macros.h
|
|
|
|
## end gnulib module c-strcasestr-tests
|
|
|
|
## begin gnulib module c-strncasecmp
|
|
|
|
libtests_a_SOURCES += c-strncasecmp.c
|
|
|
|
EXTRA_DIST += c-strcase.h
|
|
|
|
## end gnulib module c-strncasecmp
|
|
|
|
## begin gnulib module c-strncasecmp-tests
|
|
|
|
TESTS += test-c-strncasecmp.sh
|
|
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
|
|
check_PROGRAMS += test-c-strncasecmp
|
|
test_c_strncasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-c-strncasecmp.sh test-c-strncasecmp.c macros.h
|
|
|
|
## end gnulib module c-strncasecmp-tests
|
|
|
|
## begin gnulib module c32isalnum-tests
|
|
|
|
TESTS += test-c32isalnum.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isalnum
|
|
test_c32isalnum_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isalnum.sh test-c32isalnum.c signature.h macros.h
|
|
|
|
## end gnulib module c32isalnum-tests
|
|
|
|
## begin gnulib module c32isalpha-tests
|
|
|
|
TESTS += test-c32isalpha.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isalpha
|
|
test_c32isalpha_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isalpha.sh test-c32isalpha.c signature.h macros.h
|
|
|
|
## end gnulib module c32isalpha-tests
|
|
|
|
## begin gnulib module c32isblank-tests
|
|
|
|
TESTS += test-c32isblank.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isblank
|
|
test_c32isblank_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isblank.sh test-c32isblank.c signature.h macros.h
|
|
|
|
## end gnulib module c32isblank-tests
|
|
|
|
## begin gnulib module c32iscntrl-tests
|
|
|
|
TESTS += test-c32iscntrl.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32iscntrl
|
|
test_c32iscntrl_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32iscntrl.sh test-c32iscntrl.c signature.h macros.h
|
|
|
|
## end gnulib module c32iscntrl-tests
|
|
|
|
## begin gnulib module c32isdigit-tests
|
|
|
|
TESTS += test-c32isdigit.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isdigit
|
|
test_c32isdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isdigit.sh test-c32isdigit.c signature.h macros.h
|
|
|
|
## end gnulib module c32isdigit-tests
|
|
|
|
## begin gnulib module c32isgraph-tests
|
|
|
|
TESTS += test-c32isgraph.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isgraph
|
|
test_c32isgraph_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isgraph.sh test-c32isgraph.c signature.h macros.h
|
|
|
|
## end gnulib module c32isgraph-tests
|
|
|
|
## begin gnulib module c32islower-tests
|
|
|
|
TESTS += test-c32islower.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32islower
|
|
test_c32islower_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32islower.sh test-c32islower.c signature.h macros.h
|
|
|
|
## end gnulib module c32islower-tests
|
|
|
|
## begin gnulib module c32isprint-tests
|
|
|
|
TESTS += test-c32isprint.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isprint
|
|
test_c32isprint_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isprint.sh test-c32isprint.c signature.h macros.h
|
|
|
|
## end gnulib module c32isprint-tests
|
|
|
|
## begin gnulib module c32ispunct-tests
|
|
|
|
TESTS += test-c32ispunct.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32ispunct
|
|
test_c32ispunct_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32ispunct.sh test-c32ispunct.c signature.h macros.h
|
|
|
|
## end gnulib module c32ispunct-tests
|
|
|
|
## begin gnulib module c32isspace-tests
|
|
|
|
TESTS += test-c32isspace.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isspace
|
|
test_c32isspace_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isspace.sh test-c32isspace.c signature.h macros.h
|
|
|
|
## end gnulib module c32isspace-tests
|
|
|
|
## begin gnulib module c32isupper-tests
|
|
|
|
TESTS += test-c32isupper.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isupper
|
|
test_c32isupper_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isupper.sh test-c32isupper.c signature.h macros.h
|
|
|
|
## end gnulib module c32isupper-tests
|
|
|
|
## begin gnulib module c32isxdigit-tests
|
|
|
|
TESTS += test-c32isxdigit.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32isxdigit
|
|
test_c32isxdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32isxdigit.sh test-c32isxdigit.c signature.h macros.h
|
|
|
|
## end gnulib module c32isxdigit-tests
|
|
|
|
## begin gnulib module c32rtomb
|
|
|
|
if GL_COND_OBJ_C32RTOMB
|
|
libtests_a_SOURCES += c32rtomb.c
|
|
endif
|
|
|
|
## end gnulib module c32rtomb
|
|
|
|
## begin gnulib module c32rtomb-tests
|
|
|
|
TESTS += \
|
|
test-c32rtomb.sh \
|
|
test-c32rtomb-w32-2.sh test-c32rtomb-w32-3.sh test-c32rtomb-w32-4.sh \
|
|
test-c32rtomb-w32-5.sh test-c32rtomb-w32-6.sh test-c32rtomb-w32-7.sh \
|
|
test-c32rtomb-w32-8.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32rtomb test-c32rtomb-w32
|
|
test_c32rtomb_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32rtomb.sh test-c32rtomb.c test-c32rtomb-w32-2.sh test-c32rtomb-w32-3.sh test-c32rtomb-w32-4.sh test-c32rtomb-w32-5.sh test-c32rtomb-w32-6.sh test-c32rtomb-w32-7.sh test-c32rtomb-w32-8.sh test-c32rtomb-w32.c signature.h macros.h
|
|
|
|
## end gnulib module c32rtomb-tests
|
|
|
|
## begin gnulib module c32tob
|
|
|
|
libtests_a_SOURCES += c32tob.c
|
|
|
|
## end gnulib module c32tob
|
|
|
|
## begin gnulib module c32tolower-tests
|
|
|
|
TESTS += test-c32tolower.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-c32tolower
|
|
test_c32tolower_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32tolower.sh test-c32tolower.c signature.h macros.h
|
|
|
|
## end gnulib module c32tolower-tests
|
|
|
|
## begin gnulib module c32width-tests
|
|
|
|
TESTS += test-c32width
|
|
check_PROGRAMS += test-c32width
|
|
test_c32width_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(LIBC32CONV)
|
|
EXTRA_DIST += test-c32width.c signature.h macros.h
|
|
|
|
## end gnulib module c32width-tests
|
|
|
|
## begin gnulib module calloc-gnu-tests
|
|
|
|
TESTS += test-calloc-gnu
|
|
check_PROGRAMS += test-calloc-gnu
|
|
EXTRA_DIST += test-calloc-gnu.c macros.h
|
|
|
|
## end gnulib module calloc-gnu-tests
|
|
|
|
## begin gnulib module calloc-posix-tests
|
|
|
|
TESTS += test-calloc-posix
|
|
check_PROGRAMS += test-calloc-posix
|
|
EXTRA_DIST += test-calloc-posix.c macros.h
|
|
|
|
## end gnulib module calloc-posix-tests
|
|
|
|
## begin gnulib module canonicalize-lgpl-tests
|
|
|
|
TESTS += test-canonicalize-lgpl
|
|
check_PROGRAMS += test-canonicalize-lgpl
|
|
test_canonicalize_lgpl_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-canonicalize-lgpl.c signature.h null-ptr.h macros.h
|
|
|
|
## end gnulib module canonicalize-lgpl-tests
|
|
|
|
## begin gnulib module canonicalize-tests
|
|
|
|
TESTS += test-canonicalize
|
|
check_PROGRAMS += test-canonicalize
|
|
test_canonicalize_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-canonicalize.c null-ptr.h macros.h
|
|
|
|
## end gnulib module canonicalize-tests
|
|
|
|
## begin gnulib module chdir-tests
|
|
|
|
TESTS += test-chdir
|
|
check_PROGRAMS += test-chdir
|
|
EXTRA_DIST += test-chdir.c signature.h macros.h
|
|
|
|
## end gnulib module chdir-tests
|
|
|
|
## begin gnulib module cloexec-tests
|
|
|
|
TESTS += test-cloexec
|
|
check_PROGRAMS += test-cloexec
|
|
EXTRA_DIST += test-cloexec.c macros.h
|
|
|
|
## end gnulib module cloexec-tests
|
|
|
|
## begin gnulib module close-tests
|
|
|
|
TESTS += test-close
|
|
check_PROGRAMS += test-close
|
|
EXTRA_DIST += test-close.c signature.h macros.h
|
|
|
|
## end gnulib module close-tests
|
|
|
|
## begin gnulib module closein-tests
|
|
|
|
TESTS += test-closein.sh
|
|
check_PROGRAMS += test-closein
|
|
test_closein_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-closein.sh test-closein.c
|
|
|
|
## end gnulib module closein-tests
|
|
|
|
## begin gnulib module connect
|
|
|
|
if GL_COND_OBJ_CONNECT
|
|
libtests_a_SOURCES += connect.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module connect
|
|
|
|
## begin gnulib module connect-tests
|
|
|
|
TESTS += test-connect
|
|
check_PROGRAMS += test-connect
|
|
test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
|
|
EXTRA_DIST += test-connect.c signature.h macros.h
|
|
|
|
## end gnulib module connect-tests
|
|
|
|
## begin gnulib module creat
|
|
|
|
if GL_COND_OBJ_CREAT
|
|
libtests_a_SOURCES += creat.c
|
|
endif
|
|
|
|
## end gnulib module creat
|
|
|
|
## begin gnulib module creat-tests
|
|
|
|
TESTS += test-creat
|
|
check_PROGRAMS += test-creat
|
|
EXTRA_DIST += test-creat.c signature.h macros.h
|
|
|
|
## end gnulib module creat-tests
|
|
|
|
## begin gnulib module ctype-h
|
|
|
|
BUILT_SOURCES += ctype.h
|
|
|
|
# We need the following in order to create <ctype.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
|
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
|
|
-e 's/@''GNULIB_ISALNUM_L''@/$(GL_M4_GNULIB_ISALNUM_L)/g' \
|
|
-e 's/@''GNULIB_ISALPHA_L''@/$(GL_M4_GNULIB_ISALPHA_L)/g' \
|
|
-e 's/@''GNULIB_ISBLANK''@/$(GL_M4_GNULIB_ISBLANK)/g' \
|
|
-e 's/@''GNULIB_ISBLANK_L''@/$(GL_M4_GNULIB_ISBLANK_L)/g' \
|
|
-e 's/@''GNULIB_ISCNTRL_L''@/$(GL_M4_GNULIB_ISCNTRL_L)/g' \
|
|
-e 's/@''GNULIB_ISDIGIT_L''@/$(GL_M4_GNULIB_ISDIGIT_L)/g' \
|
|
-e 's/@''GNULIB_ISGRAPH_L''@/$(GL_M4_GNULIB_ISGRAPH_L)/g' \
|
|
-e 's/@''GNULIB_ISLOWER_L''@/$(GL_M4_GNULIB_ISLOWER_L)/g' \
|
|
-e 's/@''GNULIB_ISPRINT_L''@/$(GL_M4_GNULIB_ISPRINT_L)/g' \
|
|
-e 's/@''GNULIB_ISPUNCT_L''@/$(GL_M4_GNULIB_ISPUNCT_L)/g' \
|
|
-e 's/@''GNULIB_ISSPACE_L''@/$(GL_M4_GNULIB_ISSPACE_L)/g' \
|
|
-e 's/@''GNULIB_ISUPPER_L''@/$(GL_M4_GNULIB_ISUPPER_L)/g' \
|
|
-e 's/@''GNULIB_ISXDIGIT_L''@/$(GL_M4_GNULIB_ISXDIGIT_L)/g' \
|
|
-e 's/@''GNULIB_TOLOWER_L''@/$(GL_M4_GNULIB_TOLOWER_L)/g' \
|
|
-e 's/@''GNULIB_TOUPPER_L''@/$(GL_M4_GNULIB_TOUPPER_L)/g' \
|
|
-e 's/@''HAVE_ISALNUM_L''@/$(HAVE_ISALNUM_L)/g' \
|
|
-e 's/@''HAVE_ISALPHA_L''@/$(HAVE_ISALPHA_L)/g' \
|
|
-e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
|
|
-e 's/@''HAVE_ISBLANK_L''@/$(HAVE_ISBLANK_L)/g' \
|
|
-e 's/@''HAVE_ISCNTRL_L''@/$(HAVE_ISCNTRL_L)/g' \
|
|
-e 's/@''HAVE_ISDIGIT_L''@/$(HAVE_ISDIGIT_L)/g' \
|
|
-e 's/@''HAVE_ISGRAPH_L''@/$(HAVE_ISGRAPH_L)/g' \
|
|
-e 's/@''HAVE_ISLOWER_L''@/$(HAVE_ISLOWER_L)/g' \
|
|
-e 's/@''HAVE_ISPRINT_L''@/$(HAVE_ISPRINT_L)/g' \
|
|
-e 's/@''HAVE_ISPUNCT_L''@/$(HAVE_ISPUNCT_L)/g' \
|
|
-e 's/@''HAVE_ISSPACE_L''@/$(HAVE_ISSPACE_L)/g' \
|
|
-e 's/@''HAVE_ISUPPER_L''@/$(HAVE_ISUPPER_L)/g' \
|
|
-e 's/@''HAVE_ISXDIGIT_L''@/$(HAVE_ISXDIGIT_L)/g' \
|
|
-e 's/@''HAVE_TOLOWER_L''@/$(HAVE_TOLOWER_L)/g' \
|
|
-e 's/@''HAVE_TOUPPER_L''@/$(HAVE_TOUPPER_L)/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)' \
|
|
$(srcdir)/ctype.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += ctype.h ctype.h-t
|
|
|
|
EXTRA_DIST += ctype.in.h
|
|
|
|
## end gnulib module ctype-h
|
|
|
|
## begin gnulib module ctype-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-ctype-h-c++
|
|
check_PROGRAMS += test-ctype-h-c++
|
|
test_ctype_h_c___SOURCES = test-ctype-h-c++.cc test-ctype-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-ctype-h-c++.cc test-ctype-h-c++2.cc signature.h
|
|
|
|
## end gnulib module ctype-h-c++-tests
|
|
|
|
## begin gnulib module ctype-h-tests
|
|
|
|
TESTS += test-ctype-h
|
|
check_PROGRAMS += test-ctype-h
|
|
EXTRA_DIST += test-ctype-h.c
|
|
|
|
## end gnulib module ctype-h-tests
|
|
|
|
## begin gnulib module dirent-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-dirent-h-c++
|
|
check_PROGRAMS += test-dirent-h-c++
|
|
test_dirent_h_c___SOURCES = test-dirent-h-c++.cc
|
|
test_dirent_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-dirent-h-c++.cc signature.h
|
|
|
|
## end gnulib module dirent-h-c++-tests
|
|
|
|
## begin gnulib module dirent-h-tests
|
|
|
|
TESTS += test-dirent-h
|
|
check_PROGRAMS += test-dirent-h
|
|
EXTRA_DIST += test-dirent-h.c
|
|
|
|
## end gnulib module dirent-h-tests
|
|
|
|
## begin gnulib module dirfd-tests
|
|
|
|
TESTS += test-dirfd
|
|
check_PROGRAMS += test-dirfd
|
|
EXTRA_DIST += test-dirfd.c macros.h
|
|
|
|
## end gnulib module dirfd-tests
|
|
|
|
## begin gnulib module dirname-tests
|
|
|
|
TESTS += test-dirname
|
|
check_PROGRAMS += test-dirname
|
|
test_dirname_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-dirname.c
|
|
|
|
## end gnulib module dirname-tests
|
|
|
|
## begin gnulib module dup-tests
|
|
|
|
TESTS += test-dup
|
|
check_PROGRAMS += test-dup
|
|
EXTRA_DIST += test-dup.c signature.h macros.h
|
|
|
|
## end gnulib module dup-tests
|
|
|
|
## begin gnulib module dup2-tests
|
|
|
|
TESTS += test-dup2
|
|
check_PROGRAMS += test-dup2
|
|
EXTRA_DIST += test-dup2.c signature.h macros.h
|
|
|
|
## end gnulib module dup2-tests
|
|
|
|
## begin gnulib module environ-tests
|
|
|
|
TESTS += test-environ
|
|
check_PROGRAMS += test-environ
|
|
|
|
EXTRA_DIST += test-environ.c
|
|
|
|
## end gnulib module environ-tests
|
|
|
|
## begin gnulib module errno-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-errno-h-c++
|
|
check_PROGRAMS += test-errno-h-c++
|
|
test_errno_h_c___SOURCES = test-errno-h-c++.cc test-errno-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-errno-h-c++.cc test-errno-h-c++2.cc
|
|
|
|
## end gnulib module errno-h-c++-tests
|
|
|
|
## begin gnulib module errno-h-tests
|
|
|
|
TESTS += test-errno-h
|
|
check_PROGRAMS += test-errno-h
|
|
EXTRA_DIST += test-errno-h.c
|
|
|
|
## end gnulib module errno-h-tests
|
|
|
|
## begin gnulib module error-tests
|
|
|
|
TESTS += test-error.sh
|
|
check_PROGRAMS += test-error
|
|
test_error_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-error.sh test-error.c macros.h
|
|
|
|
## end gnulib module error-tests
|
|
|
|
## begin gnulib module execute-tests
|
|
|
|
TESTS += test-execute.sh
|
|
check_PROGRAMS += test-execute-main test-execute-child
|
|
test_execute_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
|
|
# The test-execute-child program must be a real executable, not a libtool
|
|
# wrapper script, and should link against as few libraries as possible.
|
|
# Therefore don't link it against any libraries other than -lc.
|
|
test_execute_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
test_execute_child_LDADD =
|
|
|
|
TESTS += test-execute-script
|
|
check_PROGRAMS += test-execute-script
|
|
test_execute_script_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
|
|
test_execute_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"
|
|
EXTRA_DIST += test-execute.sh test-execute-main.c test-execute-child.c test-execute-script.c executable-script executable-script.sh executable-shell-script qemu.h macros.h
|
|
|
|
## end gnulib module execute-tests
|
|
|
|
## begin gnulib module fchdir-tests
|
|
|
|
TESTS += test-fchdir
|
|
check_PROGRAMS += test-fchdir
|
|
test_fchdir_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-fchdir.c signature.h macros.h
|
|
|
|
## end gnulib module fchdir-tests
|
|
|
|
## begin gnulib module fclose-tests
|
|
|
|
TESTS += test-fclose
|
|
check_PROGRAMS += test-fclose
|
|
EXTRA_DIST += test-fclose.c macros.h
|
|
|
|
## end gnulib module fclose-tests
|
|
|
|
## begin gnulib module fcntl-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-fcntl-h-c++
|
|
check_PROGRAMS += test-fcntl-h-c++
|
|
test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc
|
|
test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN) $(LIBSOCKET)
|
|
endif
|
|
EXTRA_DIST += test-fcntl-h-c++.cc signature.h
|
|
|
|
## end gnulib module fcntl-h-c++-tests
|
|
|
|
## begin gnulib module fcntl-h-tests
|
|
|
|
TESTS += test-fcntl-h
|
|
check_PROGRAMS += test-fcntl-h
|
|
EXTRA_DIST += test-fcntl-h.c
|
|
|
|
## end gnulib module fcntl-h-tests
|
|
|
|
## begin gnulib module fcntl-tests
|
|
|
|
TESTS += test-fcntl
|
|
check_PROGRAMS += test-fcntl
|
|
EXTRA_DIST += test-fcntl.c signature.h macros.h
|
|
|
|
## end gnulib module fcntl-tests
|
|
|
|
## begin gnulib module fdopen
|
|
|
|
if GL_COND_OBJ_FDOPEN
|
|
libtests_a_SOURCES += fdopen.c
|
|
endif
|
|
|
|
## end gnulib module fdopen
|
|
|
|
## begin gnulib module fdopen-tests
|
|
|
|
TESTS += test-fdopen
|
|
check_PROGRAMS += test-fdopen
|
|
EXTRA_DIST += test-fdopen.c signature.h macros.h
|
|
|
|
## end gnulib module fdopen-tests
|
|
|
|
## begin gnulib module fdopendir-tests
|
|
|
|
TESTS += test-fdopendir
|
|
check_PROGRAMS += test-fdopendir
|
|
test_fdopendir_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-fdopendir.c signature.h macros.h
|
|
|
|
## end gnulib module fdopendir-tests
|
|
|
|
## begin gnulib module fflush-tests
|
|
|
|
TESTS += test-fflush test-fflush2.sh
|
|
check_PROGRAMS += test-fflush test-fflush2
|
|
MOSTLYCLEANFILES += test-fflush.txt
|
|
EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h
|
|
|
|
## end gnulib module fflush-tests
|
|
|
|
## begin gnulib module fgetc-tests
|
|
|
|
TESTS += test-fgetc
|
|
check_PROGRAMS += test-fgetc
|
|
EXTRA_DIST += test-fgetc.c signature.h macros.h
|
|
|
|
## end gnulib module fgetc-tests
|
|
|
|
## begin gnulib module filenamecat-tests
|
|
|
|
TESTS += test-filenamecat
|
|
check_PROGRAMS += test-filenamecat
|
|
test_filenamecat_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-filenamecat.c
|
|
|
|
## end gnulib module filenamecat-tests
|
|
|
|
## begin gnulib module findprog
|
|
|
|
libtests_a_SOURCES += findprog.h findprog.c
|
|
|
|
## end gnulib module findprog
|
|
|
|
## begin gnulib module float-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-float-h-c++
|
|
check_PROGRAMS += test-float-h-c++
|
|
test_float_h_c___SOURCES = test-float-h-c++.cc test-float-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-float-h-c++.cc test-float-h-c++2.cc
|
|
|
|
## end gnulib module float-h-c++-tests
|
|
|
|
## begin gnulib module float-h-tests
|
|
|
|
TESTS += test-float-h
|
|
check_PROGRAMS += test-float-h
|
|
test_float_h_LDADD = $(LDADD) @FREXPL_LIBM@ @TRUNCL_LIBM@
|
|
EXTRA_DIST += test-float-h.c macros.h
|
|
|
|
## end gnulib module float-h-tests
|
|
|
|
## begin gnulib module fopen-gnu-tests
|
|
|
|
TESTS += test-fopen-gnu
|
|
check_PROGRAMS += test-fopen-gnu
|
|
EXTRA_DIST += test-fopen-gnu.c macros.h
|
|
|
|
## end gnulib module fopen-gnu-tests
|
|
|
|
## begin gnulib module fopen-safer-tests
|
|
|
|
TESTS += test-fopen-safer
|
|
check_PROGRAMS += test-fopen-safer
|
|
EXTRA_DIST += test-fopen.h test-fopen-safer.c macros.h
|
|
|
|
## end gnulib module fopen-safer-tests
|
|
|
|
## begin gnulib module fopen-tests
|
|
|
|
TESTS += test-fopen
|
|
check_PROGRAMS += test-fopen
|
|
|
|
EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
|
|
|
|
## end gnulib module fopen-tests
|
|
|
|
## begin gnulib module fpending-tests
|
|
|
|
TESTS += test-fpending.sh
|
|
check_PROGRAMS += test-fpending
|
|
MOSTLYCLEANFILES += test-fpending.t
|
|
EXTRA_DIST += test-fpending.c test-fpending.sh macros.h
|
|
|
|
## end gnulib module fpending-tests
|
|
|
|
## begin gnulib module fpurge-tests
|
|
|
|
TESTS += test-fpurge
|
|
check_PROGRAMS += test-fpurge
|
|
MOSTLYCLEANFILES += t-fpurge.tmp
|
|
EXTRA_DIST += test-fpurge.c macros.h
|
|
|
|
## end gnulib module fpurge-tests
|
|
|
|
## begin gnulib module fputc-tests
|
|
|
|
TESTS += test-fputc
|
|
check_PROGRAMS += test-fputc
|
|
EXTRA_DIST += test-fputc.c signature.h macros.h
|
|
|
|
## end gnulib module fputc-tests
|
|
|
|
## begin gnulib module fread-tests
|
|
|
|
TESTS += test-fread
|
|
check_PROGRAMS += test-fread
|
|
EXTRA_DIST += test-fread.c signature.h macros.h
|
|
|
|
## end gnulib module fread-tests
|
|
|
|
## begin gnulib module freadahead-tests
|
|
|
|
TESTS += test-freadahead.sh
|
|
check_PROGRAMS += test-freadahead
|
|
EXTRA_DIST += test-freadahead.c test-freadahead.sh macros.h
|
|
|
|
## end gnulib module freadahead-tests
|
|
|
|
## begin gnulib module freading-tests
|
|
|
|
TESTS += test-freading
|
|
check_PROGRAMS += test-freading
|
|
MOSTLYCLEANFILES += t-freading.tmp
|
|
EXTRA_DIST += test-freading.c macros.h
|
|
|
|
## end gnulib module freading-tests
|
|
|
|
## begin gnulib module free-posix-tests
|
|
|
|
TESTS += test-free
|
|
check_PROGRAMS += test-free
|
|
EXTRA_DIST += test-free.c macros.h
|
|
|
|
## end gnulib module free-posix-tests
|
|
|
|
## begin gnulib module freopen
|
|
|
|
if GL_COND_OBJ_FREOPEN
|
|
libtests_a_SOURCES += freopen.c
|
|
endif
|
|
|
|
## end gnulib module freopen
|
|
|
|
## begin gnulib module freopen-tests
|
|
|
|
TESTS += test-freopen
|
|
check_PROGRAMS += test-freopen
|
|
|
|
EXTRA_DIST += test-freopen.c signature.h macros.h
|
|
|
|
## end gnulib module freopen-tests
|
|
|
|
## begin gnulib module frexp
|
|
|
|
|
|
EXTRA_DIST += frexp.c
|
|
|
|
EXTRA_libtests_a_SOURCES += frexp.c
|
|
|
|
## end gnulib module frexp
|
|
|
|
## begin gnulib module frexp-nolibm-tests
|
|
|
|
TESTS += test-frexp-nolibm
|
|
check_PROGRAMS += test-frexp-nolibm
|
|
test_frexp_nolibm_SOURCES = test-frexp.c randomd.c
|
|
EXTRA_DIST += test-frexp.c test-frexp.h minus-zero.h infinity.h signature.h macros.h randomd.c
|
|
|
|
## end gnulib module frexp-nolibm-tests
|
|
|
|
## begin gnulib module frexp-tests
|
|
|
|
TESTS += test-frexp
|
|
check_PROGRAMS += test-frexp
|
|
test_frexp_SOURCES = test-frexp.c randomd.c
|
|
test_frexp_LDADD = $(LDADD) @FREXP_LIBM@
|
|
EXTRA_DIST += test-frexp.c test-frexp.h minus-zero.h infinity.h signature.h macros.h randomd.c
|
|
|
|
## end gnulib module frexp-tests
|
|
|
|
## begin gnulib module frexpl
|
|
|
|
|
|
EXTRA_DIST += frexp.c frexpl.c
|
|
|
|
EXTRA_libtests_a_SOURCES += frexp.c frexpl.c
|
|
|
|
## end gnulib module frexpl
|
|
|
|
## begin gnulib module frexpl-nolibm-tests
|
|
|
|
TESTS += test-frexpl-nolibm
|
|
check_PROGRAMS += test-frexpl-nolibm
|
|
test_frexpl_nolibm_SOURCES = test-frexpl.c randoml.c
|
|
EXTRA_DIST += test-frexpl.c test-frexp.h minus-zero.h infinity.h signature.h macros.h randoml.c
|
|
|
|
## end gnulib module frexpl-nolibm-tests
|
|
|
|
## begin gnulib module frexpl-tests
|
|
|
|
TESTS += test-frexpl
|
|
check_PROGRAMS += test-frexpl
|
|
test_frexpl_SOURCES = test-frexpl.c randoml.c
|
|
test_frexpl_LDADD = $(LDADD) @FREXPL_LIBM@
|
|
EXTRA_DIST += test-frexpl.c test-frexp.h minus-zero.h infinity.h signature.h macros.h randoml.c
|
|
|
|
## end gnulib module frexpl-tests
|
|
|
|
## begin gnulib module fseek-tests
|
|
|
|
TESTS += test-fseek.sh test-fseek2.sh
|
|
check_PROGRAMS += test-fseek
|
|
EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
|
|
|
|
## end gnulib module fseek-tests
|
|
|
|
## begin gnulib module fseeko-tests
|
|
|
|
TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
|
|
check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
|
|
EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h
|
|
|
|
## end gnulib module fseeko-tests
|
|
|
|
## begin gnulib module fseterr-tests
|
|
|
|
TESTS += test-fseterr
|
|
check_PROGRAMS += test-fseterr
|
|
|
|
EXTRA_DIST += test-fseterr.c
|
|
|
|
## end gnulib module fseterr-tests
|
|
|
|
## begin gnulib module fstat-tests
|
|
|
|
TESTS += test-fstat
|
|
check_PROGRAMS += test-fstat
|
|
EXTRA_DIST += test-fstat.c signature.h macros.h
|
|
|
|
## end gnulib module fstat-tests
|
|
|
|
## begin gnulib module fstatat-tests
|
|
|
|
TESTS += test-fstatat
|
|
check_PROGRAMS += test-fstatat
|
|
test_fstatat_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-fstatat.c test-lstat.h test-stat.h signature.h macros.h
|
|
|
|
## end gnulib module fstatat-tests
|
|
|
|
## begin gnulib module ftell-tests
|
|
|
|
TESTS += test-ftell.sh test-ftell2.sh test-ftell3
|
|
check_PROGRAMS += test-ftell test-ftell3
|
|
MOSTLYCLEANFILES += t-ftell3.tmp
|
|
EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
|
|
|
|
## end gnulib module ftell-tests
|
|
|
|
## begin gnulib module ftello-tests
|
|
|
|
TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
|
|
check_PROGRAMS += test-ftello test-ftello3 test-ftello4
|
|
MOSTLYCLEANFILES += t-ftello3.tmp
|
|
EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
|
|
|
|
## end gnulib module ftello-tests
|
|
|
|
## begin gnulib module ftruncate
|
|
|
|
if GL_COND_OBJ_FTRUNCATE
|
|
libtests_a_SOURCES += ftruncate.c
|
|
endif
|
|
|
|
## end gnulib module ftruncate
|
|
|
|
## begin gnulib module ftruncate-tests
|
|
|
|
TESTS += test-ftruncate.sh
|
|
check_PROGRAMS += test-ftruncate
|
|
EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
|
|
|
|
## end gnulib module ftruncate-tests
|
|
|
|
## begin gnulib module funclib.sh-tests
|
|
|
|
TESTS += \
|
|
test-funclib-quote.sh
|
|
EXTRA_DIST += test-funclib-quote.sh
|
|
|
|
## end gnulib module funclib.sh-tests
|
|
|
|
## begin gnulib module fwrite-tests
|
|
|
|
TESTS += test-fwrite
|
|
check_PROGRAMS += test-fwrite
|
|
EXTRA_DIST += test-fwrite.c signature.h macros.h
|
|
|
|
## end gnulib module fwrite-tests
|
|
|
|
## begin gnulib module gen-header
|
|
|
|
# In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
|
|
SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
|
|
|
|
# '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
|
|
SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
|
|
|
|
# '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
|
|
# "DO_NOT_EDIT". Although this could be done more simply via:
|
|
# SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
|
|
# the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
|
|
SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
|
|
|
|
# Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
|
|
# is its recipe's first line if and only if @NMD@ lines are absent.
|
|
gl_V_at = $(AM_V_GEN)
|
|
|
|
## end gnulib module gen-header
|
|
|
|
## begin gnulib module getcwd-lgpl-tests
|
|
|
|
TESTS += test-getcwd-lgpl
|
|
check_PROGRAMS += test-getcwd-lgpl
|
|
test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
|
|
|
|
## end gnulib module getcwd-lgpl-tests
|
|
|
|
## begin gnulib module getcwd-tests
|
|
|
|
TESTS += test-getcwd.sh
|
|
check_PROGRAMS += test-getcwd
|
|
test_getcwd_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-getcwd.sh test-getcwd.c qemu.h macros.h
|
|
|
|
## end gnulib module getcwd-tests
|
|
|
|
## begin gnulib module getdtablesize-tests
|
|
|
|
TESTS += test-getdtablesize
|
|
check_PROGRAMS += test-getdtablesize
|
|
EXTRA_DIST += test-getdtablesize.c signature.h macros.h
|
|
|
|
## end gnulib module getdtablesize-tests
|
|
|
|
## begin gnulib module getopt-gnu-tests
|
|
|
|
TESTS += test-getopt-gnu
|
|
check_PROGRAMS += test-getopt-gnu
|
|
test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += macros.h signature.h test-getopt-gnu.c test-getopt-main.h test-getopt.h test-getopt_long.h
|
|
|
|
## end gnulib module getopt-gnu-tests
|
|
|
|
## begin gnulib module getprogname-tests
|
|
|
|
DEFS += -DEXEEXT=\"@EXEEXT@\"
|
|
TESTS += test-getprogname
|
|
check_PROGRAMS += test-getprogname
|
|
test_getprogname_LDADD = $(LDADD)
|
|
EXTRA_DIST += test-getprogname.c
|
|
|
|
## end gnulib module getprogname-tests
|
|
|
|
## begin gnulib module getrandom-tests
|
|
|
|
TESTS += test-getrandom
|
|
check_PROGRAMS += test-getrandom
|
|
test_getrandom_LDADD = $(LDADD) @GETRANDOM_LIB@
|
|
EXTRA_DIST += test-getrandom.c signature.h macros.h
|
|
|
|
## end gnulib module getrandom-tests
|
|
|
|
## begin gnulib module gettext-h-tests
|
|
|
|
TESTS += test-gettext-h
|
|
check_PROGRAMS += test-gettext-h
|
|
test_gettext_h_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-gettext-h.c
|
|
|
|
## end gnulib module gettext-h-tests
|
|
|
|
## begin gnulib module gettimeofday
|
|
|
|
if GL_COND_OBJ_GETTIMEOFDAY
|
|
libtests_a_SOURCES += gettimeofday.c
|
|
endif
|
|
|
|
## end gnulib module gettimeofday
|
|
|
|
## begin gnulib module gettimeofday-tests
|
|
|
|
TESTS += test-gettimeofday
|
|
check_PROGRAMS += test-gettimeofday
|
|
|
|
EXTRA_DIST += test-gettimeofday.c signature.h macros.h
|
|
|
|
## end gnulib module gettimeofday-tests
|
|
|
|
## begin gnulib module glibc-internal/dynarray-tests
|
|
|
|
TESTS += test-dynarray
|
|
check_PROGRAMS += test-dynarray
|
|
EXTRA_DIST += test-dynarray.c macros.h
|
|
|
|
## end gnulib module glibc-internal/dynarray-tests
|
|
|
|
## begin gnulib module glibc-internal/scratch_buffer-tests
|
|
|
|
TESTS += test-scratch-buffer
|
|
check_PROGRAMS += test-scratch-buffer
|
|
test_scratch_buffer_SOURCES = test-scratch-buffer.c
|
|
EXTRA_DIST += test-scratch-buffer.c macros.h
|
|
|
|
## end gnulib module glibc-internal/scratch_buffer-tests
|
|
|
|
## begin gnulib module gperf
|
|
|
|
GPERF = gperf
|
|
V_GPERF = $(V_GPERF_@AM_V@)
|
|
V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
|
|
V_GPERF_0 = @echo " GPERF " $@;
|
|
|
|
## end gnulib module gperf
|
|
|
|
## begin gnulib module hard-locale-tests
|
|
|
|
TESTS += test-hard-locale
|
|
check_PROGRAMS += test-hard-locale
|
|
test_hard_locale_LDADD = $(LDADD) $(SETLOCALE_LIB) @HARD_LOCALE_LIB@
|
|
# We cannot call this program 'locale', because the C++ compiler on Mac OS X
|
|
# would then barf upon '#include <locale>'. So, call it 'current-locale'.
|
|
noinst_PROGRAMS += current-locale
|
|
current_locale_SOURCES = locale.c
|
|
EXTRA_DIST += test-hard-locale.c locale.c
|
|
|
|
## end gnulib module hard-locale-tests
|
|
|
|
## begin gnulib module hash-tests
|
|
|
|
TESTS += test-hash
|
|
check_PROGRAMS += test-hash
|
|
EXTRA_DIST += test-hash.c macros.h
|
|
|
|
## end gnulib module hash-tests
|
|
|
|
## begin gnulib module iconv-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-iconv-h-c++
|
|
check_PROGRAMS += test-iconv-h-c++
|
|
test_iconv_h_c___SOURCES = test-iconv-h-c++.cc
|
|
test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-iconv-h-c++.cc signature.h
|
|
|
|
## end gnulib module iconv-h-c++-tests
|
|
|
|
## begin gnulib module iconv-h-tests
|
|
|
|
TESTS += test-iconv-h
|
|
check_PROGRAMS += test-iconv-h
|
|
EXTRA_DIST += test-iconv-h.c
|
|
|
|
## end gnulib module iconv-h-tests
|
|
|
|
## begin gnulib module iconv-tests
|
|
|
|
TESTS += test-iconv
|
|
check_PROGRAMS += test-iconv
|
|
test_iconv_LDADD = $(LDADD) @LIBICONV@
|
|
|
|
EXTRA_DIST += test-iconv.c signature.h macros.h
|
|
|
|
## end gnulib module iconv-tests
|
|
|
|
## begin gnulib module ignore-value-tests
|
|
|
|
TESTS += test-ignore-value
|
|
check_PROGRAMS += test-ignore-value
|
|
EXTRA_DIST += test-ignore-value.c
|
|
|
|
## end gnulib module ignore-value-tests
|
|
|
|
## begin gnulib module inet_pton
|
|
|
|
if GL_COND_OBJ_INET_PTON
|
|
libtests_a_SOURCES += inet_pton.c
|
|
endif
|
|
|
|
## end gnulib module inet_pton
|
|
|
|
## begin gnulib module inet_pton-tests
|
|
|
|
TESTS += test-inet_pton
|
|
check_PROGRAMS += test-inet_pton
|
|
test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@
|
|
EXTRA_DIST += test-inet_pton.c signature.h macros.h
|
|
|
|
## end gnulib module inet_pton-tests
|
|
|
|
## begin gnulib module intprops-tests
|
|
|
|
TESTS += test-intprops
|
|
check_PROGRAMS += test-intprops
|
|
EXTRA_DIST += test-intprops.c macros.h
|
|
|
|
## end gnulib module intprops-tests
|
|
|
|
## begin gnulib module inttostr
|
|
|
|
libtests_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
|
|
|
|
EXTRA_DIST += anytostr.c inttostr.h
|
|
|
|
EXTRA_libtests_a_SOURCES += anytostr.c
|
|
|
|
## end gnulib module inttostr
|
|
|
|
## begin gnulib module inttostr-tests
|
|
|
|
TESTS += test-inttostr
|
|
check_PROGRAMS += test-inttostr
|
|
EXTRA_DIST += macros.h test-inttostr.c
|
|
|
|
## end gnulib module inttostr-tests
|
|
|
|
## begin gnulib module inttypes-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-inttypes-h-c++
|
|
check_PROGRAMS += test-inttypes-h-c++
|
|
test_inttypes_h_c___SOURCES = test-inttypes-h-c++.cc test-inttypes-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-inttypes-h-c++.cc test-inttypes-h-c++2.cc signature.h
|
|
|
|
## end gnulib module inttypes-h-c++-tests
|
|
|
|
## begin gnulib module inttypes-h-tests
|
|
|
|
TESTS += test-inttypes-h
|
|
check_PROGRAMS += test-inttypes-h
|
|
EXTRA_DIST += test-inttypes-h.c
|
|
|
|
## end gnulib module inttypes-h-tests
|
|
|
|
## begin gnulib module ioctl
|
|
|
|
if GL_COND_OBJ_IOCTL
|
|
libtests_a_SOURCES += ioctl.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module ioctl
|
|
|
|
## begin gnulib module ioctl-tests
|
|
|
|
TESTS += test-ioctl
|
|
check_PROGRAMS += test-ioctl
|
|
EXTRA_DIST += test-ioctl.c signature.h macros.h
|
|
|
|
## end gnulib module ioctl-tests
|
|
|
|
## begin gnulib module isblank
|
|
|
|
if GL_COND_OBJ_ISBLANK
|
|
libtests_a_SOURCES += isblank.c
|
|
endif
|
|
|
|
## end gnulib module isblank
|
|
|
|
## begin gnulib module isblank-tests
|
|
|
|
TESTS += test-isblank
|
|
check_PROGRAMS += test-isblank
|
|
EXTRA_DIST += test-isblank.c signature.h macros.h
|
|
|
|
## end gnulib module isblank-tests
|
|
|
|
## begin gnulib module isinf-no-c++-tests
|
|
|
|
TESTS += test-isinf
|
|
check_PROGRAMS += test-isinf
|
|
test_isinf_LDADD = $(LDADD) @ISINF_LIBM@
|
|
EXTRA_DIST += test-isinf.c infinity.h macros.h
|
|
|
|
## end gnulib module isinf-no-c++-tests
|
|
|
|
## begin gnulib module isnand-nolibm-tests
|
|
|
|
TESTS += test-isnand-nolibm
|
|
check_PROGRAMS += test-isnand-nolibm
|
|
|
|
EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h macros.h
|
|
|
|
## end gnulib module isnand-nolibm-tests
|
|
|
|
## begin gnulib module isnanf-nolibm-tests
|
|
|
|
TESTS += test-isnanf-nolibm
|
|
check_PROGRAMS += test-isnanf-nolibm
|
|
|
|
EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h macros.h
|
|
|
|
## end gnulib module isnanf-nolibm-tests
|
|
|
|
## begin gnulib module isnanl-nolibm-tests
|
|
|
|
TESTS += test-isnanl-nolibm
|
|
check_PROGRAMS += test-isnanl-nolibm
|
|
|
|
EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h macros.h
|
|
|
|
## end gnulib module isnanl-nolibm-tests
|
|
|
|
## begin gnulib module iswblank-tests
|
|
|
|
TESTS += test-iswblank
|
|
check_PROGRAMS += test-iswblank
|
|
EXTRA_DIST += test-iswblank.c macros.h
|
|
|
|
## end gnulib module iswblank-tests
|
|
|
|
## begin gnulib module iswctype-tests
|
|
|
|
TESTS += test-iswctype
|
|
check_PROGRAMS += test-iswctype
|
|
EXTRA_DIST += test-iswctype.c signature.h macros.h
|
|
|
|
## end gnulib module iswctype-tests
|
|
|
|
## begin gnulib module iswdigit-tests
|
|
|
|
TESTS += test-iswdigit.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-iswdigit
|
|
test_iswdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
|
|
EXTRA_DIST += test-iswdigit.sh test-iswdigit.c signature.h macros.h
|
|
|
|
## end gnulib module iswdigit-tests
|
|
|
|
## begin gnulib module iswpunct-tests
|
|
|
|
TESTS += test-iswpunct.sh
|
|
check_PROGRAMS += test-iswpunct
|
|
test_iswpunct_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
|
|
EXTRA_DIST += test-iswpunct.sh test-iswpunct.c signature.h macros.h
|
|
|
|
## end gnulib module iswpunct-tests
|
|
|
|
## begin gnulib module iswxdigit-tests
|
|
|
|
TESTS += test-iswxdigit.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-iswxdigit
|
|
test_iswxdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
|
|
EXTRA_DIST += test-iswxdigit.sh test-iswxdigit.c signature.h macros.h
|
|
|
|
## end gnulib module iswxdigit-tests
|
|
|
|
## begin gnulib module langinfo-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-langinfo-h-c++
|
|
check_PROGRAMS += test-langinfo-h-c++
|
|
test_langinfo_h_c___SOURCES = test-langinfo-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-langinfo-h-c++.cc signature.h
|
|
|
|
## end gnulib module langinfo-h-c++-tests
|
|
|
|
## begin gnulib module langinfo-h-tests
|
|
|
|
TESTS += test-langinfo-h
|
|
check_PROGRAMS += test-langinfo-h
|
|
EXTRA_DIST += test-langinfo-h.c
|
|
|
|
## end gnulib module langinfo-h-tests
|
|
|
|
## begin gnulib module largefile-tests
|
|
|
|
TESTS += test-largefile
|
|
check_PROGRAMS += test-largefile
|
|
EXTRA_DIST += test-largefile.c
|
|
|
|
## end gnulib module largefile-tests
|
|
|
|
## begin gnulib module limits-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-limits-h-c++
|
|
check_PROGRAMS += test-limits-h-c++
|
|
test_limits_h_c___SOURCES = test-limits-h-c++.cc test-limits-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-limits-h-c++.cc test-limits-h-c++2.cc
|
|
|
|
## end gnulib module limits-h-c++-tests
|
|
|
|
## begin gnulib module limits-h-tests
|
|
|
|
TESTS += test-limits-h
|
|
check_PROGRAMS += test-limits-h
|
|
EXTRA_DIST += test-limits-h.c
|
|
|
|
## end gnulib module limits-h-tests
|
|
|
|
## begin gnulib module link
|
|
|
|
if GL_COND_OBJ_LINK
|
|
libtests_a_SOURCES += link.c
|
|
endif
|
|
|
|
## end gnulib module link
|
|
|
|
## begin gnulib module link-tests
|
|
|
|
TESTS += test-link
|
|
check_PROGRAMS += test-link
|
|
EXTRA_DIST += test-link.h test-link.c signature.h macros.h
|
|
|
|
## end gnulib module link-tests
|
|
|
|
## begin gnulib module linked-list-tests
|
|
|
|
TESTS += test-linked_list
|
|
check_PROGRAMS += test-linked_list
|
|
EXTRA_DIST += test-linked_list.c macros.h
|
|
|
|
## end gnulib module linked-list-tests
|
|
|
|
## begin gnulib module linkedhash-list-tests
|
|
|
|
TESTS += test-linkedhash_list
|
|
check_PROGRAMS += test-linkedhash_list
|
|
EXTRA_DIST += test-linkedhash_list.c macros.h
|
|
|
|
## end gnulib module linkedhash-list-tests
|
|
|
|
## begin gnulib module listen
|
|
|
|
if GL_COND_OBJ_LISTEN
|
|
libtests_a_SOURCES += listen.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module listen
|
|
|
|
## begin gnulib module listen-tests
|
|
|
|
TESTS += test-listen
|
|
check_PROGRAMS += test-listen
|
|
test_listen_LDADD = $(LDADD) @LIBSOCKET@
|
|
EXTRA_DIST += test-listen.c signature.h macros.h
|
|
|
|
## end gnulib module listen-tests
|
|
|
|
## begin gnulib module localcharset-tests
|
|
|
|
noinst_PROGRAMS += test-localcharset
|
|
test_localcharset_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
|
|
if OS_IS_NATIVE_WINDOWS
|
|
TESTS += test-localcharset-w32utf8.sh
|
|
noinst_PROGRAMS += test-localcharset-w32utf8
|
|
test_localcharset_w32utf8_LDADD = $(LDADD) test-localcharset-windows-utf8.res $(SETLOCALE_LIB)
|
|
test-localcharset-windows-utf8.res : $(srcdir)/windows-utf8.rc
|
|
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-localcharset-windows-utf8.res --output-format=coff
|
|
MOSTLYCLEANFILES += test-localcharset-windows-utf8.res
|
|
endif
|
|
EXTRA_DIST += test-localcharset.c test-localcharset-w32utf8.sh test-localcharset-w32utf8.c windows-utf8.rc windows-utf8.manifest
|
|
|
|
## end gnulib module localcharset-tests
|
|
|
|
## begin gnulib module locale-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-locale-h-c++
|
|
check_PROGRAMS += test-locale-h-c++
|
|
test_locale_h_c___SOURCES = test-locale-h-c++.cc test-locale-h-c++2.cc
|
|
test_locale_h_c___LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
endif
|
|
EXTRA_DIST += test-locale-h-c++.cc test-locale-h-c++2.cc signature.h
|
|
|
|
## end gnulib module locale-h-c++-tests
|
|
|
|
## begin gnulib module locale-h-tests
|
|
|
|
TESTS += test-locale-h
|
|
check_PROGRAMS += test-locale-h
|
|
EXTRA_DIST += test-locale-h.c
|
|
|
|
## end gnulib module locale-h-tests
|
|
|
|
## begin gnulib module localeconv-tests
|
|
|
|
TESTS += test-localeconv test-localeconv-mt
|
|
check_PROGRAMS += test-localeconv test-localeconv-mt
|
|
test_localeconv_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
|
|
EXTRA_DIST += test-localeconv.c test-localeconv-mt.c signature.h macros.h
|
|
|
|
## end gnulib module localeconv-tests
|
|
|
|
## begin gnulib module localename-tests
|
|
|
|
TESTS += test-localename
|
|
check_PROGRAMS += test-localename
|
|
test_localename_LDADD = $(LDADD) $(SETLOCALE_LIB) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
|
|
|
|
if OS_IS_NATIVE_WINDOWS
|
|
TESTS += test-localename-w32utf8.sh
|
|
noinst_PROGRAMS += test-localename-w32utf8
|
|
test_localename_w32utf8_LDADD = $(LDADD) test-localename-windows-utf8.res $(SETLOCALE_LIB)
|
|
test-localename-windows-utf8.res : $(srcdir)/windows-utf8.rc
|
|
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-localename-windows-utf8.res --output-format=coff
|
|
MOSTLYCLEANFILES += test-localename-windows-utf8.res
|
|
endif
|
|
EXTRA_DIST += test-localename.c test-localename-w32utf8.sh test-localename-w32utf8.c windows-utf8.rc windows-utf8.manifest macros.h
|
|
|
|
## end gnulib module localename-tests
|
|
|
|
## begin gnulib module lseek-tests
|
|
|
|
TESTS += test-lseek.sh
|
|
check_PROGRAMS += test-lseek
|
|
EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
|
|
|
|
## end gnulib module lseek-tests
|
|
|
|
## begin gnulib module lstat-tests
|
|
|
|
TESTS += test-lstat
|
|
check_PROGRAMS += test-lstat
|
|
EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
|
|
|
|
## end gnulib module lstat-tests
|
|
|
|
## begin gnulib module malloc-gnu-tests
|
|
|
|
TESTS += test-malloc-gnu
|
|
check_PROGRAMS += test-malloc-gnu
|
|
EXTRA_DIST += test-malloc-gnu.c macros.h
|
|
|
|
## end gnulib module malloc-gnu-tests
|
|
|
|
## begin gnulib module malloc-posix-tests
|
|
|
|
TESTS += test-malloc-posix
|
|
check_PROGRAMS += test-malloc-posix
|
|
EXTRA_DIST += test-malloc-posix.c macros.h
|
|
|
|
## end gnulib module malloc-posix-tests
|
|
|
|
## begin gnulib module malloca-tests
|
|
|
|
TESTS += test-malloca
|
|
check_PROGRAMS += test-malloca
|
|
|
|
EXTRA_DIST += test-malloca.c
|
|
|
|
## end gnulib module malloca-tests
|
|
|
|
## begin gnulib module math-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-math-h-c++
|
|
check_PROGRAMS += test-math-h-c++
|
|
test_math_h_c___SOURCES = test-math-h-c++.cc test-math-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-math-h-c++.cc test-math-h-c++2.cc signature.h
|
|
|
|
## end gnulib module math-h-c++-tests
|
|
|
|
## begin gnulib module math-h-tests
|
|
|
|
TESTS += test-math-h
|
|
check_PROGRAMS += test-math-h
|
|
EXTRA_DIST += test-math-h.c macros.h
|
|
|
|
## end gnulib module math-h-tests
|
|
|
|
## begin gnulib module mbrtoc32-tests
|
|
|
|
TESTS += \
|
|
test-mbrtoc32-1.sh test-mbrtoc32-2.sh test-mbrtoc32-3.sh test-mbrtoc32-4.sh \
|
|
test-mbrtoc32-5.sh \
|
|
test-mbrtoc32-w32-2.sh test-mbrtoc32-w32-3.sh test-mbrtoc32-w32-4.sh \
|
|
test-mbrtoc32-w32-5.sh test-mbrtoc32-w32-6.sh test-mbrtoc32-w32-7.sh \
|
|
test-mbrtoc32-w32-8.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-mbrtoc32 test-mbrtoc32-w32
|
|
test_mbrtoc32_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-mbrtoc32-1.sh test-mbrtoc32-2.sh test-mbrtoc32-3.sh test-mbrtoc32-4.sh test-mbrtoc32-5.sh test-mbrtoc32.c test-mbrtoc32-w32-2.sh test-mbrtoc32-w32-3.sh test-mbrtoc32-w32-4.sh test-mbrtoc32-w32-5.sh test-mbrtoc32-w32-6.sh test-mbrtoc32-w32-7.sh test-mbrtoc32-w32-8.sh test-mbrtoc32-w32.c signature.h macros.h
|
|
|
|
## end gnulib module mbrtoc32-tests
|
|
|
|
## begin gnulib module mbrtowc-tests
|
|
|
|
TESTS += \
|
|
test-mbrtowc-1.sh test-mbrtowc-2.sh test-mbrtowc-3.sh test-mbrtowc-4.sh \
|
|
test-mbrtowc-5.sh \
|
|
test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh \
|
|
test-mbrtowc-w32-5.sh test-mbrtowc-w32-6.sh test-mbrtowc-w32-7.sh \
|
|
test-mbrtowc-w32-8.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
|
|
test_mbrtowc_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
|
|
|
|
if OS_IS_NATIVE_WINDOWS
|
|
TESTS += test-mbrtowc-w32utf8.sh
|
|
noinst_PROGRAMS += test-mbrtowc-w32utf8
|
|
test_mbrtowc_w32utf8_LDADD = $(LDADD) test-mbrtowc-windows-utf8.res $(SETLOCALE_LIB)
|
|
test-mbrtowc-windows-utf8.res : $(srcdir)/windows-utf8.rc
|
|
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-mbrtowc-windows-utf8.res --output-format=coff
|
|
MOSTLYCLEANFILES += test-mbrtowc-windows-utf8.res
|
|
endif
|
|
EXTRA_DIST += test-mbrtowc-1.sh test-mbrtowc-2.sh test-mbrtowc-3.sh test-mbrtowc-4.sh test-mbrtowc-5.sh test-mbrtowc.c test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh test-mbrtowc-w32-6.sh test-mbrtowc-w32-7.sh test-mbrtowc-w32-8.sh test-mbrtowc-w32.c test-mbrtowc-w32utf8.sh test-mbrtowc-w32utf8.c windows-utf8.rc windows-utf8.manifest signature.h macros.h
|
|
|
|
## end gnulib module mbrtowc-tests
|
|
|
|
## begin gnulib module mbsinit-tests
|
|
|
|
TESTS += test-mbsinit.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-mbsinit
|
|
test_mbsinit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
|
|
EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
|
|
|
|
## end gnulib module mbsinit-tests
|
|
|
|
## begin gnulib module mbslen-tests
|
|
|
|
TESTS += test-mbslen.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-mbslen
|
|
test_mbslen_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-mbslen.sh test-mbslen.c macros.h
|
|
|
|
## end gnulib module mbslen-tests
|
|
|
|
## begin gnulib module mbsnlen-tests
|
|
|
|
TESTS += test-mbsnlen.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-mbsnlen
|
|
test_mbsnlen_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-mbsnlen.sh test-mbsnlen.c macros.h
|
|
|
|
## end gnulib module mbsnlen-tests
|
|
|
|
## begin gnulib module mbsstr-tests
|
|
|
|
TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
|
|
test_mbsstr1_LDADD = $(LDADD) $(LIBUNISTRING) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
test_mbsstr2_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
test_mbsstr3_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
|
|
|
|
## end gnulib module mbsstr-tests
|
|
|
|
## begin gnulib module memchr-tests
|
|
|
|
TESTS += test-memchr
|
|
check_PROGRAMS += test-memchr
|
|
EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
|
|
|
|
## end gnulib module memchr-tests
|
|
|
|
## begin gnulib module memchr2-tests
|
|
|
|
TESTS += test-memchr2
|
|
check_PROGRAMS += test-memchr2
|
|
EXTRA_DIST += test-memchr2.c zerosize-ptr.h macros.h
|
|
|
|
## end gnulib module memchr2-tests
|
|
|
|
## begin gnulib module memrchr-tests
|
|
|
|
TESTS += test-memrchr
|
|
check_PROGRAMS += test-memrchr
|
|
EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
|
|
|
|
## end gnulib module memrchr-tests
|
|
|
|
## begin gnulib module memset_explicit
|
|
|
|
if GL_COND_OBJ_MEMSET_EXPLICIT
|
|
libtests_a_SOURCES += memset_explicit.c
|
|
endif
|
|
|
|
## end gnulib module memset_explicit
|
|
|
|
## begin gnulib module memset_explicit-tests
|
|
|
|
TESTS += test-memset_explicit
|
|
check_PROGRAMS += test-memset_explicit
|
|
EXTRA_DIST += test-memset_explicit.c signature.h macros.h
|
|
|
|
## end gnulib module memset_explicit-tests
|
|
|
|
## begin gnulib module mkdir-tests
|
|
|
|
TESTS += test-mkdir
|
|
check_PROGRAMS += test-mkdir
|
|
EXTRA_DIST += test-mkdir.h test-mkdir.c signature.h macros.h
|
|
|
|
## end gnulib module mkdir-tests
|
|
|
|
## begin gnulib module mkfifo
|
|
|
|
if GL_COND_OBJ_MKFIFO
|
|
libtests_a_SOURCES += mkfifo.c
|
|
endif
|
|
|
|
## end gnulib module mkfifo
|
|
|
|
## begin gnulib module mkfifo-tests
|
|
|
|
TESTS += test-mkfifo
|
|
check_PROGRAMS += test-mkfifo
|
|
EXTRA_DIST += test-mkfifo.h test-mkfifo.c signature.h macros.h
|
|
|
|
## end gnulib module mkfifo-tests
|
|
|
|
## begin gnulib module nan
|
|
|
|
libtests_a_SOURCES += nan.h
|
|
|
|
## end gnulib module nan
|
|
|
|
## begin gnulib module nanosleep
|
|
|
|
if GL_COND_OBJ_NANOSLEEP
|
|
libtests_a_SOURCES += nanosleep.c
|
|
endif
|
|
|
|
## end gnulib module nanosleep
|
|
|
|
## begin gnulib module nanosleep-tests
|
|
|
|
TESTS += test-nanosleep
|
|
check_PROGRAMS += test-nanosleep
|
|
test_nanosleep_LDADD = $(LDADD) $(NANOSLEEP_LIB)
|
|
EXTRA_DIST += test-nanosleep.c signature.h macros.h
|
|
|
|
## end gnulib module nanosleep-tests
|
|
|
|
## begin gnulib module netinet_in-h
|
|
|
|
BUILT_SOURCES += $(NETINET_IN_H)
|
|
|
|
# We need the following in order to create <netinet/in.h> when the system
|
|
# doesn't have one.
|
|
if GL_GENERATE_NETINET_IN_H
|
|
netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
|
|
-e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
|
|
$(srcdir)/netinet_in.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
else
|
|
netinet/in.h: $(top_builddir)/config.status
|
|
rm -f $@
|
|
endif
|
|
MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
|
|
MOSTLYCLEANDIRS += netinet
|
|
|
|
EXTRA_DIST += netinet_in.in.h
|
|
|
|
## end gnulib module netinet_in-h
|
|
|
|
## begin gnulib module netinet_in-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-netinet_in-h-c++
|
|
check_PROGRAMS += test-netinet_in-h-c++
|
|
test_netinet_in_h_c___SOURCES = test-netinet_in-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-netinet_in-h-c++.cc
|
|
|
|
## end gnulib module netinet_in-h-c++-tests
|
|
|
|
## begin gnulib module netinet_in-h-tests
|
|
|
|
TESTS += test-netinet_in-h
|
|
check_PROGRAMS += test-netinet_in-h
|
|
EXTRA_DIST += test-netinet_in-h.c
|
|
|
|
## end gnulib module netinet_in-h-tests
|
|
|
|
## begin gnulib module next-prime-tests
|
|
|
|
TESTS += test-next-prime
|
|
check_PROGRAMS += test-next-prime
|
|
EXTRA_DIST += test-next-prime.c macros.h
|
|
|
|
## end gnulib module next-prime-tests
|
|
|
|
## begin gnulib module nl_langinfo-tests
|
|
|
|
TESTS += test-nl_langinfo1.sh test-nl_langinfo2.sh test-nl_langinfo-mt
|
|
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
|
|
check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo2 test-nl_langinfo-mt
|
|
test_nl_langinfo1_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
test_nl_langinfo2_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
test_nl_langinfo_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
|
|
EXTRA_DIST += test-nl_langinfo1.sh test-nl_langinfo2.sh test-nl_langinfo1.c test-nl_langinfo2.c test-nl_langinfo-mt.c signature.h macros.h
|
|
|
|
## end gnulib module nl_langinfo-tests
|
|
|
|
## begin gnulib module once-tests
|
|
|
|
TESTS += test-once1 test-once2
|
|
check_PROGRAMS += test-once1 test-once2
|
|
test_once1_SOURCES = test-once.c
|
|
test_once1_LDADD = $(LDADD) @LIBTHREAD@
|
|
test_once2_SOURCES = test-once.c
|
|
test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@
|
|
EXTRA_DIST += test-once.c macros.h
|
|
|
|
## end gnulib module once-tests
|
|
|
|
## begin gnulib module open-tests
|
|
|
|
TESTS += test-open
|
|
check_PROGRAMS += test-open
|
|
EXTRA_DIST += test-open.h test-open.c signature.h macros.h
|
|
|
|
## end gnulib module open-tests
|
|
|
|
## begin gnulib module openat-tests
|
|
|
|
TESTS += test-openat
|
|
check_PROGRAMS += test-openat
|
|
test_openat_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-openat.c test-open.h signature.h macros.h
|
|
|
|
## end gnulib module openat-tests
|
|
|
|
## begin gnulib module options-parser-tests
|
|
|
|
TESTS += \
|
|
test-option-parser.sh
|
|
EXTRA_DIST += test-option-parser.sh test-option-parser-helper
|
|
|
|
## end gnulib module options-parser-tests
|
|
|
|
## begin gnulib module pathmax-tests
|
|
|
|
TESTS += test-pathmax
|
|
check_PROGRAMS += test-pathmax
|
|
EXTRA_DIST += test-pathmax.c
|
|
|
|
## end gnulib module pathmax-tests
|
|
|
|
## begin gnulib module perror
|
|
|
|
if GL_COND_OBJ_PERROR
|
|
libtests_a_SOURCES += perror.c
|
|
endif
|
|
|
|
## end gnulib module perror
|
|
|
|
## begin gnulib module perror-tests
|
|
|
|
TESTS += test-perror.sh test-perror2
|
|
check_PROGRAMS += test-perror test-perror2
|
|
EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh
|
|
|
|
## end gnulib module perror-tests
|
|
|
|
## begin gnulib module pipe-posix-tests
|
|
|
|
TESTS += test-pipe
|
|
check_PROGRAMS += test-pipe
|
|
EXTRA_DIST += test-pipe.c signature.h macros.h
|
|
|
|
## end gnulib module pipe-posix-tests
|
|
|
|
## begin gnulib module pipe2-tests
|
|
|
|
TESTS += test-pipe2
|
|
check_PROGRAMS += test-pipe2
|
|
test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
|
|
EXTRA_DIST += test-pipe2.c signature.h macros.h
|
|
|
|
## end gnulib module pipe2-tests
|
|
|
|
## begin gnulib module posix_spawn-tests
|
|
|
|
DEFS += -DEXEEXT=\"@EXEEXT@\"
|
|
TESTS += \
|
|
test-posix_spawn-open1 \
|
|
test-posix_spawn-open2 \
|
|
test-posix_spawn-inherit0 \
|
|
test-posix_spawn-inherit1 \
|
|
test-posix_spawn-script
|
|
check_PROGRAMS += \
|
|
test-posix_spawn-open1 \
|
|
test-posix_spawn-open2 \
|
|
test-posix_spawn-inherit0 \
|
|
test-posix_spawn-inherit1 \
|
|
test-posix_spawn-script
|
|
test_posix_spawn_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"
|
|
EXTRA_DIST += test-posix_spawn-open1.c test-posix_spawn-open2.c test-posix_spawn-inherit0.c test-posix_spawn-inherit1.c test-posix_spawn-script.c executable-script executable-script.sh executable-shell-script signature.h macros.h
|
|
|
|
## end gnulib module posix_spawn-tests
|
|
|
|
## begin gnulib module posix_spawn_file_actions_addchdir-tests
|
|
|
|
TESTS += \
|
|
test-posix_spawn_file_actions_addchdir \
|
|
test-posix_spawn-chdir
|
|
check_PROGRAMS += \
|
|
test-posix_spawn_file_actions_addchdir \
|
|
test-posix_spawn-chdir
|
|
test_posix_spawn_chdir_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-posix_spawn_file_actions_addchdir.c test-posix_spawn-chdir.c signature.h macros.h
|
|
|
|
## end gnulib module posix_spawn_file_actions_addchdir-tests
|
|
|
|
## begin gnulib module posix_spawn_file_actions_addclose-tests
|
|
|
|
TESTS += test-posix_spawn_file_actions_addclose
|
|
check_PROGRAMS += test-posix_spawn_file_actions_addclose
|
|
EXTRA_DIST += test-posix_spawn_file_actions_addclose.c signature.h macros.h
|
|
|
|
## end gnulib module posix_spawn_file_actions_addclose-tests
|
|
|
|
## begin gnulib module posix_spawn_file_actions_adddup2-tests
|
|
|
|
TESTS += test-posix_spawn_file_actions_adddup2
|
|
check_PROGRAMS += test-posix_spawn_file_actions_adddup2
|
|
EXTRA_DIST += test-posix_spawn_file_actions_adddup2.c signature.h macros.h
|
|
|
|
## end gnulib module posix_spawn_file_actions_adddup2-tests
|
|
|
|
## begin gnulib module posix_spawn_file_actions_addopen-tests
|
|
|
|
TESTS += test-posix_spawn_file_actions_addopen
|
|
check_PROGRAMS += test-posix_spawn_file_actions_addopen
|
|
EXTRA_DIST += test-posix_spawn_file_actions_addopen.c signature.h macros.h
|
|
|
|
## end gnulib module posix_spawn_file_actions_addopen-tests
|
|
|
|
## begin gnulib module posix_spawnp-tests
|
|
|
|
TESTS += \
|
|
test-posix_spawn-dup2-stdout \
|
|
test-posix_spawn-dup2-stdin \
|
|
test-posix_spawnp-script \
|
|
test-posix_spawnp-vfork
|
|
check_PROGRAMS += \
|
|
test-posix_spawn-dup2-stdout \
|
|
test-posix_spawn-dup2-stdin \
|
|
test-posix_spawnp-script \
|
|
test-posix_spawnp-vfork
|
|
|
|
BUILT_SOURCES += test-posix_spawn-dup2-stdout.sh
|
|
test-posix_spawn-dup2-stdout.sh: test-posix_spawn-dup2-stdout.in.sh
|
|
$(AM_V_GEN)cp $(srcdir)/test-posix_spawn-dup2-stdout.in.sh $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += test-posix_spawn-dup2-stdout.sh test-posix_spawn-dup2-stdout.sh-t
|
|
|
|
BUILT_SOURCES += test-posix_spawn-dup2-stdin.sh
|
|
test-posix_spawn-dup2-stdin.sh: test-posix_spawn-dup2-stdin.in.sh
|
|
$(AM_V_GEN)cp $(srcdir)/test-posix_spawn-dup2-stdin.in.sh $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += test-posix_spawn-dup2-stdin.sh test-posix_spawn-dup2-stdin.sh-t
|
|
|
|
test_posix_spawnp_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"
|
|
EXTRA_DIST += test-posix_spawn-dup2-stdout.c test-posix_spawn-dup2-stdout.in.sh test-posix_spawn-dup2-stdin.c test-posix_spawn-dup2-stdin.in.sh test-posix_spawnp-script.c test-posix_spawnp-vfork.c executable-script executable-script.sh executable-shell-script signature.h macros.h
|
|
|
|
## end gnulib module posix_spawnp-tests
|
|
|
|
## begin gnulib module printf-frexp-tests
|
|
|
|
TESTS += test-printf-frexp
|
|
check_PROGRAMS += test-printf-frexp
|
|
EXTRA_DIST += test-printf-frexp.c macros.h
|
|
|
|
## end gnulib module printf-frexp-tests
|
|
|
|
## begin gnulib module printf-frexpl-tests
|
|
|
|
TESTS += test-printf-frexpl
|
|
check_PROGRAMS += test-printf-frexpl
|
|
EXTRA_DIST += test-printf-frexpl.c macros.h
|
|
|
|
## end gnulib module printf-frexpl-tests
|
|
|
|
## begin gnulib module pselect
|
|
|
|
if GL_COND_OBJ_PSELECT
|
|
libtests_a_SOURCES += pselect.c
|
|
endif
|
|
|
|
## end gnulib module pselect
|
|
|
|
## begin gnulib module pselect-tests
|
|
|
|
TESTS += test-pselect
|
|
check_PROGRAMS += test-pselect
|
|
test_pselect_LDADD = $(LDADD) @SELECT_LIB@ @LIBSOCKET@ @PTHREAD_SIGMASK_LIB@ $(INET_PTON_LIB)
|
|
EXTRA_DIST += test-pselect.c test-select.h macros.h signature.h
|
|
|
|
## end gnulib module pselect-tests
|
|
|
|
## begin gnulib module pthread-cond
|
|
|
|
if GL_COND_OBJ_PTHREAD_COND
|
|
libtests_a_SOURCES += pthread-cond.c
|
|
endif
|
|
|
|
## end gnulib module pthread-cond
|
|
|
|
## begin gnulib module pthread-cond-tests
|
|
|
|
TESTS += test-pthread-cond
|
|
check_PROGRAMS += test-pthread-cond
|
|
test_pthread_cond_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@
|
|
EXTRA_DIST += test-pthread-cond.c virtualbox.h macros.h
|
|
|
|
## end gnulib module pthread-cond-tests
|
|
|
|
## begin gnulib module pthread-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-pthread-c++
|
|
check_PROGRAMS += test-pthread-c++
|
|
test_pthread_c___SOURCES = test-pthread-c++.cc
|
|
test_pthread_c___LDADD = $(LDADD) $(LIBPMULTITHREAD)
|
|
endif
|
|
EXTRA_DIST += test-pthread-c++.cc signature.h
|
|
|
|
## end gnulib module pthread-h-c++-tests
|
|
|
|
## begin gnulib module pthread-h-tests
|
|
|
|
TESTS += test-pthread
|
|
check_PROGRAMS += test-pthread
|
|
EXTRA_DIST += test-pthread.c
|
|
|
|
## end gnulib module pthread-h-tests
|
|
|
|
## begin gnulib module pthread-mutex
|
|
|
|
if GL_COND_OBJ_PTHREAD_MUTEX
|
|
libtests_a_SOURCES += pthread-mutex.c
|
|
endif
|
|
|
|
## end gnulib module pthread-mutex
|
|
|
|
## begin gnulib module pthread-mutex-tests
|
|
|
|
TESTS += test-pthread-mutex test-pthread-mutex-type
|
|
check_PROGRAMS += test-pthread-mutex test-pthread-mutex-type
|
|
test_pthread_mutex_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@ @LIB_SEMAPHORE@
|
|
# If we were to link test-pthread-mutex-type only with @LIBPTHREAD@ instead of
|
|
# @LIBPMULTITHREAD@, this test would fail on FreeBSD and NetBSD.
|
|
test_pthread_mutex_type_LDADD = $(LDADD) @LIBPMULTITHREAD@
|
|
EXTRA_DIST += test-pthread-mutex.c test-pthread-mutex-type.c atomic-int-posix.h macros.h
|
|
|
|
## end gnulib module pthread-mutex-tests
|
|
|
|
## begin gnulib module pthread-once-tests
|
|
|
|
TESTS += test-pthread-once1 test-pthread-once2
|
|
check_PROGRAMS += test-pthread-once1 test-pthread-once2
|
|
test_pthread_once1_LDADD = $(LDADD) @PTHREAD_ONCE_LIB@
|
|
test_pthread_once2_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@
|
|
EXTRA_DIST += test-pthread-once1.c test-pthread-once2.c macros.h
|
|
|
|
## end gnulib module pthread-once-tests
|
|
|
|
## begin gnulib module pthread-rwlock
|
|
|
|
if GL_COND_OBJ_PTHREAD_RWLOCK
|
|
libtests_a_SOURCES += pthread-rwlock.c
|
|
endif
|
|
|
|
## end gnulib module pthread-rwlock
|
|
|
|
## begin gnulib module pthread-rwlock-tests
|
|
|
|
TESTS += test-pthread-rwlock
|
|
check_PROGRAMS += test-pthread-rwlock
|
|
test_pthread_rwlock_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@ @LIB_SEMAPHORE@
|
|
EXTRA_DIST += test-pthread-rwlock.c atomic-int-posix.h macros.h
|
|
|
|
## end gnulib module pthread-rwlock-tests
|
|
|
|
## begin gnulib module pthread-thread
|
|
|
|
if GL_COND_OBJ_PTHREAD_THREAD
|
|
libtests_a_SOURCES += pthread-thread.c
|
|
endif
|
|
|
|
## end gnulib module pthread-thread
|
|
|
|
## begin gnulib module pthread-thread-tests
|
|
|
|
TESTS += test-pthread-thread
|
|
check_PROGRAMS += test-pthread-thread
|
|
test_pthread_thread_LDADD = $(LDADD) @LIBPMULTITHREAD@
|
|
EXTRA_DIST += test-pthread-thread.c macros.h
|
|
|
|
## end gnulib module pthread-thread-tests
|
|
|
|
## begin gnulib module pthread_mutex_timedlock
|
|
|
|
if GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK
|
|
libtests_a_SOURCES += pthread_mutex_timedlock.c
|
|
endif
|
|
|
|
## end gnulib module pthread_mutex_timedlock
|
|
|
|
## begin gnulib module pthread_sigmask
|
|
|
|
if GL_COND_OBJ_PTHREAD_SIGMASK
|
|
libtests_a_SOURCES += pthread_sigmask.c
|
|
endif
|
|
|
|
## end gnulib module pthread_sigmask
|
|
|
|
## begin gnulib module pthread_sigmask-tests
|
|
|
|
# Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57214
|
|
if !OS_IS_NETBSD
|
|
TESTS += test-pthread_sigmask1
|
|
endif
|
|
TESTS += test-pthread_sigmask2
|
|
check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2
|
|
test_pthread_sigmask1_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@
|
|
test_pthread_sigmask2_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@ @LIBMULTITHREAD@
|
|
EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h virtualbox.h macros.h
|
|
|
|
## end gnulib module pthread_sigmask-tests
|
|
|
|
## begin gnulib module putenv-gnu
|
|
|
|
if GL_COND_OBJ_PUTENV
|
|
libtests_a_SOURCES += putenv.c
|
|
endif
|
|
|
|
## end gnulib module putenv-gnu
|
|
|
|
## begin gnulib module putenv-gnu-tests
|
|
|
|
TESTS += test-putenv
|
|
check_PROGRAMS += test-putenv
|
|
EXTRA_DIST += test-putenv.c macros.h signature.h
|
|
|
|
## end gnulib module putenv-gnu-tests
|
|
|
|
## begin gnulib module quotearg-simple-tests
|
|
|
|
TESTS += test-quotearg-simple
|
|
check_PROGRAMS += test-quotearg-simple
|
|
test_quotearg_simple_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
|
|
|
|
## end gnulib module quotearg-simple-tests
|
|
|
|
## begin gnulib module raise-tests
|
|
|
|
TESTS += test-raise
|
|
check_PROGRAMS += test-raise
|
|
EXTRA_DIST += test-raise.c signature.h macros.h
|
|
|
|
## end gnulib module raise-tests
|
|
|
|
## begin gnulib module random
|
|
|
|
if GL_COND_OBJ_RANDOM
|
|
libtests_a_SOURCES += random.c
|
|
endif
|
|
|
|
## end gnulib module random
|
|
|
|
## begin gnulib module random-tests
|
|
|
|
TESTS += test-random test-random-mt
|
|
check_PROGRAMS += test-random test-random-mt
|
|
test_random_mt_LDADD = $(LDADD) $(LIBINTL) $(LIBMULTITHREAD) $(YIELD_LIB)
|
|
EXTRA_DIST += test-random.c test-random-mt.c signature.h macros.h
|
|
|
|
## end gnulib module random-tests
|
|
|
|
## begin gnulib module random_r
|
|
|
|
if GL_COND_OBJ_RANDOM_R
|
|
libtests_a_SOURCES += random_r.c
|
|
endif
|
|
|
|
## end gnulib module random_r
|
|
|
|
## begin gnulib module random_r-tests
|
|
|
|
TESTS += test-random_r
|
|
check_PROGRAMS += test-random_r
|
|
EXTRA_DIST += test-random_r.c signature.h macros.h
|
|
|
|
## end gnulib module random_r-tests
|
|
|
|
## begin gnulib module rawmemchr-tests
|
|
|
|
TESTS += test-rawmemchr
|
|
check_PROGRAMS += test-rawmemchr
|
|
EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
|
|
|
|
## end gnulib module rawmemchr-tests
|
|
|
|
## begin gnulib module read-file
|
|
|
|
libtests_a_SOURCES += read-file.c
|
|
|
|
EXTRA_DIST += read-file.h
|
|
|
|
## end gnulib module read-file
|
|
|
|
## begin gnulib module read-file-tests
|
|
|
|
TESTS += test-read-file
|
|
check_PROGRAMS += test-read-file
|
|
EXTRA_DIST += test-read-file.c macros.h
|
|
|
|
## end gnulib module read-file-tests
|
|
|
|
## begin gnulib module readlink-tests
|
|
|
|
TESTS += test-readlink
|
|
check_PROGRAMS += test-readlink
|
|
EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
|
|
|
|
## end gnulib module readlink-tests
|
|
|
|
## begin gnulib module realloc-posix-tests
|
|
|
|
TESTS += test-realloc-posix
|
|
check_PROGRAMS += test-realloc-posix
|
|
EXTRA_DIST += test-realloc-posix.c macros.h
|
|
|
|
## end gnulib module realloc-posix-tests
|
|
|
|
## begin gnulib module reallocarray-tests
|
|
|
|
TESTS += test-reallocarray
|
|
check_PROGRAMS += test-reallocarray
|
|
EXTRA_DIST += test-reallocarray.c signature.h macros.h
|
|
|
|
## end gnulib module reallocarray-tests
|
|
|
|
## begin gnulib module regex-tests
|
|
|
|
TESTS += test-regex
|
|
check_PROGRAMS += test-regex
|
|
test_regex_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBTHREAD)
|
|
EXTRA_DIST += test-regex.c macros.h
|
|
|
|
## end gnulib module regex-tests
|
|
|
|
## begin gnulib module rename-tests
|
|
|
|
TESTS += test-rename
|
|
check_PROGRAMS += test-rename
|
|
EXTRA_DIST += test-rename.h test-rename.c signature.h macros.h
|
|
|
|
## end gnulib module rename-tests
|
|
|
|
## begin gnulib module rmdir-tests
|
|
|
|
TESTS += test-rmdir
|
|
check_PROGRAMS += test-rmdir
|
|
EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
|
|
|
|
## end gnulib module rmdir-tests
|
|
|
|
## begin gnulib module root-uid
|
|
|
|
|
|
EXTRA_DIST += root-uid.h
|
|
|
|
## end gnulib module root-uid
|
|
|
|
## begin gnulib module sched-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sched-h-c++
|
|
check_PROGRAMS += test-sched-h-c++
|
|
test_sched_h_c___SOURCES = test-sched-h-c++.cc
|
|
test_sched_h_c___LDADD = $(LDADD) $(SCHED_YIELD_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sched-h-c++.cc signature.h
|
|
|
|
## end gnulib module sched-h-c++-tests
|
|
|
|
## begin gnulib module sched-h-tests
|
|
|
|
TESTS += test-sched-h
|
|
check_PROGRAMS += test-sched-h
|
|
EXTRA_DIST += test-sched-h.c
|
|
|
|
## end gnulib module sched-h-tests
|
|
|
|
## begin gnulib module sched_yield
|
|
|
|
if GL_COND_OBJ_SCHED_YIELD
|
|
libtests_a_SOURCES += sched_yield.c
|
|
endif
|
|
|
|
## end gnulib module sched_yield
|
|
|
|
## begin gnulib module select
|
|
|
|
if GL_COND_OBJ_SELECT
|
|
libtests_a_SOURCES += select.c
|
|
endif
|
|
|
|
## end gnulib module select
|
|
|
|
## begin gnulib module select-tests
|
|
|
|
TESTS += test-select test-select-in.sh test-select-out.sh
|
|
# test-select-stdin has to be run by hand.
|
|
check_PROGRAMS += test-select test-select-fd test-select-stdin
|
|
test_select_LDADD = $(LDADD) @SELECT_LIB@ @LIBSOCKET@ $(INET_PTON_LIB)
|
|
test_select_fd_LDADD = $(LDADD) @SELECT_LIB@
|
|
test_select_stdin_LDADD = $(LDADD) @SELECT_LIB@
|
|
EXTRA_DIST += macros.h signature.h test-select.c test-select.h test-select-fd.c test-select-in.sh test-select-out.sh test-select-stdin.c
|
|
|
|
## end gnulib module select-tests
|
|
|
|
## begin gnulib module setenv
|
|
|
|
if GL_COND_OBJ_SETENV
|
|
libtests_a_SOURCES += setenv.c
|
|
endif
|
|
|
|
## end gnulib module setenv
|
|
|
|
## begin gnulib module setenv-tests
|
|
|
|
TESTS += test-setenv
|
|
check_PROGRAMS += test-setenv
|
|
EXTRA_DIST += test-setenv.c signature.h macros.h
|
|
|
|
## end gnulib module setenv-tests
|
|
|
|
## begin gnulib module setlocale-null-tests
|
|
|
|
TESTS += \
|
|
test-setlocale_null \
|
|
test-setlocale_null-mt-one \
|
|
test-setlocale_null-mt-all
|
|
check_PROGRAMS += \
|
|
test-setlocale_null \
|
|
test-setlocale_null-mt-one \
|
|
test-setlocale_null-mt-all
|
|
test_setlocale_null_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@
|
|
test_setlocale_null_mt_one_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
|
|
test_setlocale_null_mt_all_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
|
|
EXTRA_DIST += test-setlocale_null.c test-setlocale_null-mt-one.c test-setlocale_null-mt-all.c
|
|
|
|
## end gnulib module setlocale-null-tests
|
|
|
|
## begin gnulib module setlocale-null-unlocked-tests
|
|
|
|
TESTS += test-setlocale_null-unlocked
|
|
check_PROGRAMS += test-setlocale_null-unlocked
|
|
EXTRA_DIST += test-setlocale_null-unlocked.c
|
|
|
|
## end gnulib module setlocale-null-unlocked-tests
|
|
|
|
## begin gnulib module setlocale-tests
|
|
|
|
TESTS += test-setlocale1.sh test-setlocale2.sh test-setlocale-w32
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-setlocale1 test-setlocale2 test-setlocale-w32
|
|
test_setlocale1_LDADD = $(LDADD) @SETLOCALE_LIB@
|
|
test_setlocale2_LDADD = $(LDADD) @SETLOCALE_LIB@
|
|
test_setlocale_w32_LDADD = $(LDADD) @SETLOCALE_LIB@
|
|
|
|
if OS_IS_NATIVE_WINDOWS
|
|
TESTS += test-setlocale-w32utf8.sh
|
|
noinst_PROGRAMS += test-setlocale-w32utf8
|
|
test_setlocale_w32utf8_LDADD = $(LDADD) test-setlocale-windows-utf8.res $(SETLOCALE_LIB)
|
|
test-setlocale-windows-utf8.res : $(srcdir)/windows-utf8.rc
|
|
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-setlocale-windows-utf8.res --output-format=coff
|
|
MOSTLYCLEANFILES += test-setlocale-windows-utf8.res
|
|
endif
|
|
EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c test-setlocale-w32.c test-setlocale-w32utf8.sh test-setlocale-w32utf8.c windows-utf8.rc windows-utf8.manifest signature.h macros.h
|
|
|
|
## end gnulib module setlocale-tests
|
|
|
|
## begin gnulib module setsockopt
|
|
|
|
if GL_COND_OBJ_SETSOCKOPT
|
|
libtests_a_SOURCES += setsockopt.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module setsockopt
|
|
|
|
## begin gnulib module setsockopt-tests
|
|
|
|
TESTS += test-setsockopt
|
|
check_PROGRAMS += test-setsockopt
|
|
test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@
|
|
EXTRA_DIST += test-setsockopt.c signature.h macros.h
|
|
|
|
## end gnulib module setsockopt-tests
|
|
|
|
## begin gnulib module sigaction-tests
|
|
|
|
TESTS += test-sigaction
|
|
check_PROGRAMS += test-sigaction
|
|
EXTRA_DIST += test-sigaction.c signature.h macros.h
|
|
|
|
## end gnulib module sigaction-tests
|
|
|
|
## begin gnulib module signal-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-signal-h-c++
|
|
check_PROGRAMS += test-signal-h-c++
|
|
test_signal_h_c___SOURCES = test-signal-h-c++.cc test-signal-h-c++2.cc
|
|
test_signal_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(PTHREAD_SIGMASK_LIB)
|
|
endif
|
|
EXTRA_DIST += test-signal-h-c++.cc test-signal-h-c++2.cc signature.h
|
|
|
|
## end gnulib module signal-h-c++-tests
|
|
|
|
## begin gnulib module signal-h-tests
|
|
|
|
TESTS += test-signal-h
|
|
check_PROGRAMS += test-signal-h
|
|
EXTRA_DIST += test-signal-h.c
|
|
|
|
## end gnulib module signal-h-tests
|
|
|
|
## begin gnulib module signbit-no-c++-tests
|
|
|
|
TESTS += test-signbit
|
|
check_PROGRAMS += test-signbit
|
|
|
|
EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
|
|
|
|
## end gnulib module signbit-no-c++-tests
|
|
|
|
## begin gnulib module signed-nan
|
|
|
|
libtests_a_SOURCES += signed-nan.h
|
|
|
|
## end gnulib module signed-nan
|
|
|
|
## begin gnulib module signed-snan
|
|
|
|
libtests_a_SOURCES += signed-snan.h
|
|
|
|
## end gnulib module signed-snan
|
|
|
|
## begin gnulib module sigpipe-tests
|
|
|
|
TESTS += test-sigpipe.sh
|
|
check_PROGRAMS += test-sigpipe
|
|
|
|
EXTRA_DIST += test-sigpipe.c test-sigpipe.sh macros.h
|
|
|
|
## end gnulib module sigpipe-tests
|
|
|
|
## begin gnulib module sigprocmask-tests
|
|
|
|
# Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57213
|
|
if !OS_IS_NETBSD
|
|
TESTS += test-sigprocmask
|
|
endif
|
|
check_PROGRAMS += test-sigprocmask
|
|
EXTRA_DIST += test-sigprocmask.c signature.h virtualbox.h macros.h
|
|
|
|
## end gnulib module sigprocmask-tests
|
|
|
|
## begin gnulib module sigsegv-tests
|
|
|
|
TESTS += \
|
|
test-sigsegv-catch-segv1 \
|
|
test-sigsegv-catch-segv2 \
|
|
test-sigsegv-catch-stackoverflow1 \
|
|
test-sigsegv-catch-stackoverflow2
|
|
check_PROGRAMS += \
|
|
test-sigsegv-catch-segv1 \
|
|
test-sigsegv-catch-segv2 \
|
|
test-sigsegv-catch-stackoverflow1 \
|
|
test-sigsegv-catch-stackoverflow2
|
|
test_sigsegv_catch_segv1_LDADD = $(LDADD) $(LIBSIGSEGV)
|
|
test_sigsegv_catch_segv2_LDADD = $(LDADD) $(LIBSIGSEGV)
|
|
test_sigsegv_catch_stackoverflow1_LDADD = $(LDADD) $(LIBSIGSEGV)
|
|
test_sigsegv_catch_stackoverflow2_LDADD = $(LDADD) $(LIBSIGSEGV)
|
|
EXTRA_DIST += test-sigsegv-catch-segv1.c test-sigsegv-catch-segv2.c test-sigsegv-catch-stackoverflow1.c test-sigsegv-catch-stackoverflow2.c altstack-util.h mmap-anon-util.h
|
|
|
|
## end gnulib module sigsegv-tests
|
|
|
|
## begin gnulib module sleep
|
|
|
|
if GL_COND_OBJ_SLEEP
|
|
libtests_a_SOURCES += sleep.c
|
|
endif
|
|
|
|
## end gnulib module sleep
|
|
|
|
## begin gnulib module sleep-tests
|
|
|
|
TESTS += test-sleep
|
|
check_PROGRAMS += test-sleep
|
|
EXTRA_DIST += test-sleep.c signature.h macros.h
|
|
|
|
## end gnulib module sleep-tests
|
|
|
|
## begin gnulib module snan
|
|
|
|
libtests_a_SOURCES += snan.h
|
|
|
|
## end gnulib module snan
|
|
|
|
## begin gnulib module snippet/_Noreturn
|
|
|
|
# Because this Makefile snippet defines a variable used by other
|
|
# gnulib Makefile snippets, it must be present in all makefiles that
|
|
# need it. This is ensured by the applicability 'all' defined above.
|
|
|
|
_NORETURN_H=$(srcdir)/_Noreturn.h
|
|
|
|
EXTRA_DIST += _Noreturn.h
|
|
|
|
## end gnulib module snippet/_Noreturn
|
|
|
|
## begin gnulib module snippet/arg-nonnull
|
|
|
|
# Because this Makefile snippet defines a variable used by other
|
|
# gnulib Makefile snippets, it must be present in all makefiles that
|
|
# need it. This is ensured by the applicability 'all' defined above.
|
|
|
|
ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
|
|
|
|
EXTRA_DIST += arg-nonnull.h
|
|
|
|
## end gnulib module snippet/arg-nonnull
|
|
|
|
## begin gnulib module snippet/c++defs
|
|
|
|
# Because this Makefile snippet defines a variable used by other
|
|
# gnulib Makefile snippets, it must be present in all makefiles that
|
|
# need it. This is ensured by the applicability 'all' defined above.
|
|
|
|
CXXDEFS_H=$(srcdir)/c++defs.h
|
|
|
|
EXTRA_DIST += c++defs.h
|
|
|
|
## end gnulib module snippet/c++defs
|
|
|
|
## begin gnulib module snippet/warn-on-use
|
|
|
|
# Because this Makefile snippet defines a variable used by other
|
|
# gnulib Makefile snippets, it must be present in all makefiles that
|
|
# need it. This is ensured by the applicability 'all' defined above.
|
|
|
|
WARN_ON_USE_H=$(srcdir)/warn-on-use.h
|
|
|
|
EXTRA_DIST += warn-on-use.h
|
|
|
|
## end gnulib module snippet/warn-on-use
|
|
|
|
## begin gnulib module snprintf-tests
|
|
|
|
TESTS += test-snprintf
|
|
check_PROGRAMS += test-snprintf
|
|
|
|
EXTRA_DIST += test-snprintf.c signature.h macros.h
|
|
|
|
## end gnulib module snprintf-tests
|
|
|
|
## begin gnulib module socket
|
|
|
|
if GL_COND_OBJ_SOCKET
|
|
libtests_a_SOURCES += socket.c
|
|
endif
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module socket
|
|
|
|
## begin gnulib module sockets
|
|
|
|
libtests_a_SOURCES += sockets.h sockets.c
|
|
|
|
EXTRA_DIST += w32sock.h
|
|
|
|
## end gnulib module sockets
|
|
|
|
## begin gnulib module sockets-tests
|
|
|
|
TESTS += test-sockets
|
|
check_PROGRAMS += test-sockets
|
|
test_sockets_LDADD = $(LDADD) @LIBSOCKET@
|
|
EXTRA_DIST += test-sockets.c
|
|
|
|
## end gnulib module sockets-tests
|
|
|
|
## begin gnulib module spawn-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-spawn-h-c++
|
|
check_PROGRAMS += test-spawn-h-c++
|
|
test_spawn_h_c___SOURCES = test-spawn-h-c++.cc
|
|
test_spawn_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-spawn-h-c++.cc signature.h
|
|
|
|
## end gnulib module spawn-h-c++-tests
|
|
|
|
## begin gnulib module spawn-h-tests
|
|
|
|
TESTS += test-spawn-h
|
|
check_PROGRAMS += test-spawn-h
|
|
EXTRA_DIST += test-spawn-h.c
|
|
|
|
## end gnulib module spawn-h-tests
|
|
|
|
## begin gnulib module spawn-pipe-tests
|
|
|
|
TESTS += test-spawn-pipe.sh
|
|
check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
|
|
test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
|
|
# The test-spawn-pipe-child program must be a real executable, not a libtool
|
|
# wrapper script, and should link against as few libraries as possible.
|
|
# Therefore don't link it against any libraries other than -lc.
|
|
test_spawn_pipe_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
test_spawn_pipe_child_LDADD =
|
|
|
|
TESTS += test-spawn-pipe-script
|
|
check_PROGRAMS += test-spawn-pipe-script
|
|
test_spawn_pipe_script_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
|
|
test_spawn_pipe_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"
|
|
EXTRA_DIST += test-spawn-pipe.sh test-spawn-pipe-main.c test-spawn-pipe-child.c test-spawn-pipe-script.c executable-script executable-script.sh executable-shell-script qemu.h macros.h
|
|
|
|
## end gnulib module spawn-pipe-tests
|
|
|
|
## begin gnulib module spin-tests
|
|
|
|
TESTS += test-spin1 test-spin2
|
|
check_PROGRAMS += test-spin1 test-spin2
|
|
test_spin2_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@
|
|
EXTRA_DIST += test-spin1.c test-spin2.c atomic-int-gnulib.h
|
|
|
|
## end gnulib module spin-tests
|
|
|
|
## begin gnulib module stat-tests
|
|
|
|
TESTS += test-stat
|
|
check_PROGRAMS += test-stat
|
|
test_stat_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
|
|
|
|
## end gnulib module stat-tests
|
|
|
|
## begin gnulib module stat-time-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stat-time-c++
|
|
check_PROGRAMS += test-stat-time-c++
|
|
test_stat_time_c___SOURCES = test-stat-time-c++.cc
|
|
test_stat_time_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(CLOCK_TIME_LIB) $(MBRTOWC_LIB) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-stat-time-c++.cc signature.h
|
|
|
|
## end gnulib module stat-time-c++-tests
|
|
|
|
## begin gnulib module stat-time-tests
|
|
|
|
TESTS += test-stat-time
|
|
check_PROGRAMS += test-stat-time
|
|
test_stat_time_LDADD = $(LDADD) $(NANOSLEEP_LIB) @LIBINTL@
|
|
EXTRA_DIST += test-stat-time.c macros.h nap.h
|
|
|
|
## end gnulib module stat-time-tests
|
|
|
|
## begin gnulib module stdarg-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stdarg-h-c++
|
|
check_PROGRAMS += test-stdarg-h-c++
|
|
test_stdarg_h_c___SOURCES = test-stdarg-h-c++.cc test-stdarg-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-stdarg-h-c++.cc test-stdarg-h-c++2.cc
|
|
|
|
## end gnulib module stdarg-h-c++-tests
|
|
|
|
## begin gnulib module stdckdint-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stdckdint-h-c++
|
|
check_PROGRAMS += test-stdckdint-h-c++
|
|
test_stdckdint_h_c___SOURCES = test-stdckdint-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-stdckdint-h-c++.cc
|
|
|
|
## end gnulib module stdckdint-h-c++-tests
|
|
|
|
## begin gnulib module stdckdint-h-tests
|
|
|
|
TESTS += test-stdckdint-h
|
|
check_PROGRAMS += test-stdckdint-h
|
|
EXTRA_DIST += macros.h test-intprops.c test-stdckdint-h.c
|
|
|
|
## end gnulib module stdckdint-h-tests
|
|
|
|
## begin gnulib module stddef-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stddef-h-c++
|
|
check_PROGRAMS += test-stddef-h-c++
|
|
test_stddef_h_c___SOURCES = test-stddef-h-c++.cc test-stddef-h-c++2.cc test-stddef-h-c++3.cc
|
|
endif
|
|
EXTRA_DIST += test-stddef-h-c++.cc test-stddef-h-c++2.cc test-stddef-h-c++3.cc
|
|
|
|
## end gnulib module stddef-h-c++-tests
|
|
|
|
## begin gnulib module stddef-h-tests
|
|
|
|
TESTS += test-stddef-h
|
|
check_PROGRAMS += test-stddef-h
|
|
EXTRA_DIST += test-stddef-h.c
|
|
|
|
## end gnulib module stddef-h-tests
|
|
|
|
## begin gnulib module stdint-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stdint-h-c++
|
|
check_PROGRAMS += test-stdint-h-c++
|
|
test_stdint_h_c___SOURCES = test-stdint-h-c++.cc test-stdint-h-c++2.cc
|
|
endif
|
|
EXTRA_DIST += test-stdint-h-c++.cc test-stdint-h-c++2.cc
|
|
|
|
## end gnulib module stdint-h-c++-tests
|
|
|
|
## begin gnulib module stdint-h-tests
|
|
|
|
TESTS += test-stdint-h
|
|
check_PROGRAMS += test-stdint-h
|
|
EXTRA_DIST += test-stdint-h.c
|
|
|
|
## end gnulib module stdint-h-tests
|
|
|
|
## begin gnulib module stdio-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stdio-h-c++
|
|
check_PROGRAMS += test-stdio-h-c++
|
|
test_stdio_h_c___SOURCES = test-stdio-h-c++.cc test-stdio-h-c++2.cc
|
|
test_stdio_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-stdio-h-c++.cc test-stdio-h-c++2.cc signature.h
|
|
|
|
## end gnulib module stdio-h-c++-tests
|
|
|
|
## begin gnulib module stdio-h-tests
|
|
|
|
TESTS += test-stdio-h
|
|
check_PROGRAMS += test-stdio-h
|
|
EXTRA_DIST += test-stdio-h.c macros.h
|
|
|
|
## end gnulib module stdio-h-tests
|
|
|
|
## begin gnulib module stdlib-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-stdlib-h-c++
|
|
check_PROGRAMS += test-stdlib-h-c++
|
|
test_stdlib_h_c___SOURCES = test-stdlib-h-c++.cc test-stdlib-h-c++2.cc
|
|
test_stdlib_h_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-stdlib-h-c++.cc test-stdlib-h-c++2.cc signature.h
|
|
|
|
## end gnulib module stdlib-h-c++-tests
|
|
|
|
## begin gnulib module stdlib-h-tests
|
|
|
|
TESTS += test-stdlib-h
|
|
check_PROGRAMS += test-stdlib-h
|
|
EXTRA_DIST += test-stdlib-h.c test-sys_wait-h.h
|
|
|
|
## end gnulib module stdlib-h-tests
|
|
|
|
## begin gnulib module str_endswith
|
|
|
|
libtests_a_SOURCES += str_endswith.c
|
|
|
|
## end gnulib module str_endswith
|
|
|
|
## begin gnulib module str_endswith-tests
|
|
|
|
TESTS += test-str_endswith
|
|
check_PROGRAMS += test-str_endswith
|
|
EXTRA_DIST += test-str_endswith.c macros.h
|
|
|
|
## end gnulib module str_endswith-tests
|
|
|
|
## begin gnulib module str_startswith
|
|
|
|
libtests_a_SOURCES += str_startswith.c
|
|
|
|
## end gnulib module str_startswith
|
|
|
|
## begin gnulib module str_startswith-tests
|
|
|
|
TESTS += test-str_startswith
|
|
check_PROGRAMS += test-str_startswith
|
|
EXTRA_DIST += test-str_startswith.c macros.h
|
|
|
|
## end gnulib module str_startswith-tests
|
|
|
|
## begin gnulib module strchrnul-tests
|
|
|
|
TESTS += test-strchrnul
|
|
check_PROGRAMS += test-strchrnul
|
|
EXTRA_DIST += test-strchrnul.c signature.h macros.h
|
|
|
|
## end gnulib module strchrnul-tests
|
|
|
|
## begin gnulib module strerror-tests
|
|
|
|
TESTS += test-strerror
|
|
check_PROGRAMS += test-strerror
|
|
EXTRA_DIST += test-strerror.c signature.h macros.h
|
|
|
|
## end gnulib module strerror-tests
|
|
|
|
## begin gnulib module strerror_r-posix
|
|
|
|
|
|
EXTRA_DIST += strerror_r.c
|
|
|
|
EXTRA_libtests_a_SOURCES += strerror_r.c
|
|
|
|
## end gnulib module strerror_r-posix
|
|
|
|
## begin gnulib module strerror_r-posix-tests
|
|
|
|
TESTS += test-strerror_r
|
|
check_PROGRAMS += test-strerror_r
|
|
EXTRA_DIST += test-strerror_r.c signature.h macros.h
|
|
|
|
## end gnulib module strerror_r-posix-tests
|
|
|
|
## begin gnulib module striconv-tests
|
|
|
|
TESTS += test-striconv
|
|
check_PROGRAMS += test-striconv
|
|
test_striconv_LDADD = $(LDADD) @LIBICONV@
|
|
|
|
EXTRA_DIST += test-striconv.c macros.h
|
|
|
|
## end gnulib module striconv-tests
|
|
|
|
## begin gnulib module string-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-string-h-c++
|
|
check_PROGRAMS += test-string-h-c++
|
|
test_string_h_c___SOURCES = test-string-h-c++.cc test-string-h-c++2.cc
|
|
test_string_h_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(LIBC32CONV) $(LIBTHREAD)
|
|
endif
|
|
EXTRA_DIST += test-string-h-c++.cc test-string-h-c++2.cc signature.h
|
|
|
|
## end gnulib module string-h-c++-tests
|
|
|
|
## begin gnulib module string-h-tests
|
|
|
|
TESTS += test-string-h
|
|
check_PROGRAMS += test-string-h
|
|
EXTRA_DIST += test-string-h.c
|
|
|
|
## end gnulib module string-h-tests
|
|
|
|
## begin gnulib module strncpy-tests
|
|
|
|
TESTS += test-strncpy
|
|
check_PROGRAMS += test-strncpy
|
|
EXTRA_DIST += test-strncpy.c zerosize-ptr.h macros.h
|
|
|
|
## end gnulib module strncpy-tests
|
|
|
|
## begin gnulib module strnlen-tests
|
|
|
|
TESTS += test-strnlen
|
|
check_PROGRAMS += test-strnlen
|
|
EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
|
|
|
|
## end gnulib module strnlen-tests
|
|
|
|
## begin gnulib module strsignal-tests
|
|
|
|
TESTS += test-strsignal
|
|
check_PROGRAMS += test-strsignal
|
|
test_strsignal_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
|
|
EXTRA_DIST += test-strsignal.c signature.h macros.h
|
|
|
|
## end gnulib module strsignal-tests
|
|
|
|
## begin gnulib module strstr-tests
|
|
|
|
TESTS += test-strstr
|
|
check_PROGRAMS += test-strstr
|
|
EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
|
|
|
|
## end gnulib module strstr-tests
|
|
|
|
## begin gnulib module strtod-tests
|
|
|
|
TESTS += test-strtod
|
|
check_PROGRAMS += test-strtod
|
|
|
|
TESTS += test-strtod1.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LC_NUMERIC_IMPLEMENTED='@LC_NUMERIC_IMPLEMENTED@'
|
|
check_PROGRAMS += test-strtod1
|
|
test_strtod1_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-strtod.c test-strtod.h test-strtod1.sh test-strtod1.c signature.h minus-zero.h macros.h
|
|
|
|
## end gnulib module strtod-tests
|
|
|
|
## begin gnulib module symlink
|
|
|
|
if GL_COND_OBJ_SYMLINK
|
|
libtests_a_SOURCES += symlink.c
|
|
endif
|
|
|
|
## end gnulib module symlink
|
|
|
|
## begin gnulib module symlink-tests
|
|
|
|
TESTS += test-symlink
|
|
check_PROGRAMS += test-symlink
|
|
EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
|
|
|
|
## end gnulib module symlink-tests
|
|
|
|
## begin gnulib module sys_ioctl-h
|
|
|
|
BUILT_SOURCES += sys/ioctl.h
|
|
|
|
# We need the following in order to create <sys/ioctl.h> when the system
|
|
# does not have a complete one.
|
|
sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|g' \
|
|
-e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_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_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
|
|
-e 's/@''GNULIB_IOCTL''@/$(GL_M4_GNULIB_IOCTL)/g' \
|
|
-e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
|
|
-e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
|
|
-e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
$(srcdir)/sys_ioctl.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
EXTRA_DIST += sys_ioctl.in.h
|
|
|
|
## end gnulib module sys_ioctl-h
|
|
|
|
## begin gnulib module sys_ioctl-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_ioctl-h-c++
|
|
check_PROGRAMS += test-sys_ioctl-h-c++
|
|
test_sys_ioctl_h_c___SOURCES = test-sys_ioctl-h-c++.cc
|
|
test_sys_ioctl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN)
|
|
endif
|
|
EXTRA_DIST += test-sys_ioctl-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_ioctl-h-c++-tests
|
|
|
|
## begin gnulib module sys_ioctl-h-tests
|
|
|
|
TESTS += test-sys_ioctl-h
|
|
check_PROGRAMS += test-sys_ioctl-h
|
|
EXTRA_DIST += test-sys_ioctl-h.c
|
|
|
|
## end gnulib module sys_ioctl-h-tests
|
|
|
|
## begin gnulib module sys_random-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_random-h-c++
|
|
check_PROGRAMS += test-sys_random-h-c++
|
|
test_sys_random_h_c___SOURCES = test-sys_random-h-c++.cc
|
|
test_sys_random_h_c___LDADD = $(LDADD) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sys_random-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_random-h-c++-tests
|
|
|
|
## begin gnulib module sys_random-h-tests
|
|
|
|
TESTS += test-sys_random-h
|
|
check_PROGRAMS += test-sys_random-h
|
|
EXTRA_DIST += test-sys_random-h.c
|
|
|
|
## end gnulib module sys_random-h-tests
|
|
|
|
## begin gnulib module sys_select-h
|
|
|
|
BUILT_SOURCES += sys/select.h
|
|
|
|
# We need the following in order to create <sys/select.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
|
|
-e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
|
|
-e 's/@''GNULIB_PSELECT''@/$(GL_M4_GNULIB_PSELECT)/g' \
|
|
-e 's/@''GNULIB_SELECT''@/$(GL_M4_GNULIB_SELECT)/g' \
|
|
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
|
|
-e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
|
|
-e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
|
|
-e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
|
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
$(srcdir)/sys_select.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += sys/select.h sys/select.h-t
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
EXTRA_DIST += sys_select.in.h
|
|
|
|
## end gnulib module sys_select-h
|
|
|
|
## begin gnulib module sys_select-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_select-h-c++
|
|
check_PROGRAMS += test-sys_select-h-c++
|
|
test_sys_select_h_c___SOURCES = test-sys_select-h-c++.cc
|
|
test_sys_select_h_c___LDADD = $(LDADD) $(LIBINTL) $(SELECT_LIB) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sys_select-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_select-h-c++-tests
|
|
|
|
## begin gnulib module sys_select-h-tests
|
|
|
|
TESTS += test-sys_select-h
|
|
check_PROGRAMS += test-sys_select-h
|
|
EXTRA_DIST += test-sys_select-h.c signature.h
|
|
|
|
## end gnulib module sys_select-h-tests
|
|
|
|
## begin gnulib module sys_socket-h
|
|
|
|
BUILT_SOURCES += sys/socket.h
|
|
libtests_a_SOURCES += sys_socket.c
|
|
|
|
# We need the following in order to create <sys/socket.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
|
|
-e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
|
|
-e 's/@''GNULIB_CLOSE''@/$(GL_M4_GNULIB_CLOSE)/g' \
|
|
-e 's/@''GNULIB_SOCKET''@/$(GL_M4_GNULIB_SOCKET)/g' \
|
|
-e 's/@''GNULIB_CONNECT''@/$(GL_M4_GNULIB_CONNECT)/g' \
|
|
-e 's/@''GNULIB_ACCEPT''@/$(GL_M4_GNULIB_ACCEPT)/g' \
|
|
-e 's/@''GNULIB_BIND''@/$(GL_M4_GNULIB_BIND)/g' \
|
|
-e 's/@''GNULIB_GETPEERNAME''@/$(GL_M4_GNULIB_GETPEERNAME)/g' \
|
|
-e 's/@''GNULIB_GETSOCKNAME''@/$(GL_M4_GNULIB_GETSOCKNAME)/g' \
|
|
-e 's/@''GNULIB_GETSOCKOPT''@/$(GL_M4_GNULIB_GETSOCKOPT)/g' \
|
|
-e 's/@''GNULIB_LISTEN''@/$(GL_M4_GNULIB_LISTEN)/g' \
|
|
-e 's/@''GNULIB_RECV''@/$(GL_M4_GNULIB_RECV)/g' \
|
|
-e 's/@''GNULIB_SEND''@/$(GL_M4_GNULIB_SEND)/g' \
|
|
-e 's/@''GNULIB_RECVFROM''@/$(GL_M4_GNULIB_RECVFROM)/g' \
|
|
-e 's/@''GNULIB_SENDTO''@/$(GL_M4_GNULIB_SENDTO)/g' \
|
|
-e 's/@''GNULIB_SETSOCKOPT''@/$(GL_M4_GNULIB_SETSOCKOPT)/g' \
|
|
-e 's/@''GNULIB_SHUTDOWN''@/$(GL_M4_GNULIB_SHUTDOWN)/g' \
|
|
-e 's/@''GNULIB_ACCEPT4''@/$(GL_M4_GNULIB_ACCEPT4)/g' \
|
|
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
|
|
-e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
|
|
-e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
|
|
-e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
|
|
-e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
|
|
-e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|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)' \
|
|
$(srcdir)/sys_socket.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
EXTRA_DIST += sys_socket.in.h
|
|
|
|
## end gnulib module sys_socket-h
|
|
|
|
## begin gnulib module sys_socket-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_socket-h-c++
|
|
check_PROGRAMS += test-sys_socket-h-c++
|
|
test_sys_socket_h_c___SOURCES = test-sys_socket-h-c++.cc
|
|
test_sys_socket_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sys_socket-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_socket-h-c++-tests
|
|
|
|
## begin gnulib module sys_socket-h-tests
|
|
|
|
TESTS += test-sys_socket-h
|
|
check_PROGRAMS += test-sys_socket-h
|
|
EXTRA_DIST += test-sys_socket-h.c macros.h
|
|
|
|
## end gnulib module sys_socket-h-tests
|
|
|
|
## begin gnulib module sys_stat-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_stat-h-c++
|
|
check_PROGRAMS += test-sys_stat-h-c++
|
|
test_sys_stat_h_c___SOURCES = test-sys_stat-h-c++.cc
|
|
test_sys_stat_h_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(MBRTOWC_LIB) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sys_stat-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_stat-h-c++-tests
|
|
|
|
## begin gnulib module sys_stat-h-tests
|
|
|
|
TESTS += test-sys_stat-h
|
|
check_PROGRAMS += test-sys_stat-h
|
|
EXTRA_DIST += test-sys_stat-h.c
|
|
|
|
## end gnulib module sys_stat-h-tests
|
|
|
|
## begin gnulib module sys_time-h
|
|
|
|
BUILT_SOURCES += sys/time.h
|
|
|
|
# We need the following in order to create <sys/time.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|g' \
|
|
-e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_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_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
|
|
-e 's/@''GNULIB_GETTIMEOFDAY''@/$(GL_M4_GNULIB_GETTIMEOFDAY)/g' \
|
|
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
|
|
-e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
|
|
-e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
|
|
-e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
|
|
-e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/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)' \
|
|
$(srcdir)/sys_time.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += sys/time.h sys/time.h-t
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
EXTRA_DIST += sys_time.in.h
|
|
|
|
## end gnulib module sys_time-h
|
|
|
|
## begin gnulib module sys_time-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_time-h-c++
|
|
check_PROGRAMS += test-sys_time-h-c++
|
|
test_sys_time_h_c___SOURCES = test-sys_time-h-c++.cc
|
|
test_sys_time_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB)
|
|
endif
|
|
EXTRA_DIST += test-sys_time-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_time-h-c++-tests
|
|
|
|
## begin gnulib module sys_time-h-tests
|
|
|
|
TESTS += test-sys_time-h
|
|
check_PROGRAMS += test-sys_time-h
|
|
EXTRA_DIST += test-sys_time-h.c
|
|
|
|
## end gnulib module sys_time-h-tests
|
|
|
|
## begin gnulib module sys_types-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_types-h-c++
|
|
check_PROGRAMS += test-sys_types-h-c++
|
|
test_sys_types_h_c___SOURCES = test-sys_types-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-sys_types-h-c++.cc
|
|
|
|
## end gnulib module sys_types-h-c++-tests
|
|
|
|
## begin gnulib module sys_types-h-tests
|
|
|
|
TESTS += test-sys_types-h
|
|
check_PROGRAMS += test-sys_types-h
|
|
EXTRA_DIST += test-sys_types-h.c
|
|
|
|
## end gnulib module sys_types-h-tests
|
|
|
|
## begin gnulib module sys_uio-h
|
|
|
|
BUILT_SOURCES += sys/uio.h
|
|
|
|
# We need the following in order to create <sys/uio.h> when the system
|
|
# doesn't have one that works with the given compiler.
|
|
sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
|
|
$(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
|
|
$(AM_V_at)$(SED_HEADER_STDOUT) \
|
|
-e 's|@''GUARD_PREFIX''@|GL_M4|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_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
|
|
-e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
|
|
$(srcdir)/sys_uio.in.h > $@-t
|
|
$(AM_V_at)mv $@-t $@
|
|
MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
|
|
MOSTLYCLEANDIRS += sys
|
|
|
|
EXTRA_DIST += sys_uio.in.h
|
|
|
|
## end gnulib module sys_uio-h
|
|
|
|
## begin gnulib module sys_uio-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_uio-h-c++
|
|
check_PROGRAMS += test-sys_uio-h-c++
|
|
test_sys_uio_h_c___SOURCES = test-sys_uio-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-sys_uio-h-c++.cc
|
|
|
|
## end gnulib module sys_uio-h-c++-tests
|
|
|
|
## begin gnulib module sys_uio-h-tests
|
|
|
|
TESTS += test-sys_uio-h
|
|
check_PROGRAMS += test-sys_uio-h
|
|
EXTRA_DIST += test-sys_uio-h.c
|
|
|
|
## end gnulib module sys_uio-h-tests
|
|
|
|
## begin gnulib module sys_wait-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-sys_wait-h-c++
|
|
check_PROGRAMS += test-sys_wait-h-c++
|
|
test_sys_wait_h_c___SOURCES = test-sys_wait-h-c++.cc
|
|
endif
|
|
EXTRA_DIST += test-sys_wait-h-c++.cc signature.h
|
|
|
|
## end gnulib module sys_wait-h-c++-tests
|
|
|
|
## begin gnulib module sys_wait-h-tests
|
|
|
|
TESTS += test-sys_wait-h
|
|
check_PROGRAMS += test-sys_wait-h
|
|
EXTRA_DIST += test-sys_wait-h.c test-sys_wait-h.h
|
|
|
|
## end gnulib module sys_wait-h-tests
|
|
|
|
## begin gnulib module test-framework-sh
|
|
|
|
# The value of top_builddir, determined by Autoconf and stored in the Makefile,
|
|
# consists of n times '..', where n is the depth of the $(srcdir) under
|
|
# $(top_srcdir). Here we need one more '..', because the test framework
|
|
# (init.sh) arranges to run the tests in a subdirectory of depth 1 under the
|
|
# directory where the Makefile sits.
|
|
TESTS_ENVIRONMENT += top_builddir='../@top_builddir@'
|
|
|
|
## end gnulib module test-framework-sh
|
|
|
|
## begin gnulib module test-framework-sh-tests
|
|
|
|
TESTS += test-init.sh
|
|
EXTRA_DIST += init.sh
|
|
EXTRA_DIST += test-init.sh
|
|
|
|
## end gnulib module test-framework-sh-tests
|
|
|
|
## begin gnulib module thread
|
|
|
|
libtests_a_SOURCES += glthread/thread.h glthread/thread.c
|
|
|
|
## end gnulib module thread
|
|
|
|
## begin gnulib module thread-tests
|
|
|
|
TESTS += test-thread_self test-thread_create
|
|
check_PROGRAMS += test-thread_self test-thread_create
|
|
test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
|
|
test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
|
|
EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
|
|
|
|
## end gnulib module thread-tests
|
|
|
|
## begin gnulib module time
|
|
|
|
if GL_COND_OBJ_TIME
|
|
libtests_a_SOURCES += time.c
|
|
endif
|
|
|
|
## end gnulib module time
|
|
|
|
## begin gnulib module time-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-time-h-c++
|
|
check_PROGRAMS += test-time-h-c++
|
|
test_time_h_c___SOURCES = test-time-h-c++.cc test-time-h-c++2.cc
|
|
test_time_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(CLOCK_TIME_LIB)
|
|
endif
|
|
EXTRA_DIST += test-time-h-c++.cc test-time-h-c++2.cc signature.h
|
|
|
|
## end gnulib module time-h-c++-tests
|
|
|
|
## begin gnulib module time-h-tests
|
|
|
|
TESTS += test-time-h
|
|
check_PROGRAMS += test-time-h
|
|
EXTRA_DIST += test-time-h.c
|
|
|
|
## end gnulib module time-h-tests
|
|
|
|
## begin gnulib module time-tests
|
|
|
|
TESTS += test-time
|
|
check_PROGRAMS += test-time
|
|
EXTRA_DIST += test-time.c signature.h macros.h
|
|
|
|
## end gnulib module time-tests
|
|
|
|
## begin gnulib module trim-tests
|
|
|
|
TESTS += test-trim1.sh test-trim2.sh test-trim3.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-trim
|
|
test_trim_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
EXTRA_DIST += test-trim1.sh test-trim2.sh test-trim3.sh test-trim.c macros.h
|
|
|
|
## end gnulib module trim-tests
|
|
|
|
## begin gnulib module trunc
|
|
|
|
if GL_COND_OBJ_TRUNC
|
|
libtests_a_SOURCES += trunc.c
|
|
endif
|
|
|
|
## end gnulib module trunc
|
|
|
|
## begin gnulib module trunc-tests
|
|
|
|
TESTS += test-trunc1 test-trunc2
|
|
check_PROGRAMS += test-trunc1 test-trunc2
|
|
test_trunc1_LDADD = $(LDADD) @TRUNC_LIBM@
|
|
test_trunc2_LDADD = $(LDADD) @TRUNC_LIBM@
|
|
EXTRA_DIST += test-trunc1.c test-trunc2.c minus-zero.h infinity.h signature.h macros.h
|
|
|
|
## end gnulib module trunc-tests
|
|
|
|
## begin gnulib module truncl
|
|
|
|
if GL_COND_OBJ_TRUNCL
|
|
libtests_a_SOURCES += truncl.c
|
|
endif
|
|
|
|
EXTRA_DIST += trunc.c
|
|
|
|
EXTRA_libtests_a_SOURCES += trunc.c
|
|
|
|
## end gnulib module truncl
|
|
|
|
## begin gnulib module truncl-tests
|
|
|
|
TESTS += test-truncl
|
|
check_PROGRAMS += test-truncl
|
|
test_truncl_LDADD = $(LDADD) @TRUNCL_LIBM@
|
|
EXTRA_DIST += test-truncl.c minus-zero.h infinity.h signature.h macros.h
|
|
|
|
## end gnulib module truncl-tests
|
|
|
|
## begin gnulib module uchar-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-uchar-h-c++
|
|
check_PROGRAMS += test-uchar-h-c++
|
|
test_uchar_h_c___SOURCES = test-uchar-h-c++.cc
|
|
if CXX_HAVE_CUCHAR
|
|
test_uchar_h_c___SOURCES += test-uchar-h-c++2.cc
|
|
endif
|
|
test_uchar_h_c___LDADD = $(LDADD) $(LIBUNISTRING) $(MBRTOWC_LIB) $(LIBC32CONV)
|
|
endif
|
|
EXTRA_DIST += test-uchar-h-c++.cc test-uchar-h-c++2.cc signature.h
|
|
|
|
## end gnulib module uchar-h-c++-tests
|
|
|
|
## begin gnulib module uchar-h-tests
|
|
|
|
TESTS += test-uchar-h
|
|
check_PROGRAMS += test-uchar-h
|
|
EXTRA_DIST += test-uchar-h.c
|
|
|
|
## end gnulib module uchar-h-tests
|
|
|
|
## begin gnulib module unicase/base-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-unicase-h-c++
|
|
check_PROGRAMS += test-unicase-h-c++
|
|
test_unicase_h_c___SOURCES = unicase/test-unicase-h-c++.cc
|
|
test_unicase_h_c___LDADD = $(LDADD) $(LIBUNISTRING)
|
|
endif
|
|
EXTRA_DIST += unicase/test-unicase-h-c++.cc
|
|
|
|
## end gnulib module unicase/base-c++-tests
|
|
|
|
## begin gnulib module unicase/base-tests
|
|
|
|
TESTS += test-unicase-h
|
|
check_PROGRAMS += test-unicase-h
|
|
test_unicase_h_SOURCES = unicase/test-unicase-h.c
|
|
test_unicase_h_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unicase/test-unicase-h.c
|
|
|
|
## end gnulib module unicase/base-tests
|
|
|
|
## begin gnulib module unicase/tolower-tests
|
|
|
|
TESTS += test-uc_tolower
|
|
check_PROGRAMS += test-uc_tolower
|
|
test_uc_tolower_SOURCES = unicase/test-uc_tolower.c
|
|
test_uc_tolower_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unicase/test-uc_tolower.c unicase/test-mapping-part1.h unicase/test-mapping-part2.h macros.h
|
|
|
|
## end gnulib module unicase/tolower-tests
|
|
|
|
## begin gnulib module unictype/base-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-unictype-h-c++
|
|
check_PROGRAMS += test-unictype-h-c++
|
|
test_unictype_h_c___SOURCES = unictype/test-unictype-h-c++.cc
|
|
test_unictype_h_c___LDADD = $(LDADD) $(LIBUNISTRING)
|
|
endif
|
|
EXTRA_DIST += unictype/test-unictype-h-c++.cc
|
|
|
|
## end gnulib module unictype/base-c++-tests
|
|
|
|
## begin gnulib module unictype/base-tests
|
|
|
|
TESTS += test-unictype-h
|
|
check_PROGRAMS += test-unictype-h
|
|
test_unictype_h_SOURCES = unictype/test-unictype-h.c
|
|
test_unictype_h_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-unictype-h.c
|
|
|
|
## end gnulib module unictype/base-tests
|
|
|
|
## begin gnulib module unictype/ctype-alnum-tests
|
|
|
|
TESTS += test-ctype_alnum
|
|
check_PROGRAMS += test-ctype_alnum
|
|
test_ctype_alnum_SOURCES = unictype/test-ctype_alnum.c
|
|
test_ctype_alnum_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_alnum.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-alnum-tests
|
|
|
|
## begin gnulib module unictype/ctype-alpha-tests
|
|
|
|
TESTS += test-ctype_alpha
|
|
check_PROGRAMS += test-ctype_alpha
|
|
test_ctype_alpha_SOURCES = unictype/test-ctype_alpha.c
|
|
test_ctype_alpha_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_alpha.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-alpha-tests
|
|
|
|
## begin gnulib module unictype/ctype-blank-tests
|
|
|
|
TESTS += test-ctype_blank
|
|
check_PROGRAMS += test-ctype_blank
|
|
test_ctype_blank_SOURCES = unictype/test-ctype_blank.c
|
|
test_ctype_blank_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_blank.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-blank-tests
|
|
|
|
## begin gnulib module unictype/ctype-cntrl-tests
|
|
|
|
TESTS += test-ctype_cntrl
|
|
check_PROGRAMS += test-ctype_cntrl
|
|
test_ctype_cntrl_SOURCES = unictype/test-ctype_cntrl.c
|
|
test_ctype_cntrl_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_cntrl.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-cntrl-tests
|
|
|
|
## begin gnulib module unictype/ctype-digit-tests
|
|
|
|
TESTS += test-ctype_digit
|
|
check_PROGRAMS += test-ctype_digit
|
|
test_ctype_digit_SOURCES = unictype/test-ctype_digit.c
|
|
test_ctype_digit_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_digit.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-digit-tests
|
|
|
|
## begin gnulib module unictype/ctype-graph-tests
|
|
|
|
TESTS += test-ctype_graph
|
|
check_PROGRAMS += test-ctype_graph
|
|
test_ctype_graph_SOURCES = unictype/test-ctype_graph.c
|
|
test_ctype_graph_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_graph.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-graph-tests
|
|
|
|
## begin gnulib module unictype/ctype-lower-tests
|
|
|
|
TESTS += test-ctype_lower
|
|
check_PROGRAMS += test-ctype_lower
|
|
test_ctype_lower_SOURCES = unictype/test-ctype_lower.c
|
|
test_ctype_lower_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_lower.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-lower-tests
|
|
|
|
## begin gnulib module unictype/ctype-print-tests
|
|
|
|
TESTS += test-ctype_print
|
|
check_PROGRAMS += test-ctype_print
|
|
test_ctype_print_SOURCES = unictype/test-ctype_print.c
|
|
test_ctype_print_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_print.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-print-tests
|
|
|
|
## begin gnulib module unictype/ctype-punct-tests
|
|
|
|
TESTS += test-ctype_punct
|
|
check_PROGRAMS += test-ctype_punct
|
|
test_ctype_punct_SOURCES = unictype/test-ctype_punct.c
|
|
test_ctype_punct_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_punct.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-punct-tests
|
|
|
|
## begin gnulib module unictype/ctype-space-tests
|
|
|
|
TESTS += test-ctype_space
|
|
check_PROGRAMS += test-ctype_space
|
|
test_ctype_space_SOURCES = unictype/test-ctype_space.c
|
|
test_ctype_space_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_space.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-space-tests
|
|
|
|
## begin gnulib module unictype/ctype-upper-tests
|
|
|
|
TESTS += test-ctype_upper
|
|
check_PROGRAMS += test-ctype_upper
|
|
test_ctype_upper_SOURCES = unictype/test-ctype_upper.c
|
|
test_ctype_upper_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_upper.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-upper-tests
|
|
|
|
## begin gnulib module unictype/ctype-xdigit-tests
|
|
|
|
TESTS += test-ctype_xdigit
|
|
check_PROGRAMS += test-ctype_xdigit
|
|
test_ctype_xdigit_SOURCES = unictype/test-ctype_xdigit.c
|
|
test_ctype_xdigit_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unictype/test-ctype_xdigit.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
|
|
|
|
## end gnulib module unictype/ctype-xdigit-tests
|
|
|
|
## begin gnulib module uninorm/base-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-uninorm-h-c++
|
|
check_PROGRAMS += test-uninorm-h-c++
|
|
test_uninorm_h_c___SOURCES = uninorm/test-uninorm-h-c++.cc
|
|
test_uninorm_h_c___LDADD = $(LDADD) $(LIBUNISTRING)
|
|
endif
|
|
EXTRA_DIST += uninorm/test-uninorm-h-c++.cc
|
|
|
|
## end gnulib module uninorm/base-c++-tests
|
|
|
|
## begin gnulib module uninorm/base-tests
|
|
|
|
TESTS += test-uninorm-h
|
|
check_PROGRAMS += test-uninorm-h
|
|
test_uninorm_h_SOURCES = uninorm/test-uninorm-h.c
|
|
test_uninorm_h_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += uninorm/test-uninorm-h.c
|
|
|
|
## end gnulib module uninorm/base-tests
|
|
|
|
## begin gnulib module unistd-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-unistd-h-c++
|
|
check_PROGRAMS += test-unistd-h-c++
|
|
test_unistd_h_c___SOURCES = test-unistd-h-c++.cc
|
|
test_unistd_h_c___LDADD = $(LDADD) $(LIBINTL) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN) $(LIBSOCKET) $(GETLOGIN_LIB) $(GETRANDOM_LIB)
|
|
endif
|
|
EXTRA_DIST += test-unistd-h-c++.cc signature.h
|
|
|
|
## end gnulib module unistd-h-c++-tests
|
|
|
|
## begin gnulib module unistd-h-tests
|
|
|
|
TESTS += test-unistd-h
|
|
check_PROGRAMS += test-unistd-h
|
|
EXTRA_DIST += test-unistd-h.c
|
|
|
|
## end gnulib module unistd-h-tests
|
|
|
|
## begin gnulib module unistd-safer-tests
|
|
|
|
TESTS += test-dup-safer
|
|
check_PROGRAMS += test-dup-safer
|
|
EXTRA_DIST += test-dup-safer.c macros.h
|
|
|
|
## end gnulib module unistd-safer-tests
|
|
|
|
## begin gnulib module unistr/base-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-unistr-h-c++
|
|
check_PROGRAMS += test-unistr-h-c++
|
|
test_unistr_h_c___SOURCES = unistr/test-unistr-h-c++.cc
|
|
test_unistr_h_c___LDADD = $(LDADD) $(LIBUNISTRING)
|
|
endif
|
|
EXTRA_DIST += unistr/test-unistr-h-c++.cc
|
|
|
|
## end gnulib module unistr/base-c++-tests
|
|
|
|
## begin gnulib module unistr/base-tests
|
|
|
|
TESTS += test-unistr-h
|
|
check_PROGRAMS += test-unistr-h
|
|
test_unistr_h_SOURCES = unistr/test-unistr-h.c
|
|
test_unistr_h_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unistr/test-unistr-h.c
|
|
|
|
## end gnulib module unistr/base-tests
|
|
|
|
## begin gnulib module unistr/u8-mbtoucr-tests
|
|
|
|
TESTS += test-u8-mbtoucr
|
|
check_PROGRAMS += test-u8-mbtoucr
|
|
test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c
|
|
test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h
|
|
|
|
## end gnulib module unistr/u8-mbtoucr-tests
|
|
|
|
## begin gnulib module unistr/u8-uctomb-tests
|
|
|
|
TESTS += test-u8-uctomb
|
|
check_PROGRAMS += test-u8-uctomb
|
|
test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c
|
|
test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += unistr/test-u8-uctomb.c macros.h
|
|
|
|
## end gnulib module unistr/u8-uctomb-tests
|
|
|
|
## begin gnulib module uniwidth/base-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-uniwidth-h-c++
|
|
check_PROGRAMS += test-uniwidth-h-c++
|
|
test_uniwidth_h_c___SOURCES = uniwidth/test-uniwidth-h-c++.cc
|
|
test_uniwidth_h_c___LDADD = $(LDADD) $(LIBUNISTRING)
|
|
endif
|
|
EXTRA_DIST += uniwidth/test-uniwidth-h-c++.cc
|
|
|
|
## end gnulib module uniwidth/base-c++-tests
|
|
|
|
## begin gnulib module uniwidth/base-tests
|
|
|
|
TESTS += test-uniwidth-h
|
|
check_PROGRAMS += test-uniwidth-h
|
|
test_uniwidth_h_SOURCES = uniwidth/test-uniwidth-h.c
|
|
test_uniwidth_h_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += uniwidth/test-uniwidth-h.c
|
|
|
|
## end gnulib module uniwidth/base-tests
|
|
|
|
## begin gnulib module uniwidth/width-tests
|
|
|
|
TESTS += test-uc_width uniwidth/test-uc_width2.sh
|
|
check_PROGRAMS += test-uc_width test-uc_width2
|
|
test_uc_width_SOURCES = uniwidth/test-uc_width.c
|
|
test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
test_uc_width2_SOURCES = uniwidth/test-uc_width2.c
|
|
test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING)
|
|
EXTRA_DIST += uniwidth/test-uc_width.c uniwidth/test-uc_width2.c uniwidth/test-uc_width2.sh macros.h
|
|
|
|
## end gnulib module uniwidth/width-tests
|
|
|
|
## begin gnulib module unsetenv
|
|
|
|
if GL_COND_OBJ_UNSETENV
|
|
libtests_a_SOURCES += unsetenv.c
|
|
endif
|
|
|
|
## end gnulib module unsetenv
|
|
|
|
## begin gnulib module unsetenv-tests
|
|
|
|
TESTS += test-unsetenv
|
|
check_PROGRAMS += test-unsetenv
|
|
EXTRA_DIST += test-unsetenv.c signature.h macros.h
|
|
|
|
## end gnulib module unsetenv-tests
|
|
|
|
## begin gnulib module update-copyright-tests
|
|
|
|
TESTS += test-update-copyright.sh
|
|
TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
|
|
EXTRA_DIST += test-update-copyright.sh
|
|
|
|
## end gnulib module update-copyright-tests
|
|
|
|
## begin gnulib module vasnprintf-tests
|
|
|
|
TESTS += test-vasnprintf
|
|
check_PROGRAMS += test-vasnprintf
|
|
EXTRA_DIST += test-vasnprintf.c macros.h
|
|
|
|
## end gnulib module vasnprintf-tests
|
|
|
|
## begin gnulib module vasprintf-posix-tests
|
|
|
|
TESTS += test-vasprintf-posix
|
|
check_PROGRAMS += test-vasprintf-posix
|
|
|
|
EXTRA_DIST += test-vasprintf-posix.c minus-zero.h infinity.h macros.h
|
|
|
|
## end gnulib module vasprintf-posix-tests
|
|
|
|
## begin gnulib module vasprintf-tests
|
|
|
|
TESTS += test-vasprintf
|
|
check_PROGRAMS += test-vasprintf
|
|
|
|
EXTRA_DIST += test-vasprintf.c signature.h macros.h
|
|
|
|
## end gnulib module vasprintf-tests
|
|
|
|
## begin gnulib module vc-list-files-tests
|
|
|
|
TESTS += test-vc-list-files-git.sh
|
|
TESTS += test-vc-list-files-cvs.sh
|
|
TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
|
|
EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
|
|
|
|
## end gnulib module vc-list-files-tests
|
|
|
|
## begin gnulib module verify-tests
|
|
|
|
TESTS_ENVIRONMENT += MAKE='$(MAKE)'
|
|
TESTS += test-verify test-verify.sh
|
|
check_PROGRAMS += test-verify
|
|
# test-verify-try is never built, but test-verify.sh needs a rule to
|
|
# build test-verify-try.o.
|
|
EXTRA_PROGRAMS += test-verify-try
|
|
|
|
# This test expects compilation of test-verify-try.c to fail, and
|
|
# each time it fails, the makefile rule does not perform the usual
|
|
# "mv -f $name.Tpo $name.po, so tell make clean to remove that file.
|
|
MOSTLYCLEANFILES += .deps/test-verify-try.Tpo
|
|
EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh
|
|
|
|
## end gnulib module verify-tests
|
|
|
|
## begin gnulib module verror-tests
|
|
|
|
TESTS += test-verror.sh
|
|
check_PROGRAMS += test-verror
|
|
test_verror_LDADD = $(LDADD) $(LIBINTL)
|
|
EXTRA_DIST += test-verror.sh test-verror.c macros.h
|
|
|
|
## end gnulib module verror-tests
|
|
|
|
## begin gnulib module version-etc-tests
|
|
|
|
TESTS += test-version-etc.sh
|
|
check_PROGRAMS += test-version-etc
|
|
test_version_etc_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-version-etc.c test-version-etc.sh
|
|
|
|
## end gnulib module version-etc-tests
|
|
|
|
## begin gnulib module vma-iter
|
|
|
|
libtests_a_SOURCES += vma-iter.c
|
|
|
|
EXTRA_DIST += vma-iter.h
|
|
|
|
## end gnulib module vma-iter
|
|
|
|
## begin gnulib module wchar-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-wchar-h-c++
|
|
check_PROGRAMS += test-wchar-h-c++
|
|
test_wchar_h_c___SOURCES = test-wchar-h-c++.cc test-wchar-h-c++2.cc test-wchar-h-c++3.cc
|
|
test_wchar_h_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(LIBTHREAD)
|
|
endif
|
|
EXTRA_DIST += test-wchar-h-c++.cc test-wchar-h-c++2.cc test-wchar-h-c++3.cc signature.h
|
|
|
|
## end gnulib module wchar-h-c++-tests
|
|
|
|
## begin gnulib module wchar-h-tests
|
|
|
|
TESTS += test-wchar-h
|
|
check_PROGRAMS += test-wchar-h
|
|
EXTRA_DIST += test-wchar-h.c
|
|
|
|
## end gnulib module wchar-h-tests
|
|
|
|
## begin gnulib module wcrtomb-tests
|
|
|
|
TESTS += \
|
|
test-wcrtomb.sh \
|
|
test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh \
|
|
test-wcrtomb-w32-5.sh test-wcrtomb-w32-6.sh test-wcrtomb-w32-7.sh \
|
|
test-wcrtomb-w32-8.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
|
|
test_wcrtomb_LDADD = $(LDADD) $(SETLOCALE_LIB)
|
|
EXTRA_DIST += test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32-6.sh test-wcrtomb-w32-7.sh test-wcrtomb-w32-8.sh test-wcrtomb-w32.c signature.h macros.h
|
|
|
|
## end gnulib module wcrtomb-tests
|
|
|
|
## begin gnulib module wctob
|
|
|
|
if GL_COND_OBJ_WCTOB
|
|
libtests_a_SOURCES += wctob.c
|
|
endif
|
|
|
|
## end gnulib module wctob
|
|
|
|
## begin gnulib module wctomb
|
|
|
|
if GL_COND_OBJ_WCTOMB
|
|
libtests_a_SOURCES += wctomb.c
|
|
endif
|
|
|
|
EXTRA_DIST += wctomb-impl.h
|
|
|
|
## end gnulib module wctomb
|
|
|
|
## begin gnulib module wctype-h-c++-tests
|
|
|
|
if ANSICXX
|
|
TESTS += test-wctype-h-c++
|
|
check_PROGRAMS += test-wctype-h-c++
|
|
test_wctype_h_c___SOURCES = test-wctype-h-c++.cc test-wctype-h-c++2.cc
|
|
test_wctype_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN)
|
|
endif
|
|
EXTRA_DIST += test-wctype-h-c++.cc test-wctype-h-c++2.cc signature.h
|
|
|
|
## end gnulib module wctype-h-c++-tests
|
|
|
|
## begin gnulib module wctype-h-tests
|
|
|
|
TESTS += test-wctype-h
|
|
check_PROGRAMS += test-wctype-h
|
|
EXTRA_DIST += test-wctype-h.c macros.h
|
|
|
|
## end gnulib module wctype-h-tests
|
|
|
|
## begin gnulib module wctype-tests
|
|
|
|
TESTS += test-wctype
|
|
check_PROGRAMS += test-wctype
|
|
EXTRA_DIST += test-wctype.c signature.h macros.h
|
|
|
|
## end gnulib module wctype-tests
|
|
|
|
## begin gnulib module wcwidth-tests
|
|
|
|
TESTS += test-wcwidth
|
|
check_PROGRAMS += test-wcwidth
|
|
test_wcwidth_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING)
|
|
EXTRA_DIST += test-wcwidth.c signature.h macros.h
|
|
|
|
## end gnulib module wcwidth-tests
|
|
|
|
## begin gnulib module windows-cond
|
|
|
|
if GL_COND_OBJ_WINDOWS_COND
|
|
libtests_a_SOURCES += windows-cond.c
|
|
endif
|
|
|
|
EXTRA_DIST += windows-cond.h windows-initguard.h
|
|
|
|
## end gnulib module windows-cond
|
|
|
|
## begin gnulib module windows-mutex-tests
|
|
|
|
TESTS += test-windows-mutex-type
|
|
check_PROGRAMS += test-windows-mutex-type
|
|
EXTRA_DIST += test-windows-mutex-type.c macros.h
|
|
|
|
## end gnulib module windows-mutex-tests
|
|
|
|
## begin gnulib module windows-recmutex-tests
|
|
|
|
TESTS += test-windows-recmutex-type
|
|
check_PROGRAMS += test-windows-recmutex-type
|
|
EXTRA_DIST += test-windows-recmutex-type.c macros.h
|
|
|
|
## end gnulib module windows-recmutex-tests
|
|
|
|
## begin gnulib module windows-thread
|
|
|
|
if GL_COND_OBJ_WINDOWS_THREAD
|
|
libtests_a_SOURCES += windows-thread.c
|
|
endif
|
|
|
|
EXTRA_DIST += windows-thread.h
|
|
|
|
## end gnulib module windows-thread
|
|
|
|
## begin gnulib module windows-timedmutex
|
|
|
|
if GL_COND_OBJ_WINDOWS_TIMEDMUTEX
|
|
libtests_a_SOURCES += windows-timedmutex.c
|
|
endif
|
|
|
|
EXTRA_DIST += windows-initguard.h windows-timedmutex.h
|
|
|
|
## end gnulib module windows-timedmutex
|
|
|
|
## begin gnulib module windows-timedmutex-tests
|
|
|
|
TESTS += test-windows-timedmutex-type
|
|
check_PROGRAMS += test-windows-timedmutex-type
|
|
EXTRA_DIST += test-windows-timedmutex-type.c macros.h
|
|
|
|
## end gnulib module windows-timedmutex-tests
|
|
|
|
## begin gnulib module windows-timedrecmutex
|
|
|
|
if GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX
|
|
libtests_a_SOURCES += windows-timedrecmutex.c
|
|
endif
|
|
|
|
EXTRA_DIST += windows-initguard.h windows-timedrecmutex.h
|
|
|
|
## end gnulib module windows-timedrecmutex
|
|
|
|
## begin gnulib module windows-timedrecmutex-tests
|
|
|
|
TESTS += test-windows-timedrecmutex-type
|
|
check_PROGRAMS += test-windows-timedrecmutex-type
|
|
EXTRA_DIST += test-windows-timedrecmutex-type.c macros.h
|
|
|
|
## end gnulib module windows-timedrecmutex-tests
|
|
|
|
## begin gnulib module windows-timedrwlock
|
|
|
|
if GL_COND_OBJ_WINDOWS_TIMEDRWLOCK
|
|
libtests_a_SOURCES += windows-timedrwlock.c
|
|
endif
|
|
|
|
EXTRA_DIST += windows-initguard.h windows-timedrwlock.h
|
|
|
|
## end gnulib module windows-timedrwlock
|
|
|
|
## begin gnulib module write
|
|
|
|
if GL_COND_OBJ_WRITE
|
|
libtests_a_SOURCES += write.c
|
|
endif
|
|
|
|
## end gnulib module write
|
|
|
|
## begin gnulib module write-tests
|
|
|
|
TESTS += test-write
|
|
check_PROGRAMS += test-write
|
|
EXTRA_DIST += test-write.c signature.h macros.h
|
|
|
|
## end gnulib module write-tests
|
|
|
|
## begin gnulib module xalloc-die-tests
|
|
|
|
TESTS += test-xalloc-die.sh
|
|
check_PROGRAMS += test-xalloc-die
|
|
test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
|
|
|
|
## end gnulib module xalloc-die-tests
|
|
|
|
## begin gnulib module xconcat-filename
|
|
|
|
libtests_a_SOURCES += xconcat-filename.c
|
|
|
|
EXTRA_DIST += concat-filename.h
|
|
|
|
## end gnulib module xconcat-filename
|
|
|
|
## begin gnulib module xgetcwd-lgpl
|
|
|
|
libtests_a_SOURCES += xgetcwd.c
|
|
|
|
EXTRA_DIST += xgetcwd.h
|
|
|
|
## end gnulib module xgetcwd-lgpl
|
|
|
|
## begin gnulib module xmemdup0-tests
|
|
|
|
TESTS += test-xmemdup0
|
|
check_PROGRAMS += test-xmemdup0
|
|
test_xmemdup0_LDADD = $(LDADD) @LIBINTL@
|
|
EXTRA_DIST += test-xmemdup0.c macros.h
|
|
|
|
## end gnulib module xmemdup0-tests
|
|
|
|
## begin gnulib module xvasprintf-tests
|
|
|
|
TESTS += test-xvasprintf
|
|
check_PROGRAMS += test-xvasprintf
|
|
test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
|
|
|
|
EXTRA_DIST += test-xvasprintf.c macros.h
|
|
|
|
## end gnulib module xvasprintf-tests
|
|
|
|
## begin gnulib module yield
|
|
|
|
libtests_a_SOURCES += glthread/yield.h
|
|
|
|
## end gnulib module yield
|
|
|
|
all: all-notice
|
|
all-notice:
|
|
@echo '## ---------------------------------------------------- ##'
|
|
@echo '## ------------------- Gnulib tests ------------------- ##'
|
|
@echo '## You can ignore compiler warnings in this directory. ##'
|
|
@echo '## ---------------------------------------------------- ##'
|
|
|
|
check-am: check-notice
|
|
check-notice:
|
|
@echo '## ---------------------------------------------------------------------- ##'
|
|
@echo '## ---------------------------- Gnulib tests ---------------------------- ##'
|
|
@echo '## Please report test failures in this directory to <bug-gnulib@gnu.org>. ##'
|
|
@echo '## ---------------------------------------------------------------------- ##'
|
|
|
|
# Clean up after Solaris cc.
|
|
clean-local:
|
|
rm -rf SunWS_cache
|
|
|
|
mostlyclean-local: mostlyclean-generic
|
|
@for dir in '' $(MOSTLYCLEANDIRS); do \
|
|
if test -n "$$dir" && test -d $$dir; then \
|
|
echo "rmdir $$dir"; rmdir $$dir; \
|
|
fi; \
|
|
done; \
|
|
:
|