PageRenderTime 62ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 1ms

/amanda/branches/3_1/gnulib/Makefile.am

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

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