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 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 func gettext memmem-simple memmove minmax read-file snprintf socklen stdint 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 crypto/gc
58 liblgnu_la_LDFLAGS += $(LTLIBGCRYPT)
61 EXTRA_DIST += gc-gnulib.c gc-libgcrypt.c gc.h
63 EXTRA_liblgnu_la_SOURCES += gc-gnulib.c gc-libgcrypt.c
65 ## end gnulib module crypto/gc
67 ## begin gnulib module crypto/gc-arcfour
70 EXTRA_DIST += arcfour.c arcfour.h
72 EXTRA_liblgnu_la_SOURCES += arcfour.c
74 ## end gnulib module crypto/gc-arcfour
76 ## begin gnulib module crypto/gc-arctwo
79 EXTRA_DIST += arctwo.c arctwo.h
81 EXTRA_liblgnu_la_SOURCES += arctwo.c
83 ## end gnulib module crypto/gc-arctwo
85 ## begin gnulib module crypto/gc-des
88 EXTRA_DIST += des.c des.h
90 EXTRA_liblgnu_la_SOURCES += des.c
92 ## end gnulib module crypto/gc-des
94 ## begin gnulib module crypto/gc-hmac-md5
97 EXTRA_DIST += hmac-md5.c hmac.h md5.c md5.h memxor.c memxor.h
99 EXTRA_liblgnu_la_SOURCES += hmac-md5.c md5.c memxor.c
101 ## end gnulib module crypto/gc-hmac-md5
103 ## begin gnulib module crypto/gc-hmac-sha1
106 EXTRA_DIST += hmac-sha1.c hmac.h memxor.c memxor.h sha1.c sha1.h
108 EXTRA_liblgnu_la_SOURCES += hmac-sha1.c memxor.c sha1.c
110 ## end gnulib module crypto/gc-hmac-sha1
112 ## begin gnulib module crypto/gc-md4
115 EXTRA_DIST += md4.c md4.h
117 EXTRA_liblgnu_la_SOURCES += md4.c
119 ## end gnulib module crypto/gc-md4
121 ## begin gnulib module crypto/gc-md5
123 liblgnu_la_SOURCES += md5.h
127 EXTRA_liblgnu_la_SOURCES += md5.c
129 ## end gnulib module crypto/gc-md5
131 ## begin gnulib module crypto/gc-pbkdf2-sha1
134 EXTRA_DIST += gc-pbkdf2-sha1.c
136 EXTRA_liblgnu_la_SOURCES += gc-pbkdf2-sha1.c
138 ## end gnulib module crypto/gc-pbkdf2-sha1
140 ## begin gnulib module crypto/gc-rijndael
143 EXTRA_DIST += rijndael-alg-fst.c rijndael-alg-fst.h rijndael-api-fst.c rijndael-api-fst.h
145 EXTRA_liblgnu_la_SOURCES += rijndael-alg-fst.c rijndael-api-fst.c
147 ## end gnulib module crypto/gc-rijndael
149 ## begin gnulib module crypto/gc-sha1
152 EXTRA_DIST += sha1.c sha1.h
154 EXTRA_liblgnu_la_SOURCES += sha1.c
156 ## end gnulib module crypto/gc-sha1
158 ## begin gnulib module crypto/md2
161 EXTRA_DIST += md2.c md2.h
163 EXTRA_liblgnu_la_SOURCES += md2.c
165 ## end gnulib module crypto/md2
167 ## begin gnulib module float
169 BUILT_SOURCES += $(FLOAT_H)
171 # We need the following in order to create <float.h> when the system
172 # doesn't have one that works with the given compiler.
175 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
176 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
177 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
178 < $(srcdir)/float.in.h; \
181 MOSTLYCLEANFILES += float.h float.h-t
183 EXTRA_DIST += float.in.h
185 ## end gnulib module float
187 ## begin gnulib module gettext
189 # This is for those projects which use "gettextize --intl" to put a source-code
190 # copy of libintl into their package. In such projects, every Makefile.am needs
191 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
192 # For the Makefile.ams in other directories it is the maintainer's
193 # responsibility; for the one from gnulib we do it here.
194 # This option has no effect when the user disables NLS (because then the intl
195 # directory contains no libintl.h file) or when the project does not use
196 # "gettextize --intl".
197 AM_CPPFLAGS += -I$(top_builddir)/intl
199 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
201 ## end gnulib module gettext
203 ## begin gnulib module gettext-h
205 liblgnu_la_SOURCES += gettext.h
207 ## end gnulib module gettext-h
209 ## begin gnulib module havelib
212 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
214 ## end gnulib module havelib
216 ## begin gnulib module link-warning
218 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
220 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
222 ## end gnulib module link-warning
224 ## begin gnulib module memchr
227 EXTRA_DIST += memchr.c
229 EXTRA_liblgnu_la_SOURCES += memchr.c
231 ## end gnulib module memchr
233 ## begin gnulib module memcmp
236 EXTRA_DIST += memcmp.c
238 EXTRA_liblgnu_la_SOURCES += memcmp.c
240 ## end gnulib module memcmp
242 ## begin gnulib module memmem-simple
245 EXTRA_DIST += memmem.c str-two-way.h
247 EXTRA_liblgnu_la_SOURCES += memmem.c
249 ## end gnulib module memmem-simple
251 ## begin gnulib module memmove
254 EXTRA_DIST += memmove.c
256 EXTRA_liblgnu_la_SOURCES += memmove.c
258 ## end gnulib module memmove
260 ## begin gnulib module minmax
262 liblgnu_la_SOURCES += minmax.h
264 ## end gnulib module minmax
266 ## begin gnulib module read-file
269 EXTRA_DIST += read-file.c read-file.h
271 EXTRA_liblgnu_la_SOURCES += read-file.c
273 ## end gnulib module read-file
275 ## begin gnulib module realloc-posix
278 EXTRA_DIST += realloc.c
280 EXTRA_liblgnu_la_SOURCES += realloc.c
282 ## end gnulib module realloc-posix
284 ## begin gnulib module size_max
286 liblgnu_la_SOURCES += size_max.h
288 ## end gnulib module size_max
290 ## begin gnulib module snprintf
293 EXTRA_DIST += snprintf.c
295 EXTRA_liblgnu_la_SOURCES += snprintf.c
297 ## end gnulib module snprintf
299 ## begin gnulib module stdbool
301 BUILT_SOURCES += $(STDBOOL_H)
303 # We need the following in order to create <stdbool.h> when the system
304 # doesn't have one that works.
305 stdbool.h: stdbool.in.h
307 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
308 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
311 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
313 EXTRA_DIST += stdbool.in.h
315 ## end gnulib module stdbool
317 ## begin gnulib module stdint
319 BUILT_SOURCES += $(STDINT_H)
321 # We need the following in order to create <stdint.h> when the system
322 # doesn't have one that works with the given compiler.
323 stdint.h: stdint.in.h
325 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
326 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
327 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
328 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
329 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
330 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
331 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
332 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
333 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
334 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
335 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
336 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
337 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
338 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
339 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
340 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
341 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
342 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
343 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
344 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
345 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
346 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
347 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
348 < $(srcdir)/stdint.in.h; \
351 MOSTLYCLEANFILES += stdint.h stdint.h-t
353 EXTRA_DIST += stdint.in.h
355 ## end gnulib module stdint
357 ## begin gnulib module stdio
359 BUILT_SOURCES += stdio.h
361 # We need the following in order to create <stdio.h> when the system
362 # doesn't have one that works with the given compiler.
365 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
366 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
367 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
368 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
369 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
370 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
371 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
372 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
373 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
374 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
375 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
376 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
377 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
378 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
379 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
380 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
381 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
382 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
383 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
384 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
385 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
386 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
387 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
388 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
389 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
390 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
391 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
392 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
393 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
394 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
395 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
396 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
397 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
398 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
399 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
400 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
401 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
402 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
403 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
404 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
405 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
406 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
407 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
408 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
409 < $(srcdir)/stdio.in.h; \
412 MOSTLYCLEANFILES += stdio.h stdio.h-t
414 EXTRA_DIST += stdio.in.h
416 ## end gnulib module stdio
418 ## begin gnulib module stdlib
420 BUILT_SOURCES += stdlib.h
422 # We need the following in order to create <stdlib.h> when the system
423 # doesn't have one that works with the given compiler.
424 stdlib.h: stdlib.in.h
426 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
427 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
428 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
429 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
430 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
431 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
432 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
433 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
434 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
435 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
436 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
437 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
438 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
439 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
440 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
441 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
442 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
443 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
444 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
445 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
446 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
447 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
448 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
449 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
450 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
451 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
452 < $(srcdir)/stdlib.in.h; \
455 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
457 EXTRA_DIST += stdlib.in.h
459 ## end gnulib module stdlib
461 ## begin gnulib module string
463 BUILT_SOURCES += string.h
465 # We need the following in order to create <string.h> when the system
466 # doesn't have one that works with the given compiler.
467 string.h: string.in.h
469 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
470 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
471 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
472 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
473 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
474 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
475 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
476 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
477 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
478 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
479 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
480 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
481 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
482 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
483 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
484 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
485 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
486 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
487 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
488 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
489 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
490 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
491 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
492 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
493 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
494 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
495 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
496 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
497 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
498 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
499 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
500 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
501 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
502 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
503 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
504 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
505 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
506 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
507 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
508 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
509 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
510 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
511 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
512 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
513 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
514 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
515 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
516 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
517 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
518 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
519 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
520 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
521 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
522 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
523 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
524 < $(srcdir)/string.in.h; \
527 MOSTLYCLEANFILES += string.h string.h-t
529 EXTRA_DIST += string.in.h
531 ## end gnulib module string
533 ## begin gnulib module strverscmp
536 EXTRA_DIST += strverscmp.c strverscmp.h
538 EXTRA_liblgnu_la_SOURCES += strverscmp.c
540 ## end gnulib module strverscmp
542 ## begin gnulib module sys_socket
544 BUILT_SOURCES += $(SYS_SOCKET_H)
546 # We need the following in order to create <sys/socket.h> when the system
547 # doesn't have one that works with the given compiler.
548 sys/socket.h: sys_socket.in.h
550 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
551 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
552 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
553 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
554 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
555 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
556 < $(srcdir)/sys_socket.in.h; \
559 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
560 MOSTLYCLEANDIRS += sys
562 EXTRA_DIST += sys_socket.in.h
564 ## end gnulib module sys_socket
566 ## begin gnulib module sys_stat
568 BUILT_SOURCES += $(SYS_STAT_H)
570 # We need the following in order to create <sys/stat.h> when the system
571 # has one that is incomplete.
572 sys/stat.h: sys_stat.in.h
575 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
576 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
577 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
578 -e 's|@''HAVE_IO_H''@|$(HAVE_IO_H)|g' \
579 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
580 -e 's|@''HAVE_DECL_MKDIR''@|$(HAVE_DECL_MKDIR)|g' \
581 < $(srcdir)/sys_stat.in.h; \
584 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
585 MOSTLYCLEANDIRS += sys
587 EXTRA_DIST += sys_stat.in.h
589 ## end gnulib module sys_stat
591 ## begin gnulib module time
593 BUILT_SOURCES += time.h
595 # We need the following in order to create <time.h> when the system
596 # doesn't have one that works with the given compiler.
599 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
600 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
601 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
602 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
603 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
604 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
605 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
606 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
607 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
608 < $(srcdir)/time.in.h; \
611 MOSTLYCLEANFILES += time.h time.h-t
613 EXTRA_DIST += time.in.h
615 ## end gnulib module time
617 ## begin gnulib module time_r
620 EXTRA_DIST += time_r.c
622 EXTRA_liblgnu_la_SOURCES += time_r.c
624 ## end gnulib module time_r
626 ## begin gnulib module unistd
628 BUILT_SOURCES += unistd.h
630 # We need the following in order to create an empty placeholder for
631 # <unistd.h> when the system doesn't have one.
632 unistd.h: unistd.in.h
634 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
635 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
636 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
637 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
638 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
639 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
640 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
641 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
642 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
643 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
644 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
645 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
646 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
647 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
648 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
649 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
650 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
651 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
652 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
653 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
654 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
655 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
656 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
657 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
658 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
659 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
660 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
661 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
662 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
663 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
664 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
665 < $(srcdir)/unistd.in.h; \
668 MOSTLYCLEANFILES += unistd.h unistd.h-t
670 EXTRA_DIST += unistd.in.h
672 ## end gnulib module unistd
674 ## begin gnulib module vasnprintf
677 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
679 EXTRA_liblgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
681 ## end gnulib module vasnprintf
683 ## begin gnulib module vasprintf
686 EXTRA_DIST += asprintf.c vasprintf.c
688 EXTRA_liblgnu_la_SOURCES += asprintf.c vasprintf.c
690 ## end gnulib module vasprintf
692 ## begin gnulib module wchar
694 BUILT_SOURCES += $(WCHAR_H)
696 # We need the following in order to create <wchar.h> when the system
697 # version does not work standalone.
700 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
701 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
702 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
703 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
704 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
705 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
706 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
707 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
708 < $(srcdir)/wchar.in.h; \
711 MOSTLYCLEANFILES += wchar.h wchar.h-t
713 EXTRA_DIST += wchar.in.h
715 ## end gnulib module wchar
717 ## begin gnulib module xsize
719 liblgnu_la_SOURCES += xsize.h
721 ## end gnulib module xsize
723 ## begin gnulib module dummy
725 liblgnu_la_SOURCES += dummy.c
727 ## end gnulib module dummy
730 mostlyclean-local: mostlyclean-generic
731 @for dir in '' $(MOSTLYCLEANDIRS); do \
732 if test -n "$$dir" && test -d $$dir; then \
733 echo "rmdir $$dir"; rmdir $$dir; \