Makefile.am 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2013 Free Software Foundation, Inc.
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This file is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this file. If not, see <http://www.gnu.org/licenses/>.
  17. #
  18. # As a special exception to the GNU General Public License,
  19. # this file may be distributed as part of a program that
  20. # contains a configuration script generated by Autoconf, under
  21. # the same distribution terms as the rest of that program.
  22. #
  23. # Generated by gnulib-tool.
  24. # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=grub-core/gnulib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files argp error fnmatch getdelim getline gettext progname regex
  25. AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
  26. SUBDIRS =
  27. noinst_HEADERS =
  28. noinst_LIBRARIES =
  29. noinst_LTLIBRARIES =
  30. EXTRA_DIST =
  31. BUILT_SOURCES =
  32. SUFFIXES =
  33. MOSTLYCLEANFILES = core *.stackdump
  34. MOSTLYCLEANDIRS =
  35. CLEANFILES =
  36. DISTCLEANFILES =
  37. MAINTAINERCLEANFILES =
  38. AM_CPPFLAGS =
  39. AM_CFLAGS =
  40. noinst_LIBRARIES += libgnu.a
  41. libgnu_a_SOURCES =
  42. libgnu_a_LIBADD = $(gl_LIBOBJS)
  43. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  44. EXTRA_libgnu_a_SOURCES =
  45. ## begin gnulib module alloca
  46. libgnu_a_LIBADD += @ALLOCA@
  47. libgnu_a_DEPENDENCIES += @ALLOCA@
  48. EXTRA_DIST += alloca.c
  49. EXTRA_libgnu_a_SOURCES += alloca.c
  50. ## end gnulib module alloca
  51. ## begin gnulib module alloca-opt
  52. BUILT_SOURCES += $(ALLOCA_H)
  53. # We need the following in order to create <alloca.h> when the system
  54. # doesn't have one that works with the given compiler.
  55. if GL_GENERATE_ALLOCA_H
  56. alloca.h: alloca.in.h $(top_builddir)/config.status
  57. $(AM_V_GEN)rm -f $@-t $@ && \
  58. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  59. cat $(srcdir)/alloca.in.h; \
  60. } > $@-t && \
  61. mv -f $@-t $@
  62. else
  63. alloca.h: $(top_builddir)/config.status
  64. rm -f $@
  65. endif
  66. MOSTLYCLEANFILES += alloca.h alloca.h-t
  67. EXTRA_DIST += alloca.in.h
  68. ## end gnulib module alloca-opt
  69. ## begin gnulib module argp
  70. libgnu_a_SOURCES += argp.h argp-ba.c argp-eexst.c \
  71. argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \
  72. argp-namefrob.h argp-parse.c argp-pin.c argp-pv.c argp-pvh.c \
  73. argp-xinl.c
  74. ## end gnulib module argp
  75. ## begin gnulib module btowc
  76. EXTRA_DIST += btowc.c
  77. EXTRA_libgnu_a_SOURCES += btowc.c
  78. ## end gnulib module btowc
  79. ## begin gnulib module configmake
  80. # Listed in the same order as the GNU makefile conventions, and
  81. # provided by autoconf 2.59c+.
  82. # The Automake-defined pkg* macros are appended, in the order
  83. # listed in the Automake 1.10a+ documentation.
  84. configmake.h: Makefile
  85. $(AM_V_GEN)rm -f $@-t && \
  86. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  87. echo '#define PREFIX "$(prefix)"'; \
  88. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  89. echo '#define BINDIR "$(bindir)"'; \
  90. echo '#define SBINDIR "$(sbindir)"'; \
  91. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  92. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  93. echo '#define DATADIR "$(datadir)"'; \
  94. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  95. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  96. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  97. echo '#define INCLUDEDIR "$(includedir)"'; \
  98. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  99. echo '#define DOCDIR "$(docdir)"'; \
  100. echo '#define INFODIR "$(infodir)"'; \
  101. echo '#define HTMLDIR "$(htmldir)"'; \
  102. echo '#define DVIDIR "$(dvidir)"'; \
  103. echo '#define PDFDIR "$(pdfdir)"'; \
  104. echo '#define PSDIR "$(psdir)"'; \
  105. echo '#define LIBDIR "$(libdir)"'; \
  106. echo '#define LISPDIR "$(lispdir)"'; \
  107. echo '#define LOCALEDIR "$(localedir)"'; \
  108. echo '#define MANDIR "$(mandir)"'; \
  109. echo '#define MANEXT "$(manext)"'; \
  110. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  111. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  112. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  113. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  114. } | sed '/""/d' > $@-t && \
  115. mv -f $@-t $@
  116. BUILT_SOURCES += configmake.h
  117. CLEANFILES += configmake.h configmake.h-t
  118. ## end gnulib module configmake
  119. ## begin gnulib module dirname-lgpl
  120. libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
  121. EXTRA_DIST += dirname.h
  122. ## end gnulib module dirname-lgpl
  123. ## begin gnulib module dosname
  124. EXTRA_DIST += dosname.h
  125. ## end gnulib module dosname
  126. ## begin gnulib module errno
  127. BUILT_SOURCES += $(ERRNO_H)
  128. # We need the following in order to create <errno.h> when the system
  129. # doesn't have one that is POSIX compliant.
  130. if GL_GENERATE_ERRNO_H
  131. errno.h: errno.in.h $(top_builddir)/config.status
  132. $(AM_V_GEN)rm -f $@-t $@ && \
  133. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  134. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  135. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  136. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  137. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  138. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  139. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  140. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  141. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  142. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  143. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  144. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  145. < $(srcdir)/errno.in.h; \
  146. } > $@-t && \
  147. mv $@-t $@
  148. else
  149. errno.h: $(top_builddir)/config.status
  150. rm -f $@
  151. endif
  152. MOSTLYCLEANFILES += errno.h errno.h-t
  153. EXTRA_DIST += errno.in.h
  154. ## end gnulib module errno
  155. ## begin gnulib module error
  156. EXTRA_DIST += error.c error.h
  157. EXTRA_libgnu_a_SOURCES += error.c
  158. ## end gnulib module error
  159. ## begin gnulib module float
  160. BUILT_SOURCES += $(FLOAT_H)
  161. # We need the following in order to create <float.h> when the system
  162. # doesn't have one that works with the given compiler.
  163. if GL_GENERATE_FLOAT_H
  164. float.h: float.in.h $(top_builddir)/config.status
  165. $(AM_V_GEN)rm -f $@-t $@ && \
  166. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  167. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  168. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  169. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  170. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  171. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  172. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  173. < $(srcdir)/float.in.h; \
  174. } > $@-t && \
  175. mv $@-t $@
  176. else
  177. float.h: $(top_builddir)/config.status
  178. rm -f $@
  179. endif
  180. MOSTLYCLEANFILES += float.h float.h-t
  181. EXTRA_DIST += float.c float.in.h itold.c
  182. EXTRA_libgnu_a_SOURCES += float.c itold.c
  183. ## end gnulib module float
  184. ## begin gnulib module fnmatch
  185. BUILT_SOURCES += $(FNMATCH_H)
  186. # We need the following in order to create <fnmatch.h> when the system
  187. # doesn't have one that supports the required API.
  188. if GL_GENERATE_FNMATCH_H
  189. fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
  190. $(AM_V_GEN)rm -f $@-t $@ && \
  191. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  192. sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  193. < $(srcdir)/fnmatch.in.h; \
  194. } > $@-t && \
  195. mv -f $@-t $@
  196. else
  197. fnmatch.h: $(top_builddir)/config.status
  198. rm -f $@
  199. endif
  200. MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
  201. EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
  202. EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
  203. ## end gnulib module fnmatch
  204. ## begin gnulib module getdelim
  205. EXTRA_DIST += getdelim.c
  206. EXTRA_libgnu_a_SOURCES += getdelim.c
  207. ## end gnulib module getdelim
  208. ## begin gnulib module getline
  209. EXTRA_DIST += getline.c
  210. EXTRA_libgnu_a_SOURCES += getline.c
  211. ## end gnulib module getline
  212. ## begin gnulib module getopt-posix
  213. BUILT_SOURCES += $(GETOPT_H)
  214. # We need the following in order to create <getopt.h> when the system
  215. # doesn't have one that works with the given compiler.
  216. getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
  217. $(AM_V_GEN)rm -f $@-t $@ && \
  218. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  219. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  220. -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
  221. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  222. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  223. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  224. -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
  225. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  226. < $(srcdir)/getopt.in.h; \
  227. } > $@-t && \
  228. mv -f $@-t $@
  229. MOSTLYCLEANFILES += getopt.h getopt.h-t
  230. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  231. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  232. ## end gnulib module getopt-posix
  233. ## begin gnulib module gettext
  234. # This is for those projects which use "gettextize --intl" to put a source-code
  235. # copy of libintl into their package. In such projects, every Makefile.am needs
  236. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  237. # For the Makefile.ams in other directories it is the maintainer's
  238. # responsibility; for the one from gnulib we do it here.
  239. # This option has no effect when the user disables NLS (because then the intl
  240. # directory contains no libintl.h file) or when the project does not use
  241. # "gettextize --intl".
  242. AM_CPPFLAGS += -I$(top_builddir)/intl
  243. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  244. ## end gnulib module gettext
  245. ## begin gnulib module gettext-h
  246. libgnu_a_SOURCES += gettext.h
  247. ## end gnulib module gettext-h
  248. ## begin gnulib module havelib
  249. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  250. ## end gnulib module havelib
  251. ## begin gnulib module intprops
  252. EXTRA_DIST += intprops.h
  253. ## end gnulib module intprops
  254. ## begin gnulib module langinfo
  255. BUILT_SOURCES += langinfo.h
  256. # We need the following in order to create an empty placeholder for
  257. # <langinfo.h> when the system doesn't have one.
  258. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  259. $(AM_V_GEN)rm -f $@-t $@ && \
  260. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  261. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  262. -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  263. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  264. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  265. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  266. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  267. -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
  268. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  269. -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
  270. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  271. -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
  272. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  273. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  274. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  275. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  276. < $(srcdir)/langinfo.in.h; \
  277. } > $@-t && \
  278. mv $@-t $@
  279. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  280. EXTRA_DIST += langinfo.in.h
  281. ## end gnulib module langinfo
  282. ## begin gnulib module localcharset
  283. libgnu_a_SOURCES += localcharset.h localcharset.c
  284. # We need the following in order to install a simple file in $(libdir)
  285. # which is shared with other installed packages. We use a list of referencing
  286. # packages so that "make uninstall" will remove the file if and only if it
  287. # is not used by another installed package.
  288. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  289. # avoid installing it.
  290. all-local: charset.alias ref-add.sed ref-del.sed
  291. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  292. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  293. install-exec-local: install-exec-localcharset
  294. install-exec-localcharset: all-local
  295. if test $(GLIBC21) = no; then \
  296. case '$(host_os)' in \
  297. darwin[56]*) \
  298. need_charset_alias=true ;; \
  299. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  300. need_charset_alias=false ;; \
  301. *) \
  302. need_charset_alias=true ;; \
  303. esac ; \
  304. else \
  305. need_charset_alias=false ; \
  306. fi ; \
  307. if $$need_charset_alias; then \
  308. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  309. fi ; \
  310. if test -f $(charset_alias); then \
  311. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  312. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  313. rm -f $(charset_tmp) ; \
  314. else \
  315. if $$need_charset_alias; then \
  316. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  317. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  318. rm -f $(charset_tmp) ; \
  319. fi ; \
  320. fi
  321. uninstall-local: uninstall-localcharset
  322. uninstall-localcharset: all-local
  323. if test -f $(charset_alias); then \
  324. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  325. if grep '^# Packages using this file: $$' $(charset_tmp) \
  326. > /dev/null; then \
  327. rm -f $(charset_alias); \
  328. else \
  329. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  330. fi; \
  331. rm -f $(charset_tmp); \
  332. fi
  333. charset.alias: config.charset
  334. $(AM_V_GEN)rm -f t-$@ $@ && \
  335. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
  336. mv t-$@ $@
  337. SUFFIXES += .sed .sin
  338. .sin.sed:
  339. $(AM_V_GEN)rm -f t-$@ $@ && \
  340. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
  341. mv t-$@ $@
  342. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  343. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  344. ## end gnulib module localcharset
  345. ## begin gnulib module locale
  346. BUILT_SOURCES += locale.h
  347. # We need the following in order to create <locale.h> when the system
  348. # doesn't have one that provides all definitions.
  349. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  350. $(AM_V_GEN)rm -f $@-t $@ && \
  351. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  352. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  353. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  354. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  355. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  356. -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
  357. -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
  358. -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
  359. -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
  360. -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
  361. -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
  362. -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
  363. -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
  364. -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
  365. -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
  366. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  367. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  368. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  369. < $(srcdir)/locale.in.h; \
  370. } > $@-t && \
  371. mv $@-t $@
  372. MOSTLYCLEANFILES += locale.h locale.h-t
  373. EXTRA_DIST += locale.in.h
  374. ## end gnulib module locale
  375. ## begin gnulib module localeconv
  376. EXTRA_DIST += localeconv.c
  377. EXTRA_libgnu_a_SOURCES += localeconv.c
  378. ## end gnulib module localeconv
  379. ## begin gnulib module malloc-gnu
  380. EXTRA_DIST += malloc.c
  381. EXTRA_libgnu_a_SOURCES += malloc.c
  382. ## end gnulib module malloc-gnu
  383. ## begin gnulib module malloc-posix
  384. EXTRA_DIST += malloc.c
  385. EXTRA_libgnu_a_SOURCES += malloc.c
  386. ## end gnulib module malloc-posix
  387. ## begin gnulib module mbrtowc
  388. EXTRA_DIST += mbrtowc.c
  389. EXTRA_libgnu_a_SOURCES += mbrtowc.c
  390. ## end gnulib module mbrtowc
  391. ## begin gnulib module mbsinit
  392. EXTRA_DIST += mbsinit.c
  393. EXTRA_libgnu_a_SOURCES += mbsinit.c
  394. ## end gnulib module mbsinit
  395. ## begin gnulib module mbsrtowcs
  396. EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
  397. EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
  398. ## end gnulib module mbsrtowcs
  399. ## begin gnulib module mbswidth
  400. libgnu_a_SOURCES += mbswidth.h mbswidth.c
  401. ## end gnulib module mbswidth
  402. ## begin gnulib module mbtowc
  403. EXTRA_DIST += mbtowc-impl.h mbtowc.c
  404. EXTRA_libgnu_a_SOURCES += mbtowc.c
  405. ## end gnulib module mbtowc
  406. ## begin gnulib module memchr
  407. EXTRA_DIST += memchr.c memchr.valgrind
  408. EXTRA_libgnu_a_SOURCES += memchr.c
  409. ## end gnulib module memchr
  410. ## begin gnulib module mempcpy
  411. EXTRA_DIST += mempcpy.c
  412. EXTRA_libgnu_a_SOURCES += mempcpy.c
  413. ## end gnulib module mempcpy
  414. ## begin gnulib module msvc-inval
  415. EXTRA_DIST += msvc-inval.c msvc-inval.h
  416. EXTRA_libgnu_a_SOURCES += msvc-inval.c
  417. ## end gnulib module msvc-inval
  418. ## begin gnulib module msvc-nothrow
  419. EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
  420. EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
  421. ## end gnulib module msvc-nothrow
  422. ## begin gnulib module nl_langinfo
  423. EXTRA_DIST += nl_langinfo.c
  424. EXTRA_libgnu_a_SOURCES += nl_langinfo.c
  425. ## end gnulib module nl_langinfo
  426. ## begin gnulib module progname
  427. libgnu_a_SOURCES += progname.h progname.c
  428. ## end gnulib module progname
  429. ## begin gnulib module rawmemchr
  430. EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
  431. EXTRA_libgnu_a_SOURCES += rawmemchr.c
  432. ## end gnulib module rawmemchr
  433. ## begin gnulib module realloc-posix
  434. EXTRA_DIST += realloc.c
  435. EXTRA_libgnu_a_SOURCES += realloc.c
  436. ## end gnulib module realloc-posix
  437. ## begin gnulib module regex
  438. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  439. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  440. ## end gnulib module regex
  441. ## begin gnulib module size_max
  442. libgnu_a_SOURCES += size_max.h
  443. ## end gnulib module size_max
  444. ## begin gnulib module sleep
  445. EXTRA_DIST += sleep.c
  446. EXTRA_libgnu_a_SOURCES += sleep.c
  447. ## end gnulib module sleep
  448. ## begin gnulib module snippet/_Noreturn
  449. # Because this Makefile snippet defines a variable used by other
  450. # gnulib Makefile snippets, it must be present in all Makefile.am that
  451. # need it. This is ensured by the applicability 'all' defined above.
  452. _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
  453. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
  454. ## end gnulib module snippet/_Noreturn
  455. ## begin gnulib module snippet/arg-nonnull
  456. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  457. # statements but through direct file reference. Therefore this snippet must be
  458. # present in all Makefile.am that need it. This is ensured by the applicability
  459. # 'all' defined above.
  460. BUILT_SOURCES += arg-nonnull.h
  461. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  462. # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
  463. # off.
  464. arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  465. $(AM_V_GEN)rm -f $@-t $@ && \
  466. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  467. < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
  468. > $@-t && \
  469. mv $@-t $@
  470. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  471. ARG_NONNULL_H=arg-nonnull.h
  472. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  473. ## end gnulib module snippet/arg-nonnull
  474. ## begin gnulib module snippet/c++defs
  475. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  476. # statements but through direct file reference. Therefore this snippet must be
  477. # present in all Makefile.am that need it. This is ensured by the applicability
  478. # 'all' defined above.
  479. BUILT_SOURCES += c++defs.h
  480. # The c++defs.h that gets inserted into generated .h files is the same as
  481. # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
  482. c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
  483. $(AM_V_GEN)rm -f $@-t $@ && \
  484. sed -n -e '/_GL_CXXDEFS/,$$p' \
  485. < $(top_srcdir)/build-aux/snippet/c++defs.h \
  486. > $@-t && \
  487. mv $@-t $@
  488. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  489. CXXDEFS_H=c++defs.h
  490. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
  491. ## end gnulib module snippet/c++defs
  492. ## begin gnulib module snippet/warn-on-use
  493. BUILT_SOURCES += warn-on-use.h
  494. # The warn-on-use.h that gets inserted into generated .h files is the same as
  495. # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
  496. # off.
  497. warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
  498. $(AM_V_GEN)rm -f $@-t $@ && \
  499. sed -n -e '/^.ifndef/,$$p' \
  500. < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
  501. > $@-t && \
  502. mv $@-t $@
  503. MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
  504. WARN_ON_USE_H=warn-on-use.h
  505. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
  506. ## end gnulib module snippet/warn-on-use
  507. ## begin gnulib module stdalign
  508. BUILT_SOURCES += $(STDALIGN_H)
  509. # We need the following in order to create <stdalign.h> when the system
  510. # doesn't have one that works.
  511. if GL_GENERATE_STDALIGN_H
  512. stdalign.h: stdalign.in.h $(top_builddir)/config.status
  513. $(AM_V_GEN)rm -f $@-t $@ && \
  514. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  515. cat $(srcdir)/stdalign.in.h; \
  516. } > $@-t && \
  517. mv $@-t $@
  518. else
  519. stdalign.h: $(top_builddir)/config.status
  520. rm -f $@
  521. endif
  522. MOSTLYCLEANFILES += stdalign.h stdalign.h-t
  523. EXTRA_DIST += stdalign.in.h
  524. ## end gnulib module stdalign
  525. ## begin gnulib module stdbool
  526. BUILT_SOURCES += $(STDBOOL_H)
  527. # We need the following in order to create <stdbool.h> when the system
  528. # doesn't have one that works.
  529. if GL_GENERATE_STDBOOL_H
  530. stdbool.h: stdbool.in.h $(top_builddir)/config.status
  531. $(AM_V_GEN)rm -f $@-t $@ && \
  532. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  533. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  534. } > $@-t && \
  535. mv $@-t $@
  536. else
  537. stdbool.h: $(top_builddir)/config.status
  538. rm -f $@
  539. endif
  540. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  541. EXTRA_DIST += stdbool.in.h
  542. ## end gnulib module stdbool
  543. ## begin gnulib module stddef
  544. BUILT_SOURCES += $(STDDEF_H)
  545. # We need the following in order to create <stddef.h> when the system
  546. # doesn't have one that works with the given compiler.
  547. if GL_GENERATE_STDDEF_H
  548. stddef.h: stddef.in.h $(top_builddir)/config.status
  549. $(AM_V_GEN)rm -f $@-t $@ && \
  550. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  551. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  552. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  553. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  554. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  555. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  556. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  557. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  558. < $(srcdir)/stddef.in.h; \
  559. } > $@-t && \
  560. mv $@-t $@
  561. else
  562. stddef.h: $(top_builddir)/config.status
  563. rm -f $@
  564. endif
  565. MOSTLYCLEANFILES += stddef.h stddef.h-t
  566. EXTRA_DIST += stddef.in.h
  567. ## end gnulib module stddef
  568. ## begin gnulib module stdint
  569. BUILT_SOURCES += $(STDINT_H)
  570. # We need the following in order to create <stdint.h> when the system
  571. # doesn't have one that works with the given compiler.
  572. if GL_GENERATE_STDINT_H
  573. stdint.h: stdint.in.h $(top_builddir)/config.status
  574. $(AM_V_GEN)rm -f $@-t $@ && \
  575. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  576. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  577. -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  578. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  579. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  580. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  581. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  582. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  583. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  584. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  585. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  586. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  587. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  588. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  589. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  590. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  591. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  592. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  593. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  594. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  595. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  596. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  597. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  598. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  599. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  600. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  601. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  602. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  603. < $(srcdir)/stdint.in.h; \
  604. } > $@-t && \
  605. mv $@-t $@
  606. else
  607. stdint.h: $(top_builddir)/config.status
  608. rm -f $@
  609. endif
  610. MOSTLYCLEANFILES += stdint.h stdint.h-t
  611. EXTRA_DIST += stdint.in.h
  612. ## end gnulib module stdint
  613. ## begin gnulib module stdio
  614. BUILT_SOURCES += stdio.h
  615. # We need the following in order to create <stdio.h> when the system
  616. # doesn't have one that works with the given compiler.
  617. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  618. $(AM_V_GEN)rm -f $@-t $@ && \
  619. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  620. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  621. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  622. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  623. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  624. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  625. -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
  626. -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
  627. -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
  628. -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
  629. -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
  630. -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
  631. -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
  632. -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
  633. -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
  634. -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
  635. -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
  636. -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
  637. -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
  638. -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
  639. -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
  640. -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
  641. -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
  642. -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
  643. -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
  644. -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
  645. -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
  646. -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
  647. -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
  648. -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
  649. -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
  650. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
  651. -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
  652. -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
  653. -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
  654. -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
  655. -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
  656. -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
  657. -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
  658. -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
  659. -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
  660. -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
  661. -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
  662. -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
  663. -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
  664. -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
  665. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
  666. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
  667. -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
  668. -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
  669. -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
  670. -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
  671. -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
  672. -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
  673. -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
  674. -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
  675. -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
  676. -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
  677. -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
  678. < $(srcdir)/stdio.in.h | \
  679. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  680. -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
  681. -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
  682. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  683. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  684. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  685. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  686. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  687. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  688. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  689. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  690. -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
  691. -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
  692. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  693. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  694. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  695. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  696. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  697. -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
  698. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  699. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  700. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  701. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  702. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  703. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  704. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  705. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  706. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  707. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  708. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  709. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  710. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  711. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  712. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  713. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  714. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  715. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  716. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  717. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  718. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
  719. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  720. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  721. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  722. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  723. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  724. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  725. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  726. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  727. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  728. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  729. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  730. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  731. } > $@-t && \
  732. mv $@-t $@
  733. MOSTLYCLEANFILES += stdio.h stdio.h-t
  734. EXTRA_DIST += stdio.in.h
  735. ## end gnulib module stdio
  736. ## begin gnulib module stdlib
  737. BUILT_SOURCES += stdlib.h
  738. # We need the following in order to create <stdlib.h> when the system
  739. # doesn't have one that works with the given compiler.
  740. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
  741. $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  742. $(AM_V_GEN)rm -f $@-t $@ && \
  743. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  744. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  745. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  746. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  747. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  748. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  749. -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
  750. -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
  751. -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
  752. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
  753. -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
  754. -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
  755. -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
  756. -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
  757. -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
  758. -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
  759. -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
  760. -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
  761. -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
  762. -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
  763. -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
  764. -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
  765. -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
  766. -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
  767. -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
  768. -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
  769. -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
  770. -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
  771. -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
  772. -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
  773. -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
  774. -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
  775. -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
  776. -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
  777. -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
  778. -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
  779. -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
  780. -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
  781. < $(srcdir)/stdlib.in.h | \
  782. sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  783. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  784. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  785. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  786. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  787. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  788. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  789. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  790. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  791. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  792. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  793. -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
  794. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  795. -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
  796. -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
  797. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  798. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  799. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  800. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  801. -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
  802. -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
  803. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  804. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  805. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  806. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  807. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  808. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  809. -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
  810. -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
  811. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  812. -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
  813. -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
  814. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  815. -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
  816. -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
  817. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  818. -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
  819. -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
  820. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  821. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  822. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  823. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  824. -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
  825. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  826. -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  827. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  828. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  829. } > $@-t && \
  830. mv $@-t $@
  831. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  832. EXTRA_DIST += stdlib.in.h
  833. ## end gnulib module stdlib
  834. ## begin gnulib module strcase
  835. EXTRA_DIST += strcasecmp.c strncasecmp.c
  836. EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
  837. ## end gnulib module strcase
  838. ## begin gnulib module strchrnul
  839. EXTRA_DIST += strchrnul.c strchrnul.valgrind
  840. EXTRA_libgnu_a_SOURCES += strchrnul.c
  841. ## end gnulib module strchrnul
  842. ## begin gnulib module streq
  843. EXTRA_DIST += streq.h
  844. ## end gnulib module streq
  845. ## begin gnulib module strerror
  846. EXTRA_DIST += strerror.c
  847. EXTRA_libgnu_a_SOURCES += strerror.c
  848. ## end gnulib module strerror
  849. ## begin gnulib module strerror-override
  850. EXTRA_DIST += strerror-override.c strerror-override.h
  851. EXTRA_libgnu_a_SOURCES += strerror-override.c
  852. ## end gnulib module strerror-override
  853. ## begin gnulib module string
  854. BUILT_SOURCES += string.h
  855. # We need the following in order to create <string.h> when the system
  856. # doesn't have one that works with the given compiler.
  857. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  858. $(AM_V_GEN)rm -f $@-t $@ && \
  859. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  860. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  861. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  862. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  863. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  864. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  865. -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
  866. -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
  867. -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
  868. -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
  869. -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
  870. -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
  871. -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
  872. -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
  873. -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
  874. -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
  875. -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
  876. -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
  877. -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
  878. -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
  879. -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
  880. -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
  881. -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
  882. -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
  883. -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
  884. -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
  885. -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
  886. -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
  887. -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
  888. -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
  889. -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
  890. -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
  891. -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
  892. -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
  893. -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
  894. -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
  895. -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
  896. -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
  897. -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
  898. -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
  899. -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
  900. -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
  901. -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
  902. < $(srcdir)/string.in.h | \
  903. sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
  904. -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
  905. -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  906. -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  907. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  908. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  909. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  910. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  911. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  912. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  913. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  914. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  915. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  916. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  917. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  918. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  919. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  920. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  921. -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
  922. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  923. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  924. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  925. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  926. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  927. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  928. -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
  929. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  930. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  931. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  932. -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
  933. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  934. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  935. -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  936. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  937. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  938. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  939. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  940. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  941. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  942. < $(srcdir)/string.in.h; \
  943. } > $@-t && \
  944. mv $@-t $@
  945. MOSTLYCLEANFILES += string.h string.h-t
  946. EXTRA_DIST += string.in.h
  947. ## end gnulib module string
  948. ## begin gnulib module strings
  949. BUILT_SOURCES += strings.h
  950. # We need the following in order to create <strings.h> when the system
  951. # doesn't have one that works with the given compiler.
  952. strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  953. $(AM_V_GEN)rm -f $@-t $@ && \
  954. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  955. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  956. -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
  957. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  958. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  959. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  960. -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
  961. -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
  962. -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
  963. -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
  964. -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
  965. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  966. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  967. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  968. < $(srcdir)/strings.in.h; \
  969. } > $@-t && \
  970. mv $@-t $@
  971. MOSTLYCLEANFILES += strings.h strings.h-t
  972. EXTRA_DIST += strings.in.h
  973. ## end gnulib module strings
  974. ## begin gnulib module strndup
  975. EXTRA_DIST += strndup.c
  976. EXTRA_libgnu_a_SOURCES += strndup.c
  977. ## end gnulib module strndup
  978. ## begin gnulib module strnlen
  979. EXTRA_DIST += strnlen.c
  980. EXTRA_libgnu_a_SOURCES += strnlen.c
  981. ## end gnulib module strnlen
  982. ## begin gnulib module strnlen1
  983. libgnu_a_SOURCES += strnlen1.h strnlen1.c
  984. ## end gnulib module strnlen1
  985. ## begin gnulib module sys_types
  986. BUILT_SOURCES += sys/types.h
  987. # We need the following in order to create <sys/types.h> when the system
  988. # doesn't have one that works with the given compiler.
  989. sys/types.h: sys_types.in.h $(top_builddir)/config.status
  990. $(AM_V_at)$(MKDIR_P) sys
  991. $(AM_V_GEN)rm -f $@-t $@ && \
  992. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  993. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  994. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  995. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  996. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  997. -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
  998. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  999. < $(srcdir)/sys_types.in.h; \
  1000. } > $@-t && \
  1001. mv $@-t $@
  1002. MOSTLYCLEANFILES += sys/types.h sys/types.h-t
  1003. EXTRA_DIST += sys_types.in.h
  1004. ## end gnulib module sys_types
  1005. ## begin gnulib module sysexits
  1006. BUILT_SOURCES += $(SYSEXITS_H)
  1007. # We need the following in order to create <sysexits.h> when the system
  1008. # doesn't have one that works with the given compiler.
  1009. if GL_GENERATE_SYSEXITS_H
  1010. sysexits.h: sysexits.in.h $(top_builddir)/config.status
  1011. $(AM_V_GEN)rm -f $@-t $@ && \
  1012. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1013. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1014. -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
  1015. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1016. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1017. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1018. -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
  1019. < $(srcdir)/sysexits.in.h; \
  1020. } > $@-t && \
  1021. mv -f $@-t $@
  1022. else
  1023. sysexits.h: $(top_builddir)/config.status
  1024. rm -f $@
  1025. endif
  1026. MOSTLYCLEANFILES += sysexits.h sysexits.h-t
  1027. EXTRA_DIST += sysexits.in.h
  1028. ## end gnulib module sysexits
  1029. ## begin gnulib module unistd
  1030. BUILT_SOURCES += unistd.h
  1031. libgnu_a_SOURCES += unistd.c
  1032. # We need the following in order to create an empty placeholder for
  1033. # <unistd.h> when the system doesn't have one.
  1034. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1035. $(AM_V_GEN)rm -f $@-t $@ && \
  1036. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1037. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1038. -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  1039. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1040. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1041. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1042. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  1043. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  1044. -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
  1045. -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
  1046. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  1047. -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
  1048. -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
  1049. -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
  1050. -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
  1051. -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
  1052. -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
  1053. -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
  1054. -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
  1055. -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
  1056. -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
  1057. -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
  1058. -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
  1059. -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
  1060. -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
  1061. -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
  1062. -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
  1063. -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
  1064. -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
  1065. -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
  1066. -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
  1067. -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
  1068. -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
  1069. -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
  1070. -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
  1071. -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
  1072. -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
  1073. -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
  1074. -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
  1075. -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
  1076. -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
  1077. -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
  1078. -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
  1079. -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
  1080. -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
  1081. -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
  1082. -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
  1083. -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
  1084. -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
  1085. -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
  1086. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
  1087. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
  1088. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
  1089. -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
  1090. -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
  1091. -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
  1092. -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
  1093. < $(srcdir)/unistd.in.h | \
  1094. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  1095. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  1096. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  1097. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  1098. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  1099. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  1100. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  1101. -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
  1102. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  1103. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  1104. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  1105. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  1106. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  1107. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  1108. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  1109. -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
  1110. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  1111. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  1112. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  1113. -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
  1114. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  1115. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  1116. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  1117. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  1118. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  1119. -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
  1120. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  1121. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  1122. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  1123. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  1124. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  1125. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  1126. -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
  1127. -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
  1128. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
  1129. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  1130. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  1131. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  1132. -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
  1133. -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
  1134. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  1135. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  1136. | \
  1137. sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  1138. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  1139. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  1140. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  1141. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  1142. -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
  1143. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  1144. -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
  1145. -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
  1146. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  1147. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  1148. -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
  1149. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  1150. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  1151. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  1152. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  1153. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  1154. -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
  1155. -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
  1156. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  1157. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  1158. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  1159. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  1160. -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
  1161. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  1162. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  1163. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  1164. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  1165. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  1166. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  1167. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1168. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1169. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1170. } > $@-t && \
  1171. mv $@-t $@
  1172. MOSTLYCLEANFILES += unistd.h unistd.h-t
  1173. EXTRA_DIST += unistd.in.h
  1174. ## end gnulib module unistd
  1175. ## begin gnulib module unitypes
  1176. BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
  1177. unitypes.h: unitypes.in.h
  1178. $(AM_V_GEN)rm -f $@-t $@ && \
  1179. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1180. cat $(srcdir)/unitypes.in.h; \
  1181. } > $@-t && \
  1182. mv -f $@-t $@
  1183. MOSTLYCLEANFILES += unitypes.h unitypes.h-t
  1184. EXTRA_DIST += unitypes.in.h
  1185. ## end gnulib module unitypes
  1186. ## begin gnulib module uniwidth/base
  1187. BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
  1188. uniwidth.h: uniwidth.in.h
  1189. $(AM_V_GEN)rm -f $@-t $@ && \
  1190. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1191. cat $(srcdir)/uniwidth.in.h; \
  1192. } > $@-t && \
  1193. mv -f $@-t $@
  1194. MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
  1195. EXTRA_DIST += localcharset.h uniwidth.in.h
  1196. ## end gnulib module uniwidth/base
  1197. ## begin gnulib module uniwidth/width
  1198. if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
  1199. libgnu_a_SOURCES += uniwidth/width.c
  1200. endif
  1201. EXTRA_DIST += uniwidth/cjk.h
  1202. ## end gnulib module uniwidth/width
  1203. ## begin gnulib module vasnprintf
  1204. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  1205. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  1206. ## end gnulib module vasnprintf
  1207. ## begin gnulib module verify
  1208. EXTRA_DIST += verify.h
  1209. ## end gnulib module verify
  1210. ## begin gnulib module vsnprintf
  1211. EXTRA_DIST += vsnprintf.c
  1212. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  1213. ## end gnulib module vsnprintf
  1214. ## begin gnulib module wchar
  1215. BUILT_SOURCES += wchar.h
  1216. # We need the following in order to create <wchar.h> when the system
  1217. # version does not work standalone.
  1218. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1219. $(AM_V_GEN)rm -f $@-t $@ && \
  1220. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1221. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1222. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1223. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1224. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1225. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  1226. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  1227. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  1228. -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
  1229. -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
  1230. -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
  1231. -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
  1232. -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
  1233. -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
  1234. -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
  1235. -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
  1236. -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
  1237. -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
  1238. -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
  1239. -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
  1240. -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
  1241. -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
  1242. -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
  1243. -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
  1244. -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
  1245. -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
  1246. -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
  1247. -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
  1248. -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
  1249. -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
  1250. -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
  1251. -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
  1252. -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
  1253. -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
  1254. -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
  1255. -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
  1256. -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
  1257. -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
  1258. -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
  1259. -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
  1260. -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
  1261. -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
  1262. -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
  1263. -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
  1264. -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
  1265. -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
  1266. -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
  1267. < $(srcdir)/wchar.in.h | \
  1268. sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  1269. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  1270. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  1271. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  1272. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  1273. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  1274. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  1275. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  1276. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  1277. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  1278. -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
  1279. -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
  1280. -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
  1281. -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
  1282. -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
  1283. -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
  1284. -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
  1285. -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
  1286. -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
  1287. -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
  1288. -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
  1289. -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
  1290. -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
  1291. -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
  1292. -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
  1293. -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
  1294. -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
  1295. -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
  1296. -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
  1297. -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
  1298. -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
  1299. -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
  1300. -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
  1301. -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
  1302. -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
  1303. -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
  1304. -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
  1305. -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
  1306. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  1307. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  1308. | \
  1309. sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  1310. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  1311. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  1312. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  1313. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  1314. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  1315. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  1316. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  1317. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  1318. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  1319. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  1320. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  1321. -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
  1322. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1323. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1324. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1325. } > $@-t && \
  1326. mv $@-t $@
  1327. MOSTLYCLEANFILES += wchar.h wchar.h-t
  1328. EXTRA_DIST += wchar.in.h
  1329. ## end gnulib module wchar
  1330. ## begin gnulib module wcrtomb
  1331. EXTRA_DIST += wcrtomb.c
  1332. EXTRA_libgnu_a_SOURCES += wcrtomb.c
  1333. ## end gnulib module wcrtomb
  1334. ## begin gnulib module wctype-h
  1335. BUILT_SOURCES += wctype.h
  1336. libgnu_a_SOURCES += wctype-h.c
  1337. # We need the following in order to create <wctype.h> when the system
  1338. # doesn't have one that works with the given compiler.
  1339. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  1340. $(AM_V_GEN)rm -f $@-t $@ && \
  1341. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1342. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1343. -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  1344. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1345. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1346. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1347. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  1348. -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
  1349. -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
  1350. -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
  1351. -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
  1352. -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
  1353. -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
  1354. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  1355. -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
  1356. -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
  1357. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  1358. -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
  1359. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  1360. -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
  1361. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1362. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1363. < $(srcdir)/wctype.in.h; \
  1364. } > $@-t && \
  1365. mv $@-t $@
  1366. MOSTLYCLEANFILES += wctype.h wctype.h-t
  1367. EXTRA_DIST += wctype.in.h
  1368. ## end gnulib module wctype-h
  1369. ## begin gnulib module wcwidth
  1370. EXTRA_DIST += wcwidth.c
  1371. EXTRA_libgnu_a_SOURCES += wcwidth.c
  1372. ## end gnulib module wcwidth
  1373. ## begin gnulib module xsize
  1374. libgnu_a_SOURCES += xsize.h xsize.c
  1375. ## end gnulib module xsize
  1376. mostlyclean-local: mostlyclean-generic
  1377. @for dir in '' $(MOSTLYCLEANDIRS); do \
  1378. if test -n "$$dir" && test -d $$dir; then \
  1379. echo "rmdir $$dir"; rmdir $$dir; \
  1380. fi; \
  1381. done; \
  1382. :