78cdadfdc373e0ef2dbc5a8a35b20dff052f595d
[debian/amanda] / gnulib / Makefile.am
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.
4 #
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.
10 #
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
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
27
28 AM_CPPFLAGS =
29 if GCC_COMPILER
30   AM_CFLAGS = -Wno-error -Wno-sign-compare
31 endif
32
33 noinst_LTLIBRARIES += libgnu.la
34
35 libgnu_la_SOURCES =
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
40
41 ## begin gnulib module absolute-header
42
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)
47
48 ## end   gnulib module absolute-header
49
50 ## begin gnulib module alloca-opt
51
52 BUILT_SOURCES += $(ALLOCA_H)
53
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.
56 alloca.h: alloca_.h
57         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58           cat $(srcdir)/alloca_.h; \
59         } > $@-t
60         mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
62
63 EXTRA_DIST += alloca_.h
64
65 ## end   gnulib module alloca-opt
66
67 ## begin gnulib module arpa_inet
68
69 BUILT_SOURCES += $(ARPA_INET_H)
70
71 # We need the following in order to create <arpa/inet.h> when the system
72 # doesn't have one.
73 arpa/inet.h:
74         @MKDIR_P@ arpa
75         rm -f $@-t $@
76         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
77           echo '#include <sys/socket.h>'; \
78         } > $@-t
79         mv $@-t $@
80 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
81 MOSTLYCLEANDIRS += arpa
82
83 ## end   gnulib module arpa_inet
84
85 ## begin gnulib module base64
86
87 libgnu_la_SOURCES += base64.h base64.c
88
89 ## end   gnulib module base64
90
91 ## begin gnulib module float
92
93 BUILT_SOURCES += $(FLOAT_H)
94
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.
97 float.h: float_.h
98         rm -f $@-t $@
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; \
103         } > $@-t
104         mv $@-t $@
105 MOSTLYCLEANFILES += float.h float.h-t
106
107 EXTRA_DIST += float_.h
108
109 ## end   gnulib module float
110
111 ## begin gnulib module fsusage
112
113
114 EXTRA_DIST += fsusage.c fsusage.h
115
116 EXTRA_libgnu_la_SOURCES += fsusage.c
117
118 ## end   gnulib module fsusage
119
120 ## begin gnulib module full-read
121
122 libgnu_la_SOURCES += full-read.h full-read.c
123
124 ## end   gnulib module full-read
125
126 ## begin gnulib module full-write
127
128 libgnu_la_SOURCES += full-write.h full-write.c
129
130 ## end   gnulib module full-write
131
132 ## begin gnulib module getaddrinfo
133
134
135 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
136
137 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
138
139 ## end   gnulib module getaddrinfo
140
141 ## begin gnulib module gettext-h
142
143 libgnu_la_SOURCES += gettext.h
144
145 ## end   gnulib module gettext-h
146
147 ## begin gnulib module gettimeofday
148
149
150 EXTRA_DIST += gettimeofday.c
151
152 EXTRA_libgnu_la_SOURCES += gettimeofday.c
153
154 ## end   gnulib module gettimeofday
155
156 ## begin gnulib module havelib
157
158
159 EXTRA_DIST += $(top_srcdir)/config/config.rpath
160
161 ## end   gnulib module havelib
162
163 ## begin gnulib module inet_ntop
164
165
166 EXTRA_DIST += inet_ntop.c inet_ntop.h
167
168 EXTRA_libgnu_la_SOURCES += inet_ntop.c
169
170 ## end   gnulib module inet_ntop
171
172 ## begin gnulib module link-warning
173
174 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
175
176 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
177
178 ## end   gnulib module link-warning
179
180 ## begin gnulib module lock
181
182 libgnu_la_SOURCES += lock.h lock.c
183
184 EXTRA_DIST += $(top_srcdir)/config/config.rpath
185
186 ## end   gnulib module lock
187
188 ## begin gnulib module malloc-posix
189
190
191 EXTRA_DIST += malloc.c
192
193 EXTRA_libgnu_la_SOURCES += malloc.c
194
195 ## end   gnulib module malloc-posix
196
197 ## begin gnulib module mkdtemp
198
199
200 EXTRA_DIST += mkdtemp.c
201
202 EXTRA_libgnu_la_SOURCES += mkdtemp.c
203
204 ## end   gnulib module mkdtemp
205
206 ## begin gnulib module netinet_in
207
208 BUILT_SOURCES += $(NETINET_IN_H)
209
210 # We need the following in order to create <netinet/in.h> when the system
211 # doesn't have one.
212 netinet/in.h:
213         @MKDIR_P@ netinet
214         rm -f $@-t $@
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; \
220         } > $@-t
221         mv $@-t $@
222 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
223 MOSTLYCLEANDIRS += netinet
224
225 EXTRA_DIST += netinet_in_.h
226
227 ## end   gnulib module netinet_in
228
229 ## begin gnulib module physmem
230
231
232 EXTRA_DIST += physmem.c physmem.h
233
234 EXTRA_libgnu_la_SOURCES += physmem.c
235
236 ## end   gnulib module physmem
237
238 ## begin gnulib module safe-read
239
240
241 EXTRA_DIST += safe-read.c safe-read.h
242
243 EXTRA_libgnu_la_SOURCES += safe-read.c
244
245 ## end   gnulib module safe-read
246
247 ## begin gnulib module safe-write
248
249
250 EXTRA_DIST += safe-write.c safe-write.h
251
252 EXTRA_libgnu_la_SOURCES += safe-write.c
253
254 ## end   gnulib module safe-write
255
256 ## begin gnulib module size_max
257
258 libgnu_la_SOURCES += size_max.h
259
260 ## end   gnulib module size_max
261
262 ## begin gnulib module snprintf
263
264
265 EXTRA_DIST += snprintf.c
266
267 EXTRA_libgnu_la_SOURCES += snprintf.c
268
269 ## end   gnulib module snprintf
270
271 ## begin gnulib module stdbool
272
273 BUILT_SOURCES += $(STDBOOL_H)
274
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
278         rm -f $@-t $@
279         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
280           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
281         } > $@-t
282         mv $@-t $@
283 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
284
285 EXTRA_DIST += stdbool_.h
286
287 ## end   gnulib module stdbool
288
289 ## begin gnulib module stdint
290
291 BUILT_SOURCES += $(STDINT_H)
292
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.
295 stdint.h: stdint_.h
296         rm -f $@-t $@
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; \
321         } > $@-t
322         mv $@-t $@
323 MOSTLYCLEANFILES += stdint.h stdint.h-t
324
325 EXTRA_DIST += stdint_.h
326
327 ## end   gnulib module stdint
328
329 ## begin gnulib module stdio
330
331 BUILT_SOURCES += stdio.h
332
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.
335 stdio.h: stdio_.h
336         rm -f $@-t $@
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; \
378         } > $@-t
379         mv $@-t $@
380 MOSTLYCLEANFILES += stdio.h stdio.h-t
381
382 EXTRA_DIST += stdio_.h
383
384 ## end   gnulib module stdio
385
386 ## begin gnulib module stdlib
387
388 BUILT_SOURCES += stdlib.h
389
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.
392 stdlib.h: stdlib_.h
393         rm -f $@-t $@
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; \
411         } > $@-t
412         mv $@-t $@
413 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
414
415 EXTRA_DIST += stdlib_.h
416
417 ## end   gnulib module stdlib
418
419 ## begin gnulib module strdup
420
421
422 EXTRA_DIST += strdup.c
423
424 EXTRA_libgnu_la_SOURCES += strdup.c
425
426 ## end   gnulib module strdup
427
428 ## begin gnulib module string
429
430 BUILT_SOURCES += string.h
431
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.
434 string.h: string_.h
435         rm -f $@-t $@
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; \
484         } > $@-t
485         mv $@-t $@
486 MOSTLYCLEANFILES += string.h string.h-t
487
488 EXTRA_DIST += string_.h
489
490 ## end   gnulib module string
491
492 ## begin gnulib module sys_socket
493
494 BUILT_SOURCES += $(SYS_SOCKET_H)
495
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
499         @MKDIR_P@ sys
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; \
507         } > $@-t
508         mv -f $@-t $@
509 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
510 MOSTLYCLEANDIRS += sys
511
512 EXTRA_DIST += sys_socket_.h
513
514 ## end   gnulib module sys_socket
515
516 ## begin gnulib module sys_stat
517
518 BUILT_SOURCES += $(SYS_STAT_H)
519
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
523         @MKDIR_P@ sys
524         rm -f $@-t $@
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; \
532         } > $@-t
533         mv $@-t $@
534 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
535 MOSTLYCLEANDIRS += sys
536
537 EXTRA_DIST += sys_stat_.h
538
539 ## end   gnulib module sys_stat
540
541 ## begin gnulib module sys_time
542
543 BUILT_SOURCES += $(SYS_TIME_H)
544
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
548         @MKDIR_P@ sys
549         rm -f $@-t $@
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; \
557         } > $@-t
558         mv $@-t $@
559 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
560
561 EXTRA_DIST += sys_time_.h
562
563 ## end   gnulib module sys_time
564
565 ## begin gnulib module tempname
566
567
568 EXTRA_DIST += tempname.c tempname.h
569
570 EXTRA_libgnu_la_SOURCES += tempname.c
571
572 ## end   gnulib module tempname
573
574 ## begin gnulib module unistd
575
576 BUILT_SOURCES += unistd.h
577
578 # We need the following in order to create an empty placeholder for
579 # <unistd.h> when the system doesn't have one.
580 unistd.h: unistd_.h
581         rm -f $@-t $@
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; \
607         } > $@-t
608         mv $@-t $@
609 MOSTLYCLEANFILES += unistd.h unistd.h-t
610
611 EXTRA_DIST += unistd_.h
612
613 ## end   gnulib module unistd
614
615 ## begin gnulib module vasnprintf
616
617
618 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
619
620 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
621
622 ## end   gnulib module vasnprintf
623
624 ## begin gnulib module wchar
625
626 BUILT_SOURCES += $(WCHAR_H)
627
628 # We need the following in order to create <wchar.h> when the system
629 # version does not work standalone.
630 wchar.h: wchar_.h
631         rm -f $@-t $@
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; \
641         } > $@-t
642         mv $@-t $@
643 MOSTLYCLEANFILES += wchar.h wchar.h-t
644
645 EXTRA_DIST += wchar_.h
646
647 ## end   gnulib module wchar
648
649 ## begin gnulib module xsize
650
651 libgnu_la_SOURCES += xsize.h
652
653 ## end   gnulib module xsize
654
655
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; \
660           fi; \
661         done; \
662         :
663
664 # Make sure regenerate/* are in the distribution tarball
665 EXTRA_DIST += regenerate/getaddrinfo-cygwin.patch regenerate/no-error.patch regenerate/regenerate