gnulib.mk 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2011 Free Software Foundation, Inc.
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This file is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this file. If not, see <http://www.gnu.org/licenses/>.
  17. #
  18. # As a special exception to the GNU General Public License,
  19. # this file may be distributed as part of a program that
  20. # contains a configuration script generated by Autoconf, under
  21. # the same distribution terms as the rest of that program.
  22. #
  23. # Generated by gnulib-tool.
  24. # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
  25. MOSTLYCLEANFILES += core *.stackdump
  26. noinst_LIBRARIES += libgnu.a
  27. libgnu_a_SOURCES =
  28. libgnu_a_LIBADD = $(gl_LIBOBJS)
  29. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  30. EXTRA_libgnu_a_SOURCES =
  31. ## begin gnulib module alloca-opt
  32. BUILT_SOURCES += $(ALLOCA_H)
  33. # We need the following in order to create <alloca.h> when the system
  34. # doesn't have one that works with the given compiler.
  35. if GL_GENERATE_ALLOCA_H
  36. alloca.h: alloca.in.h $(top_builddir)/config.status
  37. $(AM_V_GEN)rm -f $@-t $@ && \
  38. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  39. cat $(srcdir)/alloca.in.h; \
  40. } > $@-t && \
  41. mv -f $@-t $@
  42. else
  43. alloca.h: $(top_builddir)/config.status
  44. rm -f $@
  45. endif
  46. MOSTLYCLEANFILES += alloca.h alloca.h-t
  47. EXTRA_DIST += alloca.in.h
  48. ## end gnulib module alloca-opt
  49. ## begin gnulib module allocator
  50. libgnu_a_SOURCES += allocator.c
  51. EXTRA_DIST += allocator.h
  52. ## end gnulib module allocator
  53. ## begin gnulib module careadlinkat
  54. libgnu_a_SOURCES += careadlinkat.c
  55. EXTRA_DIST += careadlinkat.h
  56. ## end gnulib module careadlinkat
  57. ## begin gnulib module crypto/md5
  58. libgnu_a_SOURCES += md5.c
  59. EXTRA_DIST += md5.h
  60. ## end gnulib module crypto/md5
  61. ## begin gnulib module crypto/sha1
  62. libgnu_a_SOURCES += sha1.c
  63. EXTRA_DIST += sha1.h
  64. ## end gnulib module crypto/sha1
  65. ## begin gnulib module crypto/sha256
  66. libgnu_a_SOURCES += sha256.c
  67. EXTRA_DIST += sha256.h
  68. ## end gnulib module crypto/sha256
  69. ## begin gnulib module crypto/sha512
  70. libgnu_a_SOURCES += sha512.c
  71. EXTRA_DIST += sha512.h
  72. ## end gnulib module crypto/sha512
  73. ## begin gnulib module dosname
  74. if gl_GNULIB_ENABLED_dosname
  75. endif
  76. EXTRA_DIST += dosname.h
  77. ## end gnulib module dosname
  78. ## begin gnulib module dtoastr
  79. libgnu_a_SOURCES += dtoastr.c
  80. EXTRA_DIST += ftoastr.c ftoastr.h
  81. EXTRA_libgnu_a_SOURCES += ftoastr.c
  82. ## end gnulib module dtoastr
  83. ## begin gnulib module dup2
  84. EXTRA_DIST += dup2.c
  85. EXTRA_libgnu_a_SOURCES += dup2.c
  86. ## end gnulib module dup2
  87. ## begin gnulib module filemode
  88. libgnu_a_SOURCES += filemode.c
  89. EXTRA_DIST += filemode.h
  90. ## end gnulib module filemode
  91. ## begin gnulib module getloadavg
  92. EXTRA_DIST += getloadavg.c
  93. EXTRA_libgnu_a_SOURCES += getloadavg.c
  94. ## end gnulib module getloadavg
  95. ## begin gnulib module getopt-posix
  96. BUILT_SOURCES += $(GETOPT_H)
  97. # We need the following in order to create <getopt.h> when the system
  98. # doesn't have one that works with the given compiler.
  99. getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
  100. $(AM_V_GEN)rm -f $@-t $@ && \
  101. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  102. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  103. -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
  104. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  105. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  106. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  107. -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
  108. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  109. < $(srcdir)/getopt.in.h; \
  110. } > $@-t && \
  111. mv -f $@-t $@
  112. MOSTLYCLEANFILES += getopt.h getopt.h-t
  113. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  114. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  115. ## end gnulib module getopt-posix
  116. ## begin gnulib module gettext-h
  117. if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
  118. libgnu_a_SOURCES += gettext.h
  119. endif
  120. ## end gnulib module gettext-h
  121. ## begin gnulib module ignore-value
  122. EXTRA_DIST += ignore-value.h
  123. ## end gnulib module ignore-value
  124. ## begin gnulib module intprops
  125. EXTRA_DIST += intprops.h
  126. ## end gnulib module intprops
  127. ## begin gnulib module inttypes-incomplete
  128. BUILT_SOURCES += inttypes.h
  129. # We need the following in order to create <inttypes.h> when the system
  130. # doesn't have one that works with the given compiler.
  131. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  132. $(AM_V_GEN)rm -f $@-t $@ && \
  133. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  134. sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  135. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  136. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  137. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  138. -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
  139. -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
  140. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  141. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  142. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  143. -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
  144. -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
  145. -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
  146. -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
  147. -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
  148. -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
  149. -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
  150. -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
  151. -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
  152. -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
  153. -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
  154. -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
  155. -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
  156. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  157. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  158. < $(srcdir)/inttypes.in.h; \
  159. } > $@-t && \
  160. mv $@-t $@
  161. MOSTLYCLEANFILES += inttypes.h inttypes.h-t
  162. EXTRA_DIST += inttypes.in.h
  163. ## end gnulib module inttypes-incomplete
  164. ## begin gnulib module lstat
  165. EXTRA_DIST += lstat.c
  166. EXTRA_libgnu_a_SOURCES += lstat.c
  167. ## end gnulib module lstat
  168. ## begin gnulib module mktime
  169. EXTRA_DIST += mktime-internal.h mktime.c
  170. EXTRA_libgnu_a_SOURCES += mktime.c
  171. ## end gnulib module mktime
  172. ## begin gnulib module pathmax
  173. if gl_GNULIB_ENABLED_pathmax
  174. endif
  175. EXTRA_DIST += pathmax.h
  176. ## end gnulib module pathmax
  177. ## begin gnulib module pthread_sigmask
  178. EXTRA_DIST += pthread_sigmask.c
  179. EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
  180. ## end gnulib module pthread_sigmask
  181. ## begin gnulib module readlink
  182. EXTRA_DIST += readlink.c
  183. EXTRA_libgnu_a_SOURCES += readlink.c
  184. ## end gnulib module readlink
  185. ## begin gnulib module signal-h
  186. BUILT_SOURCES += signal.h
  187. # We need the following in order to create <signal.h> when the system
  188. # doesn't have a complete one.
  189. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  190. $(AM_V_GEN)rm -f $@-t $@ && \
  191. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  192. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  193. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  194. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  195. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  196. -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
  197. -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
  198. -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
  199. -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
  200. -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
  201. -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
  202. -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
  203. -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
  204. -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
  205. -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
  206. -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
  207. -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
  208. -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
  209. -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
  210. -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
  211. -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
  212. -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
  213. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  214. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  215. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  216. < $(srcdir)/signal.in.h; \
  217. } > $@-t && \
  218. mv $@-t $@
  219. MOSTLYCLEANFILES += signal.h signal.h-t
  220. EXTRA_DIST += signal.in.h
  221. ## end gnulib module signal-h
  222. ## begin gnulib module sigprocmask
  223. if gl_GNULIB_ENABLED_sigprocmask
  224. endif
  225. EXTRA_DIST += sigprocmask.c
  226. EXTRA_libgnu_a_SOURCES += sigprocmask.c
  227. ## end gnulib module sigprocmask
  228. ## begin gnulib module snippet/_Noreturn
  229. # Because this Makefile snippet defines a variable used by other
  230. # gnulib Makefile snippets, it must be present in all Makefile.am that
  231. # need it. This is ensured by the applicability 'all' defined above.
  232. _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
  233. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
  234. ## end gnulib module snippet/_Noreturn
  235. ## begin gnulib module snippet/arg-nonnull
  236. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  237. # statements but through direct file reference. Therefore this snippet must be
  238. # present in all Makefile.am that need it. This is ensured by the applicability
  239. # 'all' defined above.
  240. BUILT_SOURCES += arg-nonnull.h
  241. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  242. # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
  243. # off.
  244. arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  245. $(AM_V_GEN)rm -f $@-t $@ && \
  246. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  247. < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
  248. > $@-t && \
  249. mv $@-t $@
  250. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  251. ARG_NONNULL_H=arg-nonnull.h
  252. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  253. ## end gnulib module snippet/arg-nonnull
  254. ## begin gnulib module snippet/c++defs
  255. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  256. # statements but through direct file reference. Therefore this snippet must be
  257. # present in all Makefile.am that need it. This is ensured by the applicability
  258. # 'all' defined above.
  259. BUILT_SOURCES += c++defs.h
  260. # The c++defs.h that gets inserted into generated .h files is the same as
  261. # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
  262. c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
  263. $(AM_V_GEN)rm -f $@-t $@ && \
  264. sed -n -e '/_GL_CXXDEFS/,$$p' \
  265. < $(top_srcdir)/build-aux/snippet/c++defs.h \
  266. > $@-t && \
  267. mv $@-t $@
  268. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  269. CXXDEFS_H=c++defs.h
  270. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
  271. ## end gnulib module snippet/c++defs
  272. ## begin gnulib module snippet/warn-on-use
  273. BUILT_SOURCES += warn-on-use.h
  274. # The warn-on-use.h that gets inserted into generated .h files is the same as
  275. # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
  276. # off.
  277. warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
  278. $(AM_V_GEN)rm -f $@-t $@ && \
  279. sed -n -e '/^.ifndef/,$$p' \
  280. < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
  281. > $@-t && \
  282. mv $@-t $@
  283. MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
  284. WARN_ON_USE_H=warn-on-use.h
  285. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
  286. ## end gnulib module snippet/warn-on-use
  287. ## begin gnulib module stat
  288. if gl_GNULIB_ENABLED_stat
  289. endif
  290. EXTRA_DIST += stat.c
  291. EXTRA_libgnu_a_SOURCES += stat.c
  292. ## end gnulib module stat
  293. ## begin gnulib module stdarg
  294. BUILT_SOURCES += $(STDARG_H)
  295. # We need the following in order to create <stdarg.h> when the system
  296. # doesn't have one that works with the given compiler.
  297. if GL_GENERATE_STDARG_H
  298. stdarg.h: stdarg.in.h $(top_builddir)/config.status
  299. $(AM_V_GEN)rm -f $@-t $@ && \
  300. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  301. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  302. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  303. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  304. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  305. -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
  306. < $(srcdir)/stdarg.in.h; \
  307. } > $@-t && \
  308. mv $@-t $@
  309. else
  310. stdarg.h: $(top_builddir)/config.status
  311. rm -f $@
  312. endif
  313. MOSTLYCLEANFILES += stdarg.h stdarg.h-t
  314. EXTRA_DIST += stdarg.in.h
  315. ## end gnulib module stdarg
  316. ## begin gnulib module stdbool
  317. BUILT_SOURCES += $(STDBOOL_H)
  318. # We need the following in order to create <stdbool.h> when the system
  319. # doesn't have one that works.
  320. if GL_GENERATE_STDBOOL_H
  321. stdbool.h: stdbool.in.h $(top_builddir)/config.status
  322. $(AM_V_GEN)rm -f $@-t $@ && \
  323. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  324. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  325. } > $@-t && \
  326. mv $@-t $@
  327. else
  328. stdbool.h: $(top_builddir)/config.status
  329. rm -f $@
  330. endif
  331. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  332. EXTRA_DIST += stdbool.in.h
  333. ## end gnulib module stdbool
  334. ## begin gnulib module stddef
  335. BUILT_SOURCES += $(STDDEF_H)
  336. # We need the following in order to create <stddef.h> when the system
  337. # doesn't have one that works with the given compiler.
  338. if GL_GENERATE_STDDEF_H
  339. stddef.h: stddef.in.h $(top_builddir)/config.status
  340. $(AM_V_GEN)rm -f $@-t $@ && \
  341. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  342. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  343. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  344. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  345. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  346. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  347. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  348. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  349. < $(srcdir)/stddef.in.h; \
  350. } > $@-t && \
  351. mv $@-t $@
  352. else
  353. stddef.h: $(top_builddir)/config.status
  354. rm -f $@
  355. endif
  356. MOSTLYCLEANFILES += stddef.h stddef.h-t
  357. EXTRA_DIST += stddef.in.h
  358. ## end gnulib module stddef
  359. ## begin gnulib module stdint
  360. BUILT_SOURCES += $(STDINT_H)
  361. # We need the following in order to create <stdint.h> when the system
  362. # doesn't have one that works with the given compiler.
  363. if GL_GENERATE_STDINT_H
  364. stdint.h: stdint.in.h $(top_builddir)/config.status
  365. $(AM_V_GEN)rm -f $@-t $@ && \
  366. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  367. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  368. -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  369. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  370. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  371. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  372. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  373. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  374. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  375. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  376. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  377. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  378. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  379. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  380. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  381. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  382. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  383. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  384. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  385. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  386. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  387. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  388. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  389. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  390. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  391. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  392. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  393. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  394. < $(srcdir)/stdint.in.h; \
  395. } > $@-t && \
  396. mv $@-t $@
  397. else
  398. stdint.h: $(top_builddir)/config.status
  399. rm -f $@
  400. endif
  401. MOSTLYCLEANFILES += stdint.h stdint.h-t
  402. EXTRA_DIST += stdint.in.h
  403. ## end gnulib module stdint
  404. ## begin gnulib module stdio
  405. BUILT_SOURCES += stdio.h
  406. # We need the following in order to create <stdio.h> when the system
  407. # doesn't have one that works with the given compiler.
  408. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  409. $(AM_V_GEN)rm -f $@-t $@ && \
  410. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  411. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  412. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  413. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  414. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  415. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  416. -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
  417. -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
  418. -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
  419. -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
  420. -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
  421. -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
  422. -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
  423. -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
  424. -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
  425. -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
  426. -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
  427. -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
  428. -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
  429. -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
  430. -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
  431. -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
  432. -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
  433. -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
  434. -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
  435. -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
  436. -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
  437. -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
  438. -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
  439. -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
  440. -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
  441. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
  442. -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
  443. -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
  444. -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
  445. -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
  446. -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
  447. -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
  448. -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
  449. -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
  450. -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
  451. -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
  452. -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
  453. -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
  454. -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
  455. -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
  456. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
  457. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
  458. -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
  459. -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
  460. -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
  461. -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
  462. -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
  463. -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
  464. -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
  465. -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
  466. -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
  467. -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
  468. -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
  469. < $(srcdir)/stdio.in.h | \
  470. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  471. -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
  472. -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
  473. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  474. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  475. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  476. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  477. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  478. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  479. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  480. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  481. -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
  482. -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
  483. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  484. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  485. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  486. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  487. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  488. -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
  489. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  490. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  491. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  492. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  493. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  494. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  495. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  496. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  497. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  498. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  499. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  500. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  501. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  502. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  503. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  504. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  505. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  506. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  507. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  508. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  509. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
  510. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  511. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  512. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  513. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  514. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  515. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  516. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  517. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  518. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  519. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  520. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  521. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  522. } > $@-t && \
  523. mv $@-t $@
  524. MOSTLYCLEANFILES += stdio.h stdio.h-t
  525. EXTRA_DIST += stdio.in.h
  526. ## end gnulib module stdio
  527. ## begin gnulib module stdlib
  528. BUILT_SOURCES += stdlib.h
  529. # We need the following in order to create <stdlib.h> when the system
  530. # doesn't have one that works with the given compiler.
  531. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
  532. $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  533. $(AM_V_GEN)rm -f $@-t $@ && \
  534. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  535. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  536. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  537. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  538. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  539. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  540. -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
  541. -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
  542. -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
  543. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
  544. -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
  545. -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
  546. -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
  547. -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
  548. -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
  549. -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
  550. -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
  551. -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
  552. -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
  553. -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
  554. -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
  555. -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
  556. -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
  557. -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
  558. -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
  559. -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
  560. -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
  561. -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
  562. -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
  563. -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
  564. -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
  565. -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
  566. -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
  567. -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
  568. < $(srcdir)/stdlib.in.h | \
  569. sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  570. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  571. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  572. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  573. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  574. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  575. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  576. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  577. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  578. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  579. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  580. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  581. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  582. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  583. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  584. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  585. -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
  586. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  587. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  588. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  589. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  590. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  591. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  592. -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
  593. -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
  594. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  595. -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
  596. -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
  597. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  598. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  599. -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
  600. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  601. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  602. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  603. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  604. -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
  605. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  606. -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  607. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  608. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  609. } > $@-t && \
  610. mv $@-t $@
  611. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  612. EXTRA_DIST += stdlib.in.h
  613. ## end gnulib module stdlib
  614. ## begin gnulib module strftime
  615. libgnu_a_SOURCES += strftime.c
  616. EXTRA_DIST += strftime.h
  617. ## end gnulib module strftime
  618. ## begin gnulib module strtoimax
  619. EXTRA_DIST += strtoimax.c
  620. EXTRA_libgnu_a_SOURCES += strtoimax.c
  621. ## end gnulib module strtoimax
  622. ## begin gnulib module strtoll
  623. if gl_GNULIB_ENABLED_strtoll
  624. endif
  625. EXTRA_DIST += strtol.c strtoll.c
  626. EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
  627. ## end gnulib module strtoll
  628. ## begin gnulib module strtoull
  629. if gl_GNULIB_ENABLED_strtoull
  630. endif
  631. EXTRA_DIST += strtol.c strtoul.c strtoull.c
  632. EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
  633. ## end gnulib module strtoull
  634. ## begin gnulib module strtoumax
  635. EXTRA_DIST += strtoimax.c strtoumax.c
  636. EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
  637. ## end gnulib module strtoumax
  638. ## begin gnulib module symlink
  639. EXTRA_DIST += symlink.c
  640. EXTRA_libgnu_a_SOURCES += symlink.c
  641. ## end gnulib module symlink
  642. ## begin gnulib module sys_stat
  643. BUILT_SOURCES += sys/stat.h
  644. # We need the following in order to create <sys/stat.h> when the system
  645. # has one that is incomplete.
  646. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  647. $(AM_V_at)$(MKDIR_P) sys
  648. $(AM_V_GEN)rm -f $@-t $@ && \
  649. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  650. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  651. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  652. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  653. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  654. -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
  655. -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
  656. -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
  657. -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
  658. -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
  659. -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
  660. -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
  661. -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
  662. -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
  663. -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
  664. -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
  665. -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
  666. -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
  667. -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
  668. -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
  669. -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
  670. -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
  671. -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
  672. -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
  673. -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
  674. -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
  675. -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
  676. -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
  677. -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
  678. -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
  679. -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
  680. -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
  681. -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
  682. -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
  683. -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
  684. -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
  685. -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
  686. -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
  687. -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
  688. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  689. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  690. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  691. < $(srcdir)/sys_stat.in.h; \
  692. } > $@-t && \
  693. mv $@-t $@
  694. MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  695. MOSTLYCLEANDIRS += sys
  696. EXTRA_DIST += sys_stat.in.h
  697. ## end gnulib module sys_stat
  698. ## begin gnulib module time
  699. BUILT_SOURCES += time.h
  700. # We need the following in order to create <time.h> when the system
  701. # doesn't have one that works with the given compiler.
  702. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  703. $(AM_V_GEN)rm -f $@-t $@ && \
  704. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  705. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  706. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  707. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  708. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  709. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  710. -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
  711. -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
  712. -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
  713. -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
  714. -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
  715. -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
  716. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  717. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  718. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  719. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  720. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  721. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  722. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  723. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  724. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  725. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  726. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  727. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  728. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  729. < $(srcdir)/time.in.h; \
  730. } > $@-t && \
  731. mv $@-t $@
  732. MOSTLYCLEANFILES += time.h time.h-t
  733. EXTRA_DIST += time.in.h
  734. ## end gnulib module time
  735. ## begin gnulib module time_r
  736. EXTRA_DIST += time_r.c
  737. EXTRA_libgnu_a_SOURCES += time_r.c
  738. ## end gnulib module time_r
  739. ## begin gnulib module u64
  740. EXTRA_DIST += u64.h
  741. ## end gnulib module u64
  742. ## begin gnulib module unistd
  743. BUILT_SOURCES += unistd.h
  744. # We need the following in order to create an empty placeholder for
  745. # <unistd.h> when the system doesn't have one.
  746. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  747. $(AM_V_GEN)rm -f $@-t $@ && \
  748. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  749. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  750. -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  751. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  752. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  753. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  754. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  755. -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
  756. -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
  757. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  758. -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
  759. -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
  760. -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
  761. -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
  762. -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
  763. -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
  764. -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
  765. -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
  766. -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
  767. -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
  768. -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
  769. -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
  770. -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
  771. -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
  772. -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
  773. -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
  774. -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
  775. -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
  776. -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
  777. -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
  778. -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
  779. -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
  780. -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
  781. -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
  782. -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
  783. -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
  784. -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
  785. -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
  786. -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
  787. -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
  788. -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
  789. -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
  790. -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
  791. -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
  792. -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
  793. -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
  794. -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
  795. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/$(GNULIB_UNISTD_H_GETOPT)/g' \
  796. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
  797. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
  798. -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
  799. -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
  800. -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
  801. -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
  802. < $(srcdir)/unistd.in.h | \
  803. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  804. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  805. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  806. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  807. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  808. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  809. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  810. -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
  811. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  812. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  813. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  814. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  815. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  816. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  817. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  818. -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
  819. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  820. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  821. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  822. -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
  823. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  824. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  825. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  826. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  827. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  828. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  829. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  830. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  831. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  832. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  833. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  834. -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
  835. -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
  836. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
  837. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  838. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  839. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  840. -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
  841. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  842. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  843. | \
  844. sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  845. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  846. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  847. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  848. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  849. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  850. -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
  851. -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
  852. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  853. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  854. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  855. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  856. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  857. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  858. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  859. -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
  860. -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
  861. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  862. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  863. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  864. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  865. -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
  866. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  867. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  868. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  869. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  870. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  871. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  872. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  873. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  874. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  875. } > $@-t && \
  876. mv $@-t $@
  877. MOSTLYCLEANFILES += unistd.h unistd.h-t
  878. EXTRA_DIST += unistd.in.h
  879. ## end gnulib module unistd
  880. ## begin gnulib module verify
  881. if gl_GNULIB_ENABLED_verify
  882. endif
  883. EXTRA_DIST += verify.h
  884. ## end gnulib module verify
  885. mostlyclean-local: mostlyclean-generic
  886. @for dir in '' $(MOSTLYCLEANDIRS); do \
  887. if test -n "$$dir" && test -d $$dir; then \
  888. echo "rmdir $$dir"; rmdir $$dir; \
  889. fi; \
  890. done; \
  891. :