Makefile.am 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2009 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 --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex timegm vasprintf vsnprintf
  13. AUTOMAKE_OPTIONS = 1.5 gnits
  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. EXTRA_DIST += m4/gnulib-cache.m4
  27. AM_CPPFLAGS =
  28. AM_CFLAGS =
  29. noinst_LIBRARIES += libgnu.a
  30. libgnu_a_SOURCES =
  31. libgnu_a_LIBADD = $(gl_LIBOBJS)
  32. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  33. EXTRA_libgnu_a_SOURCES =
  34. ## begin gnulib module alignof
  35. EXTRA_DIST += alignof.h
  36. ## end gnulib module alignof
  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: arpa_inet.in.h
  60. @MKDIR_P@ arpa
  61. rm -f $@-t $@
  62. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  63. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  64. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  65. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  66. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  67. -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
  68. -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
  69. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  70. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  71. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  72. < $(srcdir)/arpa_inet.in.h; \
  73. } > $@-t
  74. mv $@-t $@
  75. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  76. MOSTLYCLEANDIRS += arpa
  77. EXTRA_DIST += arpa_inet.in.h
  78. ## end gnulib module arpa_inet
  79. ## begin gnulib module base64
  80. libgnu_a_SOURCES += base64.h base64.c
  81. ## end gnulib module base64
  82. ## begin gnulib module btowc
  83. EXTRA_DIST += btowc.c
  84. EXTRA_libgnu_a_SOURCES += btowc.c
  85. ## end gnulib module btowc
  86. ## begin gnulib module c-strtod
  87. EXTRA_DIST += c-strtod.c c-strtod.h
  88. EXTRA_libgnu_a_SOURCES += c-strtod.c
  89. ## end gnulib module c-strtod
  90. ## begin gnulib module cloexec
  91. EXTRA_DIST += cloexec.c cloexec.h
  92. EXTRA_libgnu_a_SOURCES += cloexec.c
  93. ## end gnulib module cloexec
  94. ## begin gnulib module configmake
  95. # Retrieve values of the variables through 'configure' followed by
  96. # 'make', not directly through 'configure', so that a user who
  97. # sets some of these variables consistently on the 'make' command
  98. # line gets correct results.
  99. #
  100. # One advantage of this approach, compared to the classical
  101. # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
  102. # is that it protects against the use of undefined variables.
  103. # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
  104. # defined by this module, and code using LIBDIR gives a
  105. # compilation error.
  106. #
  107. # Another advantage is that 'make' output is shorter.
  108. #
  109. # Listed in the same order as the GNU makefile conventions.
  110. # The Automake-defined pkg* macros are appended, in the order
  111. # listed in the Automake 1.10a+ documentation.
  112. configmake.h: Makefile
  113. rm -f $@-t
  114. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  115. echo '#define PREFIX "$(prefix)"'; \
  116. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  117. echo '#define BINDIR "$(bindir)"'; \
  118. echo '#define SBINDIR "$(sbindir)"'; \
  119. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  120. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  121. echo '#define DATADIR "$(datadir)"'; \
  122. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  123. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  124. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  125. echo '#define INCLUDEDIR "$(includedir)"'; \
  126. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  127. echo '#define DOCDIR "$(docdir)"'; \
  128. echo '#define INFODIR "$(infodir)"'; \
  129. echo '#define HTMLDIR "$(htmldir)"'; \
  130. echo '#define DVIDIR "$(dvidir)"'; \
  131. echo '#define PDFDIR "$(pdfdir)"'; \
  132. echo '#define PSDIR "$(psdir)"'; \
  133. echo '#define LIBDIR "$(libdir)"'; \
  134. echo '#define LISPDIR "$(lispdir)"'; \
  135. echo '#define LOCALEDIR "$(localedir)"'; \
  136. echo '#define MANDIR "$(mandir)"'; \
  137. echo '#define MANEXT "$(manext)"'; \
  138. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  139. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  140. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  141. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  142. } | sed '/""/d' > $@-t
  143. if test -f $@ && cmp $@-t $@ > /dev/null; then \
  144. rm -f $@-t; \
  145. else \
  146. rm -f $@; mv $@-t $@; \
  147. fi
  148. BUILT_SOURCES += configmake.h
  149. CLEANFILES += configmake.h configmake.h-t
  150. ## end gnulib module configmake
  151. ## begin gnulib module dirname
  152. EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
  153. EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
  154. ## end gnulib module dirname
  155. ## begin gnulib module errno
  156. BUILT_SOURCES += $(ERRNO_H)
  157. # We need the following in order to create <errno.h> when the system
  158. # doesn't have one that is POSIX compliant.
  159. errno.h: errno.in.h
  160. rm -f $@-t $@
  161. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  162. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  163. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  164. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  165. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  166. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  167. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  168. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  169. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  170. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  171. < $(srcdir)/errno.in.h; \
  172. } > $@-t
  173. mv $@-t $@
  174. MOSTLYCLEANFILES += errno.h errno.h-t
  175. EXTRA_DIST += errno.in.h
  176. ## end gnulib module errno
  177. ## begin gnulib module error
  178. EXTRA_DIST += error.c error.h
  179. EXTRA_libgnu_a_SOURCES += error.c
  180. ## end gnulib module error
  181. ## begin gnulib module exitfail
  182. EXTRA_DIST += exitfail.c exitfail.h
  183. EXTRA_libgnu_a_SOURCES += exitfail.c
  184. ## end gnulib module exitfail
  185. ## begin gnulib module fcntl
  186. BUILT_SOURCES += $(FCNTL_H)
  187. # We need the following in order to create <fcntl.h> when the system
  188. # doesn't have one that works with the given compiler.
  189. fcntl.h: fcntl.in.h
  190. rm -f $@-t $@
  191. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  192. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  193. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  194. -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
  195. -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
  196. -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
  197. < $(srcdir)/fcntl.in.h; \
  198. } > $@-t
  199. mv $@-t $@
  200. MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  201. EXTRA_DIST += fcntl.in.h
  202. ## end gnulib module fcntl
  203. ## begin gnulib module fcntl-safer
  204. EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
  205. EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
  206. ## end gnulib module fcntl-safer
  207. ## begin gnulib module float
  208. BUILT_SOURCES += $(FLOAT_H)
  209. # We need the following in order to create <float.h> when the system
  210. # doesn't have one that works with the given compiler.
  211. float.h: float.in.h
  212. rm -f $@-t $@
  213. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  214. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  215. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  216. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  217. < $(srcdir)/float.in.h; \
  218. } > $@-t
  219. mv $@-t $@
  220. MOSTLYCLEANFILES += float.h float.h-t
  221. EXTRA_DIST += float.in.h
  222. ## end gnulib module float
  223. ## begin gnulib module floorf
  224. EXTRA_DIST += floor.c floorf.c
  225. EXTRA_libgnu_a_SOURCES += floor.c floorf.c
  226. ## end gnulib module floorf
  227. ## begin gnulib module fsusage
  228. EXTRA_DIST += fsusage.c fsusage.h
  229. EXTRA_libgnu_a_SOURCES += fsusage.c
  230. ## end gnulib module fsusage
  231. ## begin gnulib module full-read
  232. libgnu_a_SOURCES += full-read.h full-read.c
  233. ## end gnulib module full-read
  234. ## begin gnulib module full-write
  235. libgnu_a_SOURCES += full-write.h full-write.c
  236. ## end gnulib module full-write
  237. ## begin gnulib module getaddrinfo
  238. EXTRA_DIST += gai_strerror.c getaddrinfo.c
  239. EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
  240. ## end gnulib module getaddrinfo
  241. ## begin gnulib module gethostname
  242. EXTRA_DIST += gethostname.c
  243. EXTRA_libgnu_a_SOURCES += gethostname.c
  244. ## end gnulib module gethostname
  245. ## begin gnulib module getloadavg
  246. EXTRA_DIST += getloadavg.c
  247. EXTRA_libgnu_a_SOURCES += getloadavg.c
  248. ## end gnulib module getloadavg
  249. ## begin gnulib module getopt
  250. BUILT_SOURCES += $(GETOPT_H)
  251. # We need the following in order to create <getopt.h> when the system
  252. # doesn't have one that works with the given compiler.
  253. getopt.h: getopt.in.h
  254. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  255. cat $(srcdir)/getopt.in.h; \
  256. } > $@-t
  257. mv -f $@-t $@
  258. MOSTLYCLEANFILES += getopt.h getopt.h-t
  259. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  260. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  261. ## end gnulib module getopt
  262. ## begin gnulib module gettext
  263. # This is for those projects which use "gettextize --intl" to put a source-code
  264. # copy of libintl into their package. In such projects, every Makefile.am needs
  265. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  266. # For the Makefile.ams in other directories it is the maintainer's
  267. # responsibility; for the one from gnulib we do it here.
  268. # This option has no effect when the user disables NLS (because then the intl
  269. # directory contains no libintl.h file) or when the project does not use
  270. # "gettextize --intl".
  271. AM_CPPFLAGS += -I$(top_builddir)/intl
  272. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  273. ## end gnulib module gettext
  274. ## begin gnulib module gettext-h
  275. libgnu_a_SOURCES += gettext.h
  276. ## end gnulib module gettext-h
  277. ## begin gnulib module havelib
  278. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  279. ## end gnulib module havelib
  280. ## begin gnulib module inet_ntop
  281. EXTRA_DIST += inet_ntop.c
  282. EXTRA_libgnu_a_SOURCES += inet_ntop.c
  283. ## end gnulib module inet_ntop
  284. ## begin gnulib module intprops
  285. EXTRA_DIST += intprops.h
  286. ## end gnulib module intprops
  287. ## begin gnulib module link-warning
  288. LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
  289. EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
  290. ## end gnulib module link-warning
  291. ## begin gnulib module localcharset
  292. libgnu_a_SOURCES += localcharset.h localcharset.c
  293. # We need the following in order to install a simple file in $(libdir)
  294. # which is shared with other installed packages. We use a list of referencing
  295. # packages so that "make uninstall" will remove the file if and only if it
  296. # is not used by another installed package.
  297. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  298. # avoid installing it.
  299. all-local: charset.alias ref-add.sed ref-del.sed
  300. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  301. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  302. install-exec-local: install-exec-localcharset
  303. install-exec-localcharset: all-local
  304. if test $(GLIBC21) = no; then \
  305. case '$(host_os)' in \
  306. darwin[56]*) \
  307. need_charset_alias=true ;; \
  308. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  309. need_charset_alias=false ;; \
  310. *) \
  311. need_charset_alias=true ;; \
  312. esac ; \
  313. else \
  314. need_charset_alias=false ; \
  315. fi ; \
  316. if $$need_charset_alias; then \
  317. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  318. fi ; \
  319. if test -f $(charset_alias); then \
  320. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  321. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  322. rm -f $(charset_tmp) ; \
  323. else \
  324. if $$need_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. fi ; \
  329. fi
  330. uninstall-local: uninstall-localcharset
  331. uninstall-localcharset: all-local
  332. if test -f $(charset_alias); then \
  333. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  334. if grep '^# Packages using this file: $$' $(charset_tmp) \
  335. > /dev/null; then \
  336. rm -f $(charset_alias); \
  337. else \
  338. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  339. fi; \
  340. rm -f $(charset_tmp); \
  341. fi
  342. charset.alias: config.charset
  343. rm -f t-$@ $@
  344. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
  345. mv t-$@ $@
  346. SUFFIXES += .sed .sin
  347. .sin.sed:
  348. rm -f t-$@ $@
  349. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
  350. mv t-$@ $@
  351. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  352. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  353. ## end gnulib module localcharset
  354. ## begin gnulib module malloc
  355. EXTRA_DIST += malloc.c
  356. EXTRA_libgnu_a_SOURCES += malloc.c
  357. ## end gnulib module malloc
  358. ## begin gnulib module malloc-posix
  359. EXTRA_DIST += malloc.c
  360. EXTRA_libgnu_a_SOURCES += malloc.c
  361. ## end gnulib module malloc-posix
  362. ## begin gnulib module math
  363. BUILT_SOURCES += math.h
  364. # We need the following in order to create <math.h> when the system
  365. # doesn't have one that works with the given compiler.
  366. math.h: math.in.h
  367. rm -f $@-t $@
  368. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  369. sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
  370. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  371. -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
  372. -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
  373. -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
  374. -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
  375. -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
  376. -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
  377. -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
  378. -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
  379. -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
  380. -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
  381. -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
  382. -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
  383. -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
  384. -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
  385. -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
  386. -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
  387. -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
  388. -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
  389. -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
  390. -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
  391. -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
  392. -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
  393. -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
  394. -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
  395. -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
  396. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  397. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  398. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  399. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  400. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  401. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  402. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  403. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  404. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  405. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  406. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  407. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  408. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  409. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  410. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  411. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  412. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  413. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  414. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  415. -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
  416. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  417. -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
  418. -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
  419. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  420. -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
  421. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  422. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  423. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  424. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  425. -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
  426. -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
  427. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  428. < $(srcdir)/math.in.h; \
  429. } > $@-t
  430. mv $@-t $@
  431. MOSTLYCLEANFILES += math.h math.h-t
  432. EXTRA_DIST += math.in.h
  433. ## end gnulib module math
  434. ## begin gnulib module mbrtowc
  435. EXTRA_DIST += mbrtowc.c
  436. EXTRA_libgnu_a_SOURCES += mbrtowc.c
  437. ## end gnulib module mbrtowc
  438. ## begin gnulib module mbsinit
  439. EXTRA_DIST += mbsinit.c
  440. EXTRA_libgnu_a_SOURCES += mbsinit.c
  441. ## end gnulib module mbsinit
  442. ## begin gnulib module mktime
  443. EXTRA_DIST += mktime.c
  444. EXTRA_libgnu_a_SOURCES += mktime.c
  445. ## end gnulib module mktime
  446. ## begin gnulib module mountlist
  447. EXTRA_DIST += mountlist.c mountlist.h
  448. EXTRA_libgnu_a_SOURCES += mountlist.c
  449. ## end gnulib module mountlist
  450. ## begin gnulib module netdb
  451. BUILT_SOURCES += $(NETDB_H)
  452. # We need the following in order to create <netdb.h> when the system
  453. # doesn't have one that works with the given compiler.
  454. netdb.h: netdb.in.h
  455. rm -f $@-t $@
  456. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  457. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  458. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  459. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  460. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  461. -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
  462. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  463. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  464. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  465. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  466. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  467. < $(srcdir)/netdb.in.h; \
  468. } > $@-t
  469. mv $@-t $@
  470. MOSTLYCLEANFILES += netdb.h netdb.h-t
  471. EXTRA_DIST += netdb.in.h
  472. ## end gnulib module netdb
  473. ## begin gnulib module netinet_in
  474. BUILT_SOURCES += $(NETINET_IN_H)
  475. # We need the following in order to create <netinet/in.h> when the system
  476. # doesn't have one.
  477. netinet/in.h: netinet_in.in.h
  478. @MKDIR_P@ netinet
  479. rm -f $@-t $@
  480. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  481. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  482. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  483. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  484. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  485. < $(srcdir)/netinet_in.in.h; \
  486. } > $@-t
  487. mv $@-t $@
  488. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  489. MOSTLYCLEANDIRS += netinet
  490. EXTRA_DIST += netinet_in.in.h
  491. ## end gnulib module netinet_in
  492. ## begin gnulib module open
  493. EXTRA_DIST += open.c
  494. EXTRA_libgnu_a_SOURCES += open.c
  495. ## end gnulib module open
  496. ## begin gnulib module regex
  497. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  498. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  499. ## end gnulib module regex
  500. ## begin gnulib module safe-read
  501. EXTRA_DIST += safe-read.c safe-read.h
  502. EXTRA_libgnu_a_SOURCES += safe-read.c
  503. ## end gnulib module safe-read
  504. ## begin gnulib module safe-write
  505. EXTRA_DIST += safe-write.c safe-write.h
  506. EXTRA_libgnu_a_SOURCES += safe-write.c
  507. ## end gnulib module safe-write
  508. ## begin gnulib module size_max
  509. libgnu_a_SOURCES += size_max.h
  510. ## end gnulib module size_max
  511. ## begin gnulib module snprintf
  512. EXTRA_DIST += snprintf.c
  513. EXTRA_libgnu_a_SOURCES += snprintf.c
  514. ## end gnulib module snprintf
  515. ## begin gnulib module stdbool
  516. BUILT_SOURCES += $(STDBOOL_H)
  517. # We need the following in order to create <stdbool.h> when the system
  518. # doesn't have one that works.
  519. stdbool.h: stdbool.in.h
  520. rm -f $@-t $@
  521. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  522. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  523. } > $@-t
  524. mv $@-t $@
  525. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  526. EXTRA_DIST += stdbool.in.h
  527. ## end gnulib module stdbool
  528. ## begin gnulib module stdint
  529. BUILT_SOURCES += $(STDINT_H)
  530. # We need the following in order to create <stdint.h> when the system
  531. # doesn't have one that works with the given compiler.
  532. stdint.h: stdint.in.h
  533. rm -f $@-t $@
  534. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  535. sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  536. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  537. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  538. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  539. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  540. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  541. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  542. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  543. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  544. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  545. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  546. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  547. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  548. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  549. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  550. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  551. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  552. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  553. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  554. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  555. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  556. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  557. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  558. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  559. < $(srcdir)/stdint.in.h; \
  560. } > $@-t
  561. mv $@-t $@
  562. MOSTLYCLEANFILES += stdint.h stdint.h-t
  563. EXTRA_DIST += stdint.in.h
  564. ## end gnulib module stdint
  565. ## begin gnulib module stdio
  566. BUILT_SOURCES += stdio.h
  567. # We need the following in order to create <stdio.h> when the system
  568. # doesn't have one that works with the given compiler.
  569. stdio.h: stdio.in.h
  570. rm -f $@-t $@
  571. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  572. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  573. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  574. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  575. -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
  576. -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
  577. -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
  578. -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
  579. -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
  580. -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
  581. -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
  582. -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
  583. -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
  584. -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
  585. -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
  586. -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
  587. -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
  588. -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
  589. -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
  590. -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
  591. -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
  592. -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
  593. -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
  594. -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
  595. -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
  596. -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
  597. -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
  598. -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
  599. -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
  600. -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
  601. -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
  602. -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
  603. -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
  604. -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
  605. -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
  606. -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
  607. -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
  608. -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
  609. -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
  610. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  611. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  612. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  613. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  614. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  615. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  616. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  617. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  618. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  619. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  620. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  621. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  622. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  623. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  624. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  625. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  626. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  627. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  628. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  629. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  630. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  631. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  632. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  633. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  634. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  635. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  636. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  637. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  638. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  639. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  640. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  641. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  642. < $(srcdir)/stdio.in.h; \
  643. } > $@-t
  644. mv $@-t $@
  645. MOSTLYCLEANFILES += stdio.h stdio.h-t
  646. EXTRA_DIST += stdio-write.c stdio.in.h
  647. EXTRA_libgnu_a_SOURCES += stdio-write.c
  648. ## end gnulib module stdio
  649. ## begin gnulib module stdlib
  650. BUILT_SOURCES += stdlib.h
  651. # We need the following in order to create <stdlib.h> when the system
  652. # doesn't have one that works with the given compiler.
  653. stdlib.h: stdlib.in.h
  654. rm -f $@-t $@
  655. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  656. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  657. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  658. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  659. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  660. -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
  661. -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
  662. -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
  663. -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
  664. -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
  665. -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
  666. -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
  667. -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
  668. -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
  669. -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
  670. -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
  671. -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
  672. -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
  673. -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
  674. -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
  675. -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
  676. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  677. -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
  678. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  679. -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
  680. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  681. -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
  682. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  683. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  684. -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
  685. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  686. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  687. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  688. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  689. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  690. -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
  691. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  692. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  693. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  694. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  695. -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
  696. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  697. < $(srcdir)/stdlib.in.h; \
  698. } > $@-t
  699. mv $@-t $@
  700. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  701. EXTRA_DIST += stdlib.in.h
  702. ## end gnulib module stdlib
  703. ## begin gnulib module strdup-posix
  704. EXTRA_DIST += strdup.c
  705. EXTRA_libgnu_a_SOURCES += strdup.c
  706. ## end gnulib module strdup-posix
  707. ## begin gnulib module streq
  708. EXTRA_DIST += streq.h
  709. ## end gnulib module streq
  710. ## begin gnulib module strerror
  711. EXTRA_DIST += strerror.c
  712. EXTRA_libgnu_a_SOURCES += strerror.c
  713. ## end gnulib module strerror
  714. ## begin gnulib module string
  715. BUILT_SOURCES += string.h
  716. # We need the following in order to create <string.h> when the system
  717. # doesn't have one that works with the given compiler.
  718. string.h: string.in.h
  719. rm -f $@-t $@
  720. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  721. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  722. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  723. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  724. -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
  725. -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
  726. -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
  727. -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
  728. -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
  729. -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
  730. -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
  731. -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
  732. -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
  733. -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
  734. -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
  735. -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
  736. -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
  737. -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
  738. -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
  739. -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
  740. -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
  741. -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
  742. -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
  743. -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
  744. -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
  745. -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
  746. -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
  747. -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
  748. -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
  749. -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
  750. -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
  751. -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
  752. -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
  753. -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
  754. -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
  755. -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
  756. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  757. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  758. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  759. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  760. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  761. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  762. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  763. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  764. -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
  765. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  766. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  767. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  768. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  769. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  770. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  771. -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
  772. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  773. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  774. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  775. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  776. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  777. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  778. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  779. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  780. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  781. < $(srcdir)/string.in.h; \
  782. } > $@-t
  783. mv $@-t $@
  784. MOSTLYCLEANFILES += string.h string.h-t
  785. EXTRA_DIST += string.in.h
  786. ## end gnulib module string
  787. ## begin gnulib module strndup
  788. EXTRA_DIST += strndup.c
  789. EXTRA_libgnu_a_SOURCES += strndup.c
  790. ## end gnulib module strndup
  791. ## begin gnulib module strnlen
  792. EXTRA_DIST += strnlen.c
  793. EXTRA_libgnu_a_SOURCES += strnlen.c
  794. ## end gnulib module strnlen
  795. ## begin gnulib module sys_socket
  796. BUILT_SOURCES += $(SYS_SOCKET_H)
  797. # We need the following in order to create <sys/socket.h> when the system
  798. # doesn't have one that works with the given compiler.
  799. sys/socket.h: sys_socket.in.h
  800. @MKDIR_P@ sys
  801. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  802. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  803. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  804. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  805. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  806. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  807. -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
  808. -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
  809. -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
  810. -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
  811. -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
  812. -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
  813. -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
  814. -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
  815. -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
  816. -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
  817. -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
  818. -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
  819. -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
  820. -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
  821. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  822. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  823. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  824. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  825. < $(srcdir)/sys_socket.in.h; \
  826. } > $@-t
  827. mv -f $@-t $@
  828. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  829. MOSTLYCLEANDIRS += sys
  830. EXTRA_DIST += sys_socket.in.h
  831. ## end gnulib module sys_socket
  832. ## begin gnulib module time
  833. BUILT_SOURCES += time.h
  834. # We need the following in order to create <time.h> when the system
  835. # doesn't have one that works with the given compiler.
  836. time.h: time.in.h
  837. rm -f $@-t $@
  838. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  839. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  840. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  841. -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  842. -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  843. -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  844. -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
  845. -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  846. -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  847. -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  848. < $(srcdir)/time.in.h; \
  849. } > $@-t
  850. mv $@-t $@
  851. MOSTLYCLEANFILES += time.h time.h-t
  852. EXTRA_DIST += time.in.h
  853. ## end gnulib module time
  854. ## begin gnulib module time_r
  855. EXTRA_DIST += time_r.c
  856. EXTRA_libgnu_a_SOURCES += time_r.c
  857. ## end gnulib module time_r
  858. ## begin gnulib module timegm
  859. EXTRA_DIST += timegm.c
  860. EXTRA_libgnu_a_SOURCES += timegm.c
  861. ## end gnulib module timegm
  862. ## begin gnulib module unistd
  863. BUILT_SOURCES += unistd.h
  864. # We need the following in order to create an empty placeholder for
  865. # <unistd.h> when the system doesn't have one.
  866. unistd.h: unistd.in.h
  867. rm -f $@-t $@
  868. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  869. sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  870. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  871. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  872. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  873. -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
  874. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  875. -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
  876. -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
  877. -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
  878. -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
  879. -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
  880. -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
  881. -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
  882. -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
  883. -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
  884. -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
  885. -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
  886. -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
  887. -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
  888. -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
  889. -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
  890. -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
  891. -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
  892. -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
  893. -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
  894. -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
  895. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  896. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  897. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  898. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  899. -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
  900. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  901. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  902. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  903. -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
  904. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  905. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  906. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  907. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  908. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  909. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  910. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  911. -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  912. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  913. -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
  914. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  915. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  916. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  917. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  918. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  919. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  920. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  921. < $(srcdir)/unistd.in.h; \
  922. } > $@-t
  923. mv $@-t $@
  924. MOSTLYCLEANFILES += unistd.h unistd.h-t
  925. EXTRA_DIST += unistd.in.h
  926. ## end gnulib module unistd
  927. ## begin gnulib module unistd-safer
  928. EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
  929. EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
  930. ## end gnulib module unistd-safer
  931. ## begin gnulib module vasnprintf
  932. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  933. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  934. ## end gnulib module vasnprintf
  935. ## begin gnulib module vasprintf
  936. EXTRA_DIST += asprintf.c vasprintf.c
  937. EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
  938. ## end gnulib module vasprintf
  939. ## begin gnulib module verify
  940. libgnu_a_SOURCES += verify.h
  941. ## end gnulib module verify
  942. ## begin gnulib module vsnprintf
  943. EXTRA_DIST += vsnprintf.c
  944. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  945. ## end gnulib module vsnprintf
  946. ## begin gnulib module wchar
  947. BUILT_SOURCES += $(WCHAR_H)
  948. # We need the following in order to create <wchar.h> when the system
  949. # version does not work standalone.
  950. wchar.h: wchar.in.h
  951. 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_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  956. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  957. -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
  958. -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
  959. -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
  960. -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
  961. -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
  962. -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
  963. -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
  964. -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
  965. -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
  966. -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
  967. -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
  968. -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  969. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  970. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  971. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  972. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  973. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  974. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  975. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  976. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  977. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  978. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  979. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  980. -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  981. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  982. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  983. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  984. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  985. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  986. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  987. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  988. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  989. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  990. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  991. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  992. -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
  993. < $(srcdir)/wchar.in.h; \
  994. } > $@-t
  995. mv $@-t $@
  996. MOSTLYCLEANFILES += wchar.h wchar.h-t
  997. EXTRA_DIST += wchar.in.h
  998. ## end gnulib module wchar
  999. ## begin gnulib module wcrtomb
  1000. EXTRA_DIST += wcrtomb.c
  1001. EXTRA_libgnu_a_SOURCES += wcrtomb.c
  1002. ## end gnulib module wcrtomb
  1003. ## begin gnulib module wctype
  1004. BUILT_SOURCES += $(WCTYPE_H)
  1005. # We need the following in order to create <wctype.h> when the system
  1006. # doesn't have one that works with the given compiler.
  1007. wctype.h: wctype.in.h
  1008. rm -f $@-t $@
  1009. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1010. sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  1011. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1012. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1013. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  1014. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  1015. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  1016. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  1017. < $(srcdir)/wctype.in.h; \
  1018. } > $@-t
  1019. mv $@-t $@
  1020. MOSTLYCLEANFILES += wctype.h wctype.h-t
  1021. EXTRA_DIST += wctype.in.h
  1022. ## end gnulib module wctype
  1023. ## begin gnulib module write
  1024. EXTRA_DIST += write.c
  1025. EXTRA_libgnu_a_SOURCES += write.c
  1026. ## end gnulib module write
  1027. ## begin gnulib module xalloc
  1028. EXTRA_DIST += xalloc.h xmalloc.c
  1029. EXTRA_libgnu_a_SOURCES += xmalloc.c
  1030. ## end gnulib module xalloc
  1031. ## begin gnulib module xalloc-die
  1032. libgnu_a_SOURCES += xalloc-die.c
  1033. ## end gnulib module xalloc-die
  1034. ## begin gnulib module xsize
  1035. libgnu_a_SOURCES += xsize.h
  1036. ## end gnulib module xsize
  1037. ## begin gnulib module xstrndup
  1038. libgnu_a_SOURCES += xstrndup.h xstrndup.c
  1039. ## end gnulib module xstrndup
  1040. mostlyclean-local: mostlyclean-generic
  1041. @for dir in '' $(MOSTLYCLEANDIRS); do \
  1042. if test -n "$$dir" && test -d $$dir; then \
  1043. echo "rmdir $$dir"; rmdir $$dir; \
  1044. fi; \
  1045. done; \
  1046. :