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=. --lib=libgnu --source-base=gnulib --m4-base=config/gnulib --doc-base=doc --aux-dir=config --libtool --macro-prefix=gl base64 fsusage full-read full-write getaddrinfo getopt lock mkdtemp physmem visibility
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 AM_CFLAGS = -Wno-error -Wno-sign-compare
33 noinst_LTLIBRARIES += libgnu.la
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
41 ## begin gnulib module absolute-header
43 # Use this preprocessor expression to decide whether #include_next works.
44 # Do not rely on a 'configure'-time test for this, since the expression
45 # might appear in an installed header, which is used by some other compiler.
46 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
48 ## end gnulib module absolute-header
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
57 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58 cat $(srcdir)/alloca.in.h; \
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end gnulib module alloca-opt
67 ## begin gnulib module arpa_inet
69 BUILT_SOURCES += $(ARPA_INET_H)
71 # We need the following in order to create <arpa/inet.h> when the system
76 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
77 echo '#include <sys/socket.h>'; \
80 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
81 MOSTLYCLEANDIRS += arpa
83 ## end gnulib module arpa_inet
85 ## begin gnulib module base64
87 libgnu_la_SOURCES += base64.h base64.c
89 ## end gnulib module base64
91 ## begin gnulib module float
93 BUILT_SOURCES += $(FLOAT_H)
95 # We need the following in order to create <float.h> when the system
96 # doesn't have one that works with the given compiler.
99 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
100 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
101 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
102 < $(srcdir)/float.in.h; \
105 MOSTLYCLEANFILES += float.h float.h-t
107 EXTRA_DIST += float.in.h
109 ## end gnulib module float
111 ## begin gnulib module fsusage
114 EXTRA_DIST += fsusage.c fsusage.h
116 EXTRA_libgnu_la_SOURCES += fsusage.c
118 ## end gnulib module fsusage
120 ## begin gnulib module full-read
122 libgnu_la_SOURCES += full-read.h full-read.c
124 ## end gnulib module full-read
126 ## begin gnulib module full-write
128 libgnu_la_SOURCES += full-write.h full-write.c
130 ## end gnulib module full-write
132 ## begin gnulib module getaddrinfo
135 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
137 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
139 ## end gnulib module getaddrinfo
141 ## begin gnulib module getopt
143 BUILT_SOURCES += $(GETOPT_H)
145 # We need the following in order to create <getopt.h> when the system
146 # doesn't have one that works with the given compiler.
147 getopt.h: getopt.in.h
148 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
149 cat $(srcdir)/getopt.in.h; \
152 MOSTLYCLEANFILES += getopt.h getopt.h-t
154 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
156 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
158 ## end gnulib module getopt
160 ## begin gnulib module gettext-h
162 libgnu_la_SOURCES += gettext.h
164 ## end gnulib module gettext-h
166 ## begin gnulib module gettimeofday
169 EXTRA_DIST += gettimeofday.c
171 EXTRA_libgnu_la_SOURCES += gettimeofday.c
173 ## end gnulib module gettimeofday
175 ## begin gnulib module havelib
178 EXTRA_DIST += $(top_srcdir)/config/config.rpath
180 ## end gnulib module havelib
182 ## begin gnulib module inet_ntop
185 EXTRA_DIST += inet_ntop.c inet_ntop.h
187 EXTRA_libgnu_la_SOURCES += inet_ntop.c
189 ## end gnulib module inet_ntop
191 ## begin gnulib module link-warning
193 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
195 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
197 ## end gnulib module link-warning
199 ## begin gnulib module lock
201 libgnu_la_SOURCES += lock.h lock.c
203 EXTRA_DIST += $(top_srcdir)/config/config.rpath
205 ## end gnulib module lock
207 ## begin gnulib module malloc-posix
210 EXTRA_DIST += malloc.c
212 EXTRA_libgnu_la_SOURCES += malloc.c
214 ## end gnulib module malloc-posix
216 ## begin gnulib module mkdtemp
219 EXTRA_DIST += mkdtemp.c
221 EXTRA_libgnu_la_SOURCES += mkdtemp.c
223 ## end gnulib module mkdtemp
225 ## begin gnulib module netinet_in
227 BUILT_SOURCES += $(NETINET_IN_H)
229 # We need the following in order to create <netinet/in.h> when the system
231 netinet/in.h: netinet_in.in.h
234 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
235 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
236 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
237 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
238 < $(srcdir)/netinet_in.in.h; \
241 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
242 MOSTLYCLEANDIRS += netinet
244 EXTRA_DIST += netinet_in.in.h
246 ## end gnulib module netinet_in
248 ## begin gnulib module physmem
251 EXTRA_DIST += physmem.c physmem.h
253 EXTRA_libgnu_la_SOURCES += physmem.c
255 ## end gnulib module physmem
257 ## begin gnulib module safe-read
260 EXTRA_DIST += safe-read.c safe-read.h
262 EXTRA_libgnu_la_SOURCES += safe-read.c
264 ## end gnulib module safe-read
266 ## begin gnulib module safe-write
269 EXTRA_DIST += safe-write.c safe-write.h
271 EXTRA_libgnu_la_SOURCES += safe-write.c
273 ## end gnulib module safe-write
275 ## begin gnulib module size_max
277 libgnu_la_SOURCES += size_max.h
279 ## end gnulib module size_max
281 ## begin gnulib module snprintf
284 EXTRA_DIST += snprintf.c
286 EXTRA_libgnu_la_SOURCES += snprintf.c
288 ## end gnulib module snprintf
290 ## begin gnulib module stdbool
292 BUILT_SOURCES += $(STDBOOL_H)
294 # We need the following in order to create <stdbool.h> when the system
295 # doesn't have one that works.
296 stdbool.h: stdbool.in.h
298 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
299 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
302 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
304 EXTRA_DIST += stdbool.in.h
306 ## end gnulib module stdbool
308 ## begin gnulib module stdint
310 BUILT_SOURCES += $(STDINT_H)
312 # We need the following in order to create <stdint.h> when the system
313 # doesn't have one that works with the given compiler.
314 stdint.h: stdint.in.h
316 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
317 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
318 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
319 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
320 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
321 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
322 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
323 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
324 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
325 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
326 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
327 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
328 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
329 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
330 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
331 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
332 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
333 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
334 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
335 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
336 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
337 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
338 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
339 < $(srcdir)/stdint.in.h; \
342 MOSTLYCLEANFILES += stdint.h stdint.h-t
344 EXTRA_DIST += stdint.in.h
346 ## end gnulib module stdint
348 ## begin gnulib module stdio
350 BUILT_SOURCES += stdio.h
352 # We need the following in order to create <stdio.h> when the system
353 # doesn't have one that works with the given compiler.
356 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
357 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
358 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
359 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
360 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
361 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
362 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
363 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
364 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
365 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
366 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
367 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
368 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
369 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
370 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
371 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
372 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
373 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
374 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
375 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
376 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
377 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
378 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
379 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
380 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
381 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
382 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
383 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
384 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
385 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
386 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
387 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
388 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
389 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
390 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
391 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
392 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
393 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
394 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
395 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
396 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
397 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
398 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
399 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
400 < $(srcdir)/stdio.in.h; \
403 MOSTLYCLEANFILES += stdio.h stdio.h-t
405 EXTRA_DIST += stdio.in.h
407 ## end gnulib module stdio
409 ## begin gnulib module stdlib
411 BUILT_SOURCES += stdlib.h
413 # We need the following in order to create <stdlib.h> when the system
414 # doesn't have one that works with the given compiler.
415 stdlib.h: stdlib.in.h
417 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
418 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
419 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
420 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
421 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
422 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
423 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
424 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
425 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
426 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
427 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
428 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
429 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
430 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
431 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
432 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
433 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
434 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
435 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
436 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
437 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
438 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
439 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
440 < $(srcdir)/stdlib.in.h; \
443 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
445 EXTRA_DIST += stdlib.in.h
447 ## end gnulib module stdlib
449 ## begin gnulib module strdup
452 EXTRA_DIST += strdup.c
454 EXTRA_libgnu_la_SOURCES += strdup.c
456 ## end gnulib module strdup
458 ## begin gnulib module string
460 BUILT_SOURCES += string.h
462 # We need the following in order to create <string.h> when the system
463 # doesn't have one that works with the given compiler.
464 string.h: string.in.h
466 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
467 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
468 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
469 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
470 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
471 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
472 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
473 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
474 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
475 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
476 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
477 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
478 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
479 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
480 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
481 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
482 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
483 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
484 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
485 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
486 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
487 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
488 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
489 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
490 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
491 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
492 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
493 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
494 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
495 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
496 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
497 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
498 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
499 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
500 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
501 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
502 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
503 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
504 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
505 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
506 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
507 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
508 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
509 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
510 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
511 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
512 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
513 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
514 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
515 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
516 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
517 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
518 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
519 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
520 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
521 < $(srcdir)/string.in.h; \
524 MOSTLYCLEANFILES += string.h string.h-t
526 EXTRA_DIST += string.in.h
528 ## end gnulib module string
530 ## begin gnulib module sys_socket
532 BUILT_SOURCES += $(SYS_SOCKET_H)
534 # We need the following in order to create <sys/socket.h> when the system
535 # doesn't have one that works with the given compiler.
536 sys/socket.h: sys_socket.in.h
538 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
539 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
540 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
541 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
542 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
543 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
544 < $(srcdir)/sys_socket.in.h; \
547 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
548 MOSTLYCLEANDIRS += sys
550 EXTRA_DIST += sys_socket.in.h
552 ## end gnulib module sys_socket
554 ## begin gnulib module sys_stat
556 BUILT_SOURCES += $(SYS_STAT_H)
558 # We need the following in order to create <sys/stat.h> when the system
559 # has one that is incomplete.
560 sys/stat.h: sys_stat.in.h
563 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
564 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
565 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
566 -e 's|@''HAVE_IO_H''@|$(HAVE_IO_H)|g' \
567 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
568 -e 's|@''HAVE_DECL_MKDIR''@|$(HAVE_DECL_MKDIR)|g' \
569 < $(srcdir)/sys_stat.in.h; \
572 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
573 MOSTLYCLEANDIRS += sys
575 EXTRA_DIST += sys_stat.in.h
577 ## end gnulib module sys_stat
579 ## begin gnulib module sys_time
581 BUILT_SOURCES += $(SYS_TIME_H)
583 # We need the following in order to create <sys/time.h> when the system
584 # doesn't have one that works with the given compiler.
585 sys/time.h: sys_time.in.h
588 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
589 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
590 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
591 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
592 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
593 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
594 < $(srcdir)/sys_time.in.h; \
597 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
599 EXTRA_DIST += sys_time.in.h
601 ## end gnulib module sys_time
603 ## begin gnulib module tempname
606 EXTRA_DIST += tempname.c tempname.h
608 EXTRA_libgnu_la_SOURCES += tempname.c
610 ## end gnulib module tempname
612 ## begin gnulib module unistd
614 BUILT_SOURCES += unistd.h
616 # We need the following in order to create an empty placeholder for
617 # <unistd.h> when the system doesn't have one.
618 unistd.h: unistd.in.h
620 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
621 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
622 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
623 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
624 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
625 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
626 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
627 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
628 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
629 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
630 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
631 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
632 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
633 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
634 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
635 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
636 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
637 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
638 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
639 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
640 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
641 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
642 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
643 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
644 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
645 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
646 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
647 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
648 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
649 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
650 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
651 < $(srcdir)/unistd.in.h; \
654 MOSTLYCLEANFILES += unistd.h unistd.h-t
656 EXTRA_DIST += unistd.in.h
658 ## end gnulib module unistd
660 ## begin gnulib module vasnprintf
663 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
665 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
667 ## end gnulib module vasnprintf
669 ## begin gnulib module wchar
671 BUILT_SOURCES += $(WCHAR_H)
673 # We need the following in order to create <wchar.h> when the system
674 # version does not work standalone.
677 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
678 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
679 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
680 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
681 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
682 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
683 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
684 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
685 < $(srcdir)/wchar.in.h; \
688 MOSTLYCLEANFILES += wchar.h wchar.h-t
690 EXTRA_DIST += wchar.in.h
692 ## end gnulib module wchar
694 ## begin gnulib module xsize
696 libgnu_la_SOURCES += xsize.h
698 ## end gnulib module xsize
701 mostlyclean-local: mostlyclean-generic
702 @for dir in '' $(MOSTLYCLEANDIRS); do \
703 if test -n "$$dir" && test -d $$dir; then \
704 echo "rmdir $$dir"; rmdir $$dir; \
709 # Make sure regenerate/* are in the distribution tarball
710 EXTRA_DIST += regenerate/getaddrinfo-cygwin.patch regenerate/no-error.patch regenerate/no-restrict.patch regenerate/regenerate