1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
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.
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.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
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.
23 # Generated by gnulib-tool.
25 AUTOMAKE_OPTIONS = 1.5 foreign
35 check_LIBRARIES = libtests.a
39 MOSTLYCLEANFILES = core *.stackdump
43 MAINTAINERCLEANFILES =
46 -D@lgltests_WITNESS@=1 \
48 -I../.. -I$(srcdir)/../.. \
49 -I../../gl -I$(srcdir)/../../gl
51 LDADD = libtests.a ../../gl/liblgnu.la libtests.a $(LIBTESTS_LIBDEPS)
54 libtests_a_LIBADD = $(lgltests_LIBOBJS)
55 libtests_a_DEPENDENCIES = $(lgltests_LIBOBJS)
56 EXTRA_libtests_a_SOURCES =
57 AM_LIBTOOLFLAGS = --preserve-dup-deps
59 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
61 ## begin gnulib module alloca-opt-tests
63 TESTS += test-alloca-opt
64 check_PROGRAMS += test-alloca-opt
66 EXTRA_DIST += test-alloca-opt.c
68 ## end gnulib module alloca-opt-tests
70 ## begin gnulib module binary-io
72 libtests_a_SOURCES += binary-io.h
74 ## end gnulib module binary-io
76 ## begin gnulib module binary-io-tests
78 TESTS += test-binary-io.sh
79 check_PROGRAMS += test-binary-io
81 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
83 ## end gnulib module binary-io-tests
85 ## begin gnulib module byteswap-tests
87 TESTS += test-byteswap
88 check_PROGRAMS += test-byteswap
89 EXTRA_DIST += test-byteswap.c macros.h
91 ## end gnulib module byteswap-tests
93 ## begin gnulib module c-ctype-tests
96 check_PROGRAMS += test-c-ctype
98 EXTRA_DIST += test-c-ctype.c macros.h
100 ## end gnulib module c-ctype-tests
102 ## begin gnulib module errno-tests
105 check_PROGRAMS += test-errno
107 EXTRA_DIST += test-errno.c
109 ## end gnulib module errno-tests
111 ## begin gnulib module fcntl-h
113 BUILT_SOURCES += fcntl.h
115 # We need the following in order to create <fcntl.h> when the system
116 # doesn't have one that works with the given compiler.
117 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
118 $(AM_V_GEN)rm -f $@-t $@ && \
119 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
120 sed -e 's|@''GUARD_PREFIX''@|GL_LGL|g' \
121 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
122 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
123 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
124 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
125 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
126 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
127 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
128 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
129 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
130 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
131 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
132 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
133 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
134 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
135 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
136 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
137 < $(srcdir)/fcntl.in.h; \
140 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
142 EXTRA_DIST += fcntl.in.h
144 ## end gnulib module fcntl-h
146 ## begin gnulib module fcntl-h-tests
148 TESTS += test-fcntl-h
149 check_PROGRAMS += test-fcntl-h
150 EXTRA_DIST += test-fcntl-h.c
152 ## end gnulib module fcntl-h-tests
154 ## begin gnulib module fdopen
157 EXTRA_DIST += fdopen.c
159 EXTRA_libtests_a_SOURCES += fdopen.c
161 ## end gnulib module fdopen
163 ## begin gnulib module fdopen-tests
166 check_PROGRAMS += test-fdopen
167 EXTRA_DIST += test-fdopen.c signature.h macros.h
169 ## end gnulib module fdopen-tests
171 ## begin gnulib module fgetc-tests
174 check_PROGRAMS += test-fgetc
175 EXTRA_DIST += test-fgetc.c signature.h macros.h
177 ## end gnulib module fgetc-tests
179 ## begin gnulib module float-tests
182 check_PROGRAMS += test-float
183 EXTRA_DIST += test-float.c macros.h
185 ## end gnulib module float-tests
187 ## begin gnulib module fpucw
190 EXTRA_DIST += fpucw.h
192 ## end gnulib module fpucw
194 ## begin gnulib module fputc-tests
197 check_PROGRAMS += test-fputc
198 EXTRA_DIST += test-fputc.c signature.h macros.h
200 ## end gnulib module fputc-tests
202 ## begin gnulib module fread-tests
205 check_PROGRAMS += test-fread
206 EXTRA_DIST += test-fread.c signature.h macros.h
208 ## end gnulib module fread-tests
210 ## begin gnulib module fseek-tests
212 TESTS += test-fseek.sh test-fseek2.sh
213 check_PROGRAMS += test-fseek
214 EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
216 ## end gnulib module fseek-tests
218 ## begin gnulib module fseeko-tests
220 TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
221 check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
222 EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h
224 ## end gnulib module fseeko-tests
226 ## begin gnulib module fstat-tests
229 check_PROGRAMS += test-fstat
230 EXTRA_DIST += test-fstat.c signature.h macros.h
232 ## end gnulib module fstat-tests
234 ## begin gnulib module ftell-tests
236 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
237 check_PROGRAMS += test-ftell test-ftell3
238 MOSTLYCLEANFILES += t-ftell3.tmp
239 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
241 ## end gnulib module ftell-tests
243 ## begin gnulib module ftello-tests
245 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
246 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
247 MOSTLYCLEANFILES += t-ftello3.tmp
248 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
250 ## end gnulib module ftello-tests
252 ## begin gnulib module func-tests
255 check_PROGRAMS += test-func
256 EXTRA_DIST += test-func.c macros.h
258 ## end gnulib module func-tests
260 ## begin gnulib module fwrite-tests
263 check_PROGRAMS += test-fwrite
264 EXTRA_DIST += test-fwrite.c signature.h macros.h
266 ## end gnulib module fwrite-tests
268 ## begin gnulib module getpagesize
271 EXTRA_DIST += getpagesize.c
273 EXTRA_libtests_a_SOURCES += getpagesize.c
275 ## end gnulib module getpagesize
277 ## begin gnulib module intprops
280 EXTRA_DIST += intprops.h
282 ## end gnulib module intprops
284 ## begin gnulib module intprops-tests
286 TESTS += test-intprops
287 check_PROGRAMS += test-intprops
288 EXTRA_DIST += test-intprops.c macros.h
290 ## end gnulib module intprops-tests
292 ## begin gnulib module inttypes-incomplete
294 BUILT_SOURCES += inttypes.h
296 # We need the following in order to create <inttypes.h> when the system
297 # doesn't have one that works with the given compiler.
298 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
299 $(AM_V_GEN)rm -f $@-t $@ && \
300 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
301 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
302 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
303 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
304 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
305 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
306 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
307 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
308 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
309 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
310 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
311 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
312 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
313 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
314 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
315 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
316 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
317 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
318 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
319 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
320 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
321 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
322 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
323 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
324 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
325 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
326 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
327 < $(srcdir)/inttypes.in.h; \
330 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
332 EXTRA_DIST += inttypes.in.h
334 ## end gnulib module inttypes-incomplete
336 ## begin gnulib module inttypes-tests
338 TESTS += test-inttypes
339 check_PROGRAMS += test-inttypes
340 EXTRA_DIST += test-inttypes.c
342 ## end gnulib module inttypes-tests
344 ## begin gnulib module memchr-tests
347 check_PROGRAMS += test-memchr
348 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
350 ## end gnulib module memchr-tests
352 ## begin gnulib module netdb-tests
355 check_PROGRAMS += test-netdb
356 EXTRA_DIST += test-netdb.c
358 ## end gnulib module netdb-tests
360 ## begin gnulib module read-file-tests
362 TESTS += test-read-file
363 check_PROGRAMS += test-read-file
364 EXTRA_DIST += test-read-file.c
366 ## end gnulib module read-file-tests
368 ## begin gnulib module snippet/_Noreturn
370 # Because this Makefile snippet defines a variable used by other
371 # gnulib Makefile snippets, it must be present in all Makefile.am that
372 # need it. This is ensured by the applicability 'all' defined above.
374 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
376 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
378 ## end gnulib module snippet/_Noreturn
380 ## begin gnulib module snippet/arg-nonnull
382 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
383 # statements but through direct file reference. Therefore this snippet must be
384 # present in all Makefile.am that need it. This is ensured by the applicability
385 # 'all' defined above.
387 BUILT_SOURCES += arg-nonnull.h
388 # The arg-nonnull.h that gets inserted into generated .h files is the same as
389 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
391 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
392 $(AM_V_GEN)rm -f $@-t $@ && \
393 sed -n -e '/GL_ARG_NONNULL/,$$p' \
394 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
397 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
399 ARG_NONNULL_H=arg-nonnull.h
401 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
403 ## end gnulib module snippet/arg-nonnull
405 ## begin gnulib module snippet/c++defs
407 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
408 # statements but through direct file reference. Therefore this snippet must be
409 # present in all Makefile.am that need it. This is ensured by the applicability
410 # 'all' defined above.
412 BUILT_SOURCES += c++defs.h
413 # The c++defs.h that gets inserted into generated .h files is the same as
414 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
415 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
416 $(AM_V_GEN)rm -f $@-t $@ && \
417 sed -n -e '/_GL_CXXDEFS/,$$p' \
418 < $(top_srcdir)/build-aux/snippet/c++defs.h \
421 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
425 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
427 ## end gnulib module snippet/c++defs
429 ## begin gnulib module snippet/warn-on-use
431 BUILT_SOURCES += warn-on-use.h
432 # The warn-on-use.h that gets inserted into generated .h files is the same as
433 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
435 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
436 $(AM_V_GEN)rm -f $@-t $@ && \
437 sed -n -e '/^.ifndef/,$$p' \
438 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
441 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
443 WARN_ON_USE_H=warn-on-use.h
445 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
447 ## end gnulib module snippet/warn-on-use
449 ## begin gnulib module snprintf-tests
451 TESTS += test-snprintf
452 check_PROGRAMS += test-snprintf
454 EXTRA_DIST += test-snprintf.c signature.h macros.h
456 ## end gnulib module snprintf-tests
458 ## begin gnulib module sockets-tests
460 TESTS += test-sockets
461 check_PROGRAMS += test-sockets
462 test_sockets_LDADD = $(LDADD) @LIBSOCKET@
463 EXTRA_DIST += test-sockets.c
465 ## end gnulib module sockets-tests
467 ## begin gnulib module stdalign-tests
469 TESTS += test-stdalign
470 check_PROGRAMS += test-stdalign
471 EXTRA_DIST += test-stdalign.c macros.h
473 ## end gnulib module stdalign-tests
475 ## begin gnulib module stdbool-tests
477 TESTS += test-stdbool
478 check_PROGRAMS += test-stdbool
479 EXTRA_DIST += test-stdbool.c
481 ## end gnulib module stdbool-tests
483 ## begin gnulib module stddef-tests
486 check_PROGRAMS += test-stddef
487 EXTRA_DIST += test-stddef.c
489 ## end gnulib module stddef-tests
491 ## begin gnulib module stdint-tests
494 check_PROGRAMS += test-stdint
495 EXTRA_DIST += test-stdint.c
497 ## end gnulib module stdint-tests
499 ## begin gnulib module stdio-tests
502 check_PROGRAMS += test-stdio
503 EXTRA_DIST += test-stdio.c
505 ## end gnulib module stdio-tests
507 ## begin gnulib module stdlib-tests
510 check_PROGRAMS += test-stdlib
511 EXTRA_DIST += test-stdlib.c test-sys_wait.h
513 ## end gnulib module stdlib-tests
515 ## begin gnulib module string-tests
518 check_PROGRAMS += test-string
519 EXTRA_DIST += test-string.c
521 ## end gnulib module string-tests
523 ## begin gnulib module strings-tests
525 TESTS += test-strings
526 check_PROGRAMS += test-strings
527 EXTRA_DIST += test-strings.c
529 ## end gnulib module strings-tests
531 ## begin gnulib module strverscmp-tests
533 TESTS += test-strverscmp
534 check_PROGRAMS += test-strverscmp
535 EXTRA_DIST += test-strverscmp.c signature.h macros.h
537 ## end gnulib module strverscmp-tests
539 ## begin gnulib module sys_socket-tests
541 TESTS += test-sys_socket
542 check_PROGRAMS += test-sys_socket
543 EXTRA_DIST += test-sys_socket.c
545 ## end gnulib module sys_socket-tests
547 ## begin gnulib module sys_stat-tests
549 TESTS += test-sys_stat
550 check_PROGRAMS += test-sys_stat
551 EXTRA_DIST += test-sys_stat.c
553 ## end gnulib module sys_stat-tests
555 ## begin gnulib module sys_types-tests
557 TESTS += test-sys_types
558 check_PROGRAMS += test-sys_types
559 EXTRA_DIST += test-sys_types.c
561 ## end gnulib module sys_types-tests
563 ## begin gnulib module sys_uio-tests
565 TESTS += test-sys_uio
566 check_PROGRAMS += test-sys_uio
567 EXTRA_DIST += test-sys_uio.c
569 ## end gnulib module sys_uio-tests
571 ## begin gnulib module test-framework-sh-tests
573 TESTS += test-init.sh
574 EXTRA_DIST += init.sh
575 EXTRA_DIST += test-init.sh
577 ## end gnulib module test-framework-sh-tests
579 ## begin gnulib module time-tests
582 check_PROGRAMS += test-time
583 EXTRA_DIST += test-time.c
585 ## end gnulib module time-tests
587 ## begin gnulib module unistd-tests
590 check_PROGRAMS += test-unistd
591 EXTRA_DIST += test-unistd.c
593 ## end gnulib module unistd-tests
595 ## begin gnulib module vasnprintf-tests
597 TESTS += test-vasnprintf
598 check_PROGRAMS += test-vasnprintf
600 EXTRA_DIST += test-vasnprintf.c macros.h
602 ## end gnulib module vasnprintf-tests
604 ## begin gnulib module vasprintf-tests
606 TESTS += test-vasprintf
607 check_PROGRAMS += test-vasprintf
609 EXTRA_DIST += test-vasprintf.c signature.h macros.h
611 ## end gnulib module vasprintf-tests
613 ## begin gnulib module verify-tests
615 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
616 TESTS += test-verify test-verify.sh
617 check_PROGRAMS += test-verify
618 EXTRA_DIST += test-verify.c test-verify.sh
620 ## end gnulib module verify-tests
622 ## begin gnulib module vsnprintf-tests
624 TESTS += test-vsnprintf
625 check_PROGRAMS += test-vsnprintf
627 EXTRA_DIST += test-vsnprintf.c signature.h macros.h
629 ## end gnulib module vsnprintf-tests
631 ## begin gnulib module wchar-tests
634 check_PROGRAMS += test-wchar
635 EXTRA_DIST += test-wchar.c
637 ## end gnulib module wchar-tests
639 ## begin gnulib module dummy
641 libtests_a_SOURCES += dummy.c
643 ## end gnulib module dummy
645 # Clean up after Solaris cc.
649 mostlyclean-local: mostlyclean-generic
650 @for dir in '' $(MOSTLYCLEANDIRS); do \
651 if test -n "$$dir" && test -d $$dir; then \
652 echo "rmdir $$dir"; rmdir $$dir; \