1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --avoid=xalloc-die --libtool --macro-prefix=gl base64 crc crypto/arcfour crypto/gc-des crypto/gc-hmac-md5 crypto/gc-hmac-sha1 crypto/gc-md4 crypto/gc-md5 crypto/gc-pbkdf2-sha1 crypto/gc-random error fdl gendocs getaddrinfo getdate gethostname getline getopt getpass getsubopt gnupload gpl-3.0 maintainer-makefile progname read-file realloc setenv socklen stdint strcase strchrnul strdup strndup strtok_r strverscmp sys_select sys_socket sys_stat timegm unistd vasnprintf vasprintf xalloc xgetdomainname xgethostname xreadlink xstrndup xvasprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LTLIBRARIES += libgnu.la
33 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
34 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
35 EXTRA_libgnu_la_SOURCES =
36 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38 ## begin gnulib module absolute-header
40 # Use this preprocessor expression to decide whether #include_next works.
41 # Do not rely on a 'configure'-time test for this, since the expression
42 # might appear in an installed header, which is used by some other compiler.
43 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
45 ## end gnulib module absolute-header
47 ## begin gnulib module alloca-opt
49 BUILT_SOURCES += $(ALLOCA_H)
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
54 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
55 cat $(srcdir)/alloca_.h; \
58 MOSTLYCLEANFILES += alloca.h alloca.h-t
60 EXTRA_DIST += alloca_.h
62 ## end gnulib module alloca-opt
64 ## begin gnulib module arpa_inet
66 BUILT_SOURCES += $(ARPA_INET_H)
68 # We need the following in order to create <arpa/inet.h> when the system
73 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
74 echo '#include <sys/socket.h>'; \
77 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
78 MOSTLYCLEANDIRS += arpa
80 ## end gnulib module arpa_inet
82 ## begin gnulib module base64
84 libgnu_la_SOURCES += base64.h base64.c
86 ## end gnulib module base64
88 ## begin gnulib module crc
91 EXTRA_DIST += crc.c crc.h
93 EXTRA_libgnu_la_SOURCES += crc.c
95 ## end gnulib module crc
97 ## begin gnulib module crypto/arcfour
100 EXTRA_DIST += arcfour.c arcfour.h
102 EXTRA_libgnu_la_SOURCES += arcfour.c
104 ## end gnulib module crypto/arcfour
106 ## begin gnulib module crypto/gc
109 libgnu_la_LDFLAGS += $(LTLIBGCRYPT)
112 EXTRA_DIST += gc-gnulib.c gc-libgcrypt.c gc.h
114 EXTRA_libgnu_la_SOURCES += gc-gnulib.c gc-libgcrypt.c
116 ## end gnulib module crypto/gc
118 ## begin gnulib module crypto/gc-des
121 EXTRA_DIST += des.c des.h
123 EXTRA_libgnu_la_SOURCES += des.c
125 ## end gnulib module crypto/gc-des
127 ## begin gnulib module crypto/gc-hmac-md5
130 EXTRA_DIST += hmac-md5.c hmac.h md5.c md5.h memxor.c memxor.h
132 EXTRA_libgnu_la_SOURCES += hmac-md5.c md5.c memxor.c
134 ## end gnulib module crypto/gc-hmac-md5
136 ## begin gnulib module crypto/gc-hmac-sha1
139 EXTRA_DIST += hmac-sha1.c hmac.h memxor.c memxor.h sha1.c sha1.h
141 EXTRA_libgnu_la_SOURCES += hmac-sha1.c memxor.c sha1.c
143 ## end gnulib module crypto/gc-hmac-sha1
145 ## begin gnulib module crypto/gc-md4
148 EXTRA_DIST += md4.c md4.h
150 EXTRA_libgnu_la_SOURCES += md4.c
152 ## end gnulib module crypto/gc-md4
154 ## begin gnulib module crypto/gc-md5
156 libgnu_la_SOURCES += md5.h
160 EXTRA_libgnu_la_SOURCES += md5.c
162 ## end gnulib module crypto/gc-md5
164 ## begin gnulib module crypto/gc-pbkdf2-sha1
167 EXTRA_DIST += gc-pbkdf2-sha1.c
169 EXTRA_libgnu_la_SOURCES += gc-pbkdf2-sha1.c
171 ## end gnulib module crypto/gc-pbkdf2-sha1
173 ## begin gnulib module error
176 EXTRA_DIST += error.c error.h
178 EXTRA_libgnu_la_SOURCES += error.c
180 ## end gnulib module error
182 ## begin gnulib module float
184 BUILT_SOURCES += $(FLOAT_H)
186 # We need the following in order to create <float.h> when the system
187 # doesn't have one that works with the given compiler.
190 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
191 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
192 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
193 < $(srcdir)/float_.h; \
196 MOSTLYCLEANFILES += float.h float.h-t
198 EXTRA_DIST += float_.h
200 ## end gnulib module float
202 ## begin gnulib module fseeko
205 EXTRA_DIST += fseeko.c
207 EXTRA_libgnu_la_SOURCES += fseeko.c
209 ## end gnulib module fseeko
211 ## begin gnulib module gendocs
214 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
216 ## end gnulib module gendocs
218 ## begin gnulib module getaddrinfo
221 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
223 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
225 ## end gnulib module getaddrinfo
227 ## begin gnulib module getdate
229 libgnu_la_SOURCES += getdate.y
230 BUILT_SOURCES += getdate.c
231 MAINTAINERCLEANFILES += getdate.c
232 EXTRA_DIST += getdate.c
234 EXTRA_DIST += getdate.h
236 ## end gnulib module getdate
238 ## begin gnulib module getdelim
241 EXTRA_DIST += getdelim.c
243 EXTRA_libgnu_la_SOURCES += getdelim.c
245 ## end gnulib module getdelim
247 ## begin gnulib module getdomainname
250 EXTRA_DIST += getdomainname.c getdomainname.h
252 EXTRA_libgnu_la_SOURCES += getdomainname.c
254 ## end gnulib module getdomainname
256 ## begin gnulib module gethostname
259 EXTRA_DIST += gethostname.c
261 EXTRA_libgnu_la_SOURCES += gethostname.c
263 ## end gnulib module gethostname
265 ## begin gnulib module getline
268 EXTRA_DIST += getline.c
270 EXTRA_libgnu_la_SOURCES += getline.c
272 ## end gnulib module getline
274 ## begin gnulib module getopt
276 BUILT_SOURCES += $(GETOPT_H)
278 # We need the following in order to create <getopt.h> when the system
279 # doesn't have one that works with the given compiler.
281 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
282 cat $(srcdir)/getopt_.h; \
285 MOSTLYCLEANFILES += getopt.h getopt.h-t
287 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
289 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
291 ## end gnulib module getopt
293 ## begin gnulib module getpass
296 EXTRA_DIST += getpass.c getpass.h
298 EXTRA_libgnu_la_SOURCES += getpass.c
300 ## end gnulib module getpass
302 ## begin gnulib module getsubopt
305 EXTRA_DIST += getsubopt.c
307 EXTRA_libgnu_la_SOURCES += getsubopt.c
309 ## end gnulib module getsubopt
311 ## begin gnulib module gettext-h
313 libgnu_la_SOURCES += gettext.h
315 ## end gnulib module gettext-h
317 ## begin gnulib module gettime
320 EXTRA_DIST += gettime.c
322 EXTRA_libgnu_la_SOURCES += gettime.c
324 ## end gnulib module gettime
326 ## begin gnulib module gettimeofday
329 EXTRA_DIST += gettimeofday.c
331 EXTRA_libgnu_la_SOURCES += gettimeofday.c
333 ## end gnulib module gettimeofday
335 ## begin gnulib module gnupload
338 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
340 ## end gnulib module gnupload
342 ## begin gnulib module havelib
345 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
347 ## end gnulib module havelib
349 ## begin gnulib module inet_ntop
352 EXTRA_DIST += inet_ntop.c inet_ntop.h
354 EXTRA_libgnu_la_SOURCES += inet_ntop.c
356 ## end gnulib module inet_ntop
358 ## begin gnulib module intprops
361 EXTRA_DIST += intprops.h
363 ## end gnulib module intprops
365 ## begin gnulib module link-warning
367 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
369 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
371 ## end gnulib module link-warning
373 ## begin gnulib module lseek
376 EXTRA_DIST += lseek.c
378 EXTRA_libgnu_la_SOURCES += lseek.c
380 ## end gnulib module lseek
382 ## begin gnulib module maintainer-makefile
384 EXTRA_DIST += $(top_srcdir)/build-aux/GNUmakefile $(top_srcdir)/build-aux/maint.mk
386 ## end gnulib module maintainer-makefile
388 ## begin gnulib module malloc-posix
391 EXTRA_DIST += malloc.c
393 EXTRA_libgnu_la_SOURCES += malloc.c
395 ## end gnulib module malloc-posix
397 ## begin gnulib module malloca
399 libgnu_la_SOURCES += malloca.c
401 EXTRA_DIST += malloca.h malloca.valgrind
403 ## end gnulib module malloca
405 ## begin gnulib module mktime
408 EXTRA_DIST += mktime.c
410 EXTRA_libgnu_la_SOURCES += mktime.c
412 ## end gnulib module mktime
414 ## begin gnulib module netinet_in
416 BUILT_SOURCES += $(NETINET_IN_H)
418 # We need the following in order to create <netinet/in.h> when the system
423 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
424 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
425 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
426 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
427 < $(srcdir)/netinet_in_.h; \
430 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
431 MOSTLYCLEANDIRS += netinet
433 EXTRA_DIST += netinet_in_.h
435 ## end gnulib module netinet_in
437 ## begin gnulib module progname
439 libgnu_la_SOURCES += progname.h progname.c
441 ## end gnulib module progname
443 ## begin gnulib module read-file
446 EXTRA_DIST += read-file.c read-file.h
448 EXTRA_libgnu_la_SOURCES += read-file.c
450 ## end gnulib module read-file
452 ## begin gnulib module readlink
455 EXTRA_DIST += readlink.c
457 EXTRA_libgnu_la_SOURCES += readlink.c
459 ## end gnulib module readlink
461 ## begin gnulib module realloc
464 EXTRA_DIST += realloc.c
466 EXTRA_libgnu_la_SOURCES += realloc.c
468 ## end gnulib module realloc
470 ## begin gnulib module realloc-posix
473 EXTRA_DIST += realloc.c
475 EXTRA_libgnu_la_SOURCES += realloc.c
477 ## end gnulib module realloc-posix
479 ## begin gnulib module setenv
482 EXTRA_DIST += setenv.c setenv.h unsetenv.c
484 EXTRA_libgnu_la_SOURCES += setenv.c unsetenv.c
486 ## end gnulib module setenv
488 ## begin gnulib module size_max
490 libgnu_la_SOURCES += size_max.h
492 ## end gnulib module size_max
494 ## begin gnulib module snprintf
497 EXTRA_DIST += snprintf.c
499 EXTRA_libgnu_la_SOURCES += snprintf.c
501 ## end gnulib module snprintf
503 ## begin gnulib module stdbool
505 BUILT_SOURCES += $(STDBOOL_H)
507 # We need the following in order to create <stdbool.h> when the system
508 # doesn't have one that works.
509 stdbool.h: stdbool_.h
511 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
512 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
515 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
517 EXTRA_DIST += stdbool_.h
519 ## end gnulib module stdbool
521 ## begin gnulib module stdint
523 BUILT_SOURCES += $(STDINT_H)
525 # We need the following in order to create <stdint.h> when the system
526 # doesn't have one that works with the given compiler.
529 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
530 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
531 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
532 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
533 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
534 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
535 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
536 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
537 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
538 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
539 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
540 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
541 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
542 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
543 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
544 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
545 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
546 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
547 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
548 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
549 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
550 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
551 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
552 < $(srcdir)/stdint_.h; \
555 MOSTLYCLEANFILES += stdint.h stdint.h-t
557 EXTRA_DIST += stdint_.h
559 ## end gnulib module stdint
561 ## begin gnulib module stdio
563 BUILT_SOURCES += stdio.h
565 # We need the following in order to create <stdio.h> when the system
566 # doesn't have one that works with the given compiler.
569 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
570 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
571 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
572 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
573 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
574 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
575 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
576 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
577 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
578 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
579 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
580 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
581 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
582 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
583 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
584 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
585 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
586 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
587 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
588 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
589 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
590 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
591 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
592 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
593 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
594 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
595 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
596 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
597 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
598 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
599 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
600 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
601 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
602 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
603 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
604 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
605 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
606 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
607 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
608 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
609 < $(srcdir)/stdio_.h; \
612 MOSTLYCLEANFILES += stdio.h stdio.h-t
614 EXTRA_DIST += stdio_.h
616 ## end gnulib module stdio
618 ## begin gnulib module stdlib
620 BUILT_SOURCES += stdlib.h
622 # We need the following in order to create <stdlib.h> when the system
623 # doesn't have one that works with the given compiler.
626 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
627 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
628 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
629 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
630 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
631 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
632 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
633 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
634 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
635 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
636 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
637 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
638 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
639 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
640 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
641 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
642 < $(srcdir)/stdlib_.h; \
645 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
647 EXTRA_DIST += stdlib_.h
649 ## end gnulib module stdlib
651 ## begin gnulib module strcase
654 EXTRA_DIST += strcasecmp.c strncasecmp.c
656 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
658 ## end gnulib module strcase
660 ## begin gnulib module strchrnul
663 EXTRA_DIST += strchrnul.c
665 EXTRA_libgnu_la_SOURCES += strchrnul.c
667 ## end gnulib module strchrnul
669 ## begin gnulib module strdup
672 EXTRA_DIST += strdup.c
674 EXTRA_libgnu_la_SOURCES += strdup.c
676 ## end gnulib module strdup
678 ## begin gnulib module string
680 BUILT_SOURCES += string.h
682 # We need the following in order to create <string.h> when the system
683 # doesn't have one that works with the given compiler.
686 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
687 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
688 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
689 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
690 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
691 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
692 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
693 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
694 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
695 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
696 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
697 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
698 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
699 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
700 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
701 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
702 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
703 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
704 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
705 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
706 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
707 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
708 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
709 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
710 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
711 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
712 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
713 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
714 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
715 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
716 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
717 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
718 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
719 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
720 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
721 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
722 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
723 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
724 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
725 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
726 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
727 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
728 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
729 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
730 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
731 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
732 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
733 < $(srcdir)/string_.h; \
736 MOSTLYCLEANFILES += string.h string.h-t
738 EXTRA_DIST += string_.h
740 ## end gnulib module string
742 ## begin gnulib module strndup
745 EXTRA_DIST += strndup.c
747 EXTRA_libgnu_la_SOURCES += strndup.c
749 ## end gnulib module strndup
751 ## begin gnulib module strnlen
754 EXTRA_DIST += strnlen.c
756 EXTRA_libgnu_la_SOURCES += strnlen.c
758 ## end gnulib module strnlen
760 ## begin gnulib module strtok_r
763 EXTRA_DIST += strtok_r.c
765 EXTRA_libgnu_la_SOURCES += strtok_r.c
767 ## end gnulib module strtok_r
769 ## begin gnulib module strverscmp
772 EXTRA_DIST += strverscmp.c strverscmp.h
774 EXTRA_libgnu_la_SOURCES += strverscmp.c
776 ## end gnulib module strverscmp
778 ## begin gnulib module sys_select
780 BUILT_SOURCES += $(SYS_SELECT_H)
782 # We need the following in order to create <sys/select.h> when the system
783 # doesn't have one that works with the given compiler.
787 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
788 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
789 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
790 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
791 < $(srcdir)/sys_select_.h; \
794 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
795 MOSTLYCLEANDIRS += sys
797 EXTRA_DIST += sys_select_.h
799 ## end gnulib module sys_select
801 ## begin gnulib module sys_socket
803 BUILT_SOURCES += $(SYS_SOCKET_H)
805 # We need the following in order to create <sys/socket.h> when the system
806 # doesn't have one that works with the given compiler.
807 sys/socket.h: sys_socket_.h
809 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
810 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
811 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
812 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
813 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
814 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
815 < $(srcdir)/sys_socket_.h; \
818 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
819 MOSTLYCLEANDIRS += sys
821 EXTRA_DIST += sys_socket_.h
823 ## end gnulib module sys_socket
825 ## begin gnulib module sys_stat
827 BUILT_SOURCES += $(SYS_STAT_H)
829 # We need the following in order to create <sys/stat.h> when the system
830 # has one that is incomplete.
831 sys/stat.h: sys_stat_.h
834 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
835 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
836 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
837 -e 's|@''HAVE_IO_H''@|$(HAVE_IO_H)|g' \
838 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
839 -e 's|@''HAVE_DECL_MKDIR''@|$(HAVE_DECL_MKDIR)|g' \
840 < $(srcdir)/sys_stat_.h; \
843 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
844 MOSTLYCLEANDIRS += sys
846 EXTRA_DIST += sys_stat_.h
848 ## end gnulib module sys_stat
850 ## begin gnulib module sys_time
852 BUILT_SOURCES += $(SYS_TIME_H)
854 # We need the following in order to create <sys/time.h> when the system
855 # doesn't have one that works with the given compiler.
856 sys/time.h: sys_time_.h
859 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
860 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
861 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
862 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
863 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
864 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
865 < $(srcdir)/sys_time_.h; \
868 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
870 EXTRA_DIST += sys_time_.h
872 ## end gnulib module sys_time
874 ## begin gnulib module time
876 BUILT_SOURCES += time.h
878 # We need the following in order to create <time.h> when the system
879 # doesn't have one that works with the given compiler.
882 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
883 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
884 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
885 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
886 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
887 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
888 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
889 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
890 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
891 < $(srcdir)/time_.h; \
894 MOSTLYCLEANFILES += time.h time.h-t
896 EXTRA_DIST += time_.h
898 ## end gnulib module time
900 ## begin gnulib module time_r
903 EXTRA_DIST += time_r.c
905 EXTRA_libgnu_la_SOURCES += time_r.c
907 ## end gnulib module time_r
909 ## begin gnulib module timegm
912 EXTRA_DIST += timegm.c
914 EXTRA_libgnu_la_SOURCES += timegm.c
916 ## end gnulib module timegm
918 ## begin gnulib module timespec
921 EXTRA_DIST += timespec.h
923 ## end gnulib module timespec
925 ## begin gnulib module unistd
927 BUILT_SOURCES += unistd.h
929 # We need the following in order to create an empty placeholder for
930 # <unistd.h> when the system doesn't have one.
933 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
934 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
935 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
936 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
937 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
938 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
939 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
940 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
941 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
942 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
943 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
944 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
945 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
946 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
947 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
948 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
949 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
950 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
951 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
952 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
953 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
954 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
955 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
956 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
957 < $(srcdir)/unistd_.h; \
960 MOSTLYCLEANFILES += unistd.h unistd.h-t
962 EXTRA_DIST += unistd_.h
964 ## end gnulib module unistd
966 ## begin gnulib module vasnprintf
969 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
971 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
973 ## end gnulib module vasnprintf
975 ## begin gnulib module vasprintf
978 EXTRA_DIST += asprintf.c vasprintf.c
980 EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
982 ## end gnulib module vasprintf
984 ## begin gnulib module verify
986 libgnu_la_SOURCES += verify.h
988 ## end gnulib module verify
990 ## begin gnulib module wchar
992 BUILT_SOURCES += $(WCHAR_H)
994 # We need the following in order to create <wchar.h> when the system
995 # version does not work standalone.
998 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
999 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
1000 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1001 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1002 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1003 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1004 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1005 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1006 < $(srcdir)/wchar_.h; \
1009 MOSTLYCLEANFILES += wchar.h wchar.h-t
1011 EXTRA_DIST += wchar_.h
1013 ## end gnulib module wchar
1015 ## begin gnulib module xalloc
1018 EXTRA_DIST += xalloc.h xmalloc.c
1020 EXTRA_libgnu_la_SOURCES += xmalloc.c
1022 ## end gnulib module xalloc
1024 ## begin gnulib module xgetdomainname
1026 libgnu_la_SOURCES += xgetdomainname.h xgetdomainname.c
1028 ## end gnulib module xgetdomainname
1030 ## begin gnulib module xgethostname
1032 libgnu_la_SOURCES += xgethostname.h xgethostname.c
1034 ## end gnulib module xgethostname
1036 ## begin gnulib module xreadlink
1038 libgnu_la_SOURCES += xreadlink.c
1040 EXTRA_DIST += xreadlink.h
1042 ## end gnulib module xreadlink
1044 ## begin gnulib module xsize
1046 libgnu_la_SOURCES += xsize.h
1048 ## end gnulib module xsize
1050 ## begin gnulib module xstrndup
1052 libgnu_la_SOURCES += xstrndup.h xstrndup.c
1054 ## end gnulib module xstrndup
1056 ## begin gnulib module xvasprintf
1058 libgnu_la_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
1060 EXTRA_DIST += xalloc.h
1062 ## end gnulib module xvasprintf
1065 mostlyclean-local: mostlyclean-generic
1066 @for dir in '' $(MOSTLYCLEANDIRS); do \
1067 if test -n "$$dir" && test -d $$dir; then \
1068 echo "rmdir $$dir"; rmdir $$dir; \