097892e381d448f29441d5822a78cfb019528996
[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 full-read full-write getaddrinfo getopt 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.in.h
57         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58           cat $(srcdir)/alloca.in.h; \
59         } > $@-t
60         mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
62
63 EXTRA_DIST += alloca.in.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.in.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.in.h; \
103         } > $@-t
104         mv $@-t $@
105 MOSTLYCLEANFILES += float.h float.h-t
106
107 EXTRA_DIST += float.in.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 getopt
142
143 BUILT_SOURCES += $(GETOPT_H)
144
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; \
150         } > $@-t
151         mv -f $@-t $@
152 MOSTLYCLEANFILES += getopt.h getopt.h-t
153
154 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
155
156 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
157
158 ## end   gnulib module getopt
159
160 ## begin gnulib module gettext-h
161
162 libgnu_la_SOURCES += gettext.h
163
164 ## end   gnulib module gettext-h
165
166 ## begin gnulib module gettimeofday
167
168
169 EXTRA_DIST += gettimeofday.c
170
171 EXTRA_libgnu_la_SOURCES += gettimeofday.c
172
173 ## end   gnulib module gettimeofday
174
175 ## begin gnulib module havelib
176
177
178 EXTRA_DIST += $(top_srcdir)/config/config.rpath
179
180 ## end   gnulib module havelib
181
182 ## begin gnulib module inet_ntop
183
184
185 EXTRA_DIST += inet_ntop.c inet_ntop.h
186
187 EXTRA_libgnu_la_SOURCES += inet_ntop.c
188
189 ## end   gnulib module inet_ntop
190
191 ## begin gnulib module link-warning
192
193 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
194
195 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
196
197 ## end   gnulib module link-warning
198
199 ## begin gnulib module lock
200
201 libgnu_la_SOURCES += lock.h lock.c
202
203 EXTRA_DIST += $(top_srcdir)/config/config.rpath
204
205 ## end   gnulib module lock
206
207 ## begin gnulib module malloc-posix
208
209
210 EXTRA_DIST += malloc.c
211
212 EXTRA_libgnu_la_SOURCES += malloc.c
213
214 ## end   gnulib module malloc-posix
215
216 ## begin gnulib module mkdtemp
217
218
219 EXTRA_DIST += mkdtemp.c
220
221 EXTRA_libgnu_la_SOURCES += mkdtemp.c
222
223 ## end   gnulib module mkdtemp
224
225 ## begin gnulib module netinet_in
226
227 BUILT_SOURCES += $(NETINET_IN_H)
228
229 # We need the following in order to create <netinet/in.h> when the system
230 # doesn't have one.
231 netinet/in.h: netinet_in.in.h
232         @MKDIR_P@ netinet
233         rm -f $@-t $@
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; \
239         } > $@-t
240         mv $@-t $@
241 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
242 MOSTLYCLEANDIRS += netinet
243
244 EXTRA_DIST += netinet_in.in.h
245
246 ## end   gnulib module netinet_in
247
248 ## begin gnulib module physmem
249
250
251 EXTRA_DIST += physmem.c physmem.h
252
253 EXTRA_libgnu_la_SOURCES += physmem.c
254
255 ## end   gnulib module physmem
256
257 ## begin gnulib module safe-read
258
259
260 EXTRA_DIST += safe-read.c safe-read.h
261
262 EXTRA_libgnu_la_SOURCES += safe-read.c
263
264 ## end   gnulib module safe-read
265
266 ## begin gnulib module safe-write
267
268
269 EXTRA_DIST += safe-write.c safe-write.h
270
271 EXTRA_libgnu_la_SOURCES += safe-write.c
272
273 ## end   gnulib module safe-write
274
275 ## begin gnulib module size_max
276
277 libgnu_la_SOURCES += size_max.h
278
279 ## end   gnulib module size_max
280
281 ## begin gnulib module snprintf
282
283
284 EXTRA_DIST += snprintf.c
285
286 EXTRA_libgnu_la_SOURCES += snprintf.c
287
288 ## end   gnulib module snprintf
289
290 ## begin gnulib module stdbool
291
292 BUILT_SOURCES += $(STDBOOL_H)
293
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
297         rm -f $@-t $@
298         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
299           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
300         } > $@-t
301         mv $@-t $@
302 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
303
304 EXTRA_DIST += stdbool.in.h
305
306 ## end   gnulib module stdbool
307
308 ## begin gnulib module stdint
309
310 BUILT_SOURCES += $(STDINT_H)
311
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
315         rm -f $@-t $@
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; \
340         } > $@-t
341         mv $@-t $@
342 MOSTLYCLEANFILES += stdint.h stdint.h-t
343
344 EXTRA_DIST += stdint.in.h
345
346 ## end   gnulib module stdint
347
348 ## begin gnulib module stdio
349
350 BUILT_SOURCES += stdio.h
351
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.
354 stdio.h: stdio.in.h
355         rm -f $@-t $@
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; \
401         } > $@-t
402         mv $@-t $@
403 MOSTLYCLEANFILES += stdio.h stdio.h-t
404
405 EXTRA_DIST += stdio.in.h
406
407 ## end   gnulib module stdio
408
409 ## begin gnulib module stdlib
410
411 BUILT_SOURCES += stdlib.h
412
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
416         rm -f $@-t $@
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; \
441         } > $@-t
442         mv $@-t $@
443 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
444
445 EXTRA_DIST += stdlib.in.h
446
447 ## end   gnulib module stdlib
448
449 ## begin gnulib module strdup
450
451
452 EXTRA_DIST += strdup.c
453
454 EXTRA_libgnu_la_SOURCES += strdup.c
455
456 ## end   gnulib module strdup
457
458 ## begin gnulib module string
459
460 BUILT_SOURCES += string.h
461
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
465         rm -f $@-t $@
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; \
522         } > $@-t
523         mv $@-t $@
524 MOSTLYCLEANFILES += string.h string.h-t
525
526 EXTRA_DIST += string.in.h
527
528 ## end   gnulib module string
529
530 ## begin gnulib module sys_socket
531
532 BUILT_SOURCES += $(SYS_SOCKET_H)
533
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
537         @MKDIR_P@ sys
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; \
545         } > $@-t
546         mv -f $@-t $@
547 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
548 MOSTLYCLEANDIRS += sys
549
550 EXTRA_DIST += sys_socket.in.h
551
552 ## end   gnulib module sys_socket
553
554 ## begin gnulib module sys_stat
555
556 BUILT_SOURCES += $(SYS_STAT_H)
557
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
561         @MKDIR_P@ sys
562         rm -f $@-t $@
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; \
570         } > $@-t
571         mv $@-t $@
572 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
573 MOSTLYCLEANDIRS += sys
574
575 EXTRA_DIST += sys_stat.in.h
576
577 ## end   gnulib module sys_stat
578
579 ## begin gnulib module sys_time
580
581 BUILT_SOURCES += $(SYS_TIME_H)
582
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
586         @MKDIR_P@ sys
587         rm -f $@-t $@
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; \
595         } > $@-t
596         mv $@-t $@
597 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
598
599 EXTRA_DIST += sys_time.in.h
600
601 ## end   gnulib module sys_time
602
603 ## begin gnulib module tempname
604
605
606 EXTRA_DIST += tempname.c tempname.h
607
608 EXTRA_libgnu_la_SOURCES += tempname.c
609
610 ## end   gnulib module tempname
611
612 ## begin gnulib module unistd
613
614 BUILT_SOURCES += unistd.h
615
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
619         rm -f $@-t $@
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; \
652         } > $@-t
653         mv $@-t $@
654 MOSTLYCLEANFILES += unistd.h unistd.h-t
655
656 EXTRA_DIST += unistd.in.h
657
658 ## end   gnulib module unistd
659
660 ## begin gnulib module vasnprintf
661
662
663 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
664
665 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
666
667 ## end   gnulib module vasnprintf
668
669 ## begin gnulib module wchar
670
671 BUILT_SOURCES += $(WCHAR_H)
672
673 # We need the following in order to create <wchar.h> when the system
674 # version does not work standalone.
675 wchar.h: wchar.in.h
676         rm -f $@-t $@
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; \
686         } > $@-t
687         mv $@-t $@
688 MOSTLYCLEANFILES += wchar.h wchar.h-t
689
690 EXTRA_DIST += wchar.in.h
691
692 ## end   gnulib module wchar
693
694 ## begin gnulib module xsize
695
696 libgnu_la_SOURCES += xsize.h
697
698 ## end   gnulib module xsize
699
700
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; \
705           fi; \
706         done; \
707         :
708
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