Annotation of embedaddon/libiconv/srclib/Makefile.gnulib, revision 1.1.1.2
1.1 misho 1: ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2: ## Process this file with automake to produce Makefile.in.
1.1.1.2 ! misho 3: # Copyright (C) 2002-2011 Free Software Foundation, Inc.
1.1 misho 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.
1.1.1.2 ! misho 12: # Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libicrt --source-base=srclib --m4-base=srcm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=Makefile.gnulib --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files binary-io error gettext gettext-h libiconv-misc mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc
1.1 misho 13:
14:
15: MOSTLYCLEANFILES += core *.stackdump
16:
17: noinst_LIBRARIES += libicrt.a
18:
19: libicrt_a_SOURCES =
20: libicrt_a_LIBADD = $(gl_LIBOBJS)
21: libicrt_a_DEPENDENCIES = $(gl_LIBOBJS)
22: EXTRA_libicrt_a_SOURCES =
23:
24: ## begin gnulib module alloca-opt
25:
26: BUILT_SOURCES += $(ALLOCA_H)
27:
28: # We need the following in order to create <alloca.h> when the system
29: # doesn't have one that works with the given compiler.
1.1.1.2 ! misho 30: if GL_GENERATE_ALLOCA_H
! 31: alloca.h: alloca.in.h $(top_builddir)/config.status
! 32: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 33: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
34: cat $(srcdir)/alloca.in.h; \
1.1.1.2 ! misho 35: } > $@-t && \
1.1 misho 36: mv -f $@-t $@
1.1.1.2 ! misho 37: else
! 38: alloca.h: $(top_builddir)/config.status
! 39: rm -f $@
! 40: endif
1.1 misho 41: MOSTLYCLEANFILES += alloca.h alloca.h-t
42:
43: EXTRA_DIST += alloca.in.h
44:
45: ## end gnulib module alloca-opt
46:
1.1.1.2 ! misho 47: ## begin gnulib module allocator
! 48:
! 49: libicrt_a_SOURCES += allocator.c
! 50:
! 51: EXTRA_DIST += allocator.h
! 52:
! 53: ## end gnulib module allocator
! 54:
1.1 misho 55: ## begin gnulib module areadlink
56:
57: libicrt_a_SOURCES += areadlink.c
58:
59: EXTRA_DIST += areadlink.h
60:
61: ## end gnulib module areadlink
62:
63: ## begin gnulib module binary-io
64:
65: libicrt_a_SOURCES += binary-io.h
66:
67: ## end gnulib module binary-io
68:
69: ## begin gnulib module canonicalize-lgpl
70:
71:
1.1.1.2 ! misho 72: EXTRA_DIST += canonicalize-lgpl.c
1.1 misho 73:
74: EXTRA_libicrt_a_SOURCES += canonicalize-lgpl.c
75:
76: ## end gnulib module canonicalize-lgpl
77:
1.1.1.2 ! misho 78: ## begin gnulib module careadlinkat
! 79:
! 80: libicrt_a_SOURCES += careadlinkat.c
! 81:
! 82: EXTRA_DIST += careadlinkat.h
! 83:
! 84: ## end gnulib module careadlinkat
! 85:
! 86: ## begin gnulib module dosname
! 87:
! 88:
! 89: EXTRA_DIST += dosname.h
! 90:
! 91: ## end gnulib module dosname
! 92:
1.1 misho 93: ## begin gnulib module errno
94:
95: BUILT_SOURCES += $(ERRNO_H)
96:
97: # We need the following in order to create <errno.h> when the system
98: # doesn't have one that is POSIX compliant.
1.1.1.2 ! misho 99: if GL_GENERATE_ERRNO_H
! 100: errno.h: errno.in.h $(top_builddir)/config.status
! 101: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 102: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1.1.1.2 ! misho 103: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 104: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1.1 misho 105: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 106: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 107: -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
108: -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
109: -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
110: -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
111: -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
112: -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
113: -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
114: < $(srcdir)/errno.in.h; \
1.1.1.2 ! misho 115: } > $@-t && \
1.1 misho 116: mv $@-t $@
1.1.1.2 ! misho 117: else
! 118: errno.h: $(top_builddir)/config.status
! 119: rm -f $@
! 120: endif
1.1 misho 121: MOSTLYCLEANFILES += errno.h errno.h-t
122:
123: EXTRA_DIST += errno.in.h
124:
125: ## end gnulib module errno
126:
127: ## begin gnulib module error
128:
129:
130: EXTRA_DIST += error.c error.h
131:
132: EXTRA_libicrt_a_SOURCES += error.c
133:
134: ## end gnulib module error
135:
1.1.1.2 ! misho 136: ## begin gnulib module fcntl-h
! 137:
! 138: BUILT_SOURCES += fcntl.h
! 139:
! 140: # We need the following in order to create <fcntl.h> when the system
! 141: # doesn't have one that works with the given compiler.
! 142: fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 143: $(AM_V_GEN)rm -f $@-t $@ && \
! 144: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
! 145: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 146: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
! 147: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
! 148: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
! 149: -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
! 150: -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
! 151: -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
! 152: -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
! 153: -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
! 154: -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
! 155: -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
! 156: -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
! 157: -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
! 158: -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
! 159: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 160: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 161: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
! 162: < $(srcdir)/fcntl.in.h; \
! 163: } > $@-t && \
! 164: mv $@-t $@
! 165: MOSTLYCLEANFILES += fcntl.h fcntl.h-t
! 166:
! 167: EXTRA_DIST += fcntl.in.h
! 168:
! 169: ## end gnulib module fcntl-h
! 170:
1.1 misho 171: ## begin gnulib module gettext
172:
173: # This is for those projects which use "gettextize --intl" to put a source-code
174: # copy of libintl into their package. In such projects, every Makefile.am needs
175: # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
176: # For the Makefile.ams in other directories it is the maintainer's
177: # responsibility; for the one from gnulib we do it here.
178: # This option has no effect when the user disables NLS (because then the intl
179: # directory contains no libintl.h file) or when the project does not use
180: # "gettextize --intl".
181: AM_CPPFLAGS += -I$(top_builddir)/intl
182:
183: EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
184:
185: ## end gnulib module gettext
186:
187: ## begin gnulib module gettext-h
188:
189: libicrt_a_SOURCES += gettext.h
190:
191: ## end gnulib module gettext-h
192:
193: ## begin gnulib module havelib
194:
195:
196: EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
197:
198: ## end gnulib module havelib
199:
200: ## begin gnulib module intprops
201:
202:
203: EXTRA_DIST += intprops.h
204:
205: ## end gnulib module intprops
206:
207: ## begin gnulib module libiconv-misc
208:
209: # Parametrization of the 'relocatable' module.
210: AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
211:
212: ## end gnulib module libiconv-misc
213:
1.1.1.2 ! misho 214: ## begin gnulib module lstat
1.1 misho 215:
216:
1.1.1.2 ! misho 217: EXTRA_DIST += lstat.c
1.1 misho 218:
1.1.1.2 ! misho 219: EXTRA_libicrt_a_SOURCES += lstat.c
1.1 misho 220:
1.1.1.2 ! misho 221: ## end gnulib module lstat
1.1 misho 222:
223: ## begin gnulib module malloca
224:
225: libicrt_a_SOURCES += malloca.c
226:
227: EXTRA_DIST += malloca.h malloca.valgrind
228:
229: ## end gnulib module malloca
230:
231: ## begin gnulib module memmove
232:
233:
234: EXTRA_DIST += memmove.c
235:
236: EXTRA_libicrt_a_SOURCES += memmove.c
237:
238: ## end gnulib module memmove
239:
240: ## begin gnulib module pathmax
241:
242:
243: EXTRA_DIST += pathmax.h
244:
245: ## end gnulib module pathmax
246:
247: ## begin gnulib module progname
248:
249: libicrt_a_SOURCES += progname.h progname.c
250:
251: ## end gnulib module progname
252:
1.1.1.2 ! misho 253: ## begin gnulib module read
! 254:
! 255:
! 256: EXTRA_DIST += read.c
! 257:
! 258: EXTRA_libicrt_a_SOURCES += read.c
! 259:
! 260: ## end gnulib module read
! 261:
1.1 misho 262: ## begin gnulib module readlink
263:
264:
265: EXTRA_DIST += readlink.c
266:
267: EXTRA_libicrt_a_SOURCES += readlink.c
268:
269: ## end gnulib module readlink
270:
271: ## begin gnulib module relocatable-prog
272:
273: DEFS += -DEXEEXT=\"@EXEEXT@\"
1.1.1.2 ! misho 274: if RELOCATABLE_VIA_WRAPPER
! 275: uninstall-hook: uninstall-relocwrapper
! 276: uninstall-relocwrapper:
! 277: if test $(RELOCATABLE) = yes; then \
! 278: case '$(EXEEXT)' in \
! 279: .bin*) ;; \
! 280: *) cd $(top_builddir) && \
! 281: $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
! 282: AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
! 283: uninstall ;; \
! 284: esac; \
! 285: fi
! 286: .PHONY: uninstall-relocwrapper
! 287: endif
1.1 misho 288:
289: EXTRA_DIST += progreloc.c relocatable.c relocatable.h
290:
291: EXTRA_libicrt_a_SOURCES += progreloc.c relocatable.c
292:
293: EXTRA_DIST += $(top_srcdir)/build-aux/config.libpath $(top_srcdir)/build-aux/reloc-ldflags
294:
295: ## end gnulib module relocatable-prog
296:
297: ## begin gnulib module relocatable-prog-wrapper
298:
299:
1.1.1.2 ! misho 300: EXTRA_DIST += allocator.c allocator.h areadlink.c areadlink.h c-ctype.c c-ctype.h canonicalize-lgpl.c careadlinkat.c careadlinkat.h malloca.c malloca.h progname.c progname.h progreloc.c readlink.c relocatable.c relocatable.h relocwrapper.c setenv.c
1.1 misho 301:
302: EXTRA_DIST += $(top_srcdir)/build-aux/install-reloc
303:
304: ## end gnulib module relocatable-prog-wrapper
305:
1.1.1.2 ! misho 306: ## begin gnulib module safe-read
! 307:
! 308: libicrt_a_SOURCES += safe-read.c
! 309:
! 310: EXTRA_DIST += safe-read.h
! 311:
! 312: ## end gnulib module safe-read
! 313:
1.1 misho 314: ## begin gnulib module signal
315:
316: BUILT_SOURCES += signal.h
317:
318: # We need the following in order to create <signal.h> when the system
319: # doesn't have a complete one.
1.1.1.2 ! misho 320: signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 321: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 322: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1.1.1.2 ! misho 323: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 324: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1.1 misho 325: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 326: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 327: -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1.1.1.2 ! misho 328: -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
! 329: -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
! 330: -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
! 331: -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1.1 misho 332: -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1.1.1.2 ! misho 333: -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1.1 misho 334: -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
335: -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
336: -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
337: -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
338: -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1.1.1.2 ! misho 339: -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
! 340: -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
! 341: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 342: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 343: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1.1 misho 344: < $(srcdir)/signal.in.h; \
1.1.1.2 ! misho 345: } > $@-t && \
1.1 misho 346: mv $@-t $@
347: MOSTLYCLEANFILES += signal.h signal.h-t
348:
349: EXTRA_DIST += signal.in.h
350:
351: ## end gnulib module signal
352:
1.1.1.2 ! misho 353: ## begin gnulib module sigpipe
! 354:
! 355:
! 356: EXTRA_DIST += stdio-write.c
! 357:
! 358: EXTRA_libicrt_a_SOURCES += stdio-write.c
! 359:
! 360: ## end gnulib module sigpipe
! 361:
1.1 misho 362: ## begin gnulib module sigprocmask
363:
364:
365: EXTRA_DIST += sigprocmask.c
366:
367: EXTRA_libicrt_a_SOURCES += sigprocmask.c
368:
369: ## end gnulib module sigprocmask
370:
1.1.1.2 ! misho 371: ## begin gnulib module snippet/_Noreturn
! 372:
! 373: # Because this Makefile snippet defines a variable used by other
! 374: # gnulib Makefile snippets, it must be present in all Makefile.am that
! 375: # need it. This is ensured by the applicability 'all' defined above.
! 376:
! 377: _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
! 378:
! 379: EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
! 380:
! 381: ## end gnulib module snippet/_Noreturn
! 382:
! 383: ## begin gnulib module snippet/arg-nonnull
! 384:
! 385: # The BUILT_SOURCES created by this Makefile snippet are not used via #include
! 386: # statements but through direct file reference. Therefore this snippet must be
! 387: # present in all Makefile.am that need it. This is ensured by the applicability
! 388: # 'all' defined above.
! 389:
! 390: BUILT_SOURCES += arg-nonnull.h
! 391: # The arg-nonnull.h that gets inserted into generated .h files is the same as
! 392: # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
! 393: # off.
! 394: arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
! 395: $(AM_V_GEN)rm -f $@-t $@ && \
! 396: sed -n -e '/GL_ARG_NONNULL/,$$p' \
! 397: < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
! 398: > $@-t && \
! 399: mv $@-t $@
! 400: MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
! 401:
! 402: ARG_NONNULL_H=arg-nonnull.h
! 403:
! 404: EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
! 405:
! 406: ## end gnulib module snippet/arg-nonnull
! 407:
! 408: ## begin gnulib module snippet/c++defs
! 409:
! 410: # The BUILT_SOURCES created by this Makefile snippet are not used via #include
! 411: # statements but through direct file reference. Therefore this snippet must be
! 412: # present in all Makefile.am that need it. This is ensured by the applicability
! 413: # 'all' defined above.
! 414:
! 415: BUILT_SOURCES += c++defs.h
! 416: # The c++defs.h that gets inserted into generated .h files is the same as
! 417: # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
! 418: c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
! 419: $(AM_V_GEN)rm -f $@-t $@ && \
! 420: sed -n -e '/_GL_CXXDEFS/,$$p' \
! 421: < $(top_srcdir)/build-aux/snippet/c++defs.h \
! 422: > $@-t && \
! 423: mv $@-t $@
! 424: MOSTLYCLEANFILES += c++defs.h c++defs.h-t
! 425:
! 426: CXXDEFS_H=c++defs.h
! 427:
! 428: EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
! 429:
! 430: ## end gnulib module snippet/c++defs
! 431:
! 432: ## begin gnulib module snippet/warn-on-use
! 433:
! 434: BUILT_SOURCES += warn-on-use.h
! 435: # The warn-on-use.h that gets inserted into generated .h files is the same as
! 436: # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
! 437: # off.
! 438: warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
! 439: $(AM_V_GEN)rm -f $@-t $@ && \
! 440: sed -n -e '/^.ifndef/,$$p' \
! 441: < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
! 442: > $@-t && \
! 443: mv $@-t $@
! 444: MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
! 445:
! 446: WARN_ON_USE_H=warn-on-use.h
! 447:
! 448: EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
! 449:
! 450: ## end gnulib module snippet/warn-on-use
! 451:
! 452: ## begin gnulib module stat
! 453:
! 454:
! 455: EXTRA_DIST += stat.c
! 456:
! 457: EXTRA_libicrt_a_SOURCES += stat.c
! 458:
! 459: ## end gnulib module stat
! 460:
1.1 misho 461: ## begin gnulib module stdbool
462:
463: BUILT_SOURCES += $(STDBOOL_H)
464:
465: # We need the following in order to create <stdbool.h> when the system
466: # doesn't have one that works.
1.1.1.2 ! misho 467: if GL_GENERATE_STDBOOL_H
! 468: stdbool.h: stdbool.in.h $(top_builddir)/config.status
! 469: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 470: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
471: sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1.1.1.2 ! misho 472: } > $@-t && \
1.1 misho 473: mv $@-t $@
1.1.1.2 ! misho 474: else
! 475: stdbool.h: $(top_builddir)/config.status
! 476: rm -f $@
! 477: endif
1.1 misho 478: MOSTLYCLEANFILES += stdbool.h stdbool.h-t
479:
480: EXTRA_DIST += stdbool.in.h
481:
482: ## end gnulib module stdbool
483:
1.1.1.2 ! misho 484: ## begin gnulib module stddef
! 485:
! 486: BUILT_SOURCES += $(STDDEF_H)
! 487:
! 488: # We need the following in order to create <stddef.h> when the system
! 489: # doesn't have one that works with the given compiler.
! 490: if GL_GENERATE_STDDEF_H
! 491: stddef.h: stddef.in.h $(top_builddir)/config.status
! 492: $(AM_V_GEN)rm -f $@-t $@ && \
! 493: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
! 494: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 495: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
! 496: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
! 497: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
! 498: -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
! 499: -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
! 500: -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
! 501: < $(srcdir)/stddef.in.h; \
! 502: } > $@-t && \
! 503: mv $@-t $@
! 504: else
! 505: stddef.h: $(top_builddir)/config.status
! 506: rm -f $@
! 507: endif
! 508: MOSTLYCLEANFILES += stddef.h stddef.h-t
! 509:
! 510: EXTRA_DIST += stddef.in.h
! 511:
! 512: ## end gnulib module stddef
! 513:
1.1 misho 514: ## begin gnulib module stdint
515:
516: BUILT_SOURCES += $(STDINT_H)
517:
518: # We need the following in order to create <stdint.h> when the system
519: # doesn't have one that works with the given compiler.
1.1.1.2 ! misho 520: if GL_GENERATE_STDINT_H
! 521: stdint.h: stdint.in.h $(top_builddir)/config.status
! 522: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 523: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1.1.1.2 ! misho 524: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 525: -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1.1 misho 526: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
527: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 528: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 529: -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
530: -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
531: -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
532: -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
533: -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1.1.1.2 ! misho 534: -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1.1 misho 535: -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
536: -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
537: -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
538: -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
539: -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
540: -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
541: -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
542: -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
543: -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
544: -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
545: -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
546: -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
547: -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
548: -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
549: -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
550: -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
551: < $(srcdir)/stdint.in.h; \
1.1.1.2 ! misho 552: } > $@-t && \
1.1 misho 553: mv $@-t $@
1.1.1.2 ! misho 554: else
! 555: stdint.h: $(top_builddir)/config.status
! 556: rm -f $@
! 557: endif
1.1 misho 558: MOSTLYCLEANFILES += stdint.h stdint.h-t
559:
560: EXTRA_DIST += stdint.in.h
561:
562: ## end gnulib module stdint
563:
564: ## begin gnulib module stdio
565:
566: BUILT_SOURCES += stdio.h
567:
568: # We need the following in order to create <stdio.h> when the system
569: # doesn't have one that works with the given compiler.
1.1.1.2 ! misho 570: stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 571: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 572: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1.1.1.2 ! misho 573: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 574: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1.1 misho 575: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 576: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 577: -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1.1.1.2 ! misho 578: -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
! 579: -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
! 580: -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
! 581: -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
! 582: -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
! 583: -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
! 584: -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
! 585: -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
! 586: -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
! 587: -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
! 588: -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
! 589: -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
! 590: -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
! 591: -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
! 592: -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
! 593: -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
! 594: -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
! 595: -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
! 596: -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
! 597: -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
! 598: -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
! 599: -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
! 600: -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
! 601: -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
! 602: -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
! 603: -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
! 604: -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
! 605: -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
! 606: -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
! 607: -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
! 608: -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
! 609: -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
! 610: -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
! 611: -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
! 612: -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
! 613: -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
! 614: -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
! 615: -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
! 616: -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
! 617: -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
! 618: -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
! 619: -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
! 620: -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
! 621: -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
! 622: -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
! 623: -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
! 624: -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
! 625: -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
! 626: -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
! 627: -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
! 628: -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
! 629: -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
! 630: < $(srcdir)/stdio.in.h | \
! 631: sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
! 632: -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
! 633: -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
! 634: -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
! 635: -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
! 636: -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1.1 misho 637: -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
638: -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
639: -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1.1.1.2 ! misho 640: -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
! 641: -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
! 642: -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1.1 misho 643: -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1.1.1.2 ! misho 644: -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
! 645: -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
! 646: -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
! 647: -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1.1 misho 648: -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1.1.1.2 ! misho 649: -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
! 650: -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1.1 misho 651: -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
652: -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1.1.1.2 ! misho 653: -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1.1 misho 654: -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1.1.1.2 ! misho 655: -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
! 656: -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1.1 misho 657: -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1.1.1.2 ! misho 658: -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1.1 misho 659: -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1.1.1.2 ! misho 660: -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
! 661: -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
! 662: -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
! 663: -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
! 664: -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
! 665: -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
! 666: -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
! 667: -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
! 668: -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
! 669: -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
! 670: -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
! 671: -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
! 672: -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
! 673: -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
! 674: -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
! 675: -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
! 676: -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
! 677: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 678: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 679: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
! 680: } > $@-t && \
1.1 misho 681: mv $@-t $@
682: MOSTLYCLEANFILES += stdio.h stdio.h-t
683:
1.1.1.2 ! misho 684: EXTRA_DIST += stdio.in.h
1.1 misho 685:
686: ## end gnulib module stdio
687:
688: ## begin gnulib module stdlib
689:
690: BUILT_SOURCES += stdlib.h
691:
692: # We need the following in order to create <stdlib.h> when the system
693: # doesn't have one that works with the given compiler.
1.1.1.2 ! misho 694: stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
! 695: $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 696: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 697: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1.1.1.2 ! misho 698: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 699: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1.1 misho 700: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 701: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 702: -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1.1.1.2 ! misho 703: -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
! 704: -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
! 705: -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
! 706: -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
! 707: -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
! 708: -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
! 709: -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
! 710: -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
! 711: -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
! 712: -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
! 713: -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
! 714: -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
! 715: -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
! 716: -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
! 717: -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
! 718: -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
! 719: -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
! 720: -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
! 721: -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
! 722: -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
! 723: -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
! 724: -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
! 725: -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
! 726: -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
! 727: -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
! 728: -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
! 729: -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
! 730: -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
! 731: < $(srcdir)/stdlib.in.h | \
! 732: sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1.1 misho 733: -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1.1.1.2 ! misho 734: -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
! 735: -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1.1 misho 736: -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1.1.1.2 ! misho 737: -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1.1 misho 738: -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1.1.1.2 ! misho 739: -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
! 740: -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
! 741: -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
! 742: -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
! 743: -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
! 744: -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1.1 misho 745: -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1.1.1.2 ! misho 746: -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1.1 misho 747: -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1.1.1.2 ! misho 748: -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1.1 misho 749: -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
750: -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
751: -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
752: -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
753: -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1.1.1.2 ! misho 754: -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
! 755: -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
! 756: -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
! 757: -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
! 758: -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
! 759: -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1.1 misho 760: -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
761: -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1.1.1.2 ! misho 762: -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
! 763: -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
! 764: -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1.1 misho 765: -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1.1.1.2 ! misho 766: -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
! 767: -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
! 768: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 769: -e '/definition of _Noreturn/r $(_NORETURN_H)' \
! 770: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 771: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
! 772: } > $@-t && \
1.1 misho 773: mv $@-t $@
774: MOSTLYCLEANFILES += stdlib.h stdlib.h-t
775:
776: EXTRA_DIST += stdlib.in.h
777:
778: ## end gnulib module stdlib
779:
780: ## begin gnulib module streq
781:
782:
783: EXTRA_DIST += streq.h
784:
785: ## end gnulib module streq
786:
787: ## begin gnulib module strerror
788:
789:
790: EXTRA_DIST += strerror.c
791:
792: EXTRA_libicrt_a_SOURCES += strerror.c
793:
794: ## end gnulib module strerror
795:
1.1.1.2 ! misho 796: ## begin gnulib module strerror-override
! 797:
! 798:
! 799: EXTRA_DIST += strerror-override.c strerror-override.h
! 800:
! 801: EXTRA_libicrt_a_SOURCES += strerror-override.c
! 802:
! 803: ## end gnulib module strerror-override
! 804:
1.1 misho 805: ## begin gnulib module string
806:
807: BUILT_SOURCES += string.h
808:
809: # We need the following in order to create <string.h> when the system
810: # doesn't have one that works with the given compiler.
1.1.1.2 ! misho 811: string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 812: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 813: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1.1.1.2 ! misho 814: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 815: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1.1 misho 816: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 817: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 818: -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1.1.1.2 ! misho 819: -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
! 820: -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
! 821: -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
! 822: -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
! 823: -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
! 824: -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
! 825: -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
! 826: -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
! 827: -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
! 828: -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
! 829: -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
! 830: -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
! 831: -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
! 832: -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
! 833: -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
! 834: -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
! 835: -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
! 836: -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
! 837: -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
! 838: -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
! 839: -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
! 840: -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
! 841: -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
! 842: -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
! 843: -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
! 844: -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
! 845: -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
! 846: -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
! 847: -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
! 848: -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
! 849: -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
! 850: -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
! 851: -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
! 852: -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
! 853: -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
! 854: -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
! 855: -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
! 856: < $(srcdir)/string.in.h | \
! 857: sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
! 858: -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
! 859: -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
! 860: -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1.1 misho 861: -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
862: -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
863: -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
864: -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
865: -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
866: -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
867: -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
868: -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
869: -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
870: -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
871: -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
872: -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
873: -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
874: -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1.1.1.2 ! misho 875: -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1.1 misho 876: -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
877: -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1.1.1.2 ! misho 878: -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1.1 misho 879: -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
880: -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
881: -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1.1.1.2 ! misho 882: -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1.1 misho 883: -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
884: -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
885: -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1.1.1.2 ! misho 886: -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
! 887: -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
! 888: -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
! 889: -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1.1 misho 890: -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1.1.1.2 ! misho 891: -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
! 892: -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
! 893: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 894: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 895: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1.1 misho 896: < $(srcdir)/string.in.h; \
1.1.1.2 ! misho 897: } > $@-t && \
1.1 misho 898: mv $@-t $@
899: MOSTLYCLEANFILES += string.h string.h-t
900:
901: EXTRA_DIST += string.in.h
902:
903: ## end gnulib module string
904:
1.1.1.2 ! misho 905: ## begin gnulib module sys_stat
! 906:
! 907: BUILT_SOURCES += sys/stat.h
! 908:
! 909: # We need the following in order to create <sys/stat.h> when the system
! 910: # has one that is incomplete.
! 911: sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 912: $(AM_V_at)$(MKDIR_P) sys
! 913: $(AM_V_GEN)rm -f $@-t $@ && \
! 914: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
! 915: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 916: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
! 917: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
! 918: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
! 919: -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
! 920: -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
! 921: -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
! 922: -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
! 923: -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
! 924: -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
! 925: -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
! 926: -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
! 927: -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
! 928: -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
! 929: -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
! 930: -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
! 931: -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
! 932: -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
! 933: -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
! 934: -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
! 935: -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
! 936: -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
! 937: -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
! 938: -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
! 939: -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
! 940: -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
! 941: -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
! 942: -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
! 943: -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
! 944: -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
! 945: -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
! 946: -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
! 947: -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
! 948: -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
! 949: -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
! 950: -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
! 951: -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
! 952: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 953: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 954: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
! 955: < $(srcdir)/sys_stat.in.h; \
! 956: } > $@-t && \
! 957: mv $@-t $@
! 958: MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
! 959: MOSTLYCLEANDIRS += sys
! 960:
! 961: EXTRA_DIST += sys_stat.in.h
! 962:
! 963: ## end gnulib module sys_stat
! 964:
! 965: ## begin gnulib module time
! 966:
! 967: BUILT_SOURCES += time.h
! 968:
! 969: # We need the following in order to create <time.h> when the system
! 970: # doesn't have one that works with the given compiler.
! 971: time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 972: $(AM_V_GEN)rm -f $@-t $@ && \
! 973: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
! 974: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 975: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
! 976: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
! 977: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
! 978: -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
! 979: -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
! 980: -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
! 981: -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
! 982: -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
! 983: -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
! 984: -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
! 985: -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
! 986: -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
! 987: -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
! 988: -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
! 989: -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
! 990: -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
! 991: -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
! 992: -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
! 993: -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
! 994: -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
! 995: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 996: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 997: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
! 998: < $(srcdir)/time.in.h; \
! 999: } > $@-t && \
! 1000: mv $@-t $@
! 1001: MOSTLYCLEANFILES += time.h time.h-t
! 1002:
! 1003: EXTRA_DIST += time.in.h
! 1004:
! 1005: ## end gnulib module time
! 1006:
1.1 misho 1007: ## begin gnulib module unistd
1008:
1009: BUILT_SOURCES += unistd.h
1010:
1011: # We need the following in order to create an empty placeholder for
1012: # <unistd.h> when the system doesn't have one.
1.1.1.2 ! misho 1013: unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
! 1014: $(AM_V_GEN)rm -f $@-t $@ && \
1.1 misho 1015: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1.1.1.2 ! misho 1016: sed -e 's|@''GUARD_PREFIX''@|GL|g' \
! 1017: -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1.1 misho 1018: -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1019: -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1.1.1.2 ! misho 1020: -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1.1 misho 1021: -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1.1.1.2 ! misho 1022: -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
! 1023: -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
! 1024: -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
! 1025: -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
! 1026: -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
! 1027: -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
! 1028: -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
! 1029: -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
! 1030: -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
! 1031: -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
! 1032: -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
! 1033: -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
! 1034: -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
! 1035: -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
! 1036: -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
! 1037: -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
! 1038: -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
! 1039: -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
! 1040: -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
! 1041: -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
! 1042: -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
! 1043: -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
! 1044: -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
! 1045: -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
! 1046: -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
! 1047: -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
! 1048: -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
! 1049: -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
! 1050: -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
! 1051: -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
! 1052: -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
! 1053: -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
! 1054: -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
! 1055: -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
! 1056: -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
! 1057: -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
! 1058: -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
! 1059: -e 's/@''GNULIB_UNISTD_H_GETOPT''@/$(GNULIB_UNISTD_H_GETOPT)/g' \
! 1060: -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
! 1061: -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
! 1062: -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
! 1063: -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
! 1064: -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
! 1065: -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
! 1066: < $(srcdir)/unistd.in.h | \
! 1067: sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1.1 misho 1068: -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1.1.1.2 ! misho 1069: -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1.1 misho 1070: -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1.1.1.2 ! misho 1071: -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
! 1072: -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
! 1073: -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1.1 misho 1074: -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1075: -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1076: -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1.1.1.2 ! misho 1077: -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1.1 misho 1078: -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1.1.1.2 ! misho 1079: -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1.1 misho 1080: -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1.1.1.2 ! misho 1081: -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
! 1082: -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1.1 misho 1083: -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1.1.1.2 ! misho 1084: -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
! 1085: -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
! 1086: -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
! 1087: -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
! 1088: -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1.1 misho 1089: -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1.1.1.2 ! misho 1090: -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1.1 misho 1091: -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1.1.1.2 ! misho 1092: -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
! 1093: -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
! 1094: -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
! 1095: -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1.1 misho 1096: -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1.1.1.2 ! misho 1097: -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
! 1098: -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1.1 misho 1099: -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1.1.1.2 ! misho 1100: -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
! 1101: -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
! 1102: -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1.1 misho 1103: -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1104: -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1.1.1.2 ! misho 1105: | \
! 1106: sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1.1 misho 1107: -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1.1.1.2 ! misho 1108: -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
! 1109: -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
! 1110: -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1.1 misho 1111: -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1.1.1.2 ! misho 1112: -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
! 1113: -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
! 1114: -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1.1 misho 1115: -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1116: -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1.1.1.2 ! misho 1117: -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
! 1118: -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1.1 misho 1119: -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1.1.1.2 ! misho 1120: -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
! 1121: -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
! 1122: -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
! 1123: -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
! 1124: -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
! 1125: -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
! 1126: -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
! 1127: -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
! 1128: -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
! 1129: -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
! 1130: -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1.1 misho 1131: -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1132: -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1.1.1.2 ! misho 1133: -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
! 1134: -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
! 1135: -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
! 1136: -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
! 1137: } > $@-t && \
1.1 misho 1138: mv $@-t $@
1139: MOSTLYCLEANFILES += unistd.h unistd.h-t
1140:
1141: EXTRA_DIST += unistd.in.h
1142:
1143: ## end gnulib module unistd
1144:
1145: ## begin gnulib module unitypes
1146:
1.1.1.2 ! misho 1147: BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1.1 misho 1148:
1.1.1.2 ! misho 1149: unitypes.h: unitypes.in.h
! 1150: $(AM_V_GEN)rm -f $@-t $@ && \
! 1151: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
! 1152: cat $(srcdir)/unitypes.in.h; \
! 1153: } > $@-t && \
! 1154: mv -f $@-t $@
! 1155: MOSTLYCLEANFILES += unitypes.h unitypes.h-t
! 1156:
! 1157: EXTRA_DIST += unitypes.in.h
1.1 misho 1158:
1159: ## end gnulib module unitypes
1160:
1161: ## begin gnulib module uniwidth/base
1162:
1.1.1.2 ! misho 1163: BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
! 1164:
! 1165: uniwidth.h: uniwidth.in.h
! 1166: $(AM_V_GEN)rm -f $@-t $@ && \
! 1167: { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
! 1168: cat $(srcdir)/uniwidth.in.h; \
! 1169: } > $@-t && \
! 1170: mv -f $@-t $@
! 1171: MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1.1 misho 1172:
1.1.1.2 ! misho 1173: EXTRA_DIST += localcharset.h uniwidth.in.h
1.1 misho 1174:
1175: ## end gnulib module uniwidth/base
1176:
1177: ## begin gnulib module uniwidth/width
1178:
1.1.1.2 ! misho 1179: if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1.1 misho 1180: libicrt_a_SOURCES += uniwidth/width.c
1.1.1.2 ! misho 1181: endif
1.1 misho 1182:
1183: EXTRA_DIST += uniwidth/cjk.h
1184:
1185: ## end gnulib module uniwidth/width
1186:
1187: ## begin gnulib module unlocked-io
1188:
1189:
1190: EXTRA_DIST += unlocked-io.h
1191:
1192: ## end gnulib module unlocked-io
1193:
1.1.1.2 ! misho 1194: ## begin gnulib module verify
1.1 misho 1195:
1196:
1.1.1.2 ! misho 1197: EXTRA_DIST += verify.h
1.1 misho 1198:
1.1.1.2 ! misho 1199: ## end gnulib module verify
1.1 misho 1200:
1201: ## begin gnulib module xalloc
1202:
1203: libicrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c
1204:
1205: ## end gnulib module xalloc
1206:
1207: ## begin gnulib module xreadlink
1208:
1209: libicrt_a_SOURCES += xreadlink.c
1210:
1211: EXTRA_DIST += xreadlink.h
1212:
1213: ## end gnulib module xreadlink
1214:
1215:
1216: mostlyclean-local: mostlyclean-generic
1217: @for dir in '' $(MOSTLYCLEANDIRS); do \
1218: if test -n "$$dir" && test -d $$dir; then \
1219: echo "rmdir $$dir"; rmdir $$dir; \
1220: fi; \
1221: done; \
1222: :
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>