1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2008 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=lgl/override --lib=liblgnu --source-base=lgl --m4-base=lgl/m4 --doc-base=doc --aux-dir=build-aux --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files c-ctype crypto/gc crypto/gc-arcfour crypto/gc-arctwo crypto/gc-camellia crypto/gc-des crypto/gc-hmac-md5 crypto/gc-md2 crypto/gc-md4 crypto/gc-md5 crypto/gc-pbkdf2-sha1 crypto/gc-random crypto/gc-rijndael crypto/gc-sha1 fseeko func gettext memmem-simple memmove minmax read-file snprintf socklen stdint strcase strverscmp sys_socket sys_stat time_r unistd vasprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LTLIBRARIES += liblgnu.la
33 liblgnu_la_LIBADD = $(lgl_LTLIBOBJS)
34 liblgnu_la_DEPENDENCIES = $(lgl_LTLIBOBJS)
35 EXTRA_liblgnu_la_SOURCES =
36 liblgnu_la_LDFLAGS = $(AM_LDFLAGS)
38 ## begin gnulib module alloca-opt
40 BUILT_SOURCES += $(ALLOCA_H)
42 # We need the following in order to create <alloca.h> when the system
43 # doesn't have one that works with the given compiler.
45 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
46 cat $(srcdir)/alloca.in.h; \
49 MOSTLYCLEANFILES += alloca.h alloca.h-t
51 EXTRA_DIST += alloca.in.h
53 ## end gnulib module alloca-opt
55 ## begin gnulib module c-ctype
57 liblgnu_la_SOURCES += c-ctype.h c-ctype.c
59 ## end gnulib module c-ctype
61 ## begin gnulib module crypto/gc
64 liblgnu_la_LDFLAGS += $(LTLIBGCRYPT)
67 EXTRA_DIST += gc-gnulib.c gc-libgcrypt.c gc.h
69 EXTRA_liblgnu_la_SOURCES += gc-gnulib.c gc-libgcrypt.c
71 ## end gnulib module crypto/gc
73 ## begin gnulib module crypto/gc-arcfour
76 EXTRA_DIST += arcfour.c arcfour.h
78 EXTRA_liblgnu_la_SOURCES += arcfour.c
80 ## end gnulib module crypto/gc-arcfour
82 ## begin gnulib module crypto/gc-arctwo
85 EXTRA_DIST += arctwo.c arctwo.h
87 EXTRA_liblgnu_la_SOURCES += arctwo.c
89 ## end gnulib module crypto/gc-arctwo
91 ## begin gnulib module crypto/gc-des
94 EXTRA_DIST += des.c des.h
96 EXTRA_liblgnu_la_SOURCES += des.c
98 ## end gnulib module crypto/gc-des
100 ## begin gnulib module crypto/gc-hmac-md5
103 EXTRA_DIST += hmac-md5.c hmac.h md5.c md5.h memxor.c memxor.h
105 EXTRA_liblgnu_la_SOURCES += hmac-md5.c md5.c memxor.c
107 ## end gnulib module crypto/gc-hmac-md5
109 ## begin gnulib module crypto/gc-hmac-sha1
112 EXTRA_DIST += hmac-sha1.c hmac.h memxor.c memxor.h sha1.c sha1.h
114 EXTRA_liblgnu_la_SOURCES += hmac-sha1.c memxor.c sha1.c
116 ## end gnulib module crypto/gc-hmac-sha1
118 ## begin gnulib module crypto/gc-md4
121 EXTRA_DIST += md4.c md4.h
123 EXTRA_liblgnu_la_SOURCES += md4.c
125 ## end gnulib module crypto/gc-md4
127 ## begin gnulib module crypto/gc-md5
129 liblgnu_la_SOURCES += md5.h
133 EXTRA_liblgnu_la_SOURCES += md5.c
135 ## end gnulib module crypto/gc-md5
137 ## begin gnulib module crypto/gc-pbkdf2-sha1
140 EXTRA_DIST += gc-pbkdf2-sha1.c
142 EXTRA_liblgnu_la_SOURCES += gc-pbkdf2-sha1.c
144 ## end gnulib module crypto/gc-pbkdf2-sha1
146 ## begin gnulib module crypto/gc-rijndael
149 EXTRA_DIST += rijndael-alg-fst.c rijndael-alg-fst.h rijndael-api-fst.c rijndael-api-fst.h
151 EXTRA_liblgnu_la_SOURCES += rijndael-alg-fst.c rijndael-api-fst.c
153 ## end gnulib module crypto/gc-rijndael
155 ## begin gnulib module crypto/gc-sha1
158 EXTRA_DIST += sha1.c sha1.h
160 EXTRA_liblgnu_la_SOURCES += sha1.c
162 ## end gnulib module crypto/gc-sha1
164 ## begin gnulib module crypto/md2
167 EXTRA_DIST += md2.c md2.h
169 EXTRA_liblgnu_la_SOURCES += md2.c
171 ## end gnulib module crypto/md2
173 ## begin gnulib module float
175 BUILT_SOURCES += $(FLOAT_H)
177 # We need the following in order to create <float.h> when the system
178 # doesn't have one that works with the given compiler.
181 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
182 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
183 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
184 < $(srcdir)/float.in.h; \
187 MOSTLYCLEANFILES += float.h float.h-t
189 EXTRA_DIST += float.in.h
191 ## end gnulib module float
193 ## begin gnulib module fseeko
196 EXTRA_DIST += fseeko.c stdio-impl.h
198 EXTRA_liblgnu_la_SOURCES += fseeko.c
200 ## end gnulib module fseeko
202 ## begin gnulib module gettext
204 # This is for those projects which use "gettextize --intl" to put a source-code
205 # copy of libintl into their package. In such projects, every Makefile.am needs
206 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
207 # For the Makefile.ams in other directories it is the maintainer's
208 # responsibility; for the one from gnulib we do it here.
209 # This option has no effect when the user disables NLS (because then the intl
210 # directory contains no libintl.h file) or when the project does not use
211 # "gettextize --intl".
212 AM_CPPFLAGS += -I$(top_builddir)/intl
214 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
216 ## end gnulib module gettext
218 ## begin gnulib module gettext-h
220 liblgnu_la_SOURCES += gettext.h
222 ## end gnulib module gettext-h
224 ## begin gnulib module havelib
227 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
229 ## end gnulib module havelib
231 ## begin gnulib module link-warning
233 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
235 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
237 ## end gnulib module link-warning
239 ## begin gnulib module lseek
242 EXTRA_DIST += lseek.c
244 EXTRA_liblgnu_la_SOURCES += lseek.c
246 ## end gnulib module lseek
248 ## begin gnulib module memchr
251 EXTRA_DIST += memchr.c
253 EXTRA_liblgnu_la_SOURCES += memchr.c
255 ## end gnulib module memchr
257 ## begin gnulib module memcmp
260 EXTRA_DIST += memcmp.c
262 EXTRA_liblgnu_la_SOURCES += memcmp.c
264 ## end gnulib module memcmp
266 ## begin gnulib module memmem-simple
269 EXTRA_DIST += memmem.c str-two-way.h
271 EXTRA_liblgnu_la_SOURCES += memmem.c
273 ## end gnulib module memmem-simple
275 ## begin gnulib module memmove
278 EXTRA_DIST += memmove.c
280 EXTRA_liblgnu_la_SOURCES += memmove.c
282 ## end gnulib module memmove
284 ## begin gnulib module minmax
286 liblgnu_la_SOURCES += minmax.h
288 ## end gnulib module minmax
290 ## begin gnulib module read-file
293 EXTRA_DIST += read-file.c read-file.h
295 EXTRA_liblgnu_la_SOURCES += read-file.c
297 ## end gnulib module read-file
299 ## begin gnulib module realloc-posix
302 EXTRA_DIST += realloc.c
304 EXTRA_liblgnu_la_SOURCES += realloc.c
306 ## end gnulib module realloc-posix
308 ## begin gnulib module size_max
310 liblgnu_la_SOURCES += size_max.h
312 ## end gnulib module size_max
314 ## begin gnulib module snprintf
317 EXTRA_DIST += snprintf.c
319 EXTRA_liblgnu_la_SOURCES += snprintf.c
321 ## end gnulib module snprintf
323 ## begin gnulib module stdbool
325 BUILT_SOURCES += $(STDBOOL_H)
327 # We need the following in order to create <stdbool.h> when the system
328 # doesn't have one that works.
329 stdbool.h: stdbool.in.h
331 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
332 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
335 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
337 EXTRA_DIST += stdbool.in.h
339 ## end gnulib module stdbool
341 ## begin gnulib module stdint
343 BUILT_SOURCES += $(STDINT_H)
345 # We need the following in order to create <stdint.h> when the system
346 # doesn't have one that works with the given compiler.
347 stdint.h: stdint.in.h
349 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
350 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
351 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
352 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
353 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
354 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
355 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
356 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
357 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
358 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
359 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
360 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
361 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
362 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
363 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
364 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
365 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
366 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
367 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
368 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
369 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
370 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
371 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
372 < $(srcdir)/stdint.in.h; \
375 MOSTLYCLEANFILES += stdint.h stdint.h-t
377 EXTRA_DIST += stdint.in.h
379 ## end gnulib module stdint
381 ## begin gnulib module stdio
383 BUILT_SOURCES += stdio.h
385 # We need the following in order to create <stdio.h> when the system
386 # doesn't have one that works with the given compiler.
389 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
390 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
391 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
392 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
393 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
394 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
395 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
396 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
397 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
398 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
399 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
400 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
401 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
402 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
403 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
404 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
405 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
406 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
407 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
408 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
409 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
410 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
411 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
412 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
413 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
414 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
415 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
416 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
417 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
418 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
419 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
420 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
421 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
422 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
423 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
424 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
425 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
426 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
427 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
428 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
429 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
430 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
431 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
432 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
433 < $(srcdir)/stdio.in.h; \
436 MOSTLYCLEANFILES += stdio.h stdio.h-t
438 EXTRA_DIST += stdio.in.h
440 ## end gnulib module stdio
442 ## begin gnulib module stdlib
444 BUILT_SOURCES += stdlib.h
446 # We need the following in order to create <stdlib.h> when the system
447 # doesn't have one that works with the given compiler.
448 stdlib.h: stdlib.in.h
450 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
451 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
452 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
453 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
454 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
455 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
456 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
457 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
458 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
459 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
460 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
461 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
462 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
463 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
464 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
465 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
466 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
467 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
468 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
469 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
470 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
471 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
472 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
473 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
474 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
475 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
476 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
477 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
478 < $(srcdir)/stdlib.in.h; \
481 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
483 EXTRA_DIST += stdlib.in.h
485 ## end gnulib module stdlib
487 ## begin gnulib module strcase
490 EXTRA_DIST += strcasecmp.c strncasecmp.c
492 EXTRA_liblgnu_la_SOURCES += strcasecmp.c strncasecmp.c
494 ## end gnulib module strcase
496 ## begin gnulib module string
498 BUILT_SOURCES += string.h
500 # We need the following in order to create <string.h> when the system
501 # doesn't have one that works with the given compiler.
502 string.h: string.in.h
504 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
505 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
506 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
507 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
508 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
509 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
510 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
511 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
512 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
513 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
514 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
515 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
516 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
517 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
518 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
519 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
520 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
521 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
522 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
523 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
524 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
525 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
526 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
527 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
528 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
529 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
530 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
531 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
532 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
533 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
534 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
535 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
536 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
537 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
538 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
539 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
540 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
541 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
542 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
543 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
544 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
545 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
546 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
547 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
548 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
549 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
550 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
551 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
552 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
553 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
554 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
555 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
556 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
557 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
558 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
559 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
560 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
561 < $(srcdir)/string.in.h; \
564 MOSTLYCLEANFILES += string.h string.h-t
566 EXTRA_DIST += string.in.h
568 ## end gnulib module string
570 ## begin gnulib module strings
572 BUILT_SOURCES += strings.h
574 # We need the following in order to create <strings.h> when the system
575 # doesn't have one that works with the given compiler.
576 strings.h: strings.in.h
578 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
579 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
580 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
581 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
582 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
583 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
584 < $(srcdir)/strings.in.h; \
587 MOSTLYCLEANFILES += strings.h strings.h-t
589 EXTRA_DIST += strings.in.h
591 ## end gnulib module strings
593 ## begin gnulib module strverscmp
596 EXTRA_DIST += strverscmp.c strverscmp.h
598 EXTRA_liblgnu_la_SOURCES += strverscmp.c
600 ## end gnulib module strverscmp
602 ## begin gnulib module sys_socket
604 BUILT_SOURCES += $(SYS_SOCKET_H)
606 # We need the following in order to create <sys/socket.h> when the system
607 # doesn't have one that works with the given compiler.
608 sys/socket.h: sys_socket.in.h
610 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
611 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
612 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
613 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
614 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
615 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
616 < $(srcdir)/sys_socket.in.h; \
619 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
620 MOSTLYCLEANDIRS += sys
622 EXTRA_DIST += sys_socket.in.h
624 ## end gnulib module sys_socket
626 ## begin gnulib module sys_stat
628 BUILT_SOURCES += $(SYS_STAT_H)
630 # We need the following in order to create <sys/stat.h> when the system
631 # has one that is incomplete.
632 sys/stat.h: sys_stat.in.h
635 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
636 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
637 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
638 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
639 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
640 < $(srcdir)/sys_stat.in.h; \
643 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
644 MOSTLYCLEANDIRS += sys
646 EXTRA_DIST += sys_stat.in.h
648 ## end gnulib module sys_stat
650 ## begin gnulib module time
652 BUILT_SOURCES += time.h
654 # We need the following in order to create <time.h> when the system
655 # doesn't have one that works with the given compiler.
658 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
659 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
660 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
661 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
662 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
663 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
664 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
665 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
666 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
667 < $(srcdir)/time.in.h; \
670 MOSTLYCLEANFILES += time.h time.h-t
672 EXTRA_DIST += time.in.h
674 ## end gnulib module time
676 ## begin gnulib module time_r
679 EXTRA_DIST += time_r.c
681 EXTRA_liblgnu_la_SOURCES += time_r.c
683 ## end gnulib module time_r
685 ## begin gnulib module unistd
687 BUILT_SOURCES += unistd.h
689 # We need the following in order to create an empty placeholder for
690 # <unistd.h> when the system doesn't have one.
691 unistd.h: unistd.in.h
693 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
694 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
695 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
696 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
697 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
698 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
699 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
700 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
701 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
702 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
703 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
704 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
705 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
706 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
707 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
708 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
709 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
710 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
711 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
712 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
713 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
714 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
715 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
716 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
717 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
718 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
719 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
720 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
721 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
722 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
723 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
724 < $(srcdir)/unistd.in.h; \
727 MOSTLYCLEANFILES += unistd.h unistd.h-t
729 EXTRA_DIST += unistd.in.h
731 ## end gnulib module unistd
733 ## begin gnulib module vasnprintf
736 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
738 EXTRA_liblgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
740 ## end gnulib module vasnprintf
742 ## begin gnulib module vasprintf
745 EXTRA_DIST += asprintf.c vasprintf.c
747 EXTRA_liblgnu_la_SOURCES += asprintf.c vasprintf.c
749 ## end gnulib module vasprintf
751 ## begin gnulib module wchar
753 BUILT_SOURCES += $(WCHAR_H)
755 # We need the following in order to create <wchar.h> when the system
756 # version does not work standalone.
759 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
760 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
761 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
762 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
763 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
764 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
765 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
766 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
767 < $(srcdir)/wchar.in.h; \
770 MOSTLYCLEANFILES += wchar.h wchar.h-t
772 EXTRA_DIST += wchar.in.h
774 ## end gnulib module wchar
776 ## begin gnulib module xsize
778 liblgnu_la_SOURCES += xsize.h
780 ## end gnulib module xsize
783 mostlyclean-local: mostlyclean-generic
784 @for dir in '' $(MOSTLYCLEANDIRS); do \
785 if test -n "$$dir" && test -d $$dir; then \
786 echo "rmdir $$dir"; rmdir $$dir; \