PageRenderTime 43ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/amanda/tags/3_3_0beta1/gnulib/Makefile.am

#
Makefile | 1550 lines | 994 code | 330 blank | 226 comment | 75 complexity | 97f73ffa6e4f6c289cc81ee7c87852f7 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2010 Free Software Foundation, Inc.
  4. #
  5. # This file is free software, distributed under the terms of the GNU
  6. # General Public License. As a special exception to the GNU General
  7. # Public License, this file may be distributed as part of a program
  8. # that contains a configuration script generated by Autoconf, under
  9. # the same distribution terms as the rest of that program.
  10. #
  11. # Generated by gnulib-tool.
  12. # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=config/gnulib --doc-base=doc --tests-base=tests --aux-dir=config --libtool --macro-prefix=gl base64 environ fseeko fsusage ftello ftruncate full-read full-write getaddrinfo getopt-gnu inet_pton lock lseek mkdtemp physmem regex
  13. AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
  14. SUBDIRS =
  15. noinst_HEADERS =
  16. noinst_LIBRARIES =
  17. noinst_LTLIBRARIES =
  18. EXTRA_DIST =
  19. BUILT_SOURCES =
  20. SUFFIXES =
  21. MOSTLYCLEANFILES = core *.stackdump
  22. MOSTLYCLEANDIRS =
  23. CLEANFILES =
  24. DISTCLEANFILES =
  25. MAINTAINERCLEANFILES =
  26. AM_CPPFLAGS =
  27. if GCC_COMPILER
  28. AM_CFLAGS = -Wno-error -Wno-sign-compare
  29. endif
  30. AM_CFLAGS =
  31. noinst_LTLIBRARIES += libgnu.la
  32. libgnu_la_SOURCES =
  33. libgnu_la_LIBADD = $(gl_LTLIBOBJS)
  34. libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
  35. EXTRA_libgnu_la_SOURCES =
  36. libgnu_la_LDFLAGS = $(AM_LDFLAGS)
  37. ## begin gnulib module alignof
  38. EXTRA_DIST += alignof.h
  39. ## end gnulib module alignof
  40. ## begin gnulib module alloca-opt
  41. BUILT_SOURCES += $(ALLOCA_H)
  42. # We need the following in order to create <alloca.h> when the system
  43. # doesn't have one that works with the given compiler.
  44. alloca.h: alloca.in.h
  45. $(AM_V_GEN)rm -f $@-t $@ && \
  46. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  47. cat $(srcdir)/alloca.in.h; \
  48. } > $@-t && \
  49. mv -f $@-t $@
  50. MOSTLYCLEANFILES += alloca.h alloca.h-t
  51. EXTRA_DIST += alloca.in.h
  52. ## end gnulib module alloca-opt
  53. ## begin gnulib module arg-nonnull
  54. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  55. # statements but through direct file reference. Therefore this snippet must be
  56. # present in all Makefile.am that need it. This is ensured by the applicability
  57. # 'all' defined above.
  58. BUILT_SOURCES += arg-nonnull.h
  59. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  60. # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
  61. arg-nonnull.h: $(top_srcdir)/config/arg-nonnull.h
  62. $(AM_V_GEN)rm -f $@-t $@ && \
  63. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  64. < $(top_srcdir)/config/arg-nonnull.h \
  65. > $@-t && \
  66. mv $@-t $@
  67. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  68. ARG_NONNULL_H=arg-nonnull.h
  69. EXTRA_DIST += $(top_srcdir)/config/arg-nonnull.h
  70. ## end gnulib module arg-nonnull
  71. ## begin gnulib module arpa_inet
  72. BUILT_SOURCES += arpa/inet.h
  73. # We need the following in order to create <arpa/inet.h> when the system
  74. # doesn't have one.
  75. arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  76. $(AM_V_at)$(MKDIR_P) arpa
  77. $(AM_V_GEN)rm -f $@-t $@ && \
  78. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  79. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  80. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  81. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  82. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  83. -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
  84. -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
  85. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  86. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  87. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  88. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  89. < $(srcdir)/arpa_inet.in.h; \
  90. } > $@-t && \
  91. mv $@-t $@
  92. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  93. MOSTLYCLEANDIRS += arpa
  94. EXTRA_DIST += arpa_inet.in.h
  95. ## end gnulib module arpa_inet
  96. ## begin gnulib module base64
  97. libgnu_la_SOURCES += base64.h base64.c
  98. ## end gnulib module base64
  99. ## begin gnulib module btowc
  100. EXTRA_DIST += btowc.c
  101. EXTRA_libgnu_la_SOURCES += btowc.c
  102. ## end gnulib module btowc
  103. ## begin gnulib module c++defs
  104. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  105. # statements but through direct file reference. Therefore this snippet must be
  106. # present in all Makefile.am that need it. This is ensured by the applicability
  107. # 'all' defined above.
  108. BUILT_SOURCES += c++defs.h
  109. # The c++defs.h that gets inserted into generated .h files is the same as
  110. # build-aux/c++defs.h, except that it has the copyright header cut off.
  111. c++defs.h: $(top_srcdir)/config/c++defs.h
  112. $(AM_V_GEN)rm -f $@-t $@ && \
  113. sed -n -e '/_GL_CXXDEFS/,$$p' \
  114. < $(top_srcdir)/config/c++defs.h \
  115. > $@-t && \
  116. mv $@-t $@
  117. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  118. CXXDEFS_H=c++defs.h
  119. EXTRA_DIST += $(top_srcdir)/config/c++defs.h
  120. ## end gnulib module c++defs
  121. ## begin gnulib module c-ctype
  122. libgnu_la_SOURCES += c-ctype.h c-ctype.c
  123. ## end gnulib module c-ctype
  124. ## begin gnulib module configmake
  125. # Retrieve values of the variables through 'configure' followed by
  126. # 'make', not directly through 'configure', so that a user who
  127. # sets some of these variables consistently on the 'make' command
  128. # line gets correct results.
  129. #
  130. # One advantage of this approach, compared to the classical
  131. # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
  132. # is that it protects against the use of undefined variables.
  133. # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
  134. # defined by this module, and code using LIBDIR gives a
  135. # compilation error.
  136. #
  137. # Another advantage is that 'make' output is shorter.
  138. #
  139. # Listed in the same order as the GNU makefile conventions.
  140. # The Automake-defined pkg* macros are appended, in the order
  141. # listed in the Automake 1.10a+ documentation.
  142. configmake.h: Makefile
  143. $(AM_V_GEN)rm -f $@-t && \
  144. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  145. echo '#define PREFIX "$(prefix)"'; \
  146. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  147. echo '#define BINDIR "$(bindir)"'; \
  148. echo '#define SBINDIR "$(sbindir)"'; \
  149. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  150. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  151. echo '#define DATADIR "$(datadir)"'; \
  152. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  153. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  154. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  155. echo '#define INCLUDEDIR "$(includedir)"'; \
  156. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  157. echo '#define DOCDIR "$(docdir)"'; \
  158. echo '#define INFODIR "$(infodir)"'; \
  159. echo '#define HTMLDIR "$(htmldir)"'; \
  160. echo '#define DVIDIR "$(dvidir)"'; \
  161. echo '#define PDFDIR "$(pdfdir)"'; \
  162. echo '#define PSDIR "$(psdir)"'; \
  163. echo '#define LIBDIR "$(libdir)"'; \
  164. echo '#define LISPDIR "$(lispdir)"'; \
  165. echo '#define LOCALEDIR "$(localedir)"'; \
  166. echo '#define MANDIR "$(mandir)"'; \
  167. echo '#define MANEXT "$(manext)"'; \
  168. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  169. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  170. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  171. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  172. } | sed '/""/d' > $@-t && \
  173. if test -f $@ && cmp $@-t $@ > /dev/null; then \
  174. rm -f $@-t; \
  175. else \
  176. rm -f $@; mv $@-t $@; \
  177. fi
  178. BUILT_SOURCES += configmake.h
  179. CLEANFILES += configmake.h configmake.h-t
  180. ## end gnulib module configmake
  181. ## begin gnulib module errno
  182. BUILT_SOURCES += $(ERRNO_H)
  183. # We need the following in order to create <errno.h> when the system
  184. # doesn't have one that is POSIX compliant.
  185. errno.h: errno.in.h
  186. $(AM_V_GEN)rm -f $@-t $@ && \
  187. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  188. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  189. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  190. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  191. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  192. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  193. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  194. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  195. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  196. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  197. < $(srcdir)/errno.in.h; \
  198. } > $@-t && \
  199. mv $@-t $@
  200. MOSTLYCLEANFILES += errno.h errno.h-t
  201. EXTRA_DIST += errno.in.h
  202. ## end gnulib module errno
  203. ## begin gnulib module float
  204. BUILT_SOURCES += $(FLOAT_H)
  205. # We need the following in order to create <float.h> when the system
  206. # doesn't have one that works with the given compiler.
  207. float.h: float.in.h
  208. $(AM_V_GEN)rm -f $@-t $@ && \
  209. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  210. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  211. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  212. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  213. < $(srcdir)/float.in.h; \
  214. } > $@-t && \
  215. mv $@-t $@
  216. MOSTLYCLEANFILES += float.h float.h-t
  217. EXTRA_DIST += float.in.h
  218. ## end gnulib module float
  219. ## begin gnulib module fseeko
  220. EXTRA_DIST += fseeko.c stdio-impl.h
  221. EXTRA_libgnu_la_SOURCES += fseeko.c
  222. ## end gnulib module fseeko
  223. ## begin gnulib module fsusage
  224. EXTRA_DIST += fsusage.c fsusage.h
  225. EXTRA_libgnu_la_SOURCES += fsusage.c
  226. ## end gnulib module fsusage
  227. ## begin gnulib module ftello
  228. EXTRA_DIST += ftello.c stdio-impl.h
  229. EXTRA_libgnu_la_SOURCES += ftello.c
  230. ## end gnulib module ftello
  231. ## begin gnulib module ftruncate
  232. EXTRA_DIST += ftruncate.c
  233. EXTRA_libgnu_la_SOURCES += ftruncate.c
  234. ## end gnulib module ftruncate
  235. ## begin gnulib module full-read
  236. libgnu_la_SOURCES += full-read.h full-read.c
  237. ## end gnulib module full-read
  238. ## begin gnulib module full-write
  239. libgnu_la_SOURCES += full-write.h full-write.c
  240. ## end gnulib module full-write
  241. ## begin gnulib module getaddrinfo
  242. EXTRA_DIST += gai_strerror.c getaddrinfo.c
  243. EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
  244. ## end gnulib module getaddrinfo
  245. ## begin gnulib module getopt-posix
  246. BUILT_SOURCES += $(GETOPT_H)
  247. # We need the following in order to create <getopt.h> when the system
  248. # doesn't have one that works with the given compiler.
  249. getopt.h: getopt.in.h $(ARG_NONNULL_H)
  250. $(AM_V_GEN)rm -f $@-t $@ && \
  251. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  252. sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
  253. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  254. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  255. -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
  256. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  257. < $(srcdir)/getopt.in.h; \
  258. } > $@-t && \
  259. mv -f $@-t $@
  260. MOSTLYCLEANFILES += getopt.h getopt.h-t
  261. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  262. EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
  263. ## end gnulib module getopt-posix
  264. ## begin gnulib module gettext-h
  265. libgnu_la_SOURCES += gettext.h
  266. ## end gnulib module gettext-h
  267. ## begin gnulib module gettimeofday
  268. EXTRA_DIST += gettimeofday.c
  269. EXTRA_libgnu_la_SOURCES += gettimeofday.c
  270. ## end gnulib module gettimeofday
  271. ## begin gnulib module havelib
  272. EXTRA_DIST += $(top_srcdir)/config/config.rpath
  273. ## end gnulib module havelib
  274. ## begin gnulib module inet_ntop
  275. EXTRA_DIST += inet_ntop.c
  276. EXTRA_libgnu_la_SOURCES += inet_ntop.c
  277. ## end gnulib module inet_ntop
  278. ## begin gnulib module inet_pton
  279. EXTRA_DIST += inet_pton.c
  280. EXTRA_libgnu_la_SOURCES += inet_pton.c
  281. ## end gnulib module inet_pton
  282. ## begin gnulib module langinfo
  283. BUILT_SOURCES += langinfo.h
  284. # We need the following in order to create an empty placeholder for
  285. # <langinfo.h> when the system doesn't have one.
  286. langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
  287. $(AM_V_GEN)rm -f $@-t $@ && \
  288. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  289. sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  290. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  291. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  292. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  293. -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
  294. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  295. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  296. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  297. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  298. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  299. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  300. < $(srcdir)/langinfo.in.h; \
  301. } > $@-t && \
  302. mv $@-t $@
  303. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  304. EXTRA_DIST += langinfo.in.h
  305. ## end gnulib module langinfo
  306. ## begin gnulib module localcharset
  307. libgnu_la_SOURCES += localcharset.h localcharset.c
  308. # We need the following in order to install a simple file in $(libdir)
  309. # which is shared with other installed packages. We use a list of referencing
  310. # packages so that "make uninstall" will remove the file if and only if it
  311. # is not used by another installed package.
  312. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  313. # avoid installing it.
  314. all-local: charset.alias ref-add.sed ref-del.sed
  315. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  316. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  317. install-exec-local: install-exec-localcharset
  318. install-exec-localcharset: all-local
  319. if test $(GLIBC21) = no; then \
  320. case '$(host_os)' in \
  321. darwin[56]*) \
  322. need_charset_alias=true ;; \
  323. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  324. need_charset_alias=false ;; \
  325. *) \
  326. need_charset_alias=true ;; \
  327. esac ; \
  328. else \
  329. need_charset_alias=false ; \
  330. fi ; \
  331. if $$need_charset_alias; then \
  332. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  333. fi ; \
  334. if test -f $(charset_alias); then \
  335. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  336. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  337. rm -f $(charset_tmp) ; \
  338. else \
  339. if $$need_charset_alias; then \
  340. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  341. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  342. rm -f $(charset_tmp) ; \
  343. fi ; \
  344. fi
  345. uninstall-local: uninstall-localcharset
  346. uninstall-localcharset: all-local
  347. if test -f $(charset_alias); then \
  348. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  349. if grep '^# Packages using this file: $$' $(charset_tmp) \
  350. > /dev/null; then \
  351. rm -f $(charset_alias); \
  352. else \
  353. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  354. fi; \
  355. rm -f $(charset_tmp); \
  356. fi
  357. charset.alias: config.charset
  358. $(AM_V_GEN)rm -f t-$@ $@ && \
  359. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
  360. mv t-$@ $@
  361. SUFFIXES += .sed .sin
  362. .sin.sed:
  363. $(AM_V_GEN)rm -f t-$@ $@ && \
  364. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
  365. mv t-$@ $@
  366. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  367. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  368. ## end gnulib module localcharset
  369. ## begin gnulib module lock
  370. libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
  371. ## end gnulib module lock
  372. ## begin gnulib module lseek
  373. EXTRA_DIST += lseek.c
  374. EXTRA_libgnu_la_SOURCES += lseek.c
  375. ## end gnulib module lseek
  376. ## begin gnulib module lstat
  377. EXTRA_DIST += lstat.c
  378. EXTRA_libgnu_la_SOURCES += lstat.c
  379. ## end gnulib module lstat
  380. ## begin gnulib module malloc-gnu
  381. EXTRA_DIST += malloc.c
  382. EXTRA_libgnu_la_SOURCES += malloc.c
  383. ## end gnulib module malloc-gnu
  384. ## begin gnulib module malloc-posix
  385. EXTRA_DIST += malloc.c
  386. EXTRA_libgnu_la_SOURCES += malloc.c
  387. ## end gnulib module malloc-posix
  388. ## begin gnulib module mbrtowc
  389. EXTRA_DIST += mbrtowc.c
  390. EXTRA_libgnu_la_SOURCES += mbrtowc.c
  391. ## end gnulib module mbrtowc
  392. ## begin gnulib module mbsinit
  393. EXTRA_DIST += mbsinit.c
  394. EXTRA_libgnu_la_SOURCES += mbsinit.c
  395. ## end gnulib module mbsinit
  396. ## begin gnulib module memchr
  397. EXTRA_DIST += memchr.c memchr.valgrind
  398. EXTRA_libgnu_la_SOURCES += memchr.c
  399. ## end gnulib module memchr
  400. ## begin gnulib module mkdtemp
  401. EXTRA_DIST += mkdtemp.c
  402. EXTRA_libgnu_la_SOURCES += mkdtemp.c
  403. ## end gnulib module mkdtemp
  404. ## begin gnulib module netdb
  405. BUILT_SOURCES += netdb.h
  406. # We need the following in order to create <netdb.h> when the system
  407. # doesn't have one that works with the given compiler.
  408. netdb.h: netdb.in.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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  412. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  413. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  414. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  415. -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
  416. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  417. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  418. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  419. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  420. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  421. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  422. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  423. < $(srcdir)/netdb.in.h; \
  424. } > $@-t && \
  425. mv $@-t $@
  426. MOSTLYCLEANFILES += netdb.h netdb.h-t
  427. EXTRA_DIST += netdb.in.h
  428. ## end gnulib module netdb
  429. ## begin gnulib module netinet_in
  430. BUILT_SOURCES += $(NETINET_IN_H)
  431. # We need the following in order to create <netinet/in.h> when the system
  432. # doesn't have one.
  433. netinet/in.h: netinet_in.in.h
  434. $(AM_V_at)$(MKDIR_P) netinet
  435. $(AM_V_GEN)rm -f $@-t $@ && \
  436. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  437. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  438. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  439. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  440. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  441. < $(srcdir)/netinet_in.in.h; \
  442. } > $@-t && \
  443. mv $@-t $@
  444. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  445. MOSTLYCLEANDIRS += netinet
  446. EXTRA_DIST += netinet_in.in.h
  447. ## end gnulib module netinet_in
  448. ## begin gnulib module nl_langinfo
  449. EXTRA_DIST += nl_langinfo.c
  450. EXTRA_libgnu_la_SOURCES += nl_langinfo.c
  451. ## end gnulib module nl_langinfo
  452. ## begin gnulib module physmem
  453. EXTRA_DIST += physmem.c physmem.h
  454. EXTRA_libgnu_la_SOURCES += physmem.c
  455. ## end gnulib module physmem
  456. ## begin gnulib module regex
  457. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  458. EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  459. ## end gnulib module regex
  460. ## begin gnulib module safe-read
  461. EXTRA_DIST += safe-read.c safe-read.h
  462. EXTRA_libgnu_la_SOURCES += safe-read.c
  463. ## end gnulib module safe-read
  464. ## begin gnulib module safe-write
  465. EXTRA_DIST += safe-write.c safe-write.h
  466. EXTRA_libgnu_la_SOURCES += safe-write.c
  467. ## end gnulib module safe-write
  468. ## begin gnulib module size_max
  469. libgnu_la_SOURCES += size_max.h
  470. ## end gnulib module size_max
  471. ## begin gnulib module snprintf
  472. EXTRA_DIST += snprintf.c
  473. EXTRA_libgnu_la_SOURCES += snprintf.c
  474. ## end gnulib module snprintf
  475. ## begin gnulib module stat
  476. EXTRA_DIST += stat.c
  477. EXTRA_libgnu_la_SOURCES += stat.c
  478. ## end gnulib module stat
  479. ## begin gnulib module stdbool
  480. BUILT_SOURCES += $(STDBOOL_H)
  481. # We need the following in order to create <stdbool.h> when the system
  482. # doesn't have one that works.
  483. stdbool.h: stdbool.in.h
  484. $(AM_V_GEN)rm -f $@-t $@ && \
  485. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  486. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  487. } > $@-t && \
  488. mv $@-t $@
  489. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  490. EXTRA_DIST += stdbool.in.h
  491. ## end gnulib module stdbool
  492. ## begin gnulib module stddef
  493. BUILT_SOURCES += $(STDDEF_H)
  494. # We need the following in order to create <stddef.h> when the system
  495. # doesn't have one that works with the given compiler.
  496. stddef.h: stddef.in.h
  497. $(AM_V_GEN)rm -f $@-t $@ && \
  498. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  499. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  500. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  501. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  502. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  503. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  504. < $(srcdir)/stddef.in.h; \
  505. } > $@-t && \
  506. mv $@-t $@
  507. MOSTLYCLEANFILES += stddef.h stddef.h-t
  508. EXTRA_DIST += stddef.in.h
  509. ## end gnulib module stddef
  510. ## begin gnulib module stdint
  511. BUILT_SOURCES += $(STDINT_H)
  512. # We need the following in order to create <stdint.h> when the system
  513. # doesn't have one that works with the given compiler.
  514. stdint.h: stdint.in.h
  515. $(AM_V_GEN)rm -f $@-t $@ && \
  516. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  517. sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  518. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  519. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  520. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  521. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  522. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  523. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  524. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  525. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  526. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  527. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  528. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  529. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  530. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  531. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  532. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  533. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  534. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  535. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  536. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  537. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  538. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  539. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  540. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  541. < $(srcdir)/stdint.in.h; \
  542. } > $@-t && \
  543. mv $@-t $@
  544. MOSTLYCLEANFILES += stdint.h stdint.h-t
  545. EXTRA_DIST += stdint.in.h
  546. ## end gnulib module stdint
  547. ## begin gnulib module stdio
  548. BUILT_SOURCES += stdio.h
  549. # We need the following in order to create <stdio.h> when the system
  550. # doesn't have one that works with the given compiler.
  551. stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  552. $(AM_V_GEN)rm -f $@-t $@ && \
  553. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  554. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  555. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  556. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  557. -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
  558. -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
  559. -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
  560. -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
  561. -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
  562. -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
  563. -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
  564. -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
  565. -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
  566. -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
  567. -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
  568. -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
  569. -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
  570. -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
  571. -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
  572. -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
  573. -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
  574. -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
  575. -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
  576. -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
  577. -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
  578. -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
  579. -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
  580. -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
  581. -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
  582. -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
  583. -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
  584. -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
  585. -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
  586. -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
  587. -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
  588. -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
  589. -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
  590. -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
  591. -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
  592. -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
  593. -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
  594. -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
  595. -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
  596. -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
  597. -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
  598. < $(srcdir)/stdio.in.h | \
  599. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  600. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  601. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  602. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  603. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  604. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  605. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  606. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  607. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  608. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  609. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  610. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  611. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  612. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  613. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  614. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  615. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  616. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  617. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  618. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  619. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  620. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  621. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  622. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  623. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  624. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  625. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  626. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  627. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  628. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  629. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  630. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  631. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  632. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  633. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  634. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  635. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  636. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  637. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  638. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  639. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  640. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  641. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  642. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  643. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  644. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  645. } > $@-t && \
  646. mv $@-t $@
  647. MOSTLYCLEANFILES += stdio.h stdio.h-t
  648. EXTRA_DIST += stdio-write.c stdio.in.h
  649. EXTRA_libgnu_la_SOURCES += stdio-write.c
  650. ## end gnulib module stdio
  651. ## begin gnulib module stdlib
  652. BUILT_SOURCES += stdlib.h
  653. # We need the following in order to create <stdlib.h> when the system
  654. # doesn't have one that works with the given compiler.
  655. stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  656. $(AM_V_GEN)rm -f $@-t $@ && \
  657. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  658. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  659. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  660. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  661. -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
  662. -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
  663. -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
  664. -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
  665. -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
  666. -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
  667. -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
  668. -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
  669. -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
  670. -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
  671. -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
  672. -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
  673. -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
  674. -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
  675. -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
  676. -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
  677. -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
  678. -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
  679. -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
  680. -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
  681. -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
  682. -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
  683. -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
  684. -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
  685. -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
  686. -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  687. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  688. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  689. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  690. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  691. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  692. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  693. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  694. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  695. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  696. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  697. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  698. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  699. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  700. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  701. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  702. -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
  703. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  704. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  705. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  706. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  707. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  708. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  709. -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
  710. -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
  711. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  712. -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
  713. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  714. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  715. -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
  716. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  717. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  718. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  719. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  720. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  721. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  722. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  723. < $(srcdir)/stdlib.in.h; \
  724. } > $@-t && \
  725. mv $@-t $@
  726. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  727. EXTRA_DIST += stdlib.in.h
  728. ## end gnulib module stdlib
  729. ## begin gnulib module streq
  730. EXTRA_DIST += streq.h
  731. ## end gnulib module streq
  732. ## begin gnulib module string
  733. BUILT_SOURCES += string.h
  734. # We need the following in order to create <string.h> when the system
  735. # doesn't have one that works with the given compiler.
  736. string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  737. $(AM_V_GEN)rm -f $@-t $@ && \
  738. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  739. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  740. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  741. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  742. -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
  743. -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
  744. -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
  745. -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
  746. -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
  747. -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
  748. -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
  749. -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
  750. -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
  751. -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
  752. -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
  753. -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
  754. -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
  755. -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
  756. -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
  757. -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
  758. -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
  759. -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
  760. -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
  761. -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
  762. -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
  763. -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
  764. -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
  765. -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
  766. -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
  767. -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
  768. -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
  769. -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
  770. -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
  771. -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
  772. -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
  773. -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
  774. -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
  775. -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
  776. < $(srcdir)/string.in.h | \
  777. sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  778. -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  779. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  780. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  781. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  782. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  783. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  784. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  785. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  786. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  787. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  788. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  789. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  790. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  791. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  792. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  793. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  794. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  795. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  796. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  797. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  798. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  799. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  800. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  801. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  802. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  803. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  804. -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  805. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  806. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  807. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  808. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  809. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  810. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  811. < $(srcdir)/string.in.h; \
  812. } > $@-t && \
  813. mv $@-t $@
  814. MOSTLYCLEANFILES += string.h string.h-t
  815. EXTRA_DIST += string.in.h
  816. ## end gnulib module string
  817. ## begin gnulib module sys_socket
  818. BUILT_SOURCES += sys/socket.h
  819. # We need the following in order to create <sys/socket.h> when the system
  820. # doesn't have one that works with the given compiler.
  821. sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  822. $(AM_V_at)$(MKDIR_P) sys
  823. $(AM_V_GEN)rm -f $@-t $@ && \
  824. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  825. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  826. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  827. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  828. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  829. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  830. -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
  831. -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
  832. -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
  833. -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
  834. -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
  835. -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
  836. -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
  837. -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
  838. -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
  839. -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
  840. -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
  841. -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
  842. -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
  843. -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
  844. -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
  845. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  846. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  847. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  848. -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
  849. -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
  850. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  851. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  852. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  853. < $(srcdir)/sys_socket.in.h; \
  854. } > $@-t && \
  855. mv -f $@-t $@
  856. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  857. MOSTLYCLEANDIRS += sys
  858. EXTRA_DIST += sys_socket.in.h
  859. ## end gnulib module sys_socket
  860. ## begin gnulib module sys_stat
  861. BUILT_SOURCES += sys/stat.h
  862. # We need the following in order to create <sys/stat.h> when the system
  863. # has one that is incomplete.
  864. sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  865. $(AM_V_at)$(MKDIR_P) sys
  866. $(AM_V_GEN)rm -f $@-t $@ && \
  867. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  868. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  869. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  870. -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
  871. -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
  872. -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
  873. -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
  874. -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
  875. -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
  876. -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
  877. -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
  878. -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
  879. -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
  880. -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
  881. -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
  882. -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
  883. -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
  884. -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
  885. -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
  886. -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
  887. -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
  888. -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
  889. -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
  890. -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
  891. -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
  892. -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
  893. -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
  894. -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
  895. -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
  896. -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
  897. -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
  898. -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
  899. -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
  900. -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
  901. -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
  902. -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
  903. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  904. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  905. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  906. < $(srcdir)/sys_stat.in.h; \
  907. } > $@-t && \
  908. mv $@-t $@
  909. MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  910. MOSTLYCLEANDIRS += sys
  911. EXTRA_DIST += sys_stat.in.h
  912. ## end gnulib module sys_stat
  913. ## begin gnulib module sys_time
  914. BUILT_SOURCES += sys/time.h
  915. # We need the following in order to create <sys/time.h> when the system
  916. # doesn't have one that works with the given compiler.
  917. sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  918. $(AM_V_at)$(MKDIR_P) sys
  919. $(AM_V_GEN)rm -f $@-t $@ && \
  920. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  921. sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
  922. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  923. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  924. -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
  925. -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
  926. -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
  927. -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
  928. -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
  929. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  930. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  931. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  932. < $(srcdir)/sys_time.in.h; \
  933. } > $@-t && \
  934. mv $@-t $@
  935. MOSTLYCLEANFILES += sys/time.h sys/time.h-t
  936. EXTRA_DIST += sys_time.in.h
  937. ## end gnulib module sys_time
  938. ## begin gnulib module tempname
  939. EXTRA_DIST += tempname.c tempname.h
  940. EXTRA_libgnu_la_SOURCES += tempname.c
  941. ## end gnulib module tempname
  942. ## begin gnulib module threadlib
  943. libgnu_la_SOURCES += glthread/threadlib.c
  944. EXTRA_DIST += $(top_srcdir)/config/config.rpath
  945. ## end gnulib module threadlib
  946. ## begin gnulib module time
  947. BUILT_SOURCES += time.h
  948. # We need the following in order to create <time.h> when the system
  949. # doesn't have one that works with the given compiler.
  950. time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  951. $(AM_V_GEN)rm -f $@-t $@ && \
  952. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  953. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  954. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  955. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  956. -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
  957. -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
  958. -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
  959. -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
  960. -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
  961. -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
  962. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  963. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  964. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  965. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  966. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  967. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  968. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  969. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  970. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  971. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  972. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  973. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  974. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  975. < $(srcdir)/time.in.h; \
  976. } > $@-t && \
  977. mv $@-t $@
  978. MOSTLYCLEANFILES += time.h time.h-t
  979. EXTRA_DIST += time.in.h
  980. ## end gnulib module time
  981. ## begin gnulib module unistd
  982. BUILT_SOURCES += unistd.h
  983. # We need the following in order to create an empty placeholder for
  984. # <unistd.h> when the system doesn't have one.
  985. unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  986. $(AM_V_GEN)rm -f $@-t $@ && \
  987. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  988. sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  989. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  990. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  991. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  992. -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
  993. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  994. -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
  995. -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
  996. -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
  997. -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
  998. -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
  999. -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
  1000. -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
  1001. -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
  1002. -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
  1003. -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
  1004. -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
  1005. -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
  1006. -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
  1007. -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
  1008. -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
  1009. -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
  1010. -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
  1011. -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
  1012. -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
  1013. -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
  1014. -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
  1015. -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
  1016. -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
  1017. -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
  1018. -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
  1019. -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
  1020. -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
  1021. -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
  1022. -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
  1023. -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
  1024. -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
  1025. -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
  1026. -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
  1027. -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
  1028. -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
  1029. -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
  1030. -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
  1031. -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
  1032. < $(srcdir)/unistd.in.h | \
  1033. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  1034. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  1035. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  1036. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  1037. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  1038. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  1039. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  1040. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  1041. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  1042. -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
  1043. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  1044. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  1045. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  1046. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  1047. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  1048. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  1049. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  1050. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  1051. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  1052. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  1053. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  1054. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  1055. -e 's|@''HAVEā€¦

Large files files are truncated, but you can click here to view the full file