Debian Codegraph @

gnulib-tests/gnulib.mk

raw
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2025 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <https://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24
25 AUTOMAKE_OPTIONS = 1.14 foreign subdir-objects
26
27 SUBDIRS = .
28 TESTS =
29 XFAIL_TESTS =
30 TESTS_ENVIRONMENT =
31 noinst_PROGRAMS =
32 check_PROGRAMS =
33 EXTRA_PROGRAMS =
34 noinst_HEADERS =
35 noinst_LIBRARIES =
36 check_LIBRARIES = libtests.a
37 pkgdata_DATA =
38 EXTRA_DIST =
39 BUILT_SOURCES =
40 SUFFIXES =
41 MOSTLYCLEANFILES = core *.stackdump
42 MOSTLYCLEANDIRS =
43 CLEANFILES =
44 DISTCLEANFILES =
45 MAINTAINERCLEANFILES =
46
47 CFLAGS = @GL_CFLAG_ALLOW_WARNINGS@ $(GL_CFLAG_GNULIB_WARNINGS) @CFLAGS@
48 CXXFLAGS = @GL_CXXFLAG_ALLOW_WARNINGS@ @CXXFLAGS@
49
50 AM_CPPFLAGS = \
51 -D@gltests_WITNESS@=1 \
52 -I. -I$(srcdir) \
53 -I.. -I$(srcdir)/.. \
54 -I../lib -I$(srcdir)/../lib
55
56 LDADD = libtests.a ../lib/libdiffutils.a libtests.a ../lib/libdiffutils.a libtests.a $(LIBTESTS_LIBDEPS)
57
58 libtests_a_SOURCES =
59 libtests_a_LIBADD = $(gltests_LIBOBJS)
60 libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
61 EXTRA_libtests_a_SOURCES =
62 AM_LIBTOOLFLAGS = --preserve-dup-deps
63
64 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
65 IGNORE_SKIPPED_LOGS = 1
66
67 ## begin gnulib module accept
68
69 if GL_COND_OBJ_ACCEPT
70 libtests_a_SOURCES += accept.c
71 endif
72
73 EXTRA_DIST += w32sock.h
74
75 ## end gnulib module accept
76
77 ## begin gnulib module accept-tests
78
79 TESTS += test-accept
80 check_PROGRAMS += test-accept
81 test_accept_LDADD = $(LDADD) @LIBSOCKET@
82 EXTRA_DIST += test-accept.c signature.h macros.h
83
84 ## end gnulib module accept-tests
85
86 ## begin gnulib module alignasof-tests
87
88 TESTS += test-alignasof
89 check_PROGRAMS += test-alignasof
90 EXTRA_DIST += test-alignasof.c macros.h
91
92 ## end gnulib module alignasof-tests
93
94 ## begin gnulib module alloca
95
96
97 libtests_a_LIBADD += @ALLOCA@
98 libtests_a_DEPENDENCIES += @ALLOCA@
99 EXTRA_DIST += alloca.c
100
101 EXTRA_libtests_a_SOURCES += alloca.c
102
103 ## end gnulib module alloca
104
105 ## begin gnulib module alloca-opt-tests
106
107 TESTS += test-alloca-opt
108 check_PROGRAMS += test-alloca-opt
109
110 EXTRA_DIST += test-alloca-opt.c
111
112 ## end gnulib module alloca-opt-tests
113
114 ## begin gnulib module argmatch-tests
115
116 TESTS += test-argmatch
117 check_PROGRAMS += test-argmatch
118 test_argmatch_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
119
120 EXTRA_DIST += test-argmatch.c macros.h
121
122 ## end gnulib module argmatch-tests
123
124 ## begin gnulib module arpa_inet-h
125
126 BUILT_SOURCES += arpa/inet.h
127 libtests_a_SOURCES += arpa_inet.c
128
129 # We need the following in order to create <arpa/inet.h> when the system
130 # doesn't have one.
131 arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
132 $(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa'
133 $(AM_V_at)$(SED_HEADER_STDOUT) \
134 -e 's|@''GUARD_PREFIX''@|GL|g' \
135 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
136 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
137 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
138 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
139 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
140 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
141 -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \
142 -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \
143 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
144 -e 's|@''HAVE_DECL_HTONL''@|$(HAVE_DECL_HTONL)|g' \
145 -e 's|@''HAVE_DECL_HTONS''@|$(HAVE_DECL_HTONS)|g' \
146 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
147 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
148 -e 's|@''HAVE_DECL_NTOHL''@|$(HAVE_DECL_NTOHL)|g' \
149 -e 's|@''HAVE_DECL_NTOHS''@|$(HAVE_DECL_NTOHS)|g' \
150 -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
151 -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
152 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
153 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
154 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
155 $(srcdir)/arpa_inet.in.h > $@-t
156 $(AM_V_at)mv $@-t $@
157 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
158 MOSTLYCLEANDIRS += arpa
159
160 EXTRA_DIST += arpa_inet.in.h
161
162 ## end gnulib module arpa_inet-h
163
164 ## begin gnulib module arpa_inet-h-tests
165
166 TESTS += test-arpa_inet-h
167 check_PROGRAMS += test-arpa_inet-h
168 EXTRA_DIST += test-arpa_inet-h.c
169
170 ## end gnulib module arpa_inet-h-tests
171
172 ## begin gnulib module assert-h-tests
173
174 TESTS += test-assert
175 check_PROGRAMS += test-assert
176 EXTRA_DIST += test-assert.c
177
178 ## end gnulib module assert-h-tests
179
180 ## begin gnulib module atoll
181
182 if GL_COND_OBJ_ATOLL
183 libtests_a_SOURCES += atoll.c
184 endif
185
186 ## end gnulib module atoll
187
188 ## begin gnulib module binary-io-tests
189
190 TESTS += test-binary-io.sh
191 check_PROGRAMS += test-binary-io
192
193 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
194
195 ## end gnulib module binary-io-tests
196
197 ## begin gnulib module bind
198
199 if GL_COND_OBJ_BIND
200 libtests_a_SOURCES += bind.c
201 endif
202
203 EXTRA_DIST += w32sock.h
204
205 ## end gnulib module bind
206
207 ## begin gnulib module bind-tests
208
209 TESTS += test-bind
210 check_PROGRAMS += test-bind
211 test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
212 EXTRA_DIST += test-bind.c signature.h macros.h
213
214 ## end gnulib module bind-tests
215
216 ## begin gnulib module bitrotate-tests
217
218 TESTS += test-bitrotate
219 check_PROGRAMS += test-bitrotate
220 EXTRA_DIST += test-bitrotate.c macros.h
221
222 ## end gnulib module bitrotate-tests
223
224 ## begin gnulib module bool-tests
225
226 TESTS += test-bool
227 check_PROGRAMS += test-bool
228 EXTRA_DIST += test-bool.c
229
230 ## end gnulib module bool-tests
231
232 ## begin gnulib module btoc32-tests
233
234 TESTS += test-btoc32-1.sh test-btoc32-2.sh test-btoc32-3.sh
235 TESTS_ENVIRONMENT += \
236 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
237 LOCALE_FR='@LOCALE_FR@' \
238 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
239 check_PROGRAMS += test-btoc32
240 test_btoc32_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(LIBC32CONV)
241 EXTRA_DIST += test-btoc32-1.sh test-btoc32-2.sh test-btoc32-3.sh test-btoc32.c signature.h macros.h
242
243 ## end gnulib module btoc32-tests
244
245 ## begin gnulib module btowc-tests
246
247 TESTS += test-btowc-1.sh test-btowc-2.sh test-btowc-3.sh
248 TESTS_ENVIRONMENT += \
249 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
250 LOCALE_FR='@LOCALE_FR@' \
251 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
252 check_PROGRAMS += test-btowc
253 test_btowc_LDADD = $(LDADD) $(SETLOCALE_LIB)
254 EXTRA_DIST += test-btowc-1.sh test-btowc-2.sh test-btowc-3.sh test-btowc.c signature.h macros.h
255
256 ## end gnulib module btowc-tests
257
258 ## begin gnulib module c-ctype-tests
259
260 TESTS += test-c-ctype
261 check_PROGRAMS += test-c-ctype
262 test_c_ctype_LDADD = $(LDADD) $(SETLOCALE_LIB)
263 EXTRA_DIST += test-c-ctype.c macros.h
264
265 ## end gnulib module c-ctype-tests
266
267 ## begin gnulib module c-stack-tests
268
269 TESTS += test-c-stack.sh test-c-stack2.sh
270 TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@'
271 check_PROGRAMS += test-c-stack
272 test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@
273 MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp
274 EXTRA_DIST += test-c-stack.c test-c-stack.sh test-c-stack2.sh macros.h
275
276 ## end gnulib module c-stack-tests
277
278 ## begin gnulib module c-strcasecmp-tests
279
280 TESTS += test-c-strcasecmp.sh
281 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
282 check_PROGRAMS += test-c-strcasecmp
283 test_c_strcasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
284 EXTRA_DIST += test-c-strcasecmp.sh test-c-strcasecmp.c macros.h
285
286 ## end gnulib module c-strcasecmp-tests
287
288 ## begin gnulib module c-strcasestr
289
290 libtests_a_SOURCES += c-strcasestr.h c-strcasestr.c
291
292 EXTRA_DIST += str-two-way.h
293
294 ## end gnulib module c-strcasestr
295
296 ## begin gnulib module c-strcasestr-tests
297
298 TESTS += test-c-strcasestr
299 check_PROGRAMS += test-c-strcasestr
300
301 EXTRA_DIST += test-c-strcasestr.c macros.h
302
303 ## end gnulib module c-strcasestr-tests
304
305 ## begin gnulib module c-strncasecmp
306
307 libtests_a_SOURCES += c-strncasecmp.c
308
309 EXTRA_DIST += c-strcase.h
310
311 ## end gnulib module c-strncasecmp
312
313 ## begin gnulib module c-strncasecmp-tests
314
315 TESTS += test-c-strncasecmp.sh
316 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
317 check_PROGRAMS += test-c-strncasecmp
318 test_c_strncasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
319 EXTRA_DIST += test-c-strncasecmp.sh test-c-strncasecmp.c macros.h
320
321 ## end gnulib module c-strncasecmp-tests
322
323 ## begin gnulib module c32_apply_type_test-tests
324
325 TESTS += test-c32_apply_type_test
326 check_PROGRAMS += test-c32_apply_type_test
327 test_c32_apply_type_test_LDADD = $(LDADD) $(LIBUNISTRING) $(LIBC32CONV)
328 EXTRA_DIST += test-c32_apply_type_test.c signature.h macros.h
329
330 ## end gnulib module c32_apply_type_test-tests
331
332 ## begin gnulib module c32_get_type_test-tests
333
334 TESTS += test-c32_get_type_test
335 check_PROGRAMS += test-c32_get_type_test
336 test_c32_get_type_test_LDADD = $(LDADD) $(LIBUNISTRING) $(LIBC32CONV)
337 EXTRA_DIST += test-c32_get_type_test.c signature.h macros.h
338
339 ## end gnulib module c32_get_type_test-tests
340
341 ## begin gnulib module c32isalnum-tests
342
343 TESTS += test-c32isalnum.sh
344 TESTS_ENVIRONMENT += \
345 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
346 LOCALE_FR='@LOCALE_FR@' \
347 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
348 LOCALE_JA='@LOCALE_JA@' \
349 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
350 check_PROGRAMS += test-c32isalnum
351 test_c32isalnum_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
352 EXTRA_DIST += test-c32isalnum.sh test-c32isalnum.c signature.h macros.h
353
354 ## end gnulib module c32isalnum-tests
355
356 ## begin gnulib module c32isalpha-tests
357
358 TESTS += test-c32isalpha.sh
359 TESTS_ENVIRONMENT += \
360 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
361 LOCALE_FR='@LOCALE_FR@' \
362 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
363 LOCALE_JA='@LOCALE_JA@' \
364 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
365 check_PROGRAMS += test-c32isalpha
366 test_c32isalpha_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
367 EXTRA_DIST += test-c32isalpha.sh test-c32isalpha.c signature.h macros.h
368
369 ## end gnulib module c32isalpha-tests
370
371 ## begin gnulib module c32isblank-tests
372
373 TESTS += test-c32isblank.sh
374 TESTS_ENVIRONMENT += \
375 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
376 LOCALE_FR='@LOCALE_FR@' \
377 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
378 LOCALE_JA='@LOCALE_JA@' \
379 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
380 check_PROGRAMS += test-c32isblank
381 test_c32isblank_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
382 EXTRA_DIST += test-c32isblank.sh test-c32isblank.c signature.h macros.h
383
384 ## end gnulib module c32isblank-tests
385
386 ## begin gnulib module c32iscntrl-tests
387
388 TESTS += test-c32iscntrl.sh
389 TESTS_ENVIRONMENT += \
390 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
391 LOCALE_FR='@LOCALE_FR@' \
392 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
393 LOCALE_JA='@LOCALE_JA@' \
394 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
395 check_PROGRAMS += test-c32iscntrl
396 test_c32iscntrl_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
397 EXTRA_DIST += test-c32iscntrl.sh test-c32iscntrl.c signature.h macros.h
398
399 ## end gnulib module c32iscntrl-tests
400
401 ## begin gnulib module c32isdigit-tests
402
403 TESTS += test-c32isdigit.sh
404 TESTS_ENVIRONMENT += \
405 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
406 LOCALE_FR='@LOCALE_FR@' \
407 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
408 LOCALE_JA='@LOCALE_JA@' \
409 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
410 check_PROGRAMS += test-c32isdigit
411 test_c32isdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
412 EXTRA_DIST += test-c32isdigit.sh test-c32isdigit.c signature.h macros.h
413
414 ## end gnulib module c32isdigit-tests
415
416 ## begin gnulib module c32isgraph-tests
417
418 TESTS += test-c32isgraph.sh
419 TESTS_ENVIRONMENT += \
420 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
421 LOCALE_FR='@LOCALE_FR@' \
422 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
423 LOCALE_JA='@LOCALE_JA@' \
424 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
425 check_PROGRAMS += test-c32isgraph
426 test_c32isgraph_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
427 EXTRA_DIST += test-c32isgraph.sh test-c32isgraph.c signature.h macros.h
428
429 ## end gnulib module c32isgraph-tests
430
431 ## begin gnulib module c32islower-tests
432
433 TESTS += test-c32islower.sh
434 TESTS_ENVIRONMENT += \
435 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
436 LOCALE_FR='@LOCALE_FR@' \
437 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
438 LOCALE_JA='@LOCALE_JA@' \
439 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
440 check_PROGRAMS += test-c32islower
441 test_c32islower_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
442 EXTRA_DIST += test-c32islower.sh test-c32islower.c signature.h macros.h
443
444 ## end gnulib module c32islower-tests
445
446 ## begin gnulib module c32isprint-tests
447
448 TESTS += test-c32isprint.sh
449 TESTS_ENVIRONMENT += \
450 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
451 LOCALE_FR='@LOCALE_FR@' \
452 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
453 LOCALE_JA='@LOCALE_JA@' \
454 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
455 check_PROGRAMS += test-c32isprint
456 test_c32isprint_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
457 EXTRA_DIST += test-c32isprint.sh test-c32isprint.c signature.h macros.h
458
459 ## end gnulib module c32isprint-tests
460
461 ## begin gnulib module c32ispunct-tests
462
463 TESTS += test-c32ispunct.sh
464 TESTS_ENVIRONMENT += \
465 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
466 LOCALE_FR='@LOCALE_FR@' \
467 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
468 LOCALE_JA='@LOCALE_JA@' \
469 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
470 check_PROGRAMS += test-c32ispunct
471 test_c32ispunct_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
472 EXTRA_DIST += test-c32ispunct.sh test-c32ispunct.c signature.h macros.h
473
474 ## end gnulib module c32ispunct-tests
475
476 ## begin gnulib module c32isspace-tests
477
478 TESTS += test-c32isspace.sh
479 TESTS_ENVIRONMENT += \
480 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
481 LOCALE_FR='@LOCALE_FR@' \
482 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
483 LOCALE_JA='@LOCALE_JA@' \
484 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
485 check_PROGRAMS += test-c32isspace
486 test_c32isspace_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
487 EXTRA_DIST += test-c32isspace.sh test-c32isspace.c signature.h macros.h
488
489 ## end gnulib module c32isspace-tests
490
491 ## begin gnulib module c32isupper-tests
492
493 TESTS += test-c32isupper.sh
494 TESTS_ENVIRONMENT += \
495 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
496 LOCALE_FR='@LOCALE_FR@' \
497 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
498 LOCALE_JA='@LOCALE_JA@' \
499 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
500 check_PROGRAMS += test-c32isupper
501 test_c32isupper_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
502 EXTRA_DIST += test-c32isupper.sh test-c32isupper.c signature.h macros.h
503
504 ## end gnulib module c32isupper-tests
505
506 ## begin gnulib module c32isxdigit-tests
507
508 TESTS += test-c32isxdigit.sh
509 TESTS_ENVIRONMENT += \
510 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
511 LOCALE_FR='@LOCALE_FR@' \
512 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
513 LOCALE_JA='@LOCALE_JA@' \
514 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
515 check_PROGRAMS += test-c32isxdigit
516 test_c32isxdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
517 EXTRA_DIST += test-c32isxdigit.sh test-c32isxdigit.c signature.h macros.h
518
519 ## end gnulib module c32isxdigit-tests
520
521 ## begin gnulib module c32rtomb
522
523 if GL_COND_OBJ_C32RTOMB
524 libtests_a_SOURCES += c32rtomb.c
525 endif
526
527 ## end gnulib module c32rtomb
528
529 ## begin gnulib module c32rtomb-tests
530
531 TESTS += \
532 test-c32rtomb.sh \
533 test-c32rtomb-w32-2.sh test-c32rtomb-w32-3.sh test-c32rtomb-w32-4.sh \
534 test-c32rtomb-w32-5.sh test-c32rtomb-w32-6.sh test-c32rtomb-w32-7.sh \
535 test-c32rtomb-w32-8.sh
536 TESTS_ENVIRONMENT += \
537 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
538 LOCALE_FR='@LOCALE_FR@' \
539 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
540 LOCALE_JA='@LOCALE_JA@' \
541 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
542 check_PROGRAMS += test-c32rtomb test-c32rtomb-w32
543 test_c32rtomb_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(LIBC32CONV)
544 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
545
546 ## end gnulib module c32rtomb-tests
547
548 ## begin gnulib module c32tob
549
550 libtests_a_SOURCES += c32tob.c
551
552 ## end gnulib module c32tob
553
554 ## begin gnulib module c32tolower-tests
555
556 TESTS += test-c32tolower.sh
557 TESTS_ENVIRONMENT += \
558 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
559 LOCALE_FR='@LOCALE_FR@' \
560 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
561 LOCALE_JA='@LOCALE_JA@' \
562 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
563 check_PROGRAMS += test-c32tolower
564 test_c32tolower_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING) $(LIBC32CONV)
565 EXTRA_DIST += test-c32tolower.sh test-c32tolower.c signature.h macros.h
566
567 ## end gnulib module c32tolower-tests
568
569 ## begin gnulib module c32width-tests
570
571 TESTS += test-c32width
572 check_PROGRAMS += test-c32width
573 test_c32width_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(LIBC32CONV)
574 EXTRA_DIST += test-c32width.c signature.h macros.h
575
576 ## end gnulib module c32width-tests
577
578 ## begin gnulib module calloc-gnu-tests
579
580 TESTS += test-calloc-gnu
581 check_PROGRAMS += test-calloc-gnu
582 EXTRA_DIST += test-calloc-gnu.c macros.h
583
584 ## end gnulib module calloc-gnu-tests
585
586 ## begin gnulib module calloc-posix-tests
587
588 TESTS += test-calloc-posix
589 check_PROGRAMS += test-calloc-posix
590 EXTRA_DIST += test-calloc-posix.c macros.h
591
592 ## end gnulib module calloc-posix-tests
593
594 ## begin gnulib module chdir-tests
595
596 TESTS += test-chdir
597 check_PROGRAMS += test-chdir
598 EXTRA_DIST += test-chdir.c signature.h macros.h
599
600 ## end gnulib module chdir-tests
601
602 ## begin gnulib module cloexec-tests
603
604 TESTS += test-cloexec
605 check_PROGRAMS += test-cloexec
606 EXTRA_DIST += test-cloexec.c macros.h
607
608 ## end gnulib module cloexec-tests
609
610 ## begin gnulib module close-tests
611
612 TESTS += test-close
613 check_PROGRAMS += test-close
614 EXTRA_DIST += test-close.c signature.h macros.h
615
616 ## end gnulib module close-tests
617
618 ## begin gnulib module concat-filename
619
620 libtests_a_SOURCES += concat-filename.c
621
622 EXTRA_DIST += concat-filename.h
623
624 ## end gnulib module concat-filename
625
626 ## begin gnulib module connect
627
628 if GL_COND_OBJ_CONNECT
629 libtests_a_SOURCES += connect.c
630 endif
631
632 EXTRA_DIST += w32sock.h
633
634 ## end gnulib module connect
635
636 ## begin gnulib module connect-tests
637
638 TESTS += test-connect
639 check_PROGRAMS += test-connect
640 test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
641 EXTRA_DIST += test-connect.c signature.h macros.h
642
643 ## end gnulib module connect-tests
644
645 ## begin gnulib module ctype-h-tests
646
647 TESTS += test-ctype-h
648 check_PROGRAMS += test-ctype-h
649 EXTRA_DIST += test-ctype-h.c
650
651 ## end gnulib module ctype-h-tests
652
653 ## begin gnulib module dirent-h-tests
654
655 TESTS += test-dirent-h
656 check_PROGRAMS += test-dirent-h
657 EXTRA_DIST += test-dirent-h.c
658
659 ## end gnulib module dirent-h-tests
660
661 ## begin gnulib module dirfd-tests
662
663 TESTS += test-dirfd
664 check_PROGRAMS += test-dirfd
665 EXTRA_DIST += test-dirfd.c macros.h
666
667 ## end gnulib module dirfd-tests
668
669 ## begin gnulib module dirname-tests
670
671 TESTS += test-dirname
672 check_PROGRAMS += test-dirname
673 test_dirname_LDADD = $(LDADD) @LIBINTL@
674 EXTRA_DIST += test-dirname.c
675
676 ## end gnulib module dirname-tests
677
678 ## begin gnulib module dtotimespec
679
680 libtests_a_SOURCES += dtotimespec.c
681
682 ## end gnulib module dtotimespec
683
684 ## begin gnulib module dup-tests
685
686 TESTS += test-dup
687 check_PROGRAMS += test-dup
688 EXTRA_DIST += test-dup.c signature.h macros.h
689
690 ## end gnulib module dup-tests
691
692 ## begin gnulib module dup2-tests
693
694 TESTS += test-dup2
695 check_PROGRAMS += test-dup2
696 EXTRA_DIST += test-dup2.c signature.h macros.h
697
698 ## end gnulib module dup2-tests
699
700 ## begin gnulib module environ-tests
701
702 TESTS += test-environ
703 check_PROGRAMS += test-environ
704
705 EXTRA_DIST += test-environ.c
706
707 ## end gnulib module environ-tests
708
709 ## begin gnulib module errno-h-tests
710
711 TESTS += test-errno-h
712 check_PROGRAMS += test-errno-h
713 EXTRA_DIST += test-errno-h.c
714
715 ## end gnulib module errno-h-tests
716
717 ## begin gnulib module error-tests
718
719 TESTS += test-error.sh
720 check_PROGRAMS += test-error
721 test_error_LDADD = $(LDADD) $(LIBINTL)
722 EXTRA_DIST += test-error.sh test-error.c macros.h
723
724 ## end gnulib module error-tests
725
726 ## begin gnulib module exclude-tests
727
728 TESTS += \
729 test-exclude1.sh\
730 test-exclude2.sh\
731 test-exclude3.sh\
732 test-exclude4.sh\
733 test-exclude5.sh\
734 test-exclude6.sh\
735 test-exclude7.sh\
736 test-exclude8.sh
737
738 check_PROGRAMS += test-exclude
739 test_exclude_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBTHREAD) $(LIBC32CONV)
740 EXTRA_DIST += test-exclude.c test-exclude1.sh test-exclude2.sh test-exclude3.sh test-exclude4.sh test-exclude5.sh test-exclude6.sh test-exclude7.sh test-exclude8.sh
741
742 ## end gnulib module exclude-tests
743
744 ## begin gnulib module fchdir-tests
745
746 TESTS += test-fchdir
747 check_PROGRAMS += test-fchdir
748 test_fchdir_LDADD = $(LDADD) $(LIBINTL)
749 EXTRA_DIST += test-fchdir.c signature.h macros.h
750
751 ## end gnulib module fchdir-tests
752
753 ## begin gnulib module fcntl-h-tests
754
755 TESTS += test-fcntl-h
756 check_PROGRAMS += test-fcntl-h
757 EXTRA_DIST += test-fcntl-h.c
758
759 ## end gnulib module fcntl-h-tests
760
761 ## begin gnulib module fcntl-tests
762
763 TESTS += test-fcntl
764 check_PROGRAMS += test-fcntl
765 EXTRA_DIST += test-fcntl.c signature.h macros.h
766
767 ## end gnulib module fcntl-tests
768
769 ## begin gnulib module fdopen
770
771 if GL_COND_OBJ_FDOPEN
772 libtests_a_SOURCES += fdopen.c
773 endif
774
775 ## end gnulib module fdopen
776
777 ## begin gnulib module fdopen-tests
778
779 TESTS += test-fdopen
780 check_PROGRAMS += test-fdopen
781 EXTRA_DIST += test-fdopen.c signature.h macros.h
782
783 ## end gnulib module fdopen-tests
784
785 ## begin gnulib module fdopendir-tests
786
787 TESTS += test-fdopendir
788 check_PROGRAMS += test-fdopendir
789 test_fdopendir_LDADD = $(LDADD) @LIBINTL@
790 EXTRA_DIST += test-fdopendir.c signature.h macros.h
791
792 ## end gnulib module fdopendir-tests
793
794 ## begin gnulib module fgetc-tests
795
796 TESTS += test-fgetc
797 check_PROGRAMS += test-fgetc
798 EXTRA_DIST += test-fgetc.c signature.h macros.h
799
800 ## end gnulib module fgetc-tests
801
802 ## begin gnulib module filenamecat-tests
803
804 TESTS += test-filenamecat
805 check_PROGRAMS += test-filenamecat
806 test_filenamecat_LDADD = $(LDADD) @LIBINTL@
807 EXTRA_DIST += test-filenamecat.c
808
809 ## end gnulib module filenamecat-tests
810
811 ## begin gnulib module float-h
812
813 BUILT_SOURCES += $(FLOAT_H)
814
815 # We need the following in order to create <float.h> when the system
816 # doesn't have one that works with the given compiler.
817 if GL_GENERATE_FLOAT_H
818 float.h: float.in.h $(top_builddir)/config.status
819 $(gl_V_at)$(SED_HEADER_STDOUT) \
820 -e 's|@''GUARD_PREFIX''@|GL|g' \
821 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
822 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
823 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
824 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
825 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
826 $(srcdir)/float.in.h > $@-t
827 $(AM_V_at)mv $@-t $@
828 else
829 float.h: $(top_builddir)/config.status
830 rm -f $@
831 endif
832 MOSTLYCLEANFILES += float.h float.h-t
833
834 if GL_COND_OBJ_FLOAT
835 libtests_a_SOURCES += float.c
836 endif
837 if GL_COND_OBJ_ITOLD
838 libtests_a_SOURCES += itold.c
839 endif
840
841 EXTRA_DIST += float.in.h
842
843 ## end gnulib module float-h
844
845 ## begin gnulib module float-h-tests
846
847 TESTS += test-float-h
848 check_PROGRAMS += test-float-h
849 EXTRA_DIST += test-float-h.c macros.h
850
851 ## end gnulib module float-h-tests
852
853 ## begin gnulib module fnmatch-h-tests
854
855 TESTS += test-fnmatch-h
856 check_PROGRAMS += test-fnmatch-h
857 EXTRA_DIST += test-fnmatch-h.c
858
859 ## end gnulib module fnmatch-h-tests
860
861 ## begin gnulib module fnmatch-tests
862
863 TESTS += \
864 test-fnmatch-1.sh test-fnmatch-2.sh test-fnmatch-3.sh test-fnmatch-4.sh \
865 test-fnmatch-5.sh \
866 test-fnmatch-w32-2.sh test-fnmatch-w32-3.sh test-fnmatch-w32-4.sh \
867 test-fnmatch-w32-5.sh test-fnmatch-w32-6.sh test-fnmatch-w32-7.sh \
868 test-fnmatch-w32-8.sh
869 TESTS_ENVIRONMENT += \
870 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
871 LOCALE_FR='@LOCALE_FR@' \
872 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
873 LOCALE_JA='@LOCALE_JA@' \
874 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
875 check_PROGRAMS += test-fnmatch test-fnmatch-w32
876 test_fnmatch_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(MBRTOWC_LIB)
877 test_fnmatch_w32_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(MBRTOWC_LIB)
878 EXTRA_DIST += test-fnmatch-1.sh test-fnmatch-2.sh test-fnmatch-3.sh test-fnmatch-4.sh test-fnmatch-5.sh test-fnmatch.c test-fnmatch-w32-2.sh test-fnmatch-w32-3.sh test-fnmatch-w32-4.sh test-fnmatch-w32-5.sh test-fnmatch-w32-6.sh test-fnmatch-w32-7.sh test-fnmatch-w32-8.sh test-fnmatch-w32.c signature.h macros.h
879
880 ## end gnulib module fnmatch-tests
881
882 ## begin gnulib module fopen-gnu-tests
883
884 TESTS += test-fopen-gnu
885 check_PROGRAMS += test-fopen-gnu
886 EXTRA_DIST += test-fopen-gnu.c macros.h
887
888 ## end gnulib module fopen-gnu-tests
889
890 ## begin gnulib module fopen-tests
891
892 TESTS += test-fopen
893 check_PROGRAMS += test-fopen
894
895 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
896
897 ## end gnulib module fopen-tests
898
899 ## begin gnulib module fpucw
900
901
902 EXTRA_DIST += fpucw.h
903
904 ## end gnulib module fpucw
905
906 ## begin gnulib module fputc-tests
907
908 TESTS += test-fputc
909 check_PROGRAMS += test-fputc
910 EXTRA_DIST += test-fputc.c signature.h macros.h
911
912 ## end gnulib module fputc-tests
913
914 ## begin gnulib module fread-tests
915
916 TESTS += test-fread
917 check_PROGRAMS += test-fread
918 EXTRA_DIST += test-fread.c signature.h macros.h
919
920 ## end gnulib module fread-tests
921
922 ## begin gnulib module free-posix-tests
923
924 TESTS += test-free
925 check_PROGRAMS += test-free
926 EXTRA_DIST += test-free.c macros.h
927
928 ## end gnulib module free-posix-tests
929
930 ## begin gnulib module freopen-tests
931
932 TESTS += test-freopen
933 check_PROGRAMS += test-freopen
934
935 EXTRA_DIST += test-freopen.c signature.h macros.h
936
937 ## end gnulib module freopen-tests
938
939 ## begin gnulib module fstat-tests
940
941 TESTS += test-fstat
942 check_PROGRAMS += test-fstat
943 EXTRA_DIST += test-fstat.c signature.h macros.h
944
945 ## end gnulib module fstat-tests
946
947 ## begin gnulib module fstatat-tests
948
949 TESTS += test-fstatat
950 check_PROGRAMS += test-fstatat
951 test_fstatat_LDADD = $(LDADD) @LIBINTL@
952 EXTRA_DIST += test-fstatat.c test-lstat.h test-stat.h signature.h macros.h
953
954 ## end gnulib module fstatat-tests
955
956 ## begin gnulib module ftruncate
957
958 if GL_COND_OBJ_FTRUNCATE
959 libtests_a_SOURCES += ftruncate.c
960 endif
961
962 ## end gnulib module ftruncate
963
964 ## begin gnulib module ftruncate-tests
965
966 TESTS += test-ftruncate.sh
967 check_PROGRAMS += test-ftruncate
968 EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
969
970 ## end gnulib module ftruncate-tests
971
972 ## begin gnulib module fwrite-tests
973
974 TESTS += test-fwrite
975 check_PROGRAMS += test-fwrite
976 EXTRA_DIST += test-fwrite.c signature.h macros.h
977
978 ## end gnulib module fwrite-tests
979
980 ## begin gnulib module gen-header
981
982 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
983 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
984
985 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
986 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
987
988 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
989 # "DO_NOT_EDIT". Although this could be done more simply via:
990 # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
991 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
992 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
993
994 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
995 # is its recipe's first line if and only if @NMD@ lines are absent.
996 gl_V_at = $(AM_V_GEN)
997
998 ## end gnulib module gen-header
999
1000 ## begin gnulib module getcwd-lgpl-tests
1001
1002 TESTS += test-getcwd-lgpl
1003 check_PROGRAMS += test-getcwd-lgpl
1004 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
1005 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
1006
1007 ## end gnulib module getcwd-lgpl-tests
1008
1009 ## begin gnulib module getdtablesize-tests
1010
1011 TESTS += test-getdtablesize
1012 check_PROGRAMS += test-getdtablesize
1013 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
1014
1015 ## end gnulib module getdtablesize-tests
1016
1017 ## begin gnulib module getopt-gnu-tests
1018
1019 TESTS += test-getopt-gnu
1020 check_PROGRAMS += test-getopt-gnu
1021 test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL)
1022 EXTRA_DIST += macros.h signature.h test-getopt-gnu.c test-getopt-main.h test-getopt.h test-getopt_long.h
1023
1024 ## end gnulib module getopt-gnu-tests
1025
1026 ## begin gnulib module getopt-posix-tests
1027
1028 TESTS += test-getopt-posix
1029 check_PROGRAMS += test-getopt-posix
1030 test_getopt_posix_LDADD = $(LDADD) $(LIBINTL)
1031 EXTRA_DIST += macros.h signature.h test-getopt-posix.c test-getopt-main.h test-getopt.h
1032
1033 ## end gnulib module getopt-posix-tests
1034
1035 ## begin gnulib module getprogname-tests
1036
1037 DEFS += -DEXEEXT=\"@EXEEXT@\"
1038 TESTS += test-getprogname
1039 check_PROGRAMS += test-getprogname
1040 test_getprogname_LDADD = $(LDADD)
1041 EXTRA_DIST += test-getprogname.c
1042
1043 ## end gnulib module getprogname-tests
1044
1045 ## begin gnulib module getrandom-tests
1046
1047 TESTS += test-getrandom
1048 check_PROGRAMS += test-getrandom
1049 test_getrandom_LDADD = $(LDADD) @GETRANDOM_LIB@
1050 EXTRA_DIST += test-getrandom.c signature.h macros.h
1051
1052 ## end gnulib module getrandom-tests
1053
1054 ## begin gnulib module gettext-h-tests
1055
1056 TESTS += test-gettext-h
1057 check_PROGRAMS += test-gettext-h
1058 test_gettext_h_LDADD = $(LDADD) $(LIBINTL)
1059 EXTRA_DIST += test-gettext-h.c
1060
1061 ## end gnulib module gettext-h-tests
1062
1063 ## begin gnulib module gettimeofday-tests
1064
1065 TESTS += test-gettimeofday
1066 check_PROGRAMS += test-gettimeofday
1067
1068 EXTRA_DIST += test-gettimeofday.c signature.h macros.h
1069
1070 ## end gnulib module gettimeofday-tests
1071
1072 ## begin gnulib module glibc-internal/dynarray-tests
1073
1074 TESTS += test-dynarray
1075 check_PROGRAMS += test-dynarray
1076 EXTRA_DIST += test-dynarray.c macros.h
1077
1078 ## end gnulib module glibc-internal/dynarray-tests
1079
1080 ## begin gnulib module hard-locale-tests
1081
1082 TESTS += test-hard-locale
1083 check_PROGRAMS += test-hard-locale
1084 test_hard_locale_LDADD = $(LDADD) $(SETLOCALE_LIB) @HARD_LOCALE_LIB@
1085 # We cannot call this program 'locale', because the C++ compiler on Mac OS X
1086 # would then barf upon '#include <locale>'. So, call it 'current-locale'.
1087 noinst_PROGRAMS += current-locale
1088 current_locale_SOURCES = locale.c
1089 EXTRA_DIST += test-hard-locale.c locale.c
1090
1091 ## end gnulib module hard-locale-tests
1092
1093 ## begin gnulib module hash-pjw
1094
1095 libtests_a_SOURCES += hash-pjw.h hash-pjw.c
1096
1097 ## end gnulib module hash-pjw
1098
1099 ## begin gnulib module hash-tests
1100
1101 TESTS += test-hash
1102 check_PROGRAMS += test-hash
1103 EXTRA_DIST += test-hash.c macros.h
1104
1105 ## end gnulib module hash-tests
1106
1107 ## begin gnulib module ignore-value-tests
1108
1109 TESTS += test-ignore-value
1110 check_PROGRAMS += test-ignore-value
1111 EXTRA_DIST += test-ignore-value.c
1112
1113 ## end gnulib module ignore-value-tests
1114
1115 ## begin gnulib module inet_pton
1116
1117 if GL_COND_OBJ_INET_PTON
1118 libtests_a_SOURCES += inet_pton.c
1119 endif
1120
1121 ## end gnulib module inet_pton
1122
1123 ## begin gnulib module inet_pton-tests
1124
1125 TESTS += test-inet_pton
1126 check_PROGRAMS += test-inet_pton
1127 test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@
1128 EXTRA_DIST += test-inet_pton.c signature.h macros.h
1129
1130 ## end gnulib module inet_pton-tests
1131
1132 ## begin gnulib module intprops-tests
1133
1134 TESTS += test-intprops
1135 check_PROGRAMS += test-intprops
1136 EXTRA_DIST += test-intprops.c macros.h
1137
1138 ## end gnulib module intprops-tests
1139
1140 ## begin gnulib module inttostr
1141
1142 libtests_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
1143
1144 EXTRA_DIST += anytostr.c inttostr.h
1145
1146 EXTRA_libtests_a_SOURCES += anytostr.c
1147
1148 ## end gnulib module inttostr
1149
1150 ## begin gnulib module inttostr-tests
1151
1152 TESTS += test-inttostr
1153 check_PROGRAMS += test-inttostr
1154 EXTRA_DIST += macros.h test-inttostr.c
1155
1156 ## end gnulib module inttostr-tests
1157
1158 ## begin gnulib module inttypes-h-tests
1159
1160 TESTS += test-inttypes-h
1161 check_PROGRAMS += test-inttypes-h
1162 EXTRA_DIST += test-inttypes-h.c
1163
1164 ## end gnulib module inttypes-h-tests
1165
1166 ## begin gnulib module ioctl
1167
1168 if GL_COND_OBJ_IOCTL
1169 libtests_a_SOURCES += ioctl.c
1170 endif
1171
1172 EXTRA_DIST += w32sock.h
1173
1174 ## end gnulib module ioctl
1175
1176 ## begin gnulib module ioctl-tests
1177
1178 TESTS += test-ioctl
1179 check_PROGRAMS += test-ioctl
1180 EXTRA_DIST += test-ioctl.c signature.h macros.h
1181
1182 ## end gnulib module ioctl-tests
1183
1184 ## begin gnulib module isblank-tests
1185
1186 TESTS += test-isblank
1187 check_PROGRAMS += test-isblank
1188 EXTRA_DIST += test-isblank.c signature.h macros.h
1189
1190 ## end gnulib module isblank-tests
1191
1192 ## begin gnulib module isnand-nolibm
1193
1194
1195 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
1196
1197 EXTRA_libtests_a_SOURCES += isnan.c isnand.c
1198
1199 ## end gnulib module isnand-nolibm
1200
1201 ## begin gnulib module isnand-nolibm-tests
1202
1203 TESTS += test-isnand-nolibm
1204 check_PROGRAMS += test-isnand-nolibm
1205
1206 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h macros.h
1207
1208 ## end gnulib module isnand-nolibm-tests
1209
1210 ## begin gnulib module isnanf-nolibm
1211
1212
1213 EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
1214
1215 EXTRA_libtests_a_SOURCES += isnan.c isnanf.c
1216
1217 ## end gnulib module isnanf-nolibm
1218
1219 ## begin gnulib module isnanf-nolibm-tests
1220
1221 TESTS += test-isnanf-nolibm
1222 check_PROGRAMS += test-isnanf-nolibm
1223
1224 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h macros.h
1225
1226 ## end gnulib module isnanf-nolibm-tests
1227
1228 ## begin gnulib module isnanl-nolibm
1229
1230
1231 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
1232
1233 EXTRA_libtests_a_SOURCES += isnan.c isnanl.c
1234
1235 ## end gnulib module isnanl-nolibm
1236
1237 ## begin gnulib module isnanl-nolibm-tests
1238
1239 TESTS += test-isnanl-nolibm
1240 check_PROGRAMS += test-isnanl-nolibm
1241
1242 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h macros.h
1243
1244 ## end gnulib module isnanl-nolibm-tests
1245
1246 ## begin gnulib module iswblank-tests
1247
1248 TESTS += test-iswblank
1249 check_PROGRAMS += test-iswblank
1250 EXTRA_DIST += test-iswblank.c macros.h
1251
1252 ## end gnulib module iswblank-tests
1253
1254 ## begin gnulib module iswctype-tests
1255
1256 TESTS += test-iswctype
1257 check_PROGRAMS += test-iswctype
1258 EXTRA_DIST += test-iswctype.c signature.h macros.h
1259
1260 ## end gnulib module iswctype-tests
1261
1262 ## begin gnulib module iswdigit-tests
1263
1264 TESTS += test-iswdigit.sh
1265 TESTS_ENVIRONMENT += \
1266 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1267 LOCALE_FR='@LOCALE_FR@' \
1268 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1269 LOCALE_JA='@LOCALE_JA@' \
1270 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1271 check_PROGRAMS += test-iswdigit
1272 test_iswdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1273 EXTRA_DIST += test-iswdigit.sh test-iswdigit.c signature.h macros.h
1274
1275 ## end gnulib module iswdigit-tests
1276
1277 ## begin gnulib module iswpunct-tests
1278
1279 TESTS += test-iswpunct.sh
1280 check_PROGRAMS += test-iswpunct
1281 test_iswpunct_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1282 EXTRA_DIST += test-iswpunct.sh test-iswpunct.c signature.h macros.h
1283
1284 ## end gnulib module iswpunct-tests
1285
1286 ## begin gnulib module iswxdigit-tests
1287
1288 TESTS += test-iswxdigit.sh
1289 TESTS_ENVIRONMENT += \
1290 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1291 LOCALE_FR='@LOCALE_FR@' \
1292 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1293 LOCALE_JA='@LOCALE_JA@' \
1294 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1295 check_PROGRAMS += test-iswxdigit
1296 test_iswxdigit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1297 EXTRA_DIST += test-iswxdigit.sh test-iswxdigit.c signature.h macros.h
1298
1299 ## end gnulib module iswxdigit-tests
1300
1301 ## begin gnulib module langinfo-h-tests
1302
1303 TESTS += test-langinfo-h
1304 check_PROGRAMS += test-langinfo-h
1305 EXTRA_DIST += test-langinfo-h.c
1306
1307 ## end gnulib module langinfo-h-tests
1308
1309 ## begin gnulib module largefile-tests
1310
1311 TESTS += test-largefile
1312 check_PROGRAMS += test-largefile
1313 EXTRA_DIST += test-largefile.c
1314
1315 ## end gnulib module largefile-tests
1316
1317 ## begin gnulib module limits-h-tests
1318
1319 TESTS += test-limits-h
1320 check_PROGRAMS += test-limits-h
1321 EXTRA_DIST += test-limits-h.c
1322
1323 ## end gnulib module limits-h-tests
1324
1325 ## begin gnulib module listen
1326
1327 if GL_COND_OBJ_LISTEN
1328 libtests_a_SOURCES += listen.c
1329 endif
1330
1331 EXTRA_DIST += w32sock.h
1332
1333 ## end gnulib module listen
1334
1335 ## begin gnulib module listen-tests
1336
1337 TESTS += test-listen
1338 check_PROGRAMS += test-listen
1339 test_listen_LDADD = $(LDADD) @LIBSOCKET@
1340 EXTRA_DIST += test-listen.c signature.h macros.h
1341
1342 ## end gnulib module listen-tests
1343
1344 ## begin gnulib module localcharset-tests
1345
1346 noinst_PROGRAMS += test-localcharset
1347 test_localcharset_LDADD = $(LDADD) $(SETLOCALE_LIB)
1348
1349 if OS_IS_NATIVE_WINDOWS
1350 TESTS += test-localcharset-w32utf8.sh
1351 noinst_PROGRAMS += test-localcharset-w32utf8
1352 test_localcharset_w32utf8_LDADD = $(LDADD) test-localcharset-windows-utf8.res $(SETLOCALE_LIB)
1353 test-localcharset-windows-utf8.res : $(srcdir)/windows-utf8.rc
1354 $(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-localcharset-windows-utf8.res --output-format=coff
1355 MOSTLYCLEANFILES += test-localcharset-windows-utf8.res
1356 endif
1357 EXTRA_DIST += test-localcharset.c test-localcharset-w32utf8.sh test-localcharset-w32utf8.c windows-utf8.rc windows-utf8.manifest
1358
1359 ## end gnulib module localcharset-tests
1360
1361 ## begin gnulib module locale-h-tests
1362
1363 TESTS += test-locale-h
1364 check_PROGRAMS += test-locale-h
1365 EXTRA_DIST += test-locale-h.c
1366
1367 ## end gnulib module locale-h-tests
1368
1369 ## begin gnulib module localeconv-tests
1370
1371 TESTS += test-localeconv
1372 check_PROGRAMS += test-localeconv
1373 EXTRA_DIST += test-localeconv.c signature.h macros.h
1374
1375 ## end gnulib module localeconv-tests
1376
1377 ## begin gnulib module lstat-tests
1378
1379 TESTS += test-lstat
1380 check_PROGRAMS += test-lstat
1381 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
1382
1383 ## end gnulib module lstat-tests
1384
1385 ## begin gnulib module malloc-gnu-tests
1386
1387 TESTS += test-malloc-gnu
1388 check_PROGRAMS += test-malloc-gnu
1389 EXTRA_DIST += test-malloc-gnu.c macros.h
1390
1391 ## end gnulib module malloc-gnu-tests
1392
1393 ## begin gnulib module malloc-posix-tests
1394
1395 TESTS += test-malloc-posix
1396 check_PROGRAMS += test-malloc-posix
1397 EXTRA_DIST += test-malloc-posix.c macros.h
1398
1399 ## end gnulib module malloc-posix-tests
1400
1401 ## begin gnulib module malloca-tests
1402
1403 TESTS += test-malloca
1404 check_PROGRAMS += test-malloca
1405
1406 EXTRA_DIST += test-malloca.c
1407
1408 ## end gnulib module malloca-tests
1409
1410 ## begin gnulib module math-h
1411
1412 BUILT_SOURCES += math.h
1413 libtests_a_SOURCES += math.c
1414
1415 # We need the following in order to create <math.h> when the system
1416 # doesn't have one that works with the given compiler.
1417 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1418 $(gl_V_at)$(SED_HEADER_STDOUT) \
1419 -e 's|@''GUARD_PREFIX''@|GL|g' \
1420 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
1421 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1422 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1423 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
1424 -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \
1425 -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \
1426 -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \
1427 -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \
1428 -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \
1429 -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \
1430 -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \
1431 -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \
1432 -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \
1433 -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \
1434 -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \
1435 -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \
1436 -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \
1437 -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \
1438 -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \
1439 -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \
1440 -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \
1441 -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \
1442 -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \
1443 -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \
1444 -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \
1445 -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \
1446 -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \
1447 -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \
1448 -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \
1449 -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \
1450 -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \
1451 -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \
1452 -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \
1453 -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \
1454 -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \
1455 -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \
1456 -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \
1457 -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \
1458 -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \
1459 -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \
1460 -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \
1461 -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \
1462 -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \
1463 -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \
1464 -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \
1465 -e 's/@''GNULIB_GETPAYLOAD''@/$(GL_GNULIB_GETPAYLOAD)/g' \
1466 -e 's/@''GNULIB_GETPAYLOADF''@/$(GL_GNULIB_GETPAYLOADF)/g' \
1467 -e 's/@''GNULIB_GETPAYLOADL''@/$(GL_GNULIB_GETPAYLOADL)/g' \
1468 -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \
1469 -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \
1470 -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \
1471 < $(srcdir)/math.in.h > $@-t1
1472 $(AM_V_at)sed \
1473 -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \
1474 -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \
1475 -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \
1476 -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \
1477 -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \
1478 -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \
1479 -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \
1480 -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \
1481 -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \
1482 -e 's/@''GNULIB_LDEXP''@/$(GL_GNULIB_LDEXP)/g' \
1483 -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \
1484 -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \
1485 -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \
1486 -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \
1487 -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \
1488 -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \
1489 -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \
1490 -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \
1491 -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \
1492 -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \
1493 -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \
1494 -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \
1495 -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \
1496 -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \
1497 -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \
1498 -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \
1499 -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \
1500 -e 's/@''GNULIB_LOGP1''@/$(GL_GNULIB_LOGP1)/g' \
1501 -e 's/@''GNULIB_LOGP1F''@/$(GL_GNULIB_LOGP1F)/g' \
1502 -e 's/@''GNULIB_LOGP1L''@/$(GL_GNULIB_LOGP1L)/g' \
1503 -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \
1504 -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \
1505 -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \
1506 -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \
1507 -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \
1508 -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \
1509 -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \
1510 -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \
1511 -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \
1512 -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \
1513 -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \
1514 -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \
1515 -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \
1516 -e 's/@''GNULIB_SETPAYLOAD''@/$(GL_GNULIB_SETPAYLOAD)/g' \
1517 -e 's/@''GNULIB_SETPAYLOADF''@/$(GL_GNULIB_SETPAYLOADF)/g' \
1518 -e 's/@''GNULIB_SETPAYLOADL''@/$(GL_GNULIB_SETPAYLOADL)/g' \
1519 -e 's/@''GNULIB_SETPAYLOADSIG''@/$(GL_GNULIB_SETPAYLOADSIG)/g' \
1520 -e 's/@''GNULIB_SETPAYLOADSIGF''@/$(GL_GNULIB_SETPAYLOADSIGF)/g' \
1521 -e 's/@''GNULIB_SETPAYLOADSIGL''@/$(GL_GNULIB_SETPAYLOADSIGL)/g' \
1522 -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \
1523 -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \
1524 -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \
1525 -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \
1526 -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \
1527 -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \
1528 -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \
1529 -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \
1530 -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \
1531 -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \
1532 -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \
1533 -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \
1534 -e 's/@''GNULIB_TOTALORDER''@/$(GL_GNULIB_TOTALORDER)/g' \
1535 -e 's/@''GNULIB_TOTALORDERF''@/$(GL_GNULIB_TOTALORDERF)/g' \
1536 -e 's/@''GNULIB_TOTALORDERL''@/$(GL_GNULIB_TOTALORDERL)/g' \
1537 -e 's/@''GNULIB_TOTALORDERMAG''@/$(GL_GNULIB_TOTALORDERMAG)/g' \
1538 -e 's/@''GNULIB_TOTALORDERMAGF''@/$(GL_GNULIB_TOTALORDERMAGF)/g' \
1539 -e 's/@''GNULIB_TOTALORDERMAGL''@/$(GL_GNULIB_TOTALORDERMAGL)/g' \
1540 -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \
1541 -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \
1542 -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \
1543 -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \
1544 -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \
1545 -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \
1546 < $@-t1 > $@-t2
1547 $(AM_V_at)sed \
1548 -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
1549 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
1550 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
1551 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
1552 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
1553 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
1554 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
1555 -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
1556 -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
1557 -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
1558 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
1559 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
1560 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
1561 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
1562 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
1563 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
1564 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
1565 -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
1566 -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
1567 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
1568 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
1569 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
1570 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
1571 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
1572 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
1573 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
1574 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
1575 -e 's|@''HAVE_GETPAYLOAD''@|$(HAVE_GETPAYLOAD)|g' \
1576 -e 's|@''HAVE_GETPAYLOADF''@|$(HAVE_GETPAYLOADF)|g' \
1577 -e 's|@''HAVE_GETPAYLOADL''@|$(HAVE_GETPAYLOADL)|g' \
1578 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
1579 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
1580 -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
1581 -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
1582 -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
1583 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1584 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1585 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
1586 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
1587 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
1588 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
1589 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
1590 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
1591 -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
1592 -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
1593 -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
1594 -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
1595 -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
1596 -e 's|@''HAVE_LOGP1''@|$(HAVE_LOGP1)|g' \
1597 -e 's|@''HAVE_LOGP1F''@|$(HAVE_LOGP1F)|g' \
1598 -e 's|@''HAVE_LOGP1L''@|$(HAVE_LOGP1L)|g' \
1599 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
1600 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
1601 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
1602 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
1603 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
1604 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
1605 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
1606 -e 's|@''HAVE_SETPAYLOAD''@|$(HAVE_SETPAYLOAD)|g' \
1607 -e 's|@''HAVE_SETPAYLOADF''@|$(HAVE_SETPAYLOADF)|g' \
1608 -e 's|@''HAVE_SETPAYLOADL''@|$(HAVE_SETPAYLOADL)|g' \
1609 -e 's|@''HAVE_SETPAYLOADSIG''@|$(HAVE_SETPAYLOADSIG)|g' \
1610 -e 's|@''HAVE_SETPAYLOADSIGF''@|$(HAVE_SETPAYLOADSIGF)|g' \
1611 -e 's|@''HAVE_SETPAYLOADSIGL''@|$(HAVE_SETPAYLOADSIGL)|g' \
1612 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
1613 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
1614 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
1615 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
1616 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
1617 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
1618 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
1619 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
1620 -e 's|@''HAVE_TOTALORDER''@|$(HAVE_TOTALORDER)|g' \
1621 -e 's|@''HAVE_TOTALORDERF''@|$(HAVE_TOTALORDERF)|g' \
1622 -e 's|@''HAVE_TOTALORDERL''@|$(HAVE_TOTALORDERL)|g' \
1623 -e 's|@''HAVE_TOTALORDERMAG''@|$(HAVE_TOTALORDERMAG)|g' \
1624 -e 's|@''HAVE_TOTALORDERMAGF''@|$(HAVE_TOTALORDERMAGF)|g' \
1625 -e 's|@''HAVE_TOTALORDERMAGL''@|$(HAVE_TOTALORDERMAGL)|g' \
1626 < $@-t2 > $@-t3
1627 $(AM_V_at)sed \
1628 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1629 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1630 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1631 -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1632 -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
1633 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1634 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
1635 -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
1636 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1637 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1638 -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1639 -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1640 -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1641 -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
1642 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1643 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1644 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1645 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1646 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1647 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1648 -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1649 -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1650 -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1651 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1652 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1653 -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1654 -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
1655 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1656 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1657 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1658 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1659 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1660 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1661 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1662 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1663 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
1664 < $@-t3 > $@-t4
1665 $(AM_V_at)sed \
1666 -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \
1667 -e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \
1668 -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \
1669 -e 's|@''REPLACE_ATAN2F''@|$(REPLACE_ATAN2F)|g' \
1670 -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
1671 -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1672 -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
1673 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1674 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1675 -e 's|@''REPLACE_COSF''@|$(REPLACE_COSF)|g' \
1676 -e 's|@''REPLACE_COSHF''@|$(REPLACE_COSHF)|g' \
1677 -e 's|@''REPLACE_EXPF''@|$(REPLACE_EXPF)|g' \
1678 -e 's|@''REPLACE_EXPL''@|$(REPLACE_EXPL)|g' \
1679 -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1680 -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1681 -e 's|@''REPLACE_EXPM1L''@|$(REPLACE_EXPM1L)|g' \
1682 -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1683 -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1684 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
1685 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
1686 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1687 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1688 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1689 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1690 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
1691 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1692 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1693 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
1694 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
1695 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1696 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1697 -e 's|@''REPLACE_GETPAYLOAD''@|$(REPLACE_GETPAYLOAD)|g' \
1698 -e 's|@''REPLACE_GETPAYLOADF''@|$(REPLACE_GETPAYLOADF)|g' \
1699 -e 's|@''REPLACE_GETPAYLOADL''@|$(REPLACE_GETPAYLOADL)|g' \
1700 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1701 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1702 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1703 -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1704 -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1705 -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
1706 -e 's|@''REPLACE_ILOGBL''@|$(REPLACE_ILOGBL)|g' \
1707 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1708 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1709 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1710 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
1711 < $@-t4 > $@-t5
1712 $(AM_V_at)sed \
1713 -e 's|@''REPLACE_LDEXP''@|$(REPLACE_LDEXP)|g' \
1714 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1715 -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1716 -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1717 -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1718 -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1719 -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1720 -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1721 -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1722 -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1723 -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1724 -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1725 -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1726 -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1727 -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1728 -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1729 -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1730 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1731 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1732 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
1733 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1734 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1735 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1736 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
1737 -e 's|@''REPLACE_RINTL''@|$(REPLACE_RINTL)|g' \
1738 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1739 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1740 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1741 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1742 -e 's|@''REPLACE_SIGNBIT_USING_BUILTINS''@|$(REPLACE_SIGNBIT_USING_BUILTINS)|g' \
1743 -e 's|@''REPLACE_SINF''@|$(REPLACE_SINF)|g' \
1744 -e 's|@''REPLACE_SINHF''@|$(REPLACE_SINHF)|g' \
1745 -e 's|@''REPLACE_SQRTF''@|$(REPLACE_SQRTF)|g' \
1746 -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
1747 -e 's|@''REPLACE_TANF''@|$(REPLACE_TANF)|g' \
1748 -e 's|@''REPLACE_TANHF''@|$(REPLACE_TANHF)|g' \
1749 -e 's|@''REPLACE_TOTALORDER''@|$(REPLACE_TOTALORDER)|g' \
1750 -e 's|@''REPLACE_TOTALORDERF''@|$(REPLACE_TOTALORDERF)|g' \
1751 -e 's|@''REPLACE_TOTALORDERL''@|$(REPLACE_TOTALORDERL)|g' \
1752 -e 's|@''REPLACE_TOTALORDERMAG''@|$(REPLACE_TOTALORDERMAG)|g' \
1753 -e 's|@''REPLACE_TOTALORDERMAGF''@|$(REPLACE_TOTALORDERMAGF)|g' \
1754 -e 's|@''REPLACE_TOTALORDERMAGL''@|$(REPLACE_TOTALORDERMAGL)|g' \
1755 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1756 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
1757 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1758 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1759 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1760 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1761 < $@-t5 > $@-t6
1762 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $@-t4 $@-t5
1763 $(AM_V_at)mv $@-t6 $@
1764 MOSTLYCLEANFILES += math.h math.h-t1 math.h-t2 math.h-t3 math.h-t4 math.h-t5 math.h-t6
1765
1766 EXTRA_DIST += math.in.h
1767
1768 ## end gnulib module math-h
1769
1770 ## begin gnulib module math-h-tests
1771
1772 TESTS += test-math-h
1773 check_PROGRAMS += test-math-h
1774 EXTRA_DIST += test-math-h.c macros.h
1775
1776 ## end gnulib module math-h-tests
1777
1778 ## begin gnulib module mbrtoc32-tests
1779
1780 TESTS += \
1781 test-mbrtoc32-1.sh test-mbrtoc32-2.sh test-mbrtoc32-3.sh test-mbrtoc32-4.sh \
1782 test-mbrtoc32-5.sh \
1783 test-mbrtoc32-w32-2.sh test-mbrtoc32-w32-3.sh test-mbrtoc32-w32-4.sh \
1784 test-mbrtoc32-w32-5.sh test-mbrtoc32-w32-6.sh test-mbrtoc32-w32-7.sh \
1785 test-mbrtoc32-w32-8.sh
1786 TESTS_ENVIRONMENT += \
1787 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1788 LOCALE_FR='@LOCALE_FR@' \
1789 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1790 LOCALE_JA='@LOCALE_JA@' \
1791 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1792 check_PROGRAMS += test-mbrtoc32 test-mbrtoc32-w32
1793 test_mbrtoc32_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
1794 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
1795
1796 ## end gnulib module mbrtoc32-tests
1797
1798 ## begin gnulib module mbrtowc-tests
1799
1800 TESTS += \
1801 test-mbrtowc-1.sh test-mbrtowc-2.sh test-mbrtowc-3.sh test-mbrtowc-4.sh \
1802 test-mbrtowc-5.sh \
1803 test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh \
1804 test-mbrtowc-w32-5.sh test-mbrtowc-w32-6.sh test-mbrtowc-w32-7.sh \
1805 test-mbrtowc-w32-8.sh
1806 TESTS_ENVIRONMENT += \
1807 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1808 LOCALE_FR='@LOCALE_FR@' \
1809 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1810 LOCALE_JA='@LOCALE_JA@' \
1811 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1812 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
1813 test_mbrtowc_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1814
1815 if OS_IS_NATIVE_WINDOWS
1816 TESTS += test-mbrtowc-w32utf8.sh
1817 noinst_PROGRAMS += test-mbrtowc-w32utf8
1818 test_mbrtowc_w32utf8_LDADD = $(LDADD) test-mbrtowc-windows-utf8.res $(SETLOCALE_LIB)
1819 test-mbrtowc-windows-utf8.res : $(srcdir)/windows-utf8.rc
1820 $(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-mbrtowc-windows-utf8.res --output-format=coff
1821 MOSTLYCLEANFILES += test-mbrtowc-windows-utf8.res
1822 endif
1823 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
1824
1825 ## end gnulib module mbrtowc-tests
1826
1827 ## begin gnulib module mbscasecmp-tests
1828
1829 TESTS += test-mbscasecmp.sh
1830 TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
1831 check_PROGRAMS += test-mbscasecmp
1832 test_mbscasecmp_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
1833 EXTRA_DIST += test-mbscasecmp.sh test-mbscasecmp.c macros.h
1834
1835 ## end gnulib module mbscasecmp-tests
1836
1837 ## begin gnulib module mbsinit-tests
1838
1839 TESTS += test-mbsinit.sh
1840 TESTS_ENVIRONMENT += \
1841 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1842 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1843 check_PROGRAMS += test-mbsinit
1844 test_mbsinit_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1845 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
1846
1847 ## end gnulib module mbsinit-tests
1848
1849 ## begin gnulib module mbsrtoc32s-tests
1850
1851 TESTS += \
1852 test-mbsrtoc32s-1.sh test-mbsrtoc32s-2.sh test-mbsrtoc32s-3.sh \
1853 test-mbsrtoc32s-4.sh test-mbsrtoc32s-5.sh
1854 TESTS_ENVIRONMENT += \
1855 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1856 LOCALE_FR='@LOCALE_FR@' \
1857 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1858 LOCALE_JA='@LOCALE_JA@' \
1859 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1860 check_PROGRAMS += test-mbsrtoc32s
1861 test_mbsrtoc32s_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
1862 EXTRA_DIST += test-mbsrtoc32s-1.sh test-mbsrtoc32s-2.sh test-mbsrtoc32s-3.sh test-mbsrtoc32s-4.sh test-mbsrtoc32s-5.sh test-mbsrtoc32s.c signature.h macros.h
1863
1864 ## end gnulib module mbsrtoc32s-tests
1865
1866 ## begin gnulib module mbsrtowcs-tests
1867
1868 TESTS += \
1869 test-mbsrtowcs-1.sh test-mbsrtowcs-2.sh test-mbsrtowcs-3.sh \
1870 test-mbsrtowcs-4.sh test-mbsrtowcs-5.sh
1871 TESTS_ENVIRONMENT += \
1872 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1873 LOCALE_FR='@LOCALE_FR@' \
1874 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1875 LOCALE_JA='@LOCALE_JA@' \
1876 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1877 check_PROGRAMS += test-mbsrtowcs
1878 test_mbsrtowcs_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
1879 EXTRA_DIST += test-mbsrtowcs-1.sh test-mbsrtowcs-2.sh test-mbsrtowcs-3.sh test-mbsrtowcs-4.sh test-mbsrtowcs-5.sh test-mbsrtowcs.c signature.h macros.h
1880
1881 ## end gnulib module mbsrtowcs-tests
1882
1883 ## begin gnulib module mcel-tests
1884
1885 TESTS += \
1886 test-mcel-1.sh test-mcel-2.sh test-mcel-3.sh test-mcel-4.sh test-mcel-5.sh
1887 TESTS_ENVIRONMENT += \
1888 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
1889 LOCALE_FR='@LOCALE_FR@' \
1890 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1891 LOCALE_JA='@LOCALE_JA@' \
1892 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1893 check_PROGRAMS += test-mcel
1894 test_mcel_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)
1895 EXTRA_DIST += test-mcel-1.sh test-mcel-2.sh test-mcel-3.sh test-mcel-4.sh test-mcel-5.sh test-mcel.c macros.h
1896
1897 ## end gnulib module mcel-tests
1898
1899 ## begin gnulib module memchr-tests
1900
1901 TESTS += test-memchr
1902 check_PROGRAMS += test-memchr
1903 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
1904
1905 ## end gnulib module memchr-tests
1906
1907 ## begin gnulib module memrchr-tests
1908
1909 TESTS += test-memrchr
1910 check_PROGRAMS += test-memrchr
1911 EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
1912
1913 ## end gnulib module memrchr-tests
1914
1915 ## begin gnulib module mkdir-tests
1916
1917 TESTS += test-mkdir
1918 check_PROGRAMS += test-mkdir
1919 EXTRA_DIST += test-mkdir.h test-mkdir.c signature.h macros.h
1920
1921 ## end gnulib module mkdir-tests
1922
1923 ## begin gnulib module nan
1924
1925 libtests_a_SOURCES += nan.h
1926
1927 ## end gnulib module nan
1928
1929 ## begin gnulib module nanosleep
1930
1931 if GL_COND_OBJ_NANOSLEEP
1932 libtests_a_SOURCES += nanosleep.c
1933 endif
1934
1935 ## end gnulib module nanosleep
1936
1937 ## begin gnulib module nanosleep-tests
1938
1939 TESTS += test-nanosleep
1940 check_PROGRAMS += test-nanosleep
1941 test_nanosleep_LDADD = $(LDADD) $(NANOSLEEP_LIB)
1942 EXTRA_DIST += test-nanosleep.c signature.h macros.h
1943
1944 ## end gnulib module nanosleep-tests
1945
1946 ## begin gnulib module netinet_in-h
1947
1948 BUILT_SOURCES += $(NETINET_IN_H)
1949
1950 # We need the following in order to create <netinet/in.h> when the system
1951 # doesn't have one.
1952 if GL_GENERATE_NETINET_IN_H
1953 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1954 $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
1955 $(AM_V_at)$(SED_HEADER_STDOUT) \
1956 -e 's|@''GUARD_PREFIX''@|GL|g' \
1957 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1958 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1959 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1960 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1961 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1962 $(srcdir)/netinet_in.in.h > $@-t
1963 $(AM_V_at)mv $@-t $@
1964 else
1965 netinet/in.h: $(top_builddir)/config.status
1966 rm -f $@
1967 endif
1968 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1969 MOSTLYCLEANDIRS += netinet
1970
1971 EXTRA_DIST += netinet_in.in.h
1972
1973 ## end gnulib module netinet_in-h
1974
1975 ## begin gnulib module netinet_in-h-tests
1976
1977 TESTS += test-netinet_in-h
1978 check_PROGRAMS += test-netinet_in-h
1979 EXTRA_DIST += test-netinet_in-h.c
1980
1981 ## end gnulib module netinet_in-h-tests
1982
1983 ## begin gnulib module nl_langinfo-tests
1984
1985 TESTS += test-nl_langinfo1.sh test-nl_langinfo2.sh test-nl_langinfo-mt
1986 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1987 check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo2 test-nl_langinfo-mt
1988 test_nl_langinfo1_LDADD = $(LDADD) $(SETLOCALE_LIB)
1989 test_nl_langinfo2_LDADD = $(LDADD) $(SETLOCALE_LIB)
1990 test_nl_langinfo_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
1991 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
1992
1993 ## end gnulib module nl_langinfo-tests
1994
1995 ## begin gnulib module nstrftime-tests
1996
1997 TESTS += test-nstrftime-1.sh test-nstrftime-2.sh
1998 TESTS_ENVIRONMENT += \
1999 LOCALE_FR='@LOCALE_FR@' \
2000 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
2001 check_PROGRAMS += test-nstrftime
2002 test_nstrftime_LDADD = $(LDADD) $(SETLOCALE_LIB)
2003 EXTRA_DIST += test-nstrftime-1.sh test-nstrftime-2.sh test-nstrftime.c test-nstrftime.h macros.h
2004
2005 ## end gnulib module nstrftime-tests
2006
2007 ## begin gnulib module nullptr-tests
2008
2009 TESTS += test-nullptr
2010 check_PROGRAMS += test-nullptr
2011 EXTRA_DIST += test-nullptr.c macros.h
2012
2013 ## end gnulib module nullptr-tests
2014
2015 ## begin gnulib module once-tests
2016
2017 TESTS += test-once1 test-once2
2018 check_PROGRAMS += test-once1 test-once2
2019 test_once1_SOURCES = test-once.c
2020 test_once1_LDADD = $(LDADD) @LIBTHREAD@
2021 test_once2_SOURCES = test-once.c
2022 test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@
2023 EXTRA_DIST += test-once.c macros.h
2024
2025 ## end gnulib module once-tests
2026
2027 ## begin gnulib module open-tests
2028
2029 TESTS += test-open
2030 check_PROGRAMS += test-open
2031 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
2032
2033 ## end gnulib module open-tests
2034
2035 ## begin gnulib module openat-tests
2036
2037 TESTS += test-openat
2038 check_PROGRAMS += test-openat
2039 test_openat_LDADD = $(LDADD) @LIBINTL@
2040 EXTRA_DIST += test-openat.c test-open.h signature.h macros.h
2041
2042 ## end gnulib module openat-tests
2043
2044 ## begin gnulib module pathmax-tests
2045
2046 TESTS += test-pathmax
2047 check_PROGRAMS += test-pathmax
2048 EXTRA_DIST += test-pathmax.c
2049
2050 ## end gnulib module pathmax-tests
2051
2052 ## begin gnulib module perror
2053
2054 if GL_COND_OBJ_PERROR
2055 libtests_a_SOURCES += perror.c
2056 endif
2057
2058 ## end gnulib module perror
2059
2060 ## begin gnulib module perror-tests
2061
2062 TESTS += test-perror.sh test-perror2
2063 check_PROGRAMS += test-perror test-perror2
2064 EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh
2065
2066 ## end gnulib module perror-tests
2067
2068 ## begin gnulib module pipe-posix
2069
2070 if GL_COND_OBJ_PIPE
2071 libtests_a_SOURCES += pipe.c
2072 endif
2073
2074 ## end gnulib module pipe-posix
2075
2076 ## begin gnulib module pipe-posix-tests
2077
2078 TESTS += test-pipe
2079 check_PROGRAMS += test-pipe
2080 EXTRA_DIST += test-pipe.c signature.h macros.h
2081
2082 ## end gnulib module pipe-posix-tests
2083
2084 ## begin gnulib module popen-tests
2085
2086 TESTS += test-popen
2087 check_PROGRAMS += test-popen
2088 EXTRA_DIST += test-popen.h test-popen.c signature.h macros.h
2089
2090 ## end gnulib module popen-tests
2091
2092 ## begin gnulib module priv-set
2093
2094 libtests_a_SOURCES += priv-set.c
2095
2096 EXTRA_DIST += priv-set.h
2097
2098 ## end gnulib module priv-set
2099
2100 ## begin gnulib module priv-set-tests
2101
2102 TESTS += test-priv-set
2103 check_PROGRAMS += test-priv-set
2104 EXTRA_DIST += test-priv-set.c macros.h
2105
2106 ## end gnulib module priv-set-tests
2107
2108 ## begin gnulib module pselect
2109
2110 if GL_COND_OBJ_PSELECT
2111 libtests_a_SOURCES += pselect.c
2112 endif
2113
2114 ## end gnulib module pselect
2115
2116 ## begin gnulib module pselect-tests
2117
2118 TESTS += test-pselect
2119 check_PROGRAMS += test-pselect
2120 test_pselect_LDADD = $(LDADD) @SELECT_LIB@ @LIBSOCKET@ @PTHREAD_SIGMASK_LIB@ $(INET_PTON_LIB)
2121 EXTRA_DIST += test-pselect.c test-select.h macros.h signature.h
2122
2123 ## end gnulib module pselect-tests
2124
2125 ## begin gnulib module pthread-cond
2126
2127 if GL_COND_OBJ_PTHREAD_COND
2128 libtests_a_SOURCES += pthread-cond.c
2129 endif
2130
2131 ## end gnulib module pthread-cond
2132
2133 ## begin gnulib module pthread-cond-tests
2134
2135 TESTS += test-pthread-cond
2136 check_PROGRAMS += test-pthread-cond
2137 test_pthread_cond_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@
2138 EXTRA_DIST += test-pthread-cond.c virtualbox.h macros.h
2139
2140 ## end gnulib module pthread-cond-tests
2141
2142 ## begin gnulib module pthread-h-tests
2143
2144 TESTS += test-pthread
2145 check_PROGRAMS += test-pthread
2146 EXTRA_DIST += test-pthread.c
2147
2148 ## end gnulib module pthread-h-tests
2149
2150 ## begin gnulib module pthread-mutex
2151
2152 if GL_COND_OBJ_PTHREAD_MUTEX
2153 libtests_a_SOURCES += pthread-mutex.c
2154 endif
2155
2156 ## end gnulib module pthread-mutex
2157
2158 ## begin gnulib module pthread-mutex-tests
2159
2160 TESTS += test-pthread-mutex test-pthread-mutex-type
2161 check_PROGRAMS += test-pthread-mutex test-pthread-mutex-type
2162 test_pthread_mutex_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@ @LIB_SEMAPHORE@
2163 # If we were to link test-pthread-mutex-type only with @LIBPTHREAD@ instead of
2164 # @LIBPMULTITHREAD@, this test would fail on FreeBSD and NetBSD.
2165 test_pthread_mutex_type_LDADD = $(LDADD) @LIBPMULTITHREAD@
2166 EXTRA_DIST += test-pthread-mutex.c test-pthread-mutex-type.c atomic-int-posix.h macros.h
2167
2168 ## end gnulib module pthread-mutex-tests
2169
2170 ## begin gnulib module pthread-once-tests
2171
2172 TESTS += test-pthread-once1 test-pthread-once2
2173 check_PROGRAMS += test-pthread-once1 test-pthread-once2
2174 test_pthread_once1_LDADD = $(LDADD) @LIBPMULTITHREAD@
2175 test_pthread_once2_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@
2176 EXTRA_DIST += test-pthread-once1.c test-pthread-once2.c macros.h
2177
2178 ## end gnulib module pthread-once-tests
2179
2180 ## begin gnulib module pthread-rwlock
2181
2182 if GL_COND_OBJ_PTHREAD_RWLOCK
2183 libtests_a_SOURCES += pthread-rwlock.c
2184 endif
2185
2186 ## end gnulib module pthread-rwlock
2187
2188 ## begin gnulib module pthread-rwlock-tests
2189
2190 TESTS += test-pthread-rwlock
2191 check_PROGRAMS += test-pthread-rwlock
2192 test_pthread_rwlock_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@ @LIB_SEMAPHORE@
2193 EXTRA_DIST += test-pthread-rwlock.c atomic-int-posix.h macros.h
2194
2195 ## end gnulib module pthread-rwlock-tests
2196
2197 ## begin gnulib module pthread-thread
2198
2199 if GL_COND_OBJ_PTHREAD_THREAD
2200 libtests_a_SOURCES += pthread-thread.c
2201 endif
2202
2203 ## end gnulib module pthread-thread
2204
2205 ## begin gnulib module pthread-thread-tests
2206
2207 TESTS += test-pthread-thread
2208 check_PROGRAMS += test-pthread-thread
2209 test_pthread_thread_LDADD = $(LDADD) @LIBPMULTITHREAD@
2210 EXTRA_DIST += test-pthread-thread.c macros.h
2211
2212 ## end gnulib module pthread-thread-tests
2213
2214 ## begin gnulib module pthread_mutex_timedlock
2215
2216 if GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK
2217 libtests_a_SOURCES += pthread_mutex_timedlock.c
2218 endif
2219
2220 ## end gnulib module pthread_mutex_timedlock
2221
2222 ## begin gnulib module pthread_sigmask
2223
2224 if GL_COND_OBJ_PTHREAD_SIGMASK
2225 libtests_a_SOURCES += pthread_sigmask.c
2226 endif
2227
2228 ## end gnulib module pthread_sigmask
2229
2230 ## begin gnulib module pthread_sigmask-tests
2231
2232 # Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57214
2233 if !OS_IS_NETBSD
2234 TESTS += test-pthread_sigmask1
2235 endif
2236 TESTS += test-pthread_sigmask2
2237 check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2
2238 test_pthread_sigmask1_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@
2239 test_pthread_sigmask2_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@ @LIBMULTITHREAD@
2240 EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h virtualbox.h macros.h
2241
2242 ## end gnulib module pthread_sigmask-tests
2243
2244 ## begin gnulib module putenv-gnu
2245
2246 if GL_COND_OBJ_PUTENV
2247 libtests_a_SOURCES += putenv.c
2248 endif
2249
2250 ## end gnulib module putenv-gnu
2251
2252 ## begin gnulib module putenv-gnu-tests
2253
2254 TESTS += test-putenv
2255 check_PROGRAMS += test-putenv
2256 EXTRA_DIST += test-putenv.c macros.h signature.h
2257
2258 ## end gnulib module putenv-gnu-tests
2259
2260 ## begin gnulib module quotearg-simple-tests
2261
2262 TESTS += test-quotearg-simple
2263 check_PROGRAMS += test-quotearg-simple
2264 test_quotearg_simple_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
2265 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
2266
2267 ## end gnulib module quotearg-simple-tests
2268
2269 ## begin gnulib module raise-tests
2270
2271 TESTS += test-raise
2272 check_PROGRAMS += test-raise
2273 EXTRA_DIST += test-raise.c signature.h macros.h
2274
2275 ## end gnulib module raise-tests
2276
2277 ## begin gnulib module random
2278
2279 if GL_COND_OBJ_RANDOM
2280 libtests_a_SOURCES += random.c
2281 endif
2282
2283 ## end gnulib module random
2284
2285 ## begin gnulib module random-tests
2286
2287 TESTS += test-random test-random-mt
2288 check_PROGRAMS += test-random test-random-mt
2289 test_random_mt_LDADD = $(LDADD) $(LIBINTL) $(LIBMULTITHREAD) $(YIELD_LIB)
2290 EXTRA_DIST += test-random.c test-random-mt.c signature.h macros.h
2291
2292 ## end gnulib module random-tests
2293
2294 ## begin gnulib module random_r
2295
2296 if GL_COND_OBJ_RANDOM_R
2297 libtests_a_SOURCES += random_r.c
2298 endif
2299
2300 ## end gnulib module random_r
2301
2302 ## begin gnulib module random_r-tests
2303
2304 TESTS += test-random_r
2305 check_PROGRAMS += test-random_r
2306 EXTRA_DIST += test-random_r.c signature.h macros.h
2307
2308 ## end gnulib module random_r-tests
2309
2310 ## begin gnulib module rawmemchr-tests
2311
2312 TESTS += test-rawmemchr
2313 check_PROGRAMS += test-rawmemchr
2314 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
2315
2316 ## end gnulib module rawmemchr-tests
2317
2318 ## begin gnulib module readlink-tests
2319
2320 TESTS += test-readlink
2321 check_PROGRAMS += test-readlink
2322 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
2323
2324 ## end gnulib module readlink-tests
2325
2326 ## begin gnulib module readlinkat-tests
2327
2328 TESTS += test-readlinkat
2329 check_PROGRAMS += test-readlinkat
2330 test_readlinkat_LDADD = $(LDADD) @LIBINTL@
2331 EXTRA_DIST += test-readlink.h test-readlinkat.c signature.h macros.h
2332
2333 ## end gnulib module readlinkat-tests
2334
2335 ## begin gnulib module realloc-posix-tests
2336
2337 TESTS += test-realloc-posix
2338 check_PROGRAMS += test-realloc-posix
2339 EXTRA_DIST += test-realloc-posix.c macros.h
2340
2341 ## end gnulib module realloc-posix-tests
2342
2343 ## begin gnulib module reallocarray-tests
2344
2345 TESTS += test-reallocarray
2346 check_PROGRAMS += test-reallocarray
2347 EXTRA_DIST += test-reallocarray.c signature.h macros.h
2348
2349 ## end gnulib module reallocarray-tests
2350
2351 ## begin gnulib module regex-tests
2352
2353 TESTS += test-regex
2354 check_PROGRAMS += test-regex
2355 test_regex_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBTHREAD)
2356 EXTRA_DIST += test-regex.c macros.h
2357
2358 ## end gnulib module regex-tests
2359
2360 ## begin gnulib module rmdir
2361
2362 if GL_COND_OBJ_RMDIR
2363 libtests_a_SOURCES += rmdir.c
2364 endif
2365
2366 ## end gnulib module rmdir
2367
2368 ## begin gnulib module rmdir-tests
2369
2370 TESTS += test-rmdir
2371 check_PROGRAMS += test-rmdir
2372 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
2373
2374 ## end gnulib module rmdir-tests
2375
2376 ## begin gnulib module root-uid
2377
2378
2379 EXTRA_DIST += root-uid.h
2380
2381 ## end gnulib module root-uid
2382
2383 ## begin gnulib module sched-h-tests
2384
2385 TESTS += test-sched-h
2386 check_PROGRAMS += test-sched-h
2387 EXTRA_DIST += test-sched-h.c
2388
2389 ## end gnulib module sched-h-tests
2390
2391 ## begin gnulib module sched_yield
2392
2393 if GL_COND_OBJ_SCHED_YIELD
2394 libtests_a_SOURCES += sched_yield.c
2395 endif
2396
2397 ## end gnulib module sched_yield
2398
2399 ## begin gnulib module select
2400
2401 if GL_COND_OBJ_SELECT
2402 libtests_a_SOURCES += select.c
2403 endif
2404
2405 ## end gnulib module select
2406
2407 ## begin gnulib module select-tests
2408
2409 TESTS += test-select test-select-in.sh test-select-out.sh
2410 # test-select-stdin has to be run by hand.
2411 check_PROGRAMS += test-select test-select-fd test-select-stdin
2412 test_select_LDADD = $(LDADD) @SELECT_LIB@ @LIBSOCKET@ $(INET_PTON_LIB)
2413 test_select_fd_LDADD = $(LDADD) @SELECT_LIB@
2414 test_select_stdin_LDADD = $(LDADD) @SELECT_LIB@
2415 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
2416
2417 ## end gnulib module select-tests
2418
2419 ## begin gnulib module setenv-tests
2420
2421 TESTS += test-setenv
2422 check_PROGRAMS += test-setenv
2423 EXTRA_DIST += test-setenv.c signature.h macros.h
2424
2425 ## end gnulib module setenv-tests
2426
2427 ## begin gnulib module setlocale-null-tests
2428
2429 TESTS += \
2430 test-setlocale_null \
2431 test-setlocale_null-mt-one \
2432 test-setlocale_null-mt-all
2433 check_PROGRAMS += \
2434 test-setlocale_null \
2435 test-setlocale_null-mt-one \
2436 test-setlocale_null-mt-all
2437 test_setlocale_null_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@
2438 test_setlocale_null_mt_one_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
2439 test_setlocale_null_mt_all_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
2440 EXTRA_DIST += test-setlocale_null.c test-setlocale_null-mt-one.c test-setlocale_null-mt-all.c
2441
2442 ## end gnulib module setlocale-null-tests
2443
2444 ## begin gnulib module setlocale-null-unlocked-tests
2445
2446 TESTS += test-setlocale_null-unlocked
2447 check_PROGRAMS += test-setlocale_null-unlocked
2448 EXTRA_DIST += test-setlocale_null-unlocked.c
2449
2450 ## end gnulib module setlocale-null-unlocked-tests
2451
2452 ## begin gnulib module setsockopt
2453
2454 if GL_COND_OBJ_SETSOCKOPT
2455 libtests_a_SOURCES += setsockopt.c
2456 endif
2457
2458 EXTRA_DIST += w32sock.h
2459
2460 ## end gnulib module setsockopt
2461
2462 ## begin gnulib module setsockopt-tests
2463
2464 TESTS += test-setsockopt
2465 check_PROGRAMS += test-setsockopt
2466 test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@
2467 EXTRA_DIST += test-setsockopt.c signature.h macros.h
2468
2469 ## end gnulib module setsockopt-tests
2470
2471 ## begin gnulib module sh-quote-tests
2472
2473 TESTS += test-sh-quote
2474 check_PROGRAMS += test-sh-quote
2475 test_sh_quote_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)
2476 EXTRA_DIST += test-sh-quote.c macros.h
2477
2478 ## end gnulib module sh-quote-tests
2479
2480 ## begin gnulib module sigaction-tests
2481
2482 TESTS += test-sigaction
2483 check_PROGRAMS += test-sigaction
2484 EXTRA_DIST += test-sigaction.c signature.h macros.h
2485
2486 ## end gnulib module sigaction-tests
2487
2488 ## begin gnulib module signal-h-tests
2489
2490 TESTS += test-signal-h
2491 check_PROGRAMS += test-signal-h
2492 EXTRA_DIST += test-signal-h.c
2493
2494 ## end gnulib module signal-h-tests
2495
2496 ## begin gnulib module signbit
2497
2498 if GL_COND_OBJ_SIGNBIT3
2499 libtests_a_SOURCES += signbitf.c signbitd.c signbitl.c
2500 endif
2501
2502 EXTRA_DIST += float+.h
2503
2504 ## end gnulib module signbit
2505
2506 ## begin gnulib module signbit-tests
2507
2508 TESTS += test-signbit
2509 check_PROGRAMS += test-signbit
2510
2511 EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
2512
2513 ## end gnulib module signbit-tests
2514
2515 ## begin gnulib module signed-nan
2516
2517 libtests_a_SOURCES += signed-nan.h
2518
2519 ## end gnulib module signed-nan
2520
2521 ## begin gnulib module signed-snan
2522
2523 libtests_a_SOURCES += signed-snan.h
2524
2525 ## end gnulib module signed-snan
2526
2527 ## begin gnulib module sigprocmask-tests
2528
2529 # Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57213
2530 if !OS_IS_NETBSD
2531 TESTS += test-sigprocmask
2532 endif
2533 check_PROGRAMS += test-sigprocmask
2534 EXTRA_DIST += test-sigprocmask.c signature.h virtualbox.h macros.h
2535
2536 ## end gnulib module sigprocmask-tests
2537
2538 ## begin gnulib module sigsegv-tests
2539
2540 TESTS += \
2541 test-sigsegv-catch-segv1 \
2542 test-sigsegv-catch-segv2 \
2543 test-sigsegv-catch-stackoverflow1 \
2544 test-sigsegv-catch-stackoverflow2
2545 check_PROGRAMS += \
2546 test-sigsegv-catch-segv1 \
2547 test-sigsegv-catch-segv2 \
2548 test-sigsegv-catch-stackoverflow1 \
2549 test-sigsegv-catch-stackoverflow2
2550 test_sigsegv_catch_segv1_LDADD = $(LDADD) $(LIBSIGSEGV)
2551 test_sigsegv_catch_segv2_LDADD = $(LDADD) $(LIBSIGSEGV)
2552 test_sigsegv_catch_stackoverflow1_LDADD = $(LDADD) $(LIBSIGSEGV)
2553 test_sigsegv_catch_stackoverflow2_LDADD = $(LDADD) $(LIBSIGSEGV)
2554 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
2555
2556 ## end gnulib module sigsegv-tests
2557
2558 ## begin gnulib module size_max
2559
2560 libtests_a_SOURCES += size_max.h
2561
2562 ## end gnulib module size_max
2563
2564 ## begin gnulib module sleep
2565
2566 if GL_COND_OBJ_SLEEP
2567 libtests_a_SOURCES += sleep.c
2568 endif
2569
2570 ## end gnulib module sleep
2571
2572 ## begin gnulib module sleep-tests
2573
2574 TESTS += test-sleep
2575 check_PROGRAMS += test-sleep
2576 EXTRA_DIST += test-sleep.c signature.h macros.h
2577
2578 ## end gnulib module sleep-tests
2579
2580 ## begin gnulib module snan
2581
2582 libtests_a_SOURCES += snan.h
2583
2584 ## end gnulib module snan
2585
2586 ## begin gnulib module snippet/_Noreturn
2587
2588 # Because this Makefile snippet defines a variable used by other
2589 # gnulib Makefile snippets, it must be present in all makefiles that
2590 # need it. This is ensured by the applicability 'all' defined above.
2591
2592 _NORETURN_H=$(srcdir)/_Noreturn.h
2593
2594 EXTRA_DIST += _Noreturn.h
2595
2596 ## end gnulib module snippet/_Noreturn
2597
2598 ## begin gnulib module snippet/arg-nonnull
2599
2600 # Because this Makefile snippet defines a variable used by other
2601 # gnulib Makefile snippets, it must be present in all makefiles that
2602 # need it. This is ensured by the applicability 'all' defined above.
2603
2604 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
2605
2606 EXTRA_DIST += arg-nonnull.h
2607
2608 ## end gnulib module snippet/arg-nonnull
2609
2610 ## begin gnulib module snippet/c++defs
2611
2612 # Because this Makefile snippet defines a variable used by other
2613 # gnulib Makefile snippets, it must be present in all makefiles that
2614 # need it. This is ensured by the applicability 'all' defined above.
2615
2616 CXXDEFS_H=$(srcdir)/c++defs.h
2617
2618 EXTRA_DIST += c++defs.h
2619
2620 ## end gnulib module snippet/c++defs
2621
2622 ## begin gnulib module snippet/warn-on-use
2623
2624 # Because this Makefile snippet defines a variable used by other
2625 # gnulib Makefile snippets, it must be present in all makefiles that
2626 # need it. This is ensured by the applicability 'all' defined above.
2627
2628 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
2629
2630 EXTRA_DIST += warn-on-use.h
2631
2632 ## end gnulib module snippet/warn-on-use
2633
2634 ## begin gnulib module snprintf
2635
2636
2637 EXTRA_DIST += snprintf.c
2638
2639 EXTRA_libtests_a_SOURCES += snprintf.c
2640
2641 ## end gnulib module snprintf
2642
2643 ## begin gnulib module snprintf-tests
2644
2645 TESTS += test-snprintf
2646 check_PROGRAMS += test-snprintf
2647
2648 EXTRA_DIST += test-snprintf.c signature.h macros.h
2649
2650 ## end gnulib module snprintf-tests
2651
2652 ## begin gnulib module socket
2653
2654 if GL_COND_OBJ_SOCKET
2655 libtests_a_SOURCES += socket.c
2656 endif
2657
2658 EXTRA_DIST += w32sock.h
2659
2660 ## end gnulib module socket
2661
2662 ## begin gnulib module sockets
2663
2664 libtests_a_SOURCES += sockets.h sockets.c
2665
2666 EXTRA_DIST += w32sock.h
2667
2668 ## end gnulib module sockets
2669
2670 ## begin gnulib module sockets-tests
2671
2672 TESTS += test-sockets
2673 check_PROGRAMS += test-sockets
2674 test_sockets_LDADD = $(LDADD) @LIBSOCKET@
2675 EXTRA_DIST += test-sockets.c
2676
2677 ## end gnulib module sockets-tests
2678
2679 ## begin gnulib module stat-tests
2680
2681 TESTS += test-stat
2682 check_PROGRAMS += test-stat
2683 test_stat_LDADD = $(LDADD) $(LIBINTL)
2684 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
2685
2686 ## end gnulib module stat-tests
2687
2688 ## begin gnulib module stat-time-tests
2689
2690 TESTS += test-stat-time
2691 check_PROGRAMS += test-stat-time
2692 test_stat_time_LDADD = $(LDADD) $(NANOSLEEP_LIB) @LIBINTL@
2693 EXTRA_DIST += test-stat-time.c macros.h nap.h
2694
2695 ## end gnulib module stat-time-tests
2696
2697 ## begin gnulib module stdbit-h-tests
2698
2699 TESTS += test-stdbit-h
2700 check_PROGRAMS += test-stdbit-h
2701 EXTRA_DIST += test-stdbit-h.c macros.h
2702
2703 ## end gnulib module stdbit-h-tests
2704
2705 ## begin gnulib module stdc_bit_width-tests
2706
2707 TESTS += test-stdc_bit_width
2708 check_PROGRAMS += test-stdc_bit_width
2709 test_stdc_bit_width_SOURCES = from-glibc/tst-stdc_bit_width.c
2710 test_stdc_bit_width_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/from-glibc -DGNULIB_TEST_STDBIT
2711 EXTRA_DIST += from-glibc/tst-stdc_bit_width.c from-glibc/tst-stdbit.h from-glibc/support/test-driver.c macros.h
2712
2713 ## end gnulib module stdc_bit_width-tests
2714
2715 ## begin gnulib module stdc_leading_zeros-tests
2716
2717 TESTS += test-stdc_leading_zeros
2718 check_PROGRAMS += test-stdc_leading_zeros
2719 test_stdc_leading_zeros_SOURCES = from-glibc/tst-stdc_leading_zeros.c
2720 test_stdc_leading_zeros_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/from-glibc -DGNULIB_TEST_STDBIT
2721 EXTRA_DIST += from-glibc/tst-stdc_leading_zeros.c from-glibc/tst-stdbit.h from-glibc/support/test-driver.c macros.h
2722
2723 ## end gnulib module stdc_leading_zeros-tests
2724
2725 ## begin gnulib module stdckdint-h-tests
2726
2727 TESTS += test-stdckdint-h
2728 check_PROGRAMS += test-stdckdint-h
2729 EXTRA_DIST += macros.h test-intprops.c test-stdckdint-h.c
2730
2731 ## end gnulib module stdckdint-h-tests
2732
2733 ## begin gnulib module stddef-h-tests
2734
2735 TESTS += test-stddef-h
2736 check_PROGRAMS += test-stddef-h
2737 EXTRA_DIST += test-stddef-h.c
2738
2739 ## end gnulib module stddef-h-tests
2740
2741 ## begin gnulib module stdint-h-tests
2742
2743 TESTS += test-stdint-h
2744 check_PROGRAMS += test-stdint-h
2745 EXTRA_DIST += test-stdint-h.c
2746
2747 ## end gnulib module stdint-h-tests
2748
2749 ## begin gnulib module stdio-h-tests
2750
2751 TESTS += test-stdio-h
2752 check_PROGRAMS += test-stdio-h
2753 EXTRA_DIST += test-stdio-h.c macros.h
2754
2755 ## end gnulib module stdio-h-tests
2756
2757 ## begin gnulib module stdlib-h-tests
2758
2759 TESTS += test-stdlib-h
2760 check_PROGRAMS += test-stdlib-h
2761 EXTRA_DIST += test-stdlib-h.c test-sys_wait-h.h
2762
2763 ## end gnulib module stdlib-h-tests
2764
2765 ## begin gnulib module str_startswith
2766
2767 libtests_a_SOURCES += str_startswith.c
2768
2769 ## end gnulib module str_startswith
2770
2771 ## begin gnulib module str_startswith-tests
2772
2773 TESTS += test-str_startswith
2774 check_PROGRAMS += test-str_startswith
2775 EXTRA_DIST += test-str_startswith.c macros.h
2776
2777 ## end gnulib module str_startswith-tests
2778
2779 ## begin gnulib module strcasecmp-tests
2780
2781 TESTS += test-strcasecmp-1.sh test-strcasecmp-2.sh
2782 TESTS_ENVIRONMENT += \
2783 LOCALE_FR='@LOCALE_FR@'
2784 check_PROGRAMS += test-strcasecmp
2785 test_strcasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
2786 EXTRA_DIST += test-strcasecmp-1.sh test-strcasecmp-2.sh test-strcasecmp.c signature.h macros.h
2787
2788 ## end gnulib module strcasecmp-tests
2789
2790 ## begin gnulib module strerror-tests
2791
2792 TESTS += test-strerror
2793 check_PROGRAMS += test-strerror
2794 EXTRA_DIST += test-strerror.c signature.h macros.h
2795
2796 ## end gnulib module strerror-tests
2797
2798 ## begin gnulib module strerror_r-posix
2799
2800
2801 EXTRA_DIST += strerror_r.c
2802
2803 EXTRA_libtests_a_SOURCES += strerror_r.c
2804
2805 ## end gnulib module strerror_r-posix
2806
2807 ## begin gnulib module strerror_r-posix-tests
2808
2809 TESTS += test-strerror_r
2810 check_PROGRAMS += test-strerror_r
2811 EXTRA_DIST += test-strerror_r.c signature.h macros.h
2812
2813 ## end gnulib module strerror_r-posix-tests
2814
2815 ## begin gnulib module string-h-tests
2816
2817 TESTS += test-string-h
2818 check_PROGRAMS += test-string-h
2819 EXTRA_DIST += test-string-h.c
2820
2821 ## end gnulib module string-h-tests
2822
2823 ## begin gnulib module strings-h-tests
2824
2825 TESTS += test-strings-h
2826 check_PROGRAMS += test-strings-h
2827 EXTRA_DIST += test-strings-h.c
2828
2829 ## end gnulib module strings-h-tests
2830
2831 ## begin gnulib module strncasecmp-tests
2832
2833 TESTS += test-strncasecmp-1.sh test-strncasecmp-2.sh
2834 TESTS_ENVIRONMENT += \
2835 LOCALE_FR='@LOCALE_FR@'
2836 check_PROGRAMS += test-strncasecmp
2837 test_strncasecmp_LDADD = $(LDADD) $(SETLOCALE_LIB)
2838 EXTRA_DIST += test-strncasecmp-1.sh test-strncasecmp-2.sh test-strncasecmp.c signature.h macros.h
2839
2840 ## end gnulib module strncasecmp-tests
2841
2842 ## begin gnulib module strnlen-tests
2843
2844 TESTS += test-strnlen
2845 check_PROGRAMS += test-strnlen
2846 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
2847
2848 ## end gnulib module strnlen-tests
2849
2850 ## begin gnulib module strtoimax-tests
2851
2852 TESTS += test-strtoimax
2853 check_PROGRAMS += test-strtoimax
2854 EXTRA_DIST += test-strtoimax.c signature.h macros.h
2855
2856 ## end gnulib module strtoimax-tests
2857
2858 ## begin gnulib module strtoll-tests
2859
2860 TESTS += test-strtoll
2861 check_PROGRAMS += test-strtoll
2862 EXTRA_DIST += test-strtoll.c signature.h macros.h
2863
2864 ## end gnulib module strtoll-tests
2865
2866 ## begin gnulib module symlink
2867
2868 if GL_COND_OBJ_SYMLINK
2869 libtests_a_SOURCES += symlink.c
2870 endif
2871
2872 ## end gnulib module symlink
2873
2874 ## begin gnulib module symlink-tests
2875
2876 TESTS += test-symlink
2877 check_PROGRAMS += test-symlink
2878 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
2879
2880 ## end gnulib module symlink-tests
2881
2882 ## begin gnulib module symlinkat
2883
2884 if GL_COND_OBJ_SYMLINKAT
2885 libtests_a_SOURCES += symlinkat.c
2886 endif
2887
2888 EXTRA_DIST += at-func.c
2889
2890 EXTRA_libtests_a_SOURCES += at-func.c
2891
2892 ## end gnulib module symlinkat
2893
2894 ## begin gnulib module symlinkat-tests
2895
2896 TESTS += test-symlinkat
2897 check_PROGRAMS += test-symlinkat
2898 test_symlinkat_LDADD = $(LDADD) @LIBINTL@
2899 EXTRA_DIST += test-symlink.h test-symlinkat.c signature.h macros.h
2900
2901 ## end gnulib module symlinkat-tests
2902
2903 ## begin gnulib module sys_ioctl-h
2904
2905 BUILT_SOURCES += sys/ioctl.h
2906
2907 # We need the following in order to create <sys/ioctl.h> when the system
2908 # does not have a complete one.
2909 sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2910 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2911 $(AM_V_at)$(SED_HEADER_STDOUT) \
2912 -e 's|@''GUARD_PREFIX''@|GL|g' \
2913 -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \
2914 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2915 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2916 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2917 -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
2918 -e 's/@''GNULIB_IOCTL''@/$(GL_GNULIB_IOCTL)/g' \
2919 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
2920 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2921 -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
2922 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2923 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2924 $(srcdir)/sys_ioctl.in.h > $@-t
2925 $(AM_V_at)mv $@-t $@
2926 MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
2927 MOSTLYCLEANDIRS += sys
2928
2929 EXTRA_DIST += sys_ioctl.in.h
2930
2931 ## end gnulib module sys_ioctl-h
2932
2933 ## begin gnulib module sys_ioctl-h-tests
2934
2935 TESTS += test-sys_ioctl-h
2936 check_PROGRAMS += test-sys_ioctl-h
2937 EXTRA_DIST += test-sys_ioctl-h.c
2938
2939 ## end gnulib module sys_ioctl-h-tests
2940
2941 ## begin gnulib module sys_random-h-tests
2942
2943 TESTS += test-sys_random-h
2944 check_PROGRAMS += test-sys_random-h
2945 EXTRA_DIST += test-sys_random-h.c
2946
2947 ## end gnulib module sys_random-h-tests
2948
2949 ## begin gnulib module sys_select-h
2950
2951 BUILT_SOURCES += sys/select.h
2952
2953 # We need the following in order to create <sys/select.h> when the system
2954 # doesn't have one that works with the given compiler.
2955 sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2956 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2957 $(AM_V_at)$(SED_HEADER_STDOUT) \
2958 -e 's|@''GUARD_PREFIX''@|GL|g' \
2959 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2960 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2961 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2962 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
2963 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
2964 -e 's/@''GNULIB_PSELECT''@/$(GL_GNULIB_PSELECT)/g' \
2965 -e 's/@''GNULIB_SELECT''@/$(GL_GNULIB_SELECT)/g' \
2966 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2967 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
2968 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
2969 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
2970 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2971 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2972 $(srcdir)/sys_select.in.h > $@-t
2973 $(AM_V_at)mv $@-t $@
2974 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
2975 MOSTLYCLEANDIRS += sys
2976
2977 EXTRA_DIST += sys_select.in.h
2978
2979 ## end gnulib module sys_select-h
2980
2981 ## begin gnulib module sys_select-h-tests
2982
2983 TESTS += test-sys_select-h
2984 check_PROGRAMS += test-sys_select-h
2985 EXTRA_DIST += test-sys_select-h.c signature.h
2986
2987 ## end gnulib module sys_select-h-tests
2988
2989 ## begin gnulib module sys_socket-h
2990
2991 BUILT_SOURCES += sys/socket.h
2992 libtests_a_SOURCES += sys_socket.c
2993
2994 # We need the following in order to create <sys/socket.h> when the system
2995 # doesn't have one that works with the given compiler.
2996 sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2997 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2998 $(AM_V_at)$(SED_HEADER_STDOUT) \
2999 -e 's|@''GUARD_PREFIX''@|GL|g' \
3000 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3001 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3002 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3003 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
3004 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
3005 -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
3006 -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \
3007 -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \
3008 -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \
3009 -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \
3010 -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \
3011 -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \
3012 -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \
3013 -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \
3014 -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \
3015 -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \
3016 -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \
3017 -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \
3018 -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \
3019 -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \
3020 -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \
3021 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
3022 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
3023 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
3024 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
3025 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
3026 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
3027 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
3028 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3029 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
3030 $(srcdir)/sys_socket.in.h > $@-t
3031 $(AM_V_at)mv $@-t $@
3032 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
3033 MOSTLYCLEANDIRS += sys
3034
3035 EXTRA_DIST += sys_socket.in.h
3036
3037 ## end gnulib module sys_socket-h
3038
3039 ## begin gnulib module sys_socket-h-tests
3040
3041 TESTS += test-sys_socket-h
3042 check_PROGRAMS += test-sys_socket-h
3043 EXTRA_DIST += test-sys_socket-h.c macros.h
3044
3045 ## end gnulib module sys_socket-h-tests
3046
3047 ## begin gnulib module sys_stat-h-tests
3048
3049 TESTS += test-sys_stat-h
3050 check_PROGRAMS += test-sys_stat-h
3051 EXTRA_DIST += test-sys_stat-h.c
3052
3053 ## end gnulib module sys_stat-h-tests
3054
3055 ## begin gnulib module sys_time-h-tests
3056
3057 TESTS += test-sys_time-h
3058 check_PROGRAMS += test-sys_time-h
3059 EXTRA_DIST += test-sys_time-h.c
3060
3061 ## end gnulib module sys_time-h-tests
3062
3063 ## begin gnulib module sys_types-h-tests
3064
3065 TESTS += test-sys_types-h
3066 check_PROGRAMS += test-sys_types-h
3067 EXTRA_DIST += test-sys_types-h.c
3068
3069 ## end gnulib module sys_types-h-tests
3070
3071 ## begin gnulib module sys_uio-h
3072
3073 BUILT_SOURCES += sys/uio.h
3074
3075 # We need the following in order to create <sys/uio.h> when the system
3076 # doesn't have one that works with the given compiler.
3077 sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
3078 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
3079 $(AM_V_at)$(SED_HEADER_STDOUT) \
3080 -e 's|@''GUARD_PREFIX''@|GL|g' \
3081 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3082 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3083 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3084 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
3085 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
3086 $(srcdir)/sys_uio.in.h > $@-t
3087 $(AM_V_at)mv $@-t $@
3088 MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
3089 MOSTLYCLEANDIRS += sys
3090
3091 EXTRA_DIST += sys_uio.in.h
3092
3093 ## end gnulib module sys_uio-h
3094
3095 ## begin gnulib module sys_uio-h-tests
3096
3097 TESTS += test-sys_uio-h
3098 check_PROGRAMS += test-sys_uio-h
3099 EXTRA_DIST += test-sys_uio-h.c
3100
3101 ## end gnulib module sys_uio-h-tests
3102
3103 ## begin gnulib module sys_wait-h-tests
3104
3105 TESTS += test-sys_wait-h
3106 check_PROGRAMS += test-sys_wait-h
3107 EXTRA_DIST += test-sys_wait-h.c test-sys_wait-h.h
3108
3109 ## end gnulib module sys_wait-h-tests
3110
3111 ## begin gnulib module test-framework-sh-tests
3112
3113 TESTS += test-init.sh
3114 EXTRA_DIST += init.sh
3115 EXTRA_DIST += test-init.sh
3116
3117 ## end gnulib module test-framework-sh-tests
3118
3119 ## begin gnulib module thread
3120
3121 libtests_a_SOURCES += glthread/thread.h glthread/thread.c
3122
3123 ## end gnulib module thread
3124
3125 ## begin gnulib module thread-tests
3126
3127 TESTS += test-thread_self test-thread_create
3128 check_PROGRAMS += test-thread_self test-thread_create
3129 test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
3130 test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
3131 EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
3132
3133 ## end gnulib module thread-tests
3134
3135 ## begin gnulib module time
3136
3137 if GL_COND_OBJ_TIME
3138 libtests_a_SOURCES += time.c
3139 endif
3140
3141 ## end gnulib module time
3142
3143 ## begin gnulib module time-h-tests
3144
3145 TESTS += test-time-h
3146 check_PROGRAMS += test-time-h
3147 EXTRA_DIST += test-time-h.c
3148
3149 ## end gnulib module time-h-tests
3150
3151 ## begin gnulib module time-tests
3152
3153 TESTS += test-time
3154 check_PROGRAMS += test-time
3155 EXTRA_DIST += test-time.c signature.h macros.h
3156
3157 ## end gnulib module time-tests
3158
3159 ## begin gnulib module time_r-tests
3160
3161 TESTS += \
3162 test-gmtime_r test-gmtime_r-mt \
3163 test-localtime_r test-localtime_r-mt
3164 check_PROGRAMS += \
3165 test-gmtime_r test-gmtime_r-mt \
3166 test-localtime_r test-localtime_r-mt
3167 test_gmtime_r_mt_LDADD = $(LDADD) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
3168 test_localtime_r_mt_LDADD = $(LDADD) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
3169 EXTRA_DIST += test-gmtime_r.c test-gmtime_r-mt.c test-localtime_r.c test-localtime_r-mt.c macros.h
3170
3171 ## end gnulib module time_r-tests
3172
3173 ## begin gnulib module timespec-add
3174
3175 libtests_a_SOURCES += timespec-add.c
3176
3177 ## end gnulib module timespec-add
3178
3179 ## begin gnulib module timespec-sub
3180
3181 libtests_a_SOURCES += timespec-sub.c
3182
3183 ## end gnulib module timespec-sub
3184
3185 ## begin gnulib module timespec-tests
3186
3187 TESTS += test-timespec
3188 check_PROGRAMS += test-timespec
3189 EXTRA_DIST += test-timespec.c macros.h
3190
3191 ## end gnulib module timespec-tests
3192
3193 ## begin gnulib module timespec_get-tests
3194
3195 TESTS += test-timespec_get
3196 check_PROGRAMS += test-timespec_get
3197 test_timespec_get_LDADD = $(LDADD) @CLOCK_TIME_LIB@
3198 EXTRA_DIST += test-timespec_get.c signature.h macros.h
3199
3200 ## end gnulib module timespec_get-tests
3201
3202 ## begin gnulib module uchar-h-tests
3203
3204 TESTS += test-uchar-h
3205 check_PROGRAMS += test-uchar-h
3206 EXTRA_DIST += test-uchar-h.c
3207
3208 ## end gnulib module uchar-h-tests
3209
3210 ## begin gnulib module unicase/tolower-tests
3211
3212 TESTS += test-uc_tolower
3213 check_PROGRAMS += test-uc_tolower
3214 test_uc_tolower_SOURCES = unicase/test-uc_tolower.c
3215 test_uc_tolower_LDADD = $(LDADD) $(LIBUNISTRING)
3216 EXTRA_DIST += unicase/test-uc_tolower.c unicase/test-mapping-part1.h unicase/test-mapping-part2.h macros.h
3217
3218 ## end gnulib module unicase/tolower-tests
3219
3220 ## begin gnulib module unictype/ctype-alnum-tests
3221
3222 TESTS += test-ctype_alnum
3223 check_PROGRAMS += test-ctype_alnum
3224 test_ctype_alnum_SOURCES = unictype/test-ctype_alnum.c
3225 test_ctype_alnum_LDADD = $(LDADD) $(LIBUNISTRING)
3226 EXTRA_DIST += unictype/test-ctype_alnum.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3227
3228 ## end gnulib module unictype/ctype-alnum-tests
3229
3230 ## begin gnulib module unictype/ctype-alpha-tests
3231
3232 TESTS += test-ctype_alpha
3233 check_PROGRAMS += test-ctype_alpha
3234 test_ctype_alpha_SOURCES = unictype/test-ctype_alpha.c
3235 test_ctype_alpha_LDADD = $(LDADD) $(LIBUNISTRING)
3236 EXTRA_DIST += unictype/test-ctype_alpha.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3237
3238 ## end gnulib module unictype/ctype-alpha-tests
3239
3240 ## begin gnulib module unictype/ctype-blank-tests
3241
3242 TESTS += test-ctype_blank
3243 check_PROGRAMS += test-ctype_blank
3244 test_ctype_blank_SOURCES = unictype/test-ctype_blank.c
3245 test_ctype_blank_LDADD = $(LDADD) $(LIBUNISTRING)
3246 EXTRA_DIST += unictype/test-ctype_blank.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3247
3248 ## end gnulib module unictype/ctype-blank-tests
3249
3250 ## begin gnulib module unictype/ctype-cntrl-tests
3251
3252 TESTS += test-ctype_cntrl
3253 check_PROGRAMS += test-ctype_cntrl
3254 test_ctype_cntrl_SOURCES = unictype/test-ctype_cntrl.c
3255 test_ctype_cntrl_LDADD = $(LDADD) $(LIBUNISTRING)
3256 EXTRA_DIST += unictype/test-ctype_cntrl.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3257
3258 ## end gnulib module unictype/ctype-cntrl-tests
3259
3260 ## begin gnulib module unictype/ctype-digit-tests
3261
3262 TESTS += test-ctype_digit
3263 check_PROGRAMS += test-ctype_digit
3264 test_ctype_digit_SOURCES = unictype/test-ctype_digit.c
3265 test_ctype_digit_LDADD = $(LDADD) $(LIBUNISTRING)
3266 EXTRA_DIST += unictype/test-ctype_digit.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3267
3268 ## end gnulib module unictype/ctype-digit-tests
3269
3270 ## begin gnulib module unictype/ctype-graph-tests
3271
3272 TESTS += test-ctype_graph
3273 check_PROGRAMS += test-ctype_graph
3274 test_ctype_graph_SOURCES = unictype/test-ctype_graph.c
3275 test_ctype_graph_LDADD = $(LDADD) $(LIBUNISTRING)
3276 EXTRA_DIST += unictype/test-ctype_graph.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3277
3278 ## end gnulib module unictype/ctype-graph-tests
3279
3280 ## begin gnulib module unictype/ctype-lower-tests
3281
3282 TESTS += test-ctype_lower
3283 check_PROGRAMS += test-ctype_lower
3284 test_ctype_lower_SOURCES = unictype/test-ctype_lower.c
3285 test_ctype_lower_LDADD = $(LDADD) $(LIBUNISTRING)
3286 EXTRA_DIST += unictype/test-ctype_lower.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3287
3288 ## end gnulib module unictype/ctype-lower-tests
3289
3290 ## begin gnulib module unictype/ctype-print-tests
3291
3292 TESTS += test-ctype_print
3293 check_PROGRAMS += test-ctype_print
3294 test_ctype_print_SOURCES = unictype/test-ctype_print.c
3295 test_ctype_print_LDADD = $(LDADD) $(LIBUNISTRING)
3296 EXTRA_DIST += unictype/test-ctype_print.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3297
3298 ## end gnulib module unictype/ctype-print-tests
3299
3300 ## begin gnulib module unictype/ctype-punct-tests
3301
3302 TESTS += test-ctype_punct
3303 check_PROGRAMS += test-ctype_punct
3304 test_ctype_punct_SOURCES = unictype/test-ctype_punct.c
3305 test_ctype_punct_LDADD = $(LDADD) $(LIBUNISTRING)
3306 EXTRA_DIST += unictype/test-ctype_punct.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3307
3308 ## end gnulib module unictype/ctype-punct-tests
3309
3310 ## begin gnulib module unictype/ctype-space-tests
3311
3312 TESTS += test-ctype_space
3313 check_PROGRAMS += test-ctype_space
3314 test_ctype_space_SOURCES = unictype/test-ctype_space.c
3315 test_ctype_space_LDADD = $(LDADD) $(LIBUNISTRING)
3316 EXTRA_DIST += unictype/test-ctype_space.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3317
3318 ## end gnulib module unictype/ctype-space-tests
3319
3320 ## begin gnulib module unictype/ctype-upper-tests
3321
3322 TESTS += test-ctype_upper
3323 check_PROGRAMS += test-ctype_upper
3324 test_ctype_upper_SOURCES = unictype/test-ctype_upper.c
3325 test_ctype_upper_LDADD = $(LDADD) $(LIBUNISTRING)
3326 EXTRA_DIST += unictype/test-ctype_upper.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3327
3328 ## end gnulib module unictype/ctype-upper-tests
3329
3330 ## begin gnulib module unictype/ctype-xdigit-tests
3331
3332 TESTS += test-ctype_xdigit
3333 check_PROGRAMS += test-ctype_xdigit
3334 test_ctype_xdigit_SOURCES = unictype/test-ctype_xdigit.c
3335 test_ctype_xdigit_LDADD = $(LDADD) $(LIBUNISTRING)
3336 EXTRA_DIST += unictype/test-ctype_xdigit.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
3337
3338 ## end gnulib module unictype/ctype-xdigit-tests
3339
3340 ## begin gnulib module unistd-h-tests
3341
3342 TESTS += test-unistd-h
3343 check_PROGRAMS += test-unistd-h
3344 EXTRA_DIST += test-unistd-h.c
3345
3346 ## end gnulib module unistd-h-tests
3347
3348 ## begin gnulib module unistr/u32-chr-tests
3349
3350 TESTS += test-u32-chr
3351 check_PROGRAMS += test-u32-chr
3352 test_u32_chr_SOURCES = unistr/test-u32-chr.c
3353 test_u32_chr_LDADD = $(LDADD) $(LIBUNISTRING)
3354 EXTRA_DIST += unistr/test-u32-chr.c unistr/test-chr.h zerosize-ptr.h macros.h
3355
3356 ## end gnulib module unistr/u32-chr-tests
3357
3358 ## begin gnulib module unistr/u32-cpy-tests
3359
3360 TESTS += test-u32-cpy
3361 check_PROGRAMS += test-u32-cpy
3362 test_u32_cpy_SOURCES = unistr/test-u32-cpy.c
3363 test_u32_cpy_LDADD = $(LDADD) $(LIBUNISTRING)
3364 EXTRA_DIST += unistr/test-u32-cpy.c unistr/test-cpy.h macros.h
3365
3366 ## end gnulib module unistr/u32-cpy-tests
3367
3368 ## begin gnulib module unistr/u32-pcpy-tests
3369
3370 TESTS += test-u32-pcpy
3371 check_PROGRAMS += test-u32-pcpy
3372 test_u32_pcpy_SOURCES = unistr/test-u32-pcpy.c
3373 test_u32_pcpy_LDADD = $(LDADD) $(LIBUNISTRING)
3374 EXTRA_DIST += unistr/test-u32-pcpy.c unistr/test-pcpy.h macros.h
3375
3376 ## end gnulib module unistr/u32-pcpy-tests
3377
3378 ## begin gnulib module unistr/u32-set
3379
3380 if LIBUNISTRING_COMPILE_UNISTR_U32_SET
3381 libtests_a_SOURCES += unistr/u32-set.c
3382 endif
3383
3384 EXTRA_DIST += unistr/u-set.h
3385
3386 ## end gnulib module unistr/u32-set
3387
3388 ## begin gnulib module unistr/u32-set-tests
3389
3390 TESTS += test-u32-set
3391 check_PROGRAMS += test-u32-set
3392 test_u32_set_SOURCES = unistr/test-u32-set.c
3393 test_u32_set_LDADD = $(LDADD) $(LIBUNISTRING)
3394 EXTRA_DIST += unistr/test-u32-set.c unistr/test-set.h macros.h
3395
3396 ## end gnulib module unistr/u32-set-tests
3397
3398 ## begin gnulib module unistr/u32-strcat-tests
3399
3400 TESTS += test-u32-strcat
3401 check_PROGRAMS += test-u32-strcat
3402 test_u32_strcat_SOURCES = unistr/test-u32-strcat.c
3403 test_u32_strcat_LDADD = $(LDADD) $(LIBUNISTRING)
3404 EXTRA_DIST += unistr/test-u32-strcat.c unistr/test-strcat.h macros.h
3405
3406 ## end gnulib module unistr/u32-strcat-tests
3407
3408 ## begin gnulib module unistr/u32-strlen-tests
3409
3410 TESTS += test-u32-strlen
3411 check_PROGRAMS += test-u32-strlen
3412 test_u32_strlen_SOURCES = unistr/test-u32-strlen.c
3413 test_u32_strlen_LDADD = $(LDADD) $(LIBUNISTRING)
3414 EXTRA_DIST += unistr/test-u32-strlen.c macros.h
3415
3416 ## end gnulib module unistr/u32-strlen-tests
3417
3418 ## begin gnulib module uniwidth/width-tests
3419
3420 TESTS += test-uc_width uniwidth/test-uc_width2.sh
3421 check_PROGRAMS += test-uc_width test-uc_width2
3422 test_uc_width_SOURCES = uniwidth/test-uc_width.c
3423 test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING)
3424 test_uc_width2_SOURCES = uniwidth/test-uc_width2.c
3425 test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING)
3426 EXTRA_DIST += uniwidth/test-uc_width.c uniwidth/test-uc_width2.c uniwidth/test-uc_width2.sh macros.h
3427
3428 ## end gnulib module uniwidth/width-tests
3429
3430 ## begin gnulib module unlink
3431
3432 if GL_COND_OBJ_UNLINK
3433 libtests_a_SOURCES += unlink.c
3434 endif
3435
3436 ## end gnulib module unlink
3437
3438 ## begin gnulib module unlink-tests
3439
3440 TESTS += test-unlink
3441 check_PROGRAMS += test-unlink
3442 EXTRA_DIST += test-unlink.h test-unlink.c signature.h macros.h
3443
3444 ## end gnulib module unlink-tests
3445
3446 ## begin gnulib module unlinkat
3447
3448 if GL_COND_OBJ_UNLINKAT
3449 libtests_a_SOURCES += unlinkat.c
3450 endif
3451
3452 EXTRA_DIST += at-func.c
3453
3454 EXTRA_libtests_a_SOURCES += at-func.c
3455
3456 ## end gnulib module unlinkat
3457
3458 ## begin gnulib module unlinkat-tests
3459
3460 TESTS += test-unlinkat
3461 check_PROGRAMS += test-unlinkat
3462 test_unlinkat_LDADD = $(LDADD) @LIBINTL@
3463 EXTRA_DIST += test-unlinkat.c test-rmdir.h test-unlink.h signature.h macros.h
3464
3465 ## end gnulib module unlinkat-tests
3466
3467 ## begin gnulib module unlinkdir
3468
3469 libtests_a_SOURCES += unlinkdir.c
3470
3471 EXTRA_DIST += unlinkdir.h
3472
3473 ## end gnulib module unlinkdir
3474
3475 ## begin gnulib module unsetenv-tests
3476
3477 TESTS += test-unsetenv
3478 check_PROGRAMS += test-unsetenv
3479 EXTRA_DIST += test-unsetenv.c signature.h macros.h
3480
3481 ## end gnulib module unsetenv-tests
3482
3483 ## begin gnulib module update-copyright-tests
3484
3485 TESTS += test-update-copyright.sh
3486 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
3487 EXTRA_DIST += test-update-copyright.sh
3488
3489 ## end gnulib module update-copyright-tests
3490
3491 ## begin gnulib module vasnprintf
3492
3493
3494 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
3495
3496 EXTRA_libtests_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
3497
3498 ## end gnulib module vasnprintf
3499
3500 ## begin gnulib module vasnprintf-tests
3501
3502 TESTS += test-vasnprintf
3503 check_PROGRAMS += test-vasnprintf
3504 EXTRA_DIST += test-vasnprintf.c macros.h
3505
3506 ## end gnulib module vasnprintf-tests
3507
3508 ## begin gnulib module vc-list-files-tests
3509
3510 TESTS += test-vc-list-files-git.sh
3511 TESTS += test-vc-list-files-cvs.sh
3512 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
3513 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
3514
3515 ## end gnulib module vc-list-files-tests
3516
3517 ## begin gnulib module verify-tests
3518
3519 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
3520 TESTS += test-verify test-verify.sh
3521 check_PROGRAMS += test-verify
3522 # test-verify-try is never built, but test-verify.sh needs a rule to
3523 # build test-verify-try.o.
3524 EXTRA_PROGRAMS += test-verify-try
3525
3526 # This test expects compilation of test-verify-try.c to fail, and
3527 # each time it fails, the makefile rule does not perform the usual
3528 # "mv -f $name.Tpo $name.po, so tell make clean to remove that file.
3529 MOSTLYCLEANFILES += .deps/test-verify-try.Tpo
3530 EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh
3531
3532 ## end gnulib module verify-tests
3533
3534 ## begin gnulib module version-etc-tests
3535
3536 TESTS += test-version-etc.sh
3537 check_PROGRAMS += test-version-etc
3538 test_version_etc_LDADD = $(LDADD) @LIBINTL@
3539 EXTRA_DIST += test-version-etc.c test-version-etc.sh
3540
3541 ## end gnulib module version-etc-tests
3542
3543 ## begin gnulib module vsnzprintf
3544
3545 libtests_a_SOURCES += vsnzprintf.c
3546
3547 ## end gnulib module vsnzprintf
3548
3549 ## begin gnulib module wchar-h-tests
3550
3551 TESTS += test-wchar-h
3552 check_PROGRAMS += test-wchar-h
3553 EXTRA_DIST += test-wchar-h.c
3554
3555 ## end gnulib module wchar-h-tests
3556
3557 ## begin gnulib module wcrtomb-tests
3558
3559 TESTS += \
3560 test-wcrtomb.sh \
3561 test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh \
3562 test-wcrtomb-w32-5.sh test-wcrtomb-w32-6.sh test-wcrtomb-w32-7.sh \
3563 test-wcrtomb-w32-8.sh
3564 TESTS_ENVIRONMENT += \
3565 LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
3566 LOCALE_FR='@LOCALE_FR@' \
3567 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
3568 LOCALE_JA='@LOCALE_JA@' \
3569 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
3570 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
3571 test_wcrtomb_LDADD = $(LDADD) $(SETLOCALE_LIB)
3572 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
3573
3574 ## end gnulib module wcrtomb-tests
3575
3576 ## begin gnulib module wctob
3577
3578 if GL_COND_OBJ_WCTOB
3579 libtests_a_SOURCES += wctob.c
3580 endif
3581
3582 ## end gnulib module wctob
3583
3584 ## begin gnulib module wctomb
3585
3586 if GL_COND_OBJ_WCTOMB
3587 libtests_a_SOURCES += wctomb.c
3588 endif
3589
3590 EXTRA_DIST += wctomb-impl.h
3591
3592 ## end gnulib module wctomb
3593
3594 ## begin gnulib module wctype-h-tests
3595
3596 TESTS += test-wctype-h
3597 check_PROGRAMS += test-wctype-h
3598 EXTRA_DIST += test-wctype-h.c macros.h
3599
3600 ## end gnulib module wctype-h-tests
3601
3602 ## begin gnulib module wctype-tests
3603
3604 TESTS += test-wctype
3605 check_PROGRAMS += test-wctype
3606 EXTRA_DIST += test-wctype.c signature.h macros.h
3607
3608 ## end gnulib module wctype-tests
3609
3610 ## begin gnulib module wcwidth-tests
3611
3612 TESTS += test-wcwidth
3613 check_PROGRAMS += test-wcwidth
3614 test_wcwidth_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING)
3615 EXTRA_DIST += test-wcwidth.c signature.h macros.h
3616
3617 ## end gnulib module wcwidth-tests
3618
3619 ## begin gnulib module windows-cond
3620
3621 if GL_COND_OBJ_WINDOWS_COND
3622 libtests_a_SOURCES += windows-cond.c
3623 endif
3624
3625 EXTRA_DIST += windows-cond.h windows-initguard.h
3626
3627 ## end gnulib module windows-cond
3628
3629 ## begin gnulib module windows-mutex-tests
3630
3631 TESTS += test-windows-mutex-type
3632 check_PROGRAMS += test-windows-mutex-type
3633 EXTRA_DIST += test-windows-mutex-type.c macros.h
3634
3635 ## end gnulib module windows-mutex-tests
3636
3637 ## begin gnulib module windows-recmutex-tests
3638
3639 TESTS += test-windows-recmutex-type
3640 check_PROGRAMS += test-windows-recmutex-type
3641 EXTRA_DIST += test-windows-recmutex-type.c macros.h
3642
3643 ## end gnulib module windows-recmutex-tests
3644
3645 ## begin gnulib module windows-thread
3646
3647 if GL_COND_OBJ_WINDOWS_THREAD
3648 libtests_a_SOURCES += windows-thread.c
3649 endif
3650
3651 EXTRA_DIST += windows-thread.h
3652
3653 ## end gnulib module windows-thread
3654
3655 ## begin gnulib module windows-timedmutex
3656
3657 if GL_COND_OBJ_WINDOWS_TIMEDMUTEX
3658 libtests_a_SOURCES += windows-timedmutex.c
3659 endif
3660
3661 EXTRA_DIST += windows-initguard.h windows-timedmutex.h
3662
3663 ## end gnulib module windows-timedmutex
3664
3665 ## begin gnulib module windows-timedmutex-tests
3666
3667 TESTS += test-windows-timedmutex-type
3668 check_PROGRAMS += test-windows-timedmutex-type
3669 EXTRA_DIST += test-windows-timedmutex-type.c macros.h
3670
3671 ## end gnulib module windows-timedmutex-tests
3672
3673 ## begin gnulib module windows-timedrecmutex
3674
3675 if GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX
3676 libtests_a_SOURCES += windows-timedrecmutex.c
3677 endif
3678
3679 EXTRA_DIST += windows-initguard.h windows-timedrecmutex.h
3680
3681 ## end gnulib module windows-timedrecmutex
3682
3683 ## begin gnulib module windows-timedrecmutex-tests
3684
3685 TESTS += test-windows-timedrecmutex-type
3686 check_PROGRAMS += test-windows-timedrecmutex-type
3687 EXTRA_DIST += test-windows-timedrecmutex-type.c macros.h
3688
3689 ## end gnulib module windows-timedrecmutex-tests
3690
3691 ## begin gnulib module windows-timedrwlock
3692
3693 if GL_COND_OBJ_WINDOWS_TIMEDRWLOCK
3694 libtests_a_SOURCES += windows-timedrwlock.c
3695 endif
3696
3697 EXTRA_DIST += windows-initguard.h windows-timedrwlock.h
3698
3699 ## end gnulib module windows-timedrwlock
3700
3701 ## begin gnulib module windows-tls
3702
3703 if GL_COND_OBJ_WINDOWS_TLS
3704 libtests_a_SOURCES += windows-tls.c
3705 endif
3706
3707 EXTRA_DIST += windows-tls.h
3708
3709 ## end gnulib module windows-tls
3710
3711 ## begin gnulib module wmemchr-tests
3712
3713 TESTS += test-wmemchr
3714 check_PROGRAMS += test-wmemchr
3715 EXTRA_DIST += test-wmemchr.c macros.h
3716
3717 ## end gnulib module wmemchr-tests
3718
3719 ## begin gnulib module xalloc-die-tests
3720
3721 TESTS += test-xalloc-die.sh
3722 check_PROGRAMS += test-xalloc-die
3723 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
3724 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
3725
3726 ## end gnulib module xalloc-die-tests
3727
3728 ## begin gnulib module xconcat-filename
3729
3730 libtests_a_SOURCES += xconcat-filename.c
3731
3732 EXTRA_DIST += concat-filename.h
3733
3734 ## end gnulib module xconcat-filename
3735
3736 ## begin gnulib module xgetcwd-lgpl
3737
3738 libtests_a_SOURCES += xgetcwd.c
3739
3740 EXTRA_DIST += xgetcwd.h
3741
3742 ## end gnulib module xgetcwd-lgpl
3743
3744 ## begin gnulib module xsize
3745
3746 libtests_a_SOURCES += xsize.h xsize.c
3747
3748 ## end gnulib module xsize
3749
3750 ## begin gnulib module xstdopen-tests
3751
3752 TESTS += test-xstdopen.sh
3753 check_PROGRAMS += test-xstdopen
3754 test_xstdopen_LDADD = $(LDADD) @LIBINTL@
3755 EXTRA_DIST += test-xstdopen.c test-xstdopen.sh macros.h
3756
3757 ## end gnulib module xstdopen-tests
3758
3759 ## begin gnulib module xstrtoimax-tests
3760
3761 TESTS += test-xstrtoimax.sh
3762 check_PROGRAMS += test-xstrtoimax
3763 test_xstrtoimax_LDADD = $(LDADD) @LIBINTL@
3764 EXTRA_DIST += test-xstrtoimax.c test-xstrtoimax.sh
3765
3766 ## end gnulib module xstrtoimax-tests
3767
3768 ## begin gnulib module xstrtol-error
3769
3770 libtests_a_SOURCES += xstrtol-error.c
3771
3772 EXTRA_DIST += xstrtol-error.h
3773
3774 ## end gnulib module xstrtol-error
3775
3776 ## begin gnulib module xstrtol-tests
3777
3778 TESTS += test-xstrtol.sh
3779 check_PROGRAMS += test-xstrtol test-xstrtoul
3780 test_xstrtol_LDADD = $(LDADD) @LIBINTL@
3781 test_xstrtoul_LDADD = $(LDADD) @LIBINTL@
3782 EXTRA_DIST += test-xstrtol.c test-xstrtoul.c test-xstrtol.sh macros.h
3783
3784 ## end gnulib module xstrtol-tests
3785
3786 ## begin gnulib module year2038-tests
3787
3788 TESTS += test-year2038
3789 check_PROGRAMS += test-year2038
3790 EXTRA_DIST += test-year2038.c
3791
3792 ## end gnulib module year2038-tests
3793
3794 ## begin gnulib module yield
3795
3796 libtests_a_SOURCES += glthread/yield.h
3797
3798 ## end gnulib module yield
3799
3800 all: all-notice
3801 all-notice:
3802 @echo '## ---------------------------------------------------- ##'
3803 @echo '## ------------------- Gnulib tests ------------------- ##'
3804 @echo '## You can ignore compiler warnings in this directory. ##'
3805 @echo '## ---------------------------------------------------- ##'
3806
3807 check-am: check-notice
3808 check-notice:
3809 @echo '## ---------------------------------------------------------------------- ##'
3810 @echo '## ---------------------------- Gnulib tests ---------------------------- ##'
3811 @echo '## Please report test failures in this directory to <[email protected]>. ##'
3812 @echo '## ---------------------------------------------------------------------- ##'
3813
3814 # Clean up after Solaris cc.
3815 clean-local:
3816 rm -rf SunWS_cache
3817
3818 mostlyclean-local: mostlyclean-generic
3819 @for dir in '' $(MOSTLYCLEANDIRS); do \
3820 if test -n "$$dir" && test -d $$dir; then \
3821 echo "rmdir $$dir"; rmdir $$dir; \
3822 fi; \
3823 done; \
3824 :