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 getaddrinfo 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_.h; \
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca_.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_.h; \
105 MOSTLYCLEANFILES += float.h float.h-t
107 EXTRA_DIST += float_.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 gettext-h
143 libgnu_la_SOURCES += gettext.h
145 ## end gnulib module gettext-h
147 ## begin gnulib module gettimeofday
150 EXTRA_DIST += gettimeofday.c
152 EXTRA_libgnu_la_SOURCES += gettimeofday.c
154 ## end gnulib module gettimeofday
156 ## begin gnulib module havelib
159 EXTRA_DIST += $(top_srcdir)/config/config.rpath
161 ## end gnulib module havelib
163 ## begin gnulib module inet_ntop
166 EXTRA_DIST += inet_ntop.c inet_ntop.h
168 EXTRA_libgnu_la_SOURCES += inet_ntop.c
170 ## end gnulib module inet_ntop
172 ## begin gnulib module link-warning
174 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
176 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
178 ## end gnulib module link-warning
180 ## begin gnulib module lock
182 libgnu_la_SOURCES += lock.h lock.c
184 EXTRA_DIST += $(top_srcdir)/config/config.rpath
186 ## end gnulib module lock
188 ## begin gnulib module malloc-posix
191 EXTRA_DIST += malloc.c
193 EXTRA_libgnu_la_SOURCES += malloc.c
195 ## end gnulib module malloc-posix
197 ## begin gnulib module mkdtemp
200 EXTRA_DIST += mkdtemp.c
202 EXTRA_libgnu_la_SOURCES += mkdtemp.c
204 ## end gnulib module mkdtemp
206 ## begin gnulib module netinet_in
208 BUILT_SOURCES += $(NETINET_IN_H)
210 # We need the following in order to create <netinet/in.h> when the system
215 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
216 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
217 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
218 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
219 < $(srcdir)/netinet_in_.h; \
222 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
223 MOSTLYCLEANDIRS += netinet
225 EXTRA_DIST += netinet_in_.h
227 ## end gnulib module netinet_in
229 ## begin gnulib module physmem
232 EXTRA_DIST += physmem.c physmem.h
234 EXTRA_libgnu_la_SOURCES += physmem.c
236 ## end gnulib module physmem
238 ## begin gnulib module safe-read
241 EXTRA_DIST += safe-read.c safe-read.h
243 EXTRA_libgnu_la_SOURCES += safe-read.c
245 ## end gnulib module safe-read
247 ## begin gnulib module safe-write
250 EXTRA_DIST += safe-write.c safe-write.h
252 EXTRA_libgnu_la_SOURCES += safe-write.c
254 ## end gnulib module safe-write
256 ## begin gnulib module size_max
258 libgnu_la_SOURCES += size_max.h
260 ## end gnulib module size_max
262 ## begin gnulib module snprintf
265 EXTRA_DIST += snprintf.c
267 EXTRA_libgnu_la_SOURCES += snprintf.c
269 ## end gnulib module snprintf
271 ## begin gnulib module stdbool
273 BUILT_SOURCES += $(STDBOOL_H)
275 # We need the following in order to create <stdbool.h> when the system
276 # doesn't have one that works.
277 stdbool.h: stdbool_.h
279 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
280 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
283 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
285 EXTRA_DIST += stdbool_.h
287 ## end gnulib module stdbool
289 ## begin gnulib module stdint
291 BUILT_SOURCES += $(STDINT_H)
293 # We need the following in order to create <stdint.h> when the system
294 # doesn't have one that works with the given compiler.
297 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
298 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
299 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
300 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
301 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
302 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
303 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
304 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
305 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
306 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
307 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
308 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
309 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
310 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
311 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
312 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
313 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
314 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
315 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
316 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
317 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
318 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
319 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
320 < $(srcdir)/stdint_.h; \
323 MOSTLYCLEANFILES += stdint.h stdint.h-t
325 EXTRA_DIST += stdint_.h
327 ## end gnulib module stdint
329 ## begin gnulib module stdio
331 BUILT_SOURCES += stdio.h
333 # We need the following in order to create <stdio.h> when the system
334 # doesn't have one that works with the given compiler.
337 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
338 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
339 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
340 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
341 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
342 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
343 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
344 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
345 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
346 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
347 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
348 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
349 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
350 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
351 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
352 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
353 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
354 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
355 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
356 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
357 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
358 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
359 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
360 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
361 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
362 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
363 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
364 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
365 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
366 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
367 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
368 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
369 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
370 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
371 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
372 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
373 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
374 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
375 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
376 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
377 < $(srcdir)/stdio_.h; \
380 MOSTLYCLEANFILES += stdio.h stdio.h-t
382 EXTRA_DIST += stdio_.h
384 ## end gnulib module stdio
386 ## begin gnulib module stdlib
388 BUILT_SOURCES += stdlib.h
390 # We need the following in order to create <stdlib.h> when the system
391 # doesn't have one that works with the given compiler.
394 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
395 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
396 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
397 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
398 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
399 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
400 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
401 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
402 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
403 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
404 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
405 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
406 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
407 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
408 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
409 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
410 < $(srcdir)/stdlib_.h; \
413 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
415 EXTRA_DIST += stdlib_.h
417 ## end gnulib module stdlib
419 ## begin gnulib module strdup
422 EXTRA_DIST += strdup.c
424 EXTRA_libgnu_la_SOURCES += strdup.c
426 ## end gnulib module strdup
428 ## begin gnulib module string
430 BUILT_SOURCES += string.h
432 # We need the following in order to create <string.h> when the system
433 # doesn't have one that works with the given compiler.
436 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
437 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
438 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
439 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
440 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
441 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
442 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
443 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
444 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
445 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
446 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
447 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
448 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
449 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
450 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
451 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
452 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
453 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
454 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
455 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
456 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
457 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
458 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
459 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
460 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
461 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
462 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
463 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
464 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
465 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
466 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
467 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
468 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
469 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
470 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
471 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
472 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
473 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
474 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
475 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
476 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
477 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
478 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
479 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
480 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
481 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
482 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
483 < $(srcdir)/string_.h; \
486 MOSTLYCLEANFILES += string.h string.h-t
488 EXTRA_DIST += string_.h
490 ## end gnulib module string
492 ## begin gnulib module sys_socket
494 BUILT_SOURCES += $(SYS_SOCKET_H)
496 # We need the following in order to create <sys/socket.h> when the system
497 # doesn't have one that works with the given compiler.
498 sys/socket.h: sys_socket_.h
500 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
501 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
502 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
503 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
504 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
505 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
506 < $(srcdir)/sys_socket_.h; \
509 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
510 MOSTLYCLEANDIRS += sys
512 EXTRA_DIST += sys_socket_.h
514 ## end gnulib module sys_socket
516 ## begin gnulib module sys_stat
518 BUILT_SOURCES += $(SYS_STAT_H)
520 # We need the following in order to create <sys/stat.h> when the system
521 # has one that is incomplete.
522 sys/stat.h: sys_stat_.h
525 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
526 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
527 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
528 -e 's|@''HAVE_IO_H''@|$(HAVE_IO_H)|g' \
529 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
530 -e 's|@''HAVE_DECL_MKDIR''@|$(HAVE_DECL_MKDIR)|g' \
531 < $(srcdir)/sys_stat_.h; \
534 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
535 MOSTLYCLEANDIRS += sys
537 EXTRA_DIST += sys_stat_.h
539 ## end gnulib module sys_stat
541 ## begin gnulib module sys_time
543 BUILT_SOURCES += $(SYS_TIME_H)
545 # We need the following in order to create <sys/time.h> when the system
546 # doesn't have one that works with the given compiler.
547 sys/time.h: sys_time_.h
550 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
551 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
552 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
553 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
554 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
555 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
556 < $(srcdir)/sys_time_.h; \
559 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
561 EXTRA_DIST += sys_time_.h
563 ## end gnulib module sys_time
565 ## begin gnulib module tempname
568 EXTRA_DIST += tempname.c tempname.h
570 EXTRA_libgnu_la_SOURCES += tempname.c
572 ## end gnulib module tempname
574 ## begin gnulib module unistd
576 BUILT_SOURCES += unistd.h
578 # We need the following in order to create an empty placeholder for
579 # <unistd.h> when the system doesn't have one.
582 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
583 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
584 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
585 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
586 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
587 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
588 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
589 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
590 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
591 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
592 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
593 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
594 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
595 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
596 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
597 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
598 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
599 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
600 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
601 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
602 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
603 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
604 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
605 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
606 < $(srcdir)/unistd_.h; \
609 MOSTLYCLEANFILES += unistd.h unistd.h-t
611 EXTRA_DIST += unistd_.h
613 ## end gnulib module unistd
615 ## begin gnulib module vasnprintf
618 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
620 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
622 ## end gnulib module vasnprintf
624 ## begin gnulib module wchar
626 BUILT_SOURCES += $(WCHAR_H)
628 # We need the following in order to create <wchar.h> when the system
629 # version does not work standalone.
632 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
633 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
634 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
635 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
636 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
637 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
638 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
639 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
640 < $(srcdir)/wchar_.h; \
643 MOSTLYCLEANFILES += wchar.h wchar.h-t
645 EXTRA_DIST += wchar_.h
647 ## end gnulib module wchar
649 ## begin gnulib module xsize
651 libgnu_la_SOURCES += xsize.h
653 ## end gnulib module xsize
656 mostlyclean-local: mostlyclean-generic
657 @for dir in '' $(MOSTLYCLEANDIRS); do \
658 if test -n "$$dir" && test -d $$dir; then \
659 echo "rmdir $$dir"; rmdir $$dir; \
664 # Make sure regenerate/* are in the distribution tarball
665 EXTRA_DIST += regenerate/getaddrinfo-cygwin.patch regenerate/no-error.patch regenerate/regenerate