1## DO NOT EDIT! GENERATED AUTOMATICALLY! 2## Process this file with automake to produce Makefile.in. 3# Copyright (C) 2002-2020 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 25AUTOMAKE_OPTIONS = 1.11 foreign subdir-objects 26 27SUBDIRS = . 28TESTS = 29XFAIL_TESTS = 30TESTS_ENVIRONMENT = 31noinst_PROGRAMS = 32check_PROGRAMS = 33EXTRA_PROGRAMS = 34noinst_HEADERS = 35noinst_LIBRARIES = 36check_LIBRARIES = libtests.a 37EXTRA_DIST = 38BUILT_SOURCES = 39SUFFIXES = 40MOSTLYCLEANFILES = core *.stackdump 41MOSTLYCLEANDIRS = 42CLEANFILES = 43DISTCLEANFILES = 44MAINTAINERCLEANFILES = 45 46AM_CPPFLAGS = \ 47 -D@gltests_WITNESS@=1 \ 48 -I. -I$(srcdir) \ 49 -I../.. -I$(srcdir)/../.. \ 50 -I../../gl -I$(srcdir)/../../gl 51 52LDADD = libtests.a ../../gl/libgnu.la libtests.a $(LIBTESTS_LIBDEPS) 53 54libtests_a_SOURCES = 55libtests_a_LIBADD = $(gltests_LIBOBJS) 56libtests_a_DEPENDENCIES = $(gltests_LIBOBJS) 57EXTRA_libtests_a_SOURCES = 58AM_LIBTOOLFLAGS = --preserve-dup-deps 59 60TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' 61 62## begin gnulib module accept 63 64 65EXTRA_DIST += accept.c w32sock.h 66 67EXTRA_libtests_a_SOURCES += accept.c 68 69## end gnulib module accept 70 71## begin gnulib module accept-tests 72 73TESTS += test-accept 74check_PROGRAMS += test-accept 75test_accept_LDADD = $(LDADD) @LIBSOCKET@ 76EXTRA_DIST += test-accept.c signature.h macros.h 77 78## end gnulib module accept-tests 79 80## begin gnulib module alloca-opt-tests 81 82TESTS += test-alloca-opt 83check_PROGRAMS += test-alloca-opt 84 85EXTRA_DIST += test-alloca-opt.c 86 87## end gnulib module alloca-opt-tests 88 89## begin gnulib module arpa_inet-tests 90 91TESTS += test-arpa_inet 92check_PROGRAMS += test-arpa_inet 93EXTRA_DIST += test-arpa_inet.c 94 95## end gnulib module arpa_inet-tests 96 97## begin gnulib module binary-io 98 99libtests_a_SOURCES += binary-io.h binary-io.c 100 101## end gnulib module binary-io 102 103## begin gnulib module binary-io-tests 104 105TESTS += test-binary-io.sh 106check_PROGRAMS += test-binary-io 107 108EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h 109 110## end gnulib module binary-io-tests 111 112## begin gnulib module bind 113 114 115EXTRA_DIST += bind.c w32sock.h 116 117EXTRA_libtests_a_SOURCES += bind.c 118 119## end gnulib module bind 120 121## begin gnulib module bind-tests 122 123TESTS += test-bind 124check_PROGRAMS += test-bind 125test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) 126EXTRA_DIST += test-bind.c signature.h macros.h 127 128## end gnulib module bind-tests 129 130## begin gnulib module bitrotate-tests 131 132TESTS += test-bitrotate 133check_PROGRAMS += test-bitrotate 134EXTRA_DIST += test-bitrotate.c macros.h 135 136## end gnulib module bitrotate-tests 137 138## begin gnulib module byteswap-tests 139 140TESTS += test-byteswap 141check_PROGRAMS += test-byteswap 142EXTRA_DIST += test-byteswap.c macros.h 143 144## end gnulib module byteswap-tests 145 146## begin gnulib module c-ctype-tests 147 148TESTS += test-c-ctype 149check_PROGRAMS += test-c-ctype 150test_c_ctype_LDADD = $(LDADD) $(LIB_SETLOCALE) 151EXTRA_DIST += test-c-ctype.c macros.h 152 153## end gnulib module c-ctype-tests 154 155## begin gnulib module c-strcase-tests 156 157TESTS += test-c-strcase.sh 158TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' 159check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp 160test_c_strcasecmp_LDADD = $(LDADD) $(LIB_SETLOCALE) 161test_c_strncasecmp_LDADD = $(LDADD) $(LIB_SETLOCALE) 162EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h 163 164## end gnulib module c-strcase-tests 165 166## begin gnulib module cloexec-tests 167 168TESTS += test-cloexec 169check_PROGRAMS += test-cloexec 170EXTRA_DIST += test-cloexec.c macros.h 171 172## end gnulib module cloexec-tests 173 174## begin gnulib module close-tests 175 176TESTS += test-close 177check_PROGRAMS += test-close 178EXTRA_DIST += test-close.c signature.h macros.h 179 180## end gnulib module close-tests 181 182## begin gnulib module connect 183 184 185EXTRA_DIST += connect.c w32sock.h 186 187EXTRA_libtests_a_SOURCES += connect.c 188 189## end gnulib module connect 190 191## begin gnulib module connect-tests 192 193TESTS += test-connect 194check_PROGRAMS += test-connect 195test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) 196EXTRA_DIST += test-connect.c signature.h macros.h 197 198## end gnulib module connect-tests 199 200## begin gnulib module ctype 201 202BUILT_SOURCES += ctype.h 203 204# We need the following in order to create <ctype.h> when the system 205# doesn't have one that works with the given compiler. 206ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 207 $(AM_V_GEN)rm -f $@-t $@ && \ 208 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 209 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 210 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 211 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 212 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 213 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ 214 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ 215 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ 216 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 217 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 218 < $(srcdir)/ctype.in.h; \ 219 } > $@-t && \ 220 mv $@-t $@ 221MOSTLYCLEANFILES += ctype.h ctype.h-t 222 223EXTRA_DIST += ctype.in.h 224 225## end gnulib module ctype 226 227## begin gnulib module ctype-tests 228 229TESTS += test-ctype 230check_PROGRAMS += test-ctype 231EXTRA_DIST += test-ctype.c 232 233## end gnulib module ctype-tests 234 235## begin gnulib module dup2-tests 236 237TESTS += test-dup2 238check_PROGRAMS += test-dup2 239EXTRA_DIST += test-dup2.c signature.h macros.h 240 241## end gnulib module dup2-tests 242 243## begin gnulib module environ-tests 244 245TESTS += test-environ 246check_PROGRAMS += test-environ 247 248EXTRA_DIST += test-environ.c 249 250## end gnulib module environ-tests 251 252## begin gnulib module errno-tests 253 254TESTS += test-errno 255check_PROGRAMS += test-errno 256 257EXTRA_DIST += test-errno.c 258 259## end gnulib module errno-tests 260 261## begin gnulib module explicit_bzero-tests 262 263TESTS += test-explicit_bzero 264check_PROGRAMS += test-explicit_bzero 265EXTRA_DIST += test-explicit_bzero.c signature.h macros.h 266 267## end gnulib module explicit_bzero-tests 268 269## begin gnulib module fcntl-h-tests 270 271TESTS += test-fcntl-h 272check_PROGRAMS += test-fcntl-h 273EXTRA_DIST += test-fcntl-h.c 274 275## end gnulib module fcntl-h-tests 276 277## begin gnulib module fcntl-tests 278 279TESTS += test-fcntl 280check_PROGRAMS += test-fcntl 281EXTRA_DIST += test-fcntl.c signature.h macros.h 282 283## end gnulib module fcntl-tests 284 285## begin gnulib module fdopen 286 287 288EXTRA_DIST += fdopen.c 289 290EXTRA_libtests_a_SOURCES += fdopen.c 291 292## end gnulib module fdopen 293 294## begin gnulib module fdopen-tests 295 296TESTS += test-fdopen 297check_PROGRAMS += test-fdopen 298EXTRA_DIST += test-fdopen.c signature.h macros.h 299 300## end gnulib module fdopen-tests 301 302## begin gnulib module fgetc-tests 303 304TESTS += test-fgetc 305check_PROGRAMS += test-fgetc 306EXTRA_DIST += test-fgetc.c signature.h macros.h 307 308## end gnulib module fgetc-tests 309 310## begin gnulib module flexmember 311 312 313EXTRA_DIST += flexmember.h 314 315## end gnulib module flexmember 316 317## begin gnulib module float-tests 318 319TESTS += test-float 320check_PROGRAMS += test-float 321EXTRA_DIST += test-float.c macros.h 322 323## end gnulib module float-tests 324 325## begin gnulib module fopen-gnu-tests 326 327TESTS += test-fopen-gnu 328check_PROGRAMS += test-fopen-gnu 329EXTRA_DIST += test-fopen-gnu.c macros.h 330 331## end gnulib module fopen-gnu-tests 332 333## begin gnulib module fopen-tests 334 335TESTS += test-fopen 336check_PROGRAMS += test-fopen 337 338EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h 339 340## end gnulib module fopen-tests 341 342## begin gnulib module fpucw 343 344 345EXTRA_DIST += fpucw.h 346 347## end gnulib module fpucw 348 349## begin gnulib module fputc-tests 350 351TESTS += test-fputc 352check_PROGRAMS += test-fputc 353EXTRA_DIST += test-fputc.c signature.h macros.h 354 355## end gnulib module fputc-tests 356 357## begin gnulib module fread-tests 358 359TESTS += test-fread 360check_PROGRAMS += test-fread 361EXTRA_DIST += test-fread.c signature.h macros.h 362 363## end gnulib module fread-tests 364 365## begin gnulib module fstat-tests 366 367TESTS += test-fstat 368check_PROGRAMS += test-fstat 369EXTRA_DIST += test-fstat.c signature.h macros.h 370 371## end gnulib module fstat-tests 372 373## begin gnulib module ftell-tests 374 375TESTS += test-ftell.sh test-ftell2.sh test-ftell3 376check_PROGRAMS += test-ftell test-ftell3 377MOSTLYCLEANFILES += t-ftell3.tmp 378EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h 379 380## end gnulib module ftell-tests 381 382## begin gnulib module ftello-tests 383 384TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh 385check_PROGRAMS += test-ftello test-ftello3 test-ftello4 386MOSTLYCLEANFILES += t-ftello3.tmp 387EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h 388 389## end gnulib module ftello-tests 390 391## begin gnulib module ftruncate 392 393 394EXTRA_DIST += ftruncate.c 395 396EXTRA_libtests_a_SOURCES += ftruncate.c 397 398## end gnulib module ftruncate 399 400## begin gnulib module ftruncate-tests 401 402TESTS += test-ftruncate.sh 403check_PROGRAMS += test-ftruncate 404EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h 405 406## end gnulib module ftruncate-tests 407 408## begin gnulib module func-tests 409 410TESTS += test-func 411check_PROGRAMS += test-func 412EXTRA_DIST += test-func.c macros.h 413 414## end gnulib module func-tests 415 416## begin gnulib module fwrite-tests 417 418TESTS += test-fwrite 419check_PROGRAMS += test-fwrite 420EXTRA_DIST += test-fwrite.c signature.h macros.h 421 422## end gnulib module fwrite-tests 423 424## begin gnulib module getcwd-lgpl 425 426 427EXTRA_DIST += getcwd-lgpl.c 428 429EXTRA_libtests_a_SOURCES += getcwd-lgpl.c 430 431## end gnulib module getcwd-lgpl 432 433## begin gnulib module getcwd-lgpl-tests 434 435TESTS += test-getcwd-lgpl 436check_PROGRAMS += test-getcwd-lgpl 437test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) 438EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h 439 440## end gnulib module getcwd-lgpl-tests 441 442## begin gnulib module getdelim-tests 443 444TESTS += test-getdelim 445check_PROGRAMS += test-getdelim 446MOSTLYCLEANFILES += test-getdelim.txt 447EXTRA_DIST += test-getdelim.c signature.h macros.h 448 449## end gnulib module getdelim-tests 450 451## begin gnulib module getdtablesize-tests 452 453TESTS += test-getdtablesize 454check_PROGRAMS += test-getdtablesize 455EXTRA_DIST += test-getdtablesize.c signature.h macros.h 456 457## end gnulib module getdtablesize-tests 458 459## begin gnulib module getline-tests 460 461TESTS += test-getline 462check_PROGRAMS += test-getline 463MOSTLYCLEANFILES += test-getline.txt 464EXTRA_DIST += test-getline.c signature.h macros.h 465 466## end gnulib module getline-tests 467 468## begin gnulib module getpagesize 469 470 471EXTRA_DIST += getpagesize.c 472 473EXTRA_libtests_a_SOURCES += getpagesize.c 474 475## end gnulib module getpagesize 476 477## begin gnulib module gettimeofday-tests 478 479TESTS += test-gettimeofday 480check_PROGRAMS += test-gettimeofday 481 482EXTRA_DIST += signature.h test-gettimeofday.c 483 484## end gnulib module gettimeofday-tests 485 486## begin gnulib module hash-pjw 487 488libtests_a_SOURCES += hash-pjw.h hash-pjw.c 489 490## end gnulib module hash-pjw 491 492## begin gnulib module hash-tests 493 494TESTS += test-hash 495check_PROGRAMS += test-hash 496EXTRA_DIST += test-hash.c macros.h 497 498## end gnulib module hash-tests 499 500## begin gnulib module ignore-value 501 502 503EXTRA_DIST += ignore-value.h 504 505## end gnulib module ignore-value 506 507## begin gnulib module ignore-value-tests 508 509TESTS += test-ignore-value 510check_PROGRAMS += test-ignore-value 511EXTRA_DIST += test-ignore-value.c 512 513## end gnulib module ignore-value-tests 514 515## begin gnulib module inet_ntop-tests 516 517TESTS += test-inet_ntop 518check_PROGRAMS += test-inet_ntop 519test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@ 520EXTRA_DIST += test-inet_ntop.c signature.h macros.h 521 522## end gnulib module inet_ntop-tests 523 524## begin gnulib module inet_pton-tests 525 526TESTS += test-inet_pton 527check_PROGRAMS += test-inet_pton 528test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ 529EXTRA_DIST += test-inet_pton.c signature.h macros.h 530 531## end gnulib module inet_pton-tests 532 533## begin gnulib module intprops-tests 534 535TESTS += test-intprops 536check_PROGRAMS += test-intprops 537EXTRA_DIST += test-intprops.c macros.h 538 539## end gnulib module intprops-tests 540 541## begin gnulib module inttostr 542 543libtests_a_SOURCES += \ 544 imaxtostr.c \ 545 inttostr.c \ 546 offtostr.c \ 547 uinttostr.c \ 548 umaxtostr.c 549 550EXTRA_DIST += anytostr.c inttostr.h 551 552EXTRA_libtests_a_SOURCES += anytostr.c 553 554## end gnulib module inttostr 555 556## begin gnulib module inttostr-tests 557 558TESTS += test-inttostr 559check_PROGRAMS += test-inttostr 560EXTRA_DIST += macros.h test-inttostr.c 561 562## end gnulib module inttostr-tests 563 564## begin gnulib module inttypes-tests 565 566TESTS += test-inttypes 567check_PROGRAMS += test-inttypes 568EXTRA_DIST += test-inttypes.c 569 570## end gnulib module inttypes-tests 571 572## begin gnulib module ioctl 573 574 575EXTRA_DIST += ioctl.c w32sock.h 576 577EXTRA_libtests_a_SOURCES += ioctl.c 578 579## end gnulib module ioctl 580 581## begin gnulib module ioctl-tests 582 583TESTS += test-ioctl 584check_PROGRAMS += test-ioctl 585EXTRA_DIST += test-ioctl.c signature.h macros.h 586 587## end gnulib module ioctl-tests 588 589## begin gnulib module isblank 590 591 592EXTRA_DIST += isblank.c 593 594EXTRA_libtests_a_SOURCES += isblank.c 595 596## end gnulib module isblank 597 598## begin gnulib module isblank-tests 599 600TESTS += test-isblank 601check_PROGRAMS += test-isblank 602EXTRA_DIST += test-isblank.c signature.h macros.h 603 604## end gnulib module isblank-tests 605 606## begin gnulib module langinfo 607 608BUILT_SOURCES += langinfo.h 609 610# We need the following in order to create an empty placeholder for 611# <langinfo.h> when the system doesn't have one. 612langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 613 $(AM_V_GEN)rm -f $@-t $@ && \ 614 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 615 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 616 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ 617 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 618 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 619 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 620 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ 621 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ 622 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ 623 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ 624 -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \ 625 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ 626 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ 627 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ 628 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ 629 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 630 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 631 < $(srcdir)/langinfo.in.h; \ 632 } > $@-t && \ 633 mv $@-t $@ 634MOSTLYCLEANFILES += langinfo.h langinfo.h-t 635 636EXTRA_DIST += langinfo.in.h 637 638## end gnulib module langinfo 639 640## begin gnulib module langinfo-tests 641 642TESTS += test-langinfo 643check_PROGRAMS += test-langinfo 644EXTRA_DIST += test-langinfo.c 645 646## end gnulib module langinfo-tests 647 648## begin gnulib module limits-h-tests 649 650TESTS += test-limits-h 651check_PROGRAMS += test-limits-h 652EXTRA_DIST += test-limits-h.c 653 654## end gnulib module limits-h-tests 655 656## begin gnulib module listen 657 658 659EXTRA_DIST += listen.c w32sock.h 660 661EXTRA_libtests_a_SOURCES += listen.c 662 663## end gnulib module listen 664 665## begin gnulib module listen-tests 666 667TESTS += test-listen 668check_PROGRAMS += test-listen 669test_listen_LDADD = $(LDADD) @LIBSOCKET@ 670EXTRA_DIST += test-listen.c signature.h macros.h 671 672## end gnulib module listen-tests 673 674## begin gnulib module locale 675 676BUILT_SOURCES += locale.h 677 678# We need the following in order to create <locale.h> when the system 679# doesn't have one that provides all definitions. 680locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 681 $(AM_V_GEN)rm -f $@-t $@ && \ 682 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 683 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 684 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 685 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 686 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 687 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ 688 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \ 689 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ 690 -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GNULIB_SETLOCALE_NULL)/g' \ 691 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ 692 -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \ 693 -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ 694 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ 695 -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ 696 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ 697 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ 698 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ 699 -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \ 700 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ 701 -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \ 702 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ 703 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 704 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 705 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 706 < $(srcdir)/locale.in.h; \ 707 } > $@-t && \ 708 mv $@-t $@ 709MOSTLYCLEANFILES += locale.h locale.h-t 710 711EXTRA_DIST += locale.in.h 712 713## end gnulib module locale 714 715## begin gnulib module locale-tests 716 717TESTS += test-locale 718check_PROGRAMS += test-locale 719EXTRA_DIST += test-locale.c 720 721## end gnulib module locale-tests 722 723## begin gnulib module localename 724 725libtests_a_SOURCES += localename.c localename-table.c 726 727EXTRA_DIST += localename-table.h localename.h 728 729## end gnulib module localename 730 731## begin gnulib module localename-tests 732 733TESTS += test-localename 734check_PROGRAMS += test-localename 735test_localename_LDADD = $(LDADD) $(LIB_SETLOCALE) @INTL_MACOSX_LIBS@ $(LIBTHREAD) 736 737EXTRA_DIST += test-localename.c macros.h 738 739## end gnulib module localename-tests 740 741## begin gnulib module lock 742 743libtests_a_SOURCES += glthread/lock.h glthread/lock.c 744 745## end gnulib module lock 746 747## begin gnulib module lstat 748 749 750EXTRA_DIST += lstat.c 751 752EXTRA_libtests_a_SOURCES += lstat.c 753 754## end gnulib module lstat 755 756## begin gnulib module lstat-tests 757 758TESTS += test-lstat 759check_PROGRAMS += test-lstat 760EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h 761 762## end gnulib module lstat-tests 763 764## begin gnulib module malloca-tests 765 766TESTS += test-malloca 767check_PROGRAMS += test-malloca 768 769EXTRA_DIST += test-malloca.c 770 771## end gnulib module malloca-tests 772 773## begin gnulib module memchr-tests 774 775TESTS += test-memchr 776check_PROGRAMS += test-memchr 777EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h 778 779## end gnulib module memchr-tests 780 781## begin gnulib module nanosleep 782 783 784EXTRA_DIST += nanosleep.c 785 786EXTRA_libtests_a_SOURCES += nanosleep.c 787 788## end gnulib module nanosleep 789 790## begin gnulib module nanosleep-tests 791 792TESTS += test-nanosleep 793check_PROGRAMS += test-nanosleep 794test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) 795EXTRA_DIST += test-nanosleep.c signature.h macros.h 796 797## end gnulib module nanosleep-tests 798 799## begin gnulib module netdb-tests 800 801TESTS += test-netdb 802check_PROGRAMS += test-netdb 803EXTRA_DIST += test-netdb.c 804 805## end gnulib module netdb-tests 806 807## begin gnulib module netinet_in-tests 808 809TESTS += test-netinet_in 810check_PROGRAMS += test-netinet_in 811EXTRA_DIST += test-netinet_in.c 812 813## end gnulib module netinet_in-tests 814 815## begin gnulib module open-tests 816 817TESTS += test-open 818check_PROGRAMS += test-open 819EXTRA_DIST += test-open.h test-open.c signature.h macros.h 820 821## end gnulib module open-tests 822 823## begin gnulib module pathmax-tests 824 825TESTS += test-pathmax 826check_PROGRAMS += test-pathmax 827EXTRA_DIST += test-pathmax.c 828 829## end gnulib module pathmax-tests 830 831## begin gnulib module perror 832 833 834EXTRA_DIST += perror.c 835 836EXTRA_libtests_a_SOURCES += perror.c 837 838## end gnulib module perror 839 840## begin gnulib module perror-tests 841 842TESTS += test-perror.sh test-perror2 843check_PROGRAMS += test-perror test-perror2 844EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh 845 846## end gnulib module perror-tests 847 848## begin gnulib module pipe-posix 849 850 851EXTRA_DIST += pipe.c 852 853EXTRA_libtests_a_SOURCES += pipe.c 854 855## end gnulib module pipe-posix 856 857## begin gnulib module pipe-posix-tests 858 859TESTS += test-pipe 860check_PROGRAMS += test-pipe 861EXTRA_DIST += test-pipe.c signature.h macros.h 862 863## end gnulib module pipe-posix-tests 864 865## begin gnulib module pthread-h 866 867BUILT_SOURCES += pthread.h 868 869# We need the following in order to create <pthread.h> when the system 870# doesn't have one that works with the given compiler. 871pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 872 $(AM_V_GEN)rm -f $@-t $@ && \ 873 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 874 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 875 -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ 876 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 877 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 878 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 879 -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ 880 -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GNULIB_PTHREAD_THREAD)/g' \ 881 -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GNULIB_PTHREAD_ONCE)/g' \ 882 -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GNULIB_PTHREAD_MUTEX)/g' \ 883 -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GNULIB_PTHREAD_RWLOCK)/g' \ 884 -e 's/@''GNULIB_PTHREAD_COND''@/$(GNULIB_PTHREAD_COND)/g' \ 885 -e 's/@''GNULIB_PTHREAD_TSS''@/$(GNULIB_PTHREAD_TSS)/g' \ 886 -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GNULIB_PTHREAD_SPIN)/g' \ 887 -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ 888 -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ 889 -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ 890 -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ 891 -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ 892 -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ 893 -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ 894 -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ 895 -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ 896 -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ 897 -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ 898 -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ 899 -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ 900 -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ 901 -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ 902 -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ 903 -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ 904 -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ 905 -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ 906 -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ 907 -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ 908 -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ 909 -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ 910 -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ 911 -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ 912 -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ 913 -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ 914 -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ 915 -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ 916 -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ 917 -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ 918 -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ 919 -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ 920 -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ 921 -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ 922 -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ 923 -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ 924 -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ 925 -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ 926 -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ 927 -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ 928 -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ 929 -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ 930 -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ 931 -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ 932 -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ 933 -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ 934 -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ 935 -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ 936 -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ 937 -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ 938 -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ 939 -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ 940 -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ 941 -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ 942 -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ 943 -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ 944 -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ 945 < $(srcdir)/pthread.in.h | \ 946 sed -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ 947 -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ 948 -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ 949 -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ 950 -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ 951 -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ 952 -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ 953 -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ 954 -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ 955 -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ 956 -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ 957 -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ 958 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ 959 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ 960 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ 961 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ 962 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ 963 -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ 964 -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ 965 -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ 966 -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ 967 -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ 968 -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ 969 -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ 970 -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ 971 -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ 972 -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ 973 -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ 974 -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ 975 -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ 976 -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ 977 -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ 978 -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ 979 -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ 980 -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ 981 -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ 982 -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ 983 -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ 984 -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ 985 -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ 986 -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ 987 -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ 988 -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ 989 -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ 990 -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ 991 -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ 992 -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ 993 -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ 994 -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ 995 -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ 996 -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ 997 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 998 -e '/definition of _Noreturn/r $(_NORETURN_H)' \ 999 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1000 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 1001 } > $@-t && \ 1002 mv $@-t $@ 1003MOSTLYCLEANFILES += pthread.h pthread.h-t 1004 1005EXTRA_DIST += pthread.in.h 1006 1007## end gnulib module pthread-h 1008 1009## begin gnulib module pthread-h-tests 1010 1011TESTS += test-pthread 1012check_PROGRAMS += test-pthread 1013EXTRA_DIST += test-pthread.c 1014 1015## end gnulib module pthread-h-tests 1016 1017## begin gnulib module pthread-thread 1018 1019 1020EXTRA_DIST += pthread-thread.c 1021 1022EXTRA_libtests_a_SOURCES += pthread-thread.c 1023 1024## end gnulib module pthread-thread 1025 1026## begin gnulib module pthread-thread-tests 1027 1028TESTS += test-pthread-thread 1029check_PROGRAMS += test-pthread-thread 1030test_pthread_thread_LDADD = $(LDADD) @LIBPMULTITHREAD@ 1031EXTRA_DIST += test-pthread-thread.c macros.h 1032 1033## end gnulib module pthread-thread-tests 1034 1035## begin gnulib module pthread_sigmask 1036 1037 1038EXTRA_DIST += pthread_sigmask.c 1039 1040EXTRA_libtests_a_SOURCES += pthread_sigmask.c 1041 1042## end gnulib module pthread_sigmask 1043 1044## begin gnulib module pthread_sigmask-tests 1045 1046TESTS += test-pthread_sigmask1 test-pthread_sigmask2 1047check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2 1048test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ 1049test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ 1050EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h macros.h 1051 1052## end gnulib module pthread_sigmask-tests 1053 1054## begin gnulib module putenv 1055 1056 1057EXTRA_DIST += putenv.c 1058 1059EXTRA_libtests_a_SOURCES += putenv.c 1060 1061## end gnulib module putenv 1062 1063## begin gnulib module raise 1064 1065 1066EXTRA_DIST += raise.c 1067 1068EXTRA_libtests_a_SOURCES += raise.c 1069 1070## end gnulib module raise 1071 1072## begin gnulib module raise-tests 1073 1074TESTS += test-raise 1075check_PROGRAMS += test-raise 1076EXTRA_DIST += test-raise.c signature.h macros.h 1077 1078## end gnulib module raise-tests 1079 1080## begin gnulib module read-file-tests 1081 1082TESTS += test-read-file 1083check_PROGRAMS += test-read-file 1084EXTRA_DIST += test-read-file.c macros.h 1085 1086## end gnulib module read-file-tests 1087 1088## begin gnulib module same-inode 1089 1090 1091EXTRA_DIST += same-inode.h 1092 1093## end gnulib module same-inode 1094 1095## begin gnulib module sched 1096 1097BUILT_SOURCES += sched.h 1098 1099# We need the following in order to create a replacement for <sched.h> when 1100# the system doesn't have one. 1101sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 1102 $(AM_V_GEN)rm -f $@-t $@ && \ 1103 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1104 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1105 -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ 1106 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ 1107 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1108 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1109 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1110 -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ 1111 -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ 1112 -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \ 1113 -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ 1114 -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ 1115 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1116 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1117 < $(srcdir)/sched.in.h; \ 1118 } > $@-t && \ 1119 mv $@-t $@ 1120MOSTLYCLEANFILES += sched.h sched.h-t 1121 1122EXTRA_DIST += sched.in.h 1123 1124## end gnulib module sched 1125 1126## begin gnulib module sched-tests 1127 1128TESTS += test-sched 1129check_PROGRAMS += test-sched 1130EXTRA_DIST += test-sched.c 1131 1132## end gnulib module sched-tests 1133 1134## begin gnulib module select 1135 1136 1137EXTRA_DIST += select.c 1138 1139EXTRA_libtests_a_SOURCES += select.c 1140 1141## end gnulib module select 1142 1143## begin gnulib module select-tests 1144 1145TESTS += test-select test-select-in.sh test-select-out.sh 1146# test-select-stdin has to be run by hand. 1147check_PROGRAMS += test-select test-select-fd test-select-stdin 1148test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB) 1149test_select_fd_LDADD = $(LDADD) @LIB_SELECT@ 1150test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@ 1151EXTRA_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 1152 1153## end gnulib module select-tests 1154 1155## begin gnulib module setenv 1156 1157 1158EXTRA_DIST += setenv.c 1159 1160EXTRA_libtests_a_SOURCES += setenv.c 1161 1162## end gnulib module setenv 1163 1164## begin gnulib module setenv-tests 1165 1166TESTS += test-setenv 1167check_PROGRAMS += test-setenv 1168EXTRA_DIST += test-setenv.c signature.h macros.h 1169 1170## end gnulib module setenv-tests 1171 1172## begin gnulib module setlocale 1173 1174 1175EXTRA_DIST += setlocale.c 1176 1177EXTRA_libtests_a_SOURCES += setlocale.c 1178 1179## end gnulib module setlocale 1180 1181## begin gnulib module setlocale-null 1182 1183libtests_a_SOURCES += setlocale_null.c 1184 1185EXTRA_DIST += setlocale-lock.c setlocale_null.h windows-initguard.h 1186 1187EXTRA_libtests_a_SOURCES += setlocale-lock.c 1188 1189## end gnulib module setlocale-null 1190 1191## begin gnulib module setlocale-null-tests 1192 1193TESTS += \ 1194 test-setlocale_null \ 1195 test-setlocale_null-mt-one \ 1196 test-setlocale_null-mt-all 1197check_PROGRAMS += \ 1198 test-setlocale_null \ 1199 test-setlocale_null-mt-one \ 1200 test-setlocale_null-mt-all 1201test_setlocale_null_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ 1202test_setlocale_null_mt_one_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP) 1203test_setlocale_null_mt_all_LDADD = $(LDADD) @LIB_SETLOCALE_NULL@ $(LIBMULTITHREAD) $(LIB_NANOSLEEP) 1204EXTRA_DIST += test-setlocale_null.c test-setlocale_null-mt-one.c test-setlocale_null-mt-all.c 1205 1206## end gnulib module setlocale-null-tests 1207 1208## begin gnulib module setlocale-tests 1209 1210TESTS += test-setlocale1.sh test-setlocale2.sh 1211TESTS_ENVIRONMENT += \ 1212 LOCALE_FR='@LOCALE_FR@' \ 1213 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ 1214 LOCALE_JA='@LOCALE_JA@' \ 1215 LOCALE_ZH_CN='@LOCALE_ZH_CN@' 1216check_PROGRAMS += test-setlocale1 test-setlocale2 1217test_setlocale1_LDADD = $(LDADD) @LIB_SETLOCALE@ 1218test_setlocale2_LDADD = $(LDADD) @LIB_SETLOCALE@ 1219EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h 1220 1221## end gnulib module setlocale-tests 1222 1223## begin gnulib module setsockopt-tests 1224 1225TESTS += test-setsockopt 1226check_PROGRAMS += test-setsockopt 1227test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@ 1228EXTRA_DIST += test-setsockopt.c signature.h macros.h 1229 1230## end gnulib module setsockopt-tests 1231 1232## begin gnulib module sigaction 1233 1234libtests_a_SOURCES += sig-handler.c 1235 1236EXTRA_DIST += sig-handler.h sigaction.c 1237 1238EXTRA_libtests_a_SOURCES += sigaction.c 1239 1240## end gnulib module sigaction 1241 1242## begin gnulib module sigaction-tests 1243 1244TESTS += test-sigaction 1245check_PROGRAMS += test-sigaction 1246EXTRA_DIST += test-sigaction.c signature.h macros.h 1247 1248## end gnulib module sigaction-tests 1249 1250## begin gnulib module signal-h 1251 1252BUILT_SOURCES += signal.h 1253 1254# We need the following in order to create <signal.h> when the system 1255# doesn't have a complete one. 1256signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1257 $(AM_V_GEN)rm -f $@-t $@ && \ 1258 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1259 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1260 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1261 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1262 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1263 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ 1264 -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ 1265 -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ 1266 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ 1267 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ 1268 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ 1269 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ 1270 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ 1271 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ 1272 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ 1273 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ 1274 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ 1275 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ 1276 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ 1277 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ 1278 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ 1279 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ 1280 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1281 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1282 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1283 < $(srcdir)/signal.in.h; \ 1284 } > $@-t && \ 1285 mv $@-t $@ 1286MOSTLYCLEANFILES += signal.h signal.h-t 1287 1288EXTRA_DIST += signal.in.h 1289 1290## end gnulib module signal-h 1291 1292## begin gnulib module signal-h-tests 1293 1294TESTS += test-signal-h 1295check_PROGRAMS += test-signal-h 1296EXTRA_DIST += test-signal-h.c 1297 1298## end gnulib module signal-h-tests 1299 1300## begin gnulib module sigprocmask 1301 1302 1303EXTRA_DIST += sigprocmask.c 1304 1305EXTRA_libtests_a_SOURCES += sigprocmask.c 1306 1307## end gnulib module sigprocmask 1308 1309## begin gnulib module sigprocmask-tests 1310 1311TESTS += test-sigprocmask 1312check_PROGRAMS += test-sigprocmask 1313EXTRA_DIST += test-sigprocmask.c signature.h macros.h 1314 1315## end gnulib module sigprocmask-tests 1316 1317## begin gnulib module sleep 1318 1319 1320EXTRA_DIST += sleep.c 1321 1322EXTRA_libtests_a_SOURCES += sleep.c 1323 1324## end gnulib module sleep 1325 1326## begin gnulib module sleep-tests 1327 1328TESTS += test-sleep 1329check_PROGRAMS += test-sleep 1330EXTRA_DIST += test-sleep.c signature.h macros.h 1331 1332## end gnulib module sleep-tests 1333 1334## begin gnulib module snippet/_Noreturn 1335 1336# Because this Makefile snippet defines a variable used by other 1337# gnulib Makefile snippets, it must be present in all makefiles that 1338# need it. This is ensured by the applicability 'all' defined above. 1339 1340_NORETURN_H=$(srcdir)/_Noreturn.h 1341 1342EXTRA_DIST += _Noreturn.h 1343 1344## end gnulib module snippet/_Noreturn 1345 1346## begin gnulib module snippet/arg-nonnull 1347 1348# Because this Makefile snippet defines a variable used by other 1349# gnulib Makefile snippets, it must be present in all makefiles that 1350# need it. This is ensured by the applicability 'all' defined above. 1351 1352ARG_NONNULL_H=$(srcdir)/arg-nonnull.h 1353 1354EXTRA_DIST += arg-nonnull.h 1355 1356## end gnulib module snippet/arg-nonnull 1357 1358## begin gnulib module snippet/c++defs 1359 1360# Because this Makefile snippet defines a variable used by other 1361# gnulib Makefile snippets, it must be present in all makefiles that 1362# need it. This is ensured by the applicability 'all' defined above. 1363 1364CXXDEFS_H=$(srcdir)/c++defs.h 1365 1366EXTRA_DIST += c++defs.h 1367 1368## end gnulib module snippet/c++defs 1369 1370## begin gnulib module snippet/warn-on-use 1371 1372# Because this Makefile snippet defines a variable used by other 1373# gnulib Makefile snippets, it must be present in all makefiles that 1374# need it. This is ensured by the applicability 'all' defined above. 1375 1376WARN_ON_USE_H=$(srcdir)/warn-on-use.h 1377 1378EXTRA_DIST += warn-on-use.h 1379 1380## end gnulib module snippet/warn-on-use 1381 1382## begin gnulib module snprintf-tests 1383 1384TESTS += test-snprintf 1385check_PROGRAMS += test-snprintf 1386 1387EXTRA_DIST += test-snprintf.c signature.h macros.h 1388 1389## end gnulib module snprintf-tests 1390 1391## begin gnulib module socket 1392 1393 1394EXTRA_DIST += socket.c w32sock.h 1395 1396EXTRA_libtests_a_SOURCES += socket.c 1397 1398## end gnulib module socket 1399 1400## begin gnulib module sockets 1401 1402libtests_a_SOURCES += sockets.h sockets.c 1403 1404EXTRA_DIST += w32sock.h 1405 1406## end gnulib module sockets 1407 1408## begin gnulib module sockets-tests 1409 1410TESTS += test-sockets 1411check_PROGRAMS += test-sockets 1412test_sockets_LDADD = $(LDADD) @LIBSOCKET@ 1413EXTRA_DIST += test-sockets.c 1414 1415## end gnulib module sockets-tests 1416 1417## begin gnulib module stat-tests 1418 1419TESTS += test-stat 1420check_PROGRAMS += test-stat 1421test_stat_LDADD = $(LDADD) $(LIBINTL) 1422EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h 1423 1424## end gnulib module stat-tests 1425 1426## begin gnulib module stat-time-tests 1427 1428TESTS += test-stat-time 1429check_PROGRAMS += test-stat-time 1430test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP) 1431EXTRA_DIST += test-stat-time.c macros.h nap.h 1432 1433## end gnulib module stat-time-tests 1434 1435## begin gnulib module stdalign-tests 1436 1437TESTS += test-stdalign 1438check_PROGRAMS += test-stdalign 1439EXTRA_DIST += test-stdalign.c macros.h 1440 1441## end gnulib module stdalign-tests 1442 1443## begin gnulib module stdbool-tests 1444 1445TESTS += test-stdbool 1446check_PROGRAMS += test-stdbool 1447EXTRA_DIST += test-stdbool.c 1448 1449## end gnulib module stdbool-tests 1450 1451## begin gnulib module stddef-tests 1452 1453TESTS += test-stddef 1454check_PROGRAMS += test-stddef 1455EXTRA_DIST += test-stddef.c 1456 1457## end gnulib module stddef-tests 1458 1459## begin gnulib module stdint-tests 1460 1461TESTS += test-stdint 1462check_PROGRAMS += test-stdint 1463EXTRA_DIST += test-stdint.c 1464 1465## end gnulib module stdint-tests 1466 1467## begin gnulib module stdio-tests 1468 1469TESTS += test-stdio 1470check_PROGRAMS += test-stdio 1471EXTRA_DIST += test-stdio.c 1472 1473## end gnulib module stdio-tests 1474 1475## begin gnulib module stdlib-tests 1476 1477TESTS += test-stdlib 1478check_PROGRAMS += test-stdlib 1479EXTRA_DIST += test-stdlib.c test-sys_wait.h 1480 1481## end gnulib module stdlib-tests 1482 1483## begin gnulib module strerror 1484 1485 1486EXTRA_DIST += strerror.c 1487 1488EXTRA_libtests_a_SOURCES += strerror.c 1489 1490## end gnulib module strerror 1491 1492## begin gnulib module strerror-override 1493 1494 1495EXTRA_DIST += strerror-override.c strerror-override.h 1496 1497EXTRA_libtests_a_SOURCES += strerror-override.c 1498 1499## end gnulib module strerror-override 1500 1501## begin gnulib module strerror-tests 1502 1503TESTS += test-strerror 1504check_PROGRAMS += test-strerror 1505EXTRA_DIST += test-strerror.c signature.h macros.h 1506 1507## end gnulib module strerror-tests 1508 1509## begin gnulib module strerror_r-posix 1510 1511 1512EXTRA_DIST += strerror_r.c 1513 1514EXTRA_libtests_a_SOURCES += strerror_r.c 1515 1516## end gnulib module strerror_r-posix 1517 1518## begin gnulib module strerror_r-posix-tests 1519 1520TESTS += test-strerror_r 1521check_PROGRAMS += test-strerror_r 1522EXTRA_DIST += test-strerror_r.c signature.h macros.h 1523 1524## end gnulib module strerror_r-posix-tests 1525 1526## begin gnulib module string-tests 1527 1528TESTS += test-string 1529check_PROGRAMS += test-string 1530EXTRA_DIST += test-string.c 1531 1532## end gnulib module string-tests 1533 1534## begin gnulib module strings-tests 1535 1536TESTS += test-strings 1537check_PROGRAMS += test-strings 1538EXTRA_DIST += test-strings.c 1539 1540## end gnulib module strings-tests 1541 1542## begin gnulib module strnlen-tests 1543 1544TESTS += test-strnlen 1545check_PROGRAMS += test-strnlen 1546EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h 1547 1548## end gnulib module strnlen-tests 1549 1550## begin gnulib module strverscmp-tests 1551 1552TESTS += test-strverscmp 1553check_PROGRAMS += test-strverscmp 1554EXTRA_DIST += test-strverscmp.c signature.h macros.h 1555 1556## end gnulib module strverscmp-tests 1557 1558## begin gnulib module symlink 1559 1560 1561EXTRA_DIST += symlink.c 1562 1563EXTRA_libtests_a_SOURCES += symlink.c 1564 1565## end gnulib module symlink 1566 1567## begin gnulib module symlink-tests 1568 1569TESTS += test-symlink 1570check_PROGRAMS += test-symlink 1571EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h 1572 1573## end gnulib module symlink-tests 1574 1575## begin gnulib module sys_ioctl 1576 1577BUILT_SOURCES += sys/ioctl.h 1578 1579# We need the following in order to create <sys/ioctl.h> when the system 1580# does not have a complete one. 1581sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 1582 $(AM_V_at)$(MKDIR_P) sys 1583 $(AM_V_GEN)rm -f $@-t $@ && \ 1584 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1585 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1586 -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \ 1587 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1588 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1589 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1590 -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \ 1591 -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \ 1592 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \ 1593 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ 1594 -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \ 1595 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1596 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1597 < $(srcdir)/sys_ioctl.in.h; \ 1598 } > $@-t && \ 1599 mv $@-t $@ 1600MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t 1601MOSTLYCLEANDIRS += sys 1602 1603EXTRA_DIST += sys_ioctl.in.h 1604 1605## end gnulib module sys_ioctl 1606 1607## begin gnulib module sys_ioctl-tests 1608 1609TESTS += test-sys_ioctl 1610check_PROGRAMS += test-sys_ioctl 1611EXTRA_DIST += test-sys_ioctl.c 1612 1613## end gnulib module sys_ioctl-tests 1614 1615## begin gnulib module sys_select 1616 1617BUILT_SOURCES += sys/select.h 1618 1619# We need the following in order to create <sys/select.h> when the system 1620# doesn't have one that works with the given compiler. 1621sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 1622 $(AM_V_at)$(MKDIR_P) sys 1623 $(AM_V_GEN)rm -f $@-t $@ && \ 1624 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1625 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1626 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1627 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1628 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1629 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ 1630 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ 1631 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ 1632 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ 1633 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ 1634 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ 1635 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ 1636 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ 1637 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1638 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1639 < $(srcdir)/sys_select.in.h; \ 1640 } > $@-t && \ 1641 mv $@-t $@ 1642MOSTLYCLEANFILES += sys/select.h sys/select.h-t 1643MOSTLYCLEANDIRS += sys 1644 1645EXTRA_DIST += sys_select.in.h 1646 1647## end gnulib module sys_select 1648 1649## begin gnulib module sys_select-tests 1650 1651TESTS += test-sys_select 1652check_PROGRAMS += test-sys_select 1653EXTRA_DIST += test-sys_select.c signature.h 1654 1655## end gnulib module sys_select-tests 1656 1657## begin gnulib module sys_socket-tests 1658 1659TESTS += test-sys_socket 1660check_PROGRAMS += test-sys_socket 1661EXTRA_DIST += test-sys_socket.c 1662 1663## end gnulib module sys_socket-tests 1664 1665## begin gnulib module sys_stat-tests 1666 1667TESTS += test-sys_stat 1668check_PROGRAMS += test-sys_stat 1669EXTRA_DIST += test-sys_stat.c 1670 1671## end gnulib module sys_stat-tests 1672 1673## begin gnulib module sys_time-tests 1674 1675TESTS += test-sys_time 1676check_PROGRAMS += test-sys_time 1677EXTRA_DIST += test-sys_time.c 1678 1679## end gnulib module sys_time-tests 1680 1681## begin gnulib module sys_types-tests 1682 1683TESTS += test-sys_types 1684check_PROGRAMS += test-sys_types 1685EXTRA_DIST += test-sys_types.c 1686 1687## end gnulib module sys_types-tests 1688 1689## begin gnulib module sys_uio-tests 1690 1691TESTS += test-sys_uio 1692check_PROGRAMS += test-sys_uio 1693EXTRA_DIST += test-sys_uio.c 1694 1695## end gnulib module sys_uio-tests 1696 1697## begin gnulib module test-framework-sh-tests 1698 1699TESTS += test-init.sh 1700EXTRA_DIST += init.sh 1701EXTRA_DIST += test-init.sh 1702 1703## end gnulib module test-framework-sh-tests 1704 1705## begin gnulib module thread 1706 1707libtests_a_SOURCES += glthread/thread.h glthread/thread.c 1708 1709## end gnulib module thread 1710 1711## begin gnulib module thread-tests 1712 1713TESTS += test-thread_self test-thread_create 1714check_PROGRAMS += test-thread_self test-thread_create 1715test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ 1716test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ 1717EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h 1718 1719## end gnulib module thread-tests 1720 1721## begin gnulib module time-tests 1722 1723TESTS += test-time 1724check_PROGRAMS += test-time 1725EXTRA_DIST += test-time.c 1726 1727## end gnulib module time-tests 1728 1729## begin gnulib module unistd-tests 1730 1731TESTS += test-unistd 1732check_PROGRAMS += test-unistd 1733EXTRA_DIST += test-unistd.c 1734 1735## end gnulib module unistd-tests 1736 1737## begin gnulib module unsetenv 1738 1739 1740EXTRA_DIST += unsetenv.c 1741 1742EXTRA_libtests_a_SOURCES += unsetenv.c 1743 1744## end gnulib module unsetenv 1745 1746## begin gnulib module unsetenv-tests 1747 1748TESTS += test-unsetenv 1749check_PROGRAMS += test-unsetenv 1750EXTRA_DIST += test-unsetenv.c signature.h macros.h 1751 1752## end gnulib module unsetenv-tests 1753 1754## begin gnulib module vasnprintf-tests 1755 1756TESTS += test-vasnprintf 1757check_PROGRAMS += test-vasnprintf 1758 1759EXTRA_DIST += test-vasnprintf.c macros.h 1760 1761## end gnulib module vasnprintf-tests 1762 1763## begin gnulib module vasprintf-tests 1764 1765TESTS += test-vasprintf 1766check_PROGRAMS += test-vasprintf 1767 1768EXTRA_DIST += test-vasprintf.c signature.h macros.h 1769 1770## end gnulib module vasprintf-tests 1771 1772## begin gnulib module vc-list-files-tests 1773 1774TESTS += test-vc-list-files-git.sh 1775TESTS += test-vc-list-files-cvs.sh 1776TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)' 1777EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh 1778 1779## end gnulib module vc-list-files-tests 1780 1781## begin gnulib module verify-tests 1782 1783TESTS_ENVIRONMENT += MAKE='$(MAKE)' 1784TESTS += test-verify test-verify.sh 1785check_PROGRAMS += test-verify 1786# test-verify-try is never built, but test-verify.sh needs a rule to 1787# build test-verify-try.o. 1788EXTRA_PROGRAMS += test-verify-try 1789 1790# This test expects compilation of test-verify-try.c to fail, and 1791# each time it fails, the makefile rule does not perform the usual 1792# "mv -f $name.Tpo $name.po, so tell make clean to remove that file. 1793MOSTLYCLEANFILES += .deps/test-verify-try.Tpo 1794EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh 1795 1796## end gnulib module verify-tests 1797 1798## begin gnulib module vma-iter 1799 1800libtests_a_SOURCES += vma-iter.c 1801 1802EXTRA_DIST += vma-iter.h 1803 1804## end gnulib module vma-iter 1805 1806## begin gnulib module vsnprintf-tests 1807 1808TESTS += test-vsnprintf 1809check_PROGRAMS += test-vsnprintf 1810 1811EXTRA_DIST += test-vsnprintf.c signature.h macros.h 1812 1813## end gnulib module vsnprintf-tests 1814 1815## begin gnulib module wchar-tests 1816 1817TESTS += test-wchar 1818check_PROGRAMS += test-wchar 1819EXTRA_DIST += test-wchar.c 1820 1821## end gnulib module wchar-tests 1822 1823## begin gnulib module windows-mutex 1824 1825 1826EXTRA_DIST += windows-initguard.h windows-mutex.c windows-mutex.h 1827 1828EXTRA_libtests_a_SOURCES += windows-mutex.c 1829 1830## end gnulib module windows-mutex 1831 1832## begin gnulib module windows-once 1833 1834 1835EXTRA_DIST += windows-once.c windows-once.h 1836 1837EXTRA_libtests_a_SOURCES += windows-once.c 1838 1839## end gnulib module windows-once 1840 1841## begin gnulib module windows-recmutex 1842 1843 1844EXTRA_DIST += windows-initguard.h windows-recmutex.c windows-recmutex.h 1845 1846EXTRA_libtests_a_SOURCES += windows-recmutex.c 1847 1848## end gnulib module windows-recmutex 1849 1850## begin gnulib module windows-rwlock 1851 1852 1853EXTRA_DIST += windows-initguard.h windows-rwlock.c windows-rwlock.h 1854 1855EXTRA_libtests_a_SOURCES += windows-rwlock.c 1856 1857## end gnulib module windows-rwlock 1858 1859## begin gnulib module windows-thread 1860 1861 1862EXTRA_DIST += windows-thread.c windows-thread.h 1863 1864EXTRA_libtests_a_SOURCES += windows-thread.c 1865 1866## end gnulib module windows-thread 1867 1868## begin gnulib module windows-tls 1869 1870 1871EXTRA_DIST += windows-tls.c windows-tls.h 1872 1873EXTRA_libtests_a_SOURCES += windows-tls.c 1874 1875## end gnulib module windows-tls 1876 1877# Clean up after Solaris cc. 1878clean-local: 1879 rm -rf SunWS_cache 1880 1881mostlyclean-local: mostlyclean-generic 1882 @for dir in '' $(MOSTLYCLEANDIRS); do \ 1883 if test -n "$$dir" && test -d $$dir; then \ 1884 echo "rmdir $$dir"; rmdir $$dir; \ 1885 fi; \ 1886 done; \ 1887 : 1888