4
0

Makefile.am 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2004-2007 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=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
  13. AUTOMAKE_OPTIONS = 1.5 gnits
  14. noinst_HEADERS =
  15. noinst_LIBRARIES =
  16. noinst_LTLIBRARIES =
  17. EXTRA_DIST =
  18. BUILT_SOURCES =
  19. SUFFIXES =
  20. MOSTLYCLEANFILES = core *.stackdump
  21. MOSTLYCLEANDIRS =
  22. CLEANFILES =
  23. DISTCLEANFILES =
  24. MAINTAINERCLEANFILES =
  25. AM_CPPFLAGS =
  26. noinst_LIBRARIES += libgnu.a
  27. libgnu_a_SOURCES =
  28. libgnu_a_LIBADD = $(gl_LIBOBJS)
  29. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  30. EXTRA_libgnu_a_SOURCES =
  31. ## begin gnulib module absolute-header
  32. # Use this preprocessor expression to decide whether #include_next works.
  33. # Do not rely on a 'configure'-time test for this, since the expression
  34. # might appear in an installed header, which is used by some other compiler.
  35. HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
  36. ## end gnulib module absolute-header
  37. ## begin gnulib module alloca
  38. EXTRA_DIST += alloca.c
  39. EXTRA_libgnu_a_SOURCES += alloca.c
  40. libgnu_a_LIBADD += @ALLOCA@
  41. libgnu_a_DEPENDENCIES += @ALLOCA@
  42. ## end gnulib module alloca
  43. ## begin gnulib module alloca-opt
  44. BUILT_SOURCES += $(ALLOCA_H)
  45. # We need the following in order to create <alloca.h> when the system
  46. # doesn't have one that works with the given compiler.
  47. alloca.h: alloca.in.h
  48. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  49. cat $(srcdir)/alloca.in.h; \
  50. } > $@-t
  51. mv -f $@-t $@
  52. MOSTLYCLEANFILES += alloca.h alloca.h-t
  53. EXTRA_DIST += alloca.in.h
  54. ## end gnulib module alloca-opt
  55. ## begin gnulib module arpa_inet
  56. BUILT_SOURCES += $(ARPA_INET_H)
  57. # We need the following in order to create <arpa/inet.h> when the system
  58. # doesn't have one.
  59. arpa/inet.h:
  60. @MKDIR_P@ arpa
  61. rm -f $@-t $@
  62. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  63. echo '#include <sys/socket.h>'; \
  64. } > $@-t
  65. mv $@-t $@
  66. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  67. MOSTLYCLEANDIRS += arpa
  68. ## end gnulib module arpa_inet
  69. ## begin gnulib module base64
  70. libgnu_a_SOURCES += base64.h base64.c
  71. ## end gnulib module base64
  72. ## begin gnulib module c-strtod
  73. EXTRA_DIST += c-strtod.c c-strtod.h
  74. EXTRA_libgnu_a_SOURCES += c-strtod.c
  75. ## end gnulib module c-strtod
  76. ## begin gnulib module cloexec
  77. EXTRA_DIST += cloexec.c cloexec.h
  78. EXTRA_libgnu_a_SOURCES += cloexec.c
  79. ## end gnulib module cloexec
  80. ## begin gnulib module configmake
  81. # Retrieve values of the variables through 'configure' followed by
  82. # 'make', not directly through 'configure', so that a user who
  83. # sets some of these variables consistently on the 'make' command
  84. # line gets correct results.
  85. #
  86. # One advantage of this approach, compared to the classical
  87. # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
  88. # is that it protects against the use of undefined variables.
  89. # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
  90. # defined by this module, and code using LIBDIR gives a
  91. # compilation error.
  92. #
  93. # Another advantage is that 'make' output is shorter.
  94. #
  95. # Listed in the same order as the GNU makefile conventions.
  96. # The Automake-defined pkg* macros are appended, in the order
  97. # listed in the Automake 1.10a+ documentation.
  98. configmake.h: Makefile
  99. rm -f $@-t $@
  100. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  101. echo '#define PREFIX "$(prefix)"'; \
  102. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  103. echo '#define BINDIR "$(bindir)"'; \
  104. echo '#define SBINDIR "$(sbindir)"'; \
  105. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  106. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  107. echo '#define DATADIR "$(datadir)"'; \
  108. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  109. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  110. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  111. echo '#define INCLUDEDIR "$(includedir)"'; \
  112. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  113. echo '#define DOCDIR "$(docdir)"'; \
  114. echo '#define INFODIR "$(infodir)"'; \
  115. echo '#define HTMLDIR "$(htmldir)"'; \
  116. echo '#define DVIDIR "$(dvidir)"'; \
  117. echo '#define PDFDIR "$(pdfdir)"'; \
  118. echo '#define PSDIR "$(psdir)"'; \
  119. echo '#define LIBDIR "$(libdir)"'; \
  120. echo '#define LISPDIR "$(lispdir)"'; \
  121. echo '#define LOCALEDIR "$(localedir)"'; \
  122. echo '#define MANDIR "$(mandir)"'; \
  123. echo '#define MANEXT "$(manext)"'; \
  124. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  125. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  126. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  127. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  128. } | sed '/""/d' > $@-t
  129. mv $@-t $@
  130. BUILT_SOURCES += configmake.h
  131. CLEANFILES += configmake.h configmake.h-t
  132. ## end gnulib module configmake
  133. ## begin gnulib module dirname
  134. EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
  135. EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
  136. ## end gnulib module dirname
  137. ## begin gnulib module error
  138. EXTRA_DIST += error.c error.h
  139. EXTRA_libgnu_a_SOURCES += error.c
  140. ## end gnulib module error
  141. ## begin gnulib module exitfail
  142. EXTRA_DIST += exitfail.c exitfail.h
  143. EXTRA_libgnu_a_SOURCES += exitfail.c
  144. ## end gnulib module exitfail
  145. ## begin gnulib module fcntl-safer
  146. EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
  147. EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
  148. ## end gnulib module fcntl-safer
  149. ## begin gnulib module float
  150. BUILT_SOURCES += $(FLOAT_H)
  151. # We need the following in order to create <float.h> when the system
  152. # doesn't have one that works with the given compiler.
  153. float.h: float.in.h
  154. rm -f $@-t $@
  155. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  156. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  157. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  158. < $(srcdir)/float.in.h; \
  159. } > $@-t
  160. mv $@-t $@
  161. MOSTLYCLEANFILES += float.h float.h-t
  162. EXTRA_DIST += float.in.h
  163. ## end gnulib module float
  164. ## begin gnulib module floorf
  165. EXTRA_DIST += floor.c floorf.c
  166. EXTRA_libgnu_a_SOURCES += floor.c floorf.c
  167. ## end gnulib module floorf
  168. ## begin gnulib module fsusage
  169. EXTRA_DIST += fsusage.c fsusage.h
  170. EXTRA_libgnu_a_SOURCES += fsusage.c
  171. ## end gnulib module fsusage
  172. ## begin gnulib module full-read
  173. libgnu_a_SOURCES += full-read.h full-read.c
  174. ## end gnulib module full-read
  175. ## begin gnulib module full-write
  176. libgnu_a_SOURCES += full-write.h full-write.c
  177. ## end gnulib module full-write
  178. ## begin gnulib module getaddrinfo
  179. EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
  180. EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
  181. ## end gnulib module getaddrinfo
  182. ## begin gnulib module gethostname
  183. EXTRA_DIST += gethostname.c
  184. EXTRA_libgnu_a_SOURCES += gethostname.c
  185. ## end gnulib module gethostname
  186. ## begin gnulib module getloadavg
  187. EXTRA_DIST += getloadavg.c
  188. EXTRA_libgnu_a_SOURCES += getloadavg.c
  189. ## end gnulib module getloadavg
  190. ## begin gnulib module getopt
  191. BUILT_SOURCES += $(GETOPT_H)
  192. # We need the following in order to create <getopt.h> when the system
  193. # doesn't have one that works with the given compiler.
  194. getopt.h: getopt.in.h
  195. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  196. cat $(srcdir)/getopt.in.h; \
  197. } > $@-t
  198. mv -f $@-t $@
  199. MOSTLYCLEANFILES += getopt.h getopt.h-t
  200. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  201. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  202. ## end gnulib module getopt
  203. ## begin gnulib module gettext
  204. # This is for those projects which use "gettextize --intl" to put a source-code
  205. # copy of libintl into their package. In such projects, every Makefile.am needs
  206. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  207. # For the Makefile.ams in other directories it is the maintainer's
  208. # responsibility; for the one from gnulib we do it here.
  209. # This option has no effect when the user disables NLS (because then the intl
  210. # directory contains no libintl.h file) or when the project does not use
  211. # "gettextize --intl".
  212. AM_CPPFLAGS += -I$(top_builddir)/intl
  213. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  214. ## end gnulib module gettext
  215. ## begin gnulib module gettext-h
  216. libgnu_a_SOURCES += gettext.h
  217. ## end gnulib module gettext-h
  218. ## begin gnulib module havelib
  219. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  220. ## end gnulib module havelib
  221. ## begin gnulib module inet_ntop
  222. EXTRA_DIST += inet_ntop.c inet_ntop.h
  223. EXTRA_libgnu_a_SOURCES += inet_ntop.c
  224. ## end gnulib module inet_ntop
  225. ## begin gnulib module intprops
  226. EXTRA_DIST += intprops.h
  227. ## end gnulib module intprops
  228. ## begin gnulib module link-warning
  229. LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
  230. EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
  231. ## end gnulib module link-warning
  232. ## begin gnulib module localcharset
  233. libgnu_a_SOURCES += localcharset.h localcharset.c
  234. # We need the following in order to install a simple file in $(libdir)
  235. # which is shared with other installed packages. We use a list of referencing
  236. # packages so that "make uninstall" will remove the file if and only if it
  237. # is not used by another installed package.
  238. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  239. # avoid installing it.
  240. all-local: charset.alias ref-add.sed ref-del.sed
  241. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  242. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  243. install-exec-local: all-local
  244. test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
  245. if test -f $(charset_alias); then \
  246. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  247. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  248. rm -f $(charset_tmp) ; \
  249. else \
  250. if test $(GLIBC21) = no; then \
  251. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  252. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  253. rm -f $(charset_tmp) ; \
  254. fi ; \
  255. fi
  256. uninstall-local: all-local
  257. if test -f $(charset_alias); then \
  258. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  259. if grep '^# Packages using this file: $$' $(charset_tmp) \
  260. > /dev/null; then \
  261. rm -f $(charset_alias); \
  262. else \
  263. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  264. fi; \
  265. rm -f $(charset_tmp); \
  266. fi
  267. charset.alias: config.charset
  268. rm -f t-$@ $@
  269. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
  270. mv t-$@ $@
  271. SUFFIXES += .sed .sin
  272. .sin.sed:
  273. rm -f t-$@ $@
  274. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
  275. mv t-$@ $@
  276. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  277. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  278. ## end gnulib module localcharset
  279. ## begin gnulib module malloc
  280. EXTRA_DIST += malloc.c
  281. EXTRA_libgnu_a_SOURCES += malloc.c
  282. ## end gnulib module malloc
  283. ## begin gnulib module malloc-posix
  284. EXTRA_DIST += malloc.c
  285. EXTRA_libgnu_a_SOURCES += malloc.c
  286. ## end gnulib module malloc-posix
  287. ## begin gnulib module math
  288. BUILT_SOURCES += math.h
  289. # We need the following in order to create <math.h> when the system
  290. # doesn't have one that works with the given compiler.
  291. math.h: math.in.h
  292. rm -f $@-t $@
  293. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  294. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  295. -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
  296. -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
  297. -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
  298. -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
  299. -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
  300. -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
  301. -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
  302. -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
  303. -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
  304. -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
  305. -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
  306. -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
  307. -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
  308. -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
  309. -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
  310. -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
  311. -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
  312. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  313. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  314. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  315. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  316. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  317. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  318. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  319. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  320. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  321. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  322. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  323. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  324. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  325. -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
  326. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  327. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  328. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  329. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  330. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  331. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  332. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  333. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  334. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  335. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  336. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  337. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  338. -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
  339. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  340. < $(srcdir)/math.in.h; \
  341. } > $@-t
  342. mv $@-t $@
  343. MOSTLYCLEANFILES += math.h math.h-t
  344. EXTRA_DIST += math.in.h
  345. ## end gnulib module math
  346. ## begin gnulib module mountlist
  347. EXTRA_DIST += mountlist.c mountlist.h
  348. EXTRA_libgnu_a_SOURCES += mountlist.c
  349. ## end gnulib module mountlist
  350. ## begin gnulib module netinet_in
  351. BUILT_SOURCES += $(NETINET_IN_H)
  352. # We need the following in order to create <netinet/in.h> when the system
  353. # doesn't have one.
  354. netinet/in.h: netinet_in.in.h
  355. @MKDIR_P@ netinet
  356. rm -f $@-t $@
  357. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  358. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  359. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  360. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  361. < $(srcdir)/netinet_in.in.h; \
  362. } > $@-t
  363. mv $@-t $@
  364. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  365. MOSTLYCLEANDIRS += netinet
  366. EXTRA_DIST += netinet_in.in.h
  367. ## end gnulib module netinet_in
  368. ## begin gnulib module regex
  369. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  370. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  371. ## end gnulib module regex
  372. ## begin gnulib module safe-read
  373. EXTRA_DIST += safe-read.c safe-read.h
  374. EXTRA_libgnu_a_SOURCES += safe-read.c
  375. ## end gnulib module safe-read
  376. ## begin gnulib module safe-write
  377. EXTRA_DIST += safe-write.c safe-write.h
  378. EXTRA_libgnu_a_SOURCES += safe-write.c
  379. ## end gnulib module safe-write
  380. ## begin gnulib module size_max
  381. libgnu_a_SOURCES += size_max.h
  382. ## end gnulib module size_max
  383. ## begin gnulib module snprintf
  384. EXTRA_DIST += snprintf.c
  385. EXTRA_libgnu_a_SOURCES += snprintf.c
  386. ## end gnulib module snprintf
  387. ## begin gnulib module stdbool
  388. BUILT_SOURCES += $(STDBOOL_H)
  389. # We need the following in order to create <stdbool.h> when the system
  390. # doesn't have one that works.
  391. stdbool.h: stdbool.in.h
  392. rm -f $@-t $@
  393. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  394. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  395. } > $@-t
  396. mv $@-t $@
  397. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  398. EXTRA_DIST += stdbool.in.h
  399. ## end gnulib module stdbool
  400. ## begin gnulib module stdint
  401. BUILT_SOURCES += $(STDINT_H)
  402. # We need the following in order to create <stdint.h> when the system
  403. # doesn't have one that works with the given compiler.
  404. stdint.h: stdint.in.h
  405. rm -f $@-t $@
  406. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  407. sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  408. -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  409. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  410. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  411. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  412. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  413. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  414. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  415. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  416. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  417. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  418. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  419. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  420. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  421. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  422. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  423. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  424. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  425. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  426. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  427. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  428. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  429. < $(srcdir)/stdint.in.h; \
  430. } > $@-t
  431. mv $@-t $@
  432. MOSTLYCLEANFILES += stdint.h stdint.h-t
  433. EXTRA_DIST += stdint.in.h
  434. ## end gnulib module stdint
  435. ## begin gnulib module stdio
  436. BUILT_SOURCES += stdio.h
  437. # We need the following in order to create <stdio.h> when the system
  438. # doesn't have one that works with the given compiler.
  439. stdio.h: stdio.in.h
  440. rm -f $@-t $@
  441. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  442. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  443. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  444. -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
  445. -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
  446. -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
  447. -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
  448. -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
  449. -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
  450. -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
  451. -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
  452. -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
  453. -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
  454. -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
  455. -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
  456. -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
  457. -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
  458. -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
  459. -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
  460. -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
  461. -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
  462. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  463. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  464. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  465. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  466. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  467. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  468. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  469. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  470. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  471. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  472. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  473. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  474. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  475. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  476. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  477. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  478. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  479. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  480. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  481. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  482. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  483. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  484. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  485. < $(srcdir)/stdio.in.h; \
  486. } > $@-t
  487. mv $@-t $@
  488. MOSTLYCLEANFILES += stdio.h stdio.h-t
  489. EXTRA_DIST += stdio.in.h
  490. ## end gnulib module stdio
  491. ## begin gnulib module stdlib
  492. BUILT_SOURCES += stdlib.h
  493. # We need the following in order to create <stdlib.h> when the system
  494. # doesn't have one that works with the given compiler.
  495. stdlib.h: stdlib.in.h
  496. rm -f $@-t $@
  497. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  498. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  499. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  500. -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
  501. -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
  502. -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
  503. -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
  504. -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
  505. -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
  506. -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
  507. -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
  508. -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
  509. -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
  510. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  511. -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
  512. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  513. -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
  514. -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
  515. -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
  516. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  517. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  518. -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
  519. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  520. < $(srcdir)/stdlib.in.h; \
  521. } > $@-t
  522. mv $@-t $@
  523. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  524. EXTRA_DIST += stdlib.in.h
  525. ## end gnulib module stdlib
  526. ## begin gnulib module strdup
  527. EXTRA_DIST += strdup.c
  528. EXTRA_libgnu_a_SOURCES += strdup.c
  529. ## end gnulib module strdup
  530. ## begin gnulib module strerror
  531. EXTRA_DIST += strerror.c
  532. EXTRA_libgnu_a_SOURCES += strerror.c
  533. ## end gnulib module strerror
  534. ## begin gnulib module string
  535. BUILT_SOURCES += string.h
  536. # We need the following in order to create <string.h> when the system
  537. # doesn't have one that works with the given compiler.
  538. string.h: string.in.h
  539. rm -f $@-t $@
  540. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  541. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  542. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  543. -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
  544. -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
  545. -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
  546. -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
  547. -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
  548. -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
  549. -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
  550. -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
  551. -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
  552. -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
  553. -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
  554. -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
  555. -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
  556. -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
  557. -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
  558. -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
  559. -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
  560. -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
  561. -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
  562. -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
  563. -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
  564. -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
  565. -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
  566. -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
  567. -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
  568. -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
  569. -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
  570. -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
  571. -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
  572. -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
  573. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  574. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  575. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  576. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  577. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  578. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  579. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  580. -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
  581. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  582. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  583. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  584. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  585. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  586. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  587. -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
  588. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  589. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  590. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  591. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  592. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  593. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  594. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  595. < $(srcdir)/string.in.h; \
  596. } > $@-t
  597. mv $@-t $@
  598. MOSTLYCLEANFILES += string.h string.h-t
  599. EXTRA_DIST += string.in.h
  600. ## end gnulib module string
  601. ## begin gnulib module strndup
  602. EXTRA_DIST += strndup.c
  603. EXTRA_libgnu_a_SOURCES += strndup.c
  604. ## end gnulib module strndup
  605. ## begin gnulib module strnlen
  606. EXTRA_DIST += strnlen.c
  607. EXTRA_libgnu_a_SOURCES += strnlen.c
  608. ## end gnulib module strnlen
  609. ## begin gnulib module sys_socket
  610. BUILT_SOURCES += $(SYS_SOCKET_H)
  611. # We need the following in order to create <sys/socket.h> when the system
  612. # doesn't have one that works with the given compiler.
  613. sys/socket.h: sys_socket.in.h
  614. @MKDIR_P@ sys
  615. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  616. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  617. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  618. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  619. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  620. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  621. < $(srcdir)/sys_socket.in.h; \
  622. } > $@-t
  623. mv -f $@-t $@
  624. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  625. MOSTLYCLEANDIRS += sys
  626. EXTRA_DIST += sys_socket.in.h
  627. ## end gnulib module sys_socket
  628. ## begin gnulib module unistd
  629. BUILT_SOURCES += unistd.h
  630. # We need the following in order to create an empty placeholder for
  631. # <unistd.h> when the system doesn't have one.
  632. unistd.h: unistd.in.h
  633. rm -f $@-t $@
  634. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  635. sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  636. -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  637. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  638. -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
  639. -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
  640. -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
  641. -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
  642. -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
  643. -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
  644. -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
  645. -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
  646. -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
  647. -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
  648. -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
  649. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  650. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  651. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  652. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  653. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  654. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  655. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  656. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  657. -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  658. -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
  659. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  660. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  661. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  662. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  663. < $(srcdir)/unistd.in.h; \
  664. } > $@-t
  665. mv $@-t $@
  666. MOSTLYCLEANFILES += unistd.h unistd.h-t
  667. EXTRA_DIST += unistd.in.h
  668. ## end gnulib module unistd
  669. ## begin gnulib module unistd-safer
  670. EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
  671. EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
  672. ## end gnulib module unistd-safer
  673. ## begin gnulib module vasnprintf
  674. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  675. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  676. ## end gnulib module vasnprintf
  677. ## begin gnulib module vasprintf
  678. EXTRA_DIST += asprintf.c vasprintf.c
  679. EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
  680. ## end gnulib module vasprintf
  681. ## begin gnulib module vsnprintf
  682. EXTRA_DIST += vsnprintf.c
  683. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  684. ## end gnulib module vsnprintf
  685. ## begin gnulib module wchar
  686. BUILT_SOURCES += $(WCHAR_H)
  687. # We need the following in order to create <wchar.h> when the system
  688. # version does not work standalone.
  689. wchar.h: wchar.in.h
  690. rm -f $@-t $@
  691. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  692. sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  693. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  694. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  695. -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
  696. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  697. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  698. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  699. < $(srcdir)/wchar.in.h; \
  700. } > $@-t
  701. mv $@-t $@
  702. MOSTLYCLEANFILES += wchar.h wchar.h-t
  703. EXTRA_DIST += wchar.in.h
  704. ## end gnulib module wchar
  705. ## begin gnulib module wctype
  706. BUILT_SOURCES += $(WCTYPE_H)
  707. # We need the following in order to create <wctype.h> when the system
  708. # doesn't have one that works with the given compiler.
  709. wctype.h: wctype.in.h
  710. rm -f $@-t $@
  711. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  712. sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  713. -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
  714. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  715. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  716. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  717. < $(srcdir)/wctype.in.h; \
  718. } > $@-t
  719. mv $@-t $@
  720. MOSTLYCLEANFILES += wctype.h wctype.h-t
  721. EXTRA_DIST += wctype.in.h
  722. ## end gnulib module wctype
  723. ## begin gnulib module xalloc
  724. EXTRA_DIST += xalloc.h xmalloc.c
  725. EXTRA_libgnu_a_SOURCES += xmalloc.c
  726. ## end gnulib module xalloc
  727. ## begin gnulib module xalloc-die
  728. libgnu_a_SOURCES += xalloc-die.c
  729. ## end gnulib module xalloc-die
  730. ## begin gnulib module xsize
  731. libgnu_a_SOURCES += xsize.h
  732. ## end gnulib module xsize
  733. ## begin gnulib module xstrndup
  734. libgnu_a_SOURCES += xstrndup.h xstrndup.c
  735. ## end gnulib module xstrndup
  736. mostlyclean-local: mostlyclean-generic
  737. @for dir in '' $(MOSTLYCLEANDIRS); do \
  738. if test -n "$$dir" && test -d $$dir; then \
  739. echo "rmdir $$dir"; rmdir $$dir; \
  740. fi; \
  741. done; \
  742. :