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