Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / liblouis / src / gnulib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib/override --lib=libgnu --source-base=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl getopt-gnu malloc-gnu progname realloc-gnu version-etc
25
26 AUTOMAKE_OPTIONS = 1.5 gnits
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40 EXTRA_DIST += m4/gnulib-cache.m4
41
42 AM_CPPFLAGS =
43 AM_CFLAGS =
44
45 noinst_LTLIBRARIES += libgnu.la
46
47 libgnu_la_SOURCES =
48 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
49 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
50 EXTRA_libgnu_la_SOURCES =
51 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
52 libgnu_la_LDFLAGS += -no-undefined
53 libgnu_la_LDFLAGS += $(LTLIBINTL)
54
55 ## begin gnulib module getopt-posix
56
57 BUILT_SOURCES += $(GETOPT_H)
58
59 # We need the following in order to create <getopt.h> when the system
60 # doesn't have one that works with the given compiler.
61 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
62         $(AM_V_GEN)rm -f $@-t $@ && \
63         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
64           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
65               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
66               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
67               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
68               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
69               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
70               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
71               < $(srcdir)/getopt.in.h; \
72         } > $@-t && \
73         mv -f $@-t $@
74 MOSTLYCLEANFILES += getopt.h getopt.h-t
75
76 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
77
78 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
79
80 ## end   gnulib module getopt-posix
81
82 ## begin gnulib module gettext-h
83
84 libgnu_la_SOURCES += gettext.h
85
86 ## end   gnulib module gettext-h
87
88 ## begin gnulib module malloc-gnu
89
90
91 EXTRA_DIST += malloc.c
92
93 EXTRA_libgnu_la_SOURCES += malloc.c
94
95 ## end   gnulib module malloc-gnu
96
97 ## begin gnulib module malloc-posix
98
99
100 EXTRA_DIST += malloc.c
101
102 EXTRA_libgnu_la_SOURCES += malloc.c
103
104 ## end   gnulib module malloc-posix
105
106 ## begin gnulib module progname
107
108 libgnu_la_SOURCES += progname.h progname.c
109
110 ## end   gnulib module progname
111
112 ## begin gnulib module realloc-gnu
113
114
115 EXTRA_DIST += realloc.c
116
117 EXTRA_libgnu_la_SOURCES += realloc.c
118
119 ## end   gnulib module realloc-gnu
120
121 ## begin gnulib module realloc-posix
122
123
124 EXTRA_DIST += realloc.c
125
126 EXTRA_libgnu_la_SOURCES += realloc.c
127
128 ## end   gnulib module realloc-posix
129
130 ## begin gnulib module snippet/_Noreturn
131
132 # Because this Makefile snippet defines a variable used by other
133 # gnulib Makefile snippets, it must be present in all Makefile.am that
134 # need it. This is ensured by the applicability 'all' defined above.
135
136 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
137
138 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
139
140 ## end   gnulib module snippet/_Noreturn
141
142 ## begin gnulib module snippet/arg-nonnull
143
144 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
145 # statements but through direct file reference. Therefore this snippet must be
146 # present in all Makefile.am that need it. This is ensured by the applicability
147 # 'all' defined above.
148
149 BUILT_SOURCES += arg-nonnull.h
150 # The arg-nonnull.h that gets inserted into generated .h files is the same as
151 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
152 # off.
153 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
154         $(AM_V_GEN)rm -f $@-t $@ && \
155         sed -n -e '/GL_ARG_NONNULL/,$$p' \
156           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
157           > $@-t && \
158         mv $@-t $@
159 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
160
161 ARG_NONNULL_H=arg-nonnull.h
162
163 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
164
165 ## end   gnulib module snippet/arg-nonnull
166
167 ## begin gnulib module snippet/c++defs
168
169 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
170 # statements but through direct file reference. Therefore this snippet must be
171 # present in all Makefile.am that need it. This is ensured by the applicability
172 # 'all' defined above.
173
174 BUILT_SOURCES += c++defs.h
175 # The c++defs.h that gets inserted into generated .h files is the same as
176 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
177 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
178         $(AM_V_GEN)rm -f $@-t $@ && \
179         sed -n -e '/_GL_CXXDEFS/,$$p' \
180           < $(top_srcdir)/build-aux/snippet/c++defs.h \
181           > $@-t && \
182         mv $@-t $@
183 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
184
185 CXXDEFS_H=c++defs.h
186
187 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
188
189 ## end   gnulib module snippet/c++defs
190
191 ## begin gnulib module snippet/warn-on-use
192
193 BUILT_SOURCES += warn-on-use.h
194 # The warn-on-use.h that gets inserted into generated .h files is the same as
195 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
196 # off.
197 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
198         $(AM_V_GEN)rm -f $@-t $@ && \
199         sed -n -e '/^.ifndef/,$$p' \
200           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
201           > $@-t && \
202         mv $@-t $@
203 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
204
205 WARN_ON_USE_H=warn-on-use.h
206
207 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
208
209 ## end   gnulib module snippet/warn-on-use
210
211 ## begin gnulib module stdarg
212
213 BUILT_SOURCES += $(STDARG_H)
214
215 # We need the following in order to create <stdarg.h> when the system
216 # doesn't have one that works with the given compiler.
217 if GL_GENERATE_STDARG_H
218 stdarg.h: stdarg.in.h $(top_builddir)/config.status
219         $(AM_V_GEN)rm -f $@-t $@ && \
220         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
221           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
222               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
223               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
224               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
225               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
226               < $(srcdir)/stdarg.in.h; \
227         } > $@-t && \
228         mv $@-t $@
229 else
230 stdarg.h: $(top_builddir)/config.status
231         rm -f $@
232 endif
233 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
234
235 EXTRA_DIST += stdarg.in.h
236
237 ## end   gnulib module stdarg
238
239 ## begin gnulib module stddef
240
241 BUILT_SOURCES += $(STDDEF_H)
242
243 # We need the following in order to create <stddef.h> when the system
244 # doesn't have one that works with the given compiler.
245 if GL_GENERATE_STDDEF_H
246 stddef.h: stddef.in.h $(top_builddir)/config.status
247         $(AM_V_GEN)rm -f $@-t $@ && \
248         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
249           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
250               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
251               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
252               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
253               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
254               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
255               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
256               < $(srcdir)/stddef.in.h; \
257         } > $@-t && \
258         mv $@-t $@
259 else
260 stddef.h: $(top_builddir)/config.status
261         rm -f $@
262 endif
263 MOSTLYCLEANFILES += stddef.h stddef.h-t
264
265 EXTRA_DIST += stddef.in.h
266
267 ## end   gnulib module stddef
268
269 ## begin gnulib module stdlib
270
271 BUILT_SOURCES += stdlib.h
272
273 # We need the following in order to create <stdlib.h> when the system
274 # doesn't have one that works with the given compiler.
275 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
276   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
277         $(AM_V_GEN)rm -f $@-t $@ && \
278         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
279           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
280               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
281               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
282               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
283               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
284               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
285               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
286               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
287               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
288               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
289               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
290               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
291               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
292               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
293               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
294               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
295               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
296               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
297               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
298               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
299               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
300               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
301               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
302               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
303               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
304               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
305               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
306               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
307               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
308               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
309               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
310               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
311               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
312               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
313               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
314               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
315               < $(srcdir)/stdlib.in.h | \
316           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
317               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
318               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
319               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
320               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
321               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
322               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
323               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
324               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
325               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
326               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
327               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
328               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
329               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
330               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
331               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
332               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
333               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
334               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
335               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
336               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
337               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
338               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
339               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
340               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
341               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
342               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
343               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
344               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
345               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
346               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
347               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
348               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
349               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
350               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
351               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
352               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
353               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
354               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
355               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
356               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
357               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
358               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
359               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
360               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
361               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
362         } > $@-t && \
363         mv $@-t $@
364 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
365
366 EXTRA_DIST += stdlib.in.h
367
368 ## end   gnulib module stdlib
369
370 ## begin gnulib module sys_types
371
372 BUILT_SOURCES += sys/types.h
373
374 # We need the following in order to create <sys/types.h> when the system
375 # doesn't have one that works with the given compiler.
376 sys/types.h: sys_types.in.h $(top_builddir)/config.status
377         $(AM_V_at)$(MKDIR_P) sys
378         $(AM_V_GEN)rm -f $@-t $@ && \
379         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
380           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
381               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
382               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
383               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
384               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
385               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
386               < $(srcdir)/sys_types.in.h; \
387         } > $@-t && \
388         mv $@-t $@
389 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
390
391 EXTRA_DIST += sys_types.in.h
392
393 ## end   gnulib module sys_types
394
395 ## begin gnulib module unistd
396
397 BUILT_SOURCES += unistd.h
398 libgnu_la_SOURCES += unistd.c
399
400 # We need the following in order to create an empty placeholder for
401 # <unistd.h> when the system doesn't have one.
402 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
403         $(AM_V_GEN)rm -f $@-t $@ && \
404         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
405           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
406               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
407               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
408               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
409               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
410               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
411               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
412               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
413               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
414               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
415               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
416               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
417               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
418               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
419               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
420               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
421               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
422               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
423               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
424               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
425               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
426               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
427               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
428               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
429               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
430               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
431               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
432               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
433               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
434               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
435               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
436               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
437               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
438               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
439               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
440               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
441               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
442               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
443               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
444               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
445               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
446               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
447               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
448               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
449               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
450               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
451               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
452               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
453               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
454               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
455               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
456               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
457               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
458               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
459               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
460               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
461               < $(srcdir)/unistd.in.h | \
462           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
463               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
464               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
465               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
466               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
467               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
468               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
469               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
470               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
471               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
472               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
473               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
474               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
475               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
476               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
477               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
478               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
479               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
480               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
481               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
482               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
483               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
484               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
485               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
486               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
487               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
488               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
489               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
490               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
491               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
492               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
493               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
494               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
495               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
496               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
497               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
498               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
499               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
500               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
501               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
502               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
503               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
504           | \
505           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
506               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
507               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
508               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
509               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
510               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
511               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
512               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
513               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
514               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
515               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
516               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
517               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
518               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
519               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
520               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
521               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
522               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
523               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
524               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
525               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
526               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
527               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
528               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
529               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
530               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
531               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
532               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
533               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
534               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
535               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
536               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
537               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
538         } > $@-t && \
539         mv $@-t $@
540 MOSTLYCLEANFILES += unistd.h unistd.h-t
541
542 EXTRA_DIST += unistd.in.h
543
544 ## end   gnulib module unistd
545
546 ## begin gnulib module version-etc
547
548 libgnu_la_SOURCES += version-etc.h version-etc.c
549
550 ## end   gnulib module version-etc
551
552
553 mostlyclean-local: mostlyclean-generic
554         @for dir in '' $(MOSTLYCLEANDIRS); do \
555           if test -n "$$dir" && test -d $$dir; then \
556             echo "rmdir $$dir"; rmdir $$dir; \
557           fi; \
558         done; \
559         :