Makefile.am 88 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315
  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=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext mountlist regex setenv strcase strsep timegm unsetenv vasprintf vsnprintf
  25. AUTOMAKE_OPTIONS = 1.9.6 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. EXTRA_DIST += m4/gnulib-cache.m4
  39. AM_CPPFLAGS =
  40. AM_CFLAGS =
  41. noinst_LIBRARIES += libgnu.a
  42. libgnu_a_SOURCES =
  43. libgnu_a_LIBADD = $(gl_LIBOBJS)
  44. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  45. EXTRA_libgnu_a_SOURCES =
  46. ## begin gnulib module alloca-opt
  47. BUILT_SOURCES += $(ALLOCA_H)
  48. # We need the following in order to create <alloca.h> when the system
  49. # doesn't have one that works with the given compiler.
  50. if GL_GENERATE_ALLOCA_H
  51. alloca.h: alloca.in.h $(top_builddir)/config.status
  52. $(AM_V_GEN)rm -f $@-t $@ && \
  53. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  54. cat $(srcdir)/alloca.in.h; \
  55. } > $@-t && \
  56. mv -f $@-t $@
  57. else
  58. alloca.h: $(top_builddir)/config.status
  59. rm -f $@
  60. endif
  61. MOSTLYCLEANFILES += alloca.h alloca.h-t
  62. EXTRA_DIST += alloca.in.h
  63. ## end gnulib module alloca-opt
  64. ## begin gnulib module arpa_inet
  65. BUILT_SOURCES += arpa/inet.h
  66. # We need the following in order to create <arpa/inet.h> when the system
  67. # doesn't have one.
  68. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  69. $(AM_V_at)$(MKDIR_P) arpa
  70. $(AM_V_GEN)rm -f $@-t $@ && \
  71. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  72. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  73. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  74. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  75. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  76. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  77. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  78. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  79. -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
  80. -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
  81. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  82. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  83. -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
  84. -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
  85. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  86. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  87. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  88. < $(srcdir)/arpa_inet.in.h; \
  89. } > $@-t && \
  90. mv $@-t $@
  91. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  92. MOSTLYCLEANDIRS += arpa
  93. EXTRA_DIST += arpa_inet.in.h
  94. ## end gnulib module arpa_inet
  95. ## begin gnulib module base64
  96. libgnu_a_SOURCES += base64.h base64.c
  97. ## end gnulib module base64
  98. ## begin gnulib module btowc
  99. EXTRA_DIST += btowc.c
  100. EXTRA_libgnu_a_SOURCES += btowc.c
  101. ## end gnulib module btowc
  102. ## begin gnulib module configmake
  103. # Listed in the same order as the GNU makefile conventions, and
  104. # provided by autoconf 2.59c+.
  105. # The Automake-defined pkg* macros are appended, in the order
  106. # listed in the Automake 1.10a+ documentation.
  107. configmake.h: Makefile
  108. $(AM_V_GEN)rm -f $@-t && \
  109. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  110. echo '#define PREFIX "$(prefix)"'; \
  111. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  112. echo '#define BINDIR "$(bindir)"'; \
  113. echo '#define SBINDIR "$(sbindir)"'; \
  114. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  115. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  116. echo '#define DATADIR "$(datadir)"'; \
  117. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  118. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  119. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  120. echo '#define INCLUDEDIR "$(includedir)"'; \
  121. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  122. echo '#define DOCDIR "$(docdir)"'; \
  123. echo '#define INFODIR "$(infodir)"'; \
  124. echo '#define HTMLDIR "$(htmldir)"'; \
  125. echo '#define DVIDIR "$(dvidir)"'; \
  126. echo '#define PDFDIR "$(pdfdir)"'; \
  127. echo '#define PSDIR "$(psdir)"'; \
  128. echo '#define LIBDIR "$(libdir)"'; \
  129. echo '#define LISPDIR "$(lispdir)"'; \
  130. echo '#define LOCALEDIR "$(localedir)"'; \
  131. echo '#define MANDIR "$(mandir)"'; \
  132. echo '#define MANEXT "$(manext)"'; \
  133. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  134. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  135. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  136. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  137. } | sed '/""/d' > $@-t && \
  138. mv -f $@-t $@
  139. BUILT_SOURCES += configmake.h
  140. CLEANFILES += configmake.h configmake.h-t
  141. ## end gnulib module configmake
  142. ## begin gnulib module crypto/sha1
  143. libgnu_a_SOURCES += sha1.c
  144. EXTRA_DIST += sha1.h
  145. ## end gnulib module crypto/sha1
  146. ## begin gnulib module dirname
  147. libgnu_a_SOURCES += dirname.c basename.c
  148. EXTRA_DIST += stripslash.c
  149. EXTRA_libgnu_a_SOURCES += stripslash.c
  150. ## end gnulib module dirname
  151. ## begin gnulib module dirname-lgpl
  152. libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
  153. EXTRA_DIST += dirname.h
  154. ## end gnulib module dirname-lgpl
  155. ## begin gnulib module dosname
  156. EXTRA_DIST += dosname.h
  157. ## end gnulib module dosname
  158. ## begin gnulib module errno
  159. BUILT_SOURCES += $(ERRNO_H)
  160. # We need the following in order to create <errno.h> when the system
  161. # doesn't have one that is POSIX compliant.
  162. if GL_GENERATE_ERRNO_H
  163. errno.h: errno.in.h $(top_builddir)/config.status
  164. $(AM_V_GEN)rm -f $@-t $@ && \
  165. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  166. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  167. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  168. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  169. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  170. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  171. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  172. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  173. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  174. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  175. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  176. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  177. < $(srcdir)/errno.in.h; \
  178. } > $@-t && \
  179. mv $@-t $@
  180. else
  181. errno.h: $(top_builddir)/config.status
  182. rm -f $@
  183. endif
  184. MOSTLYCLEANFILES += errno.h errno.h-t
  185. EXTRA_DIST += errno.in.h
  186. ## end gnulib module errno
  187. ## begin gnulib module error
  188. EXTRA_DIST += error.c error.h
  189. EXTRA_libgnu_a_SOURCES += error.c
  190. ## end gnulib module error
  191. ## begin gnulib module exitfail
  192. libgnu_a_SOURCES += exitfail.c
  193. EXTRA_DIST += exitfail.h
  194. ## end gnulib module exitfail
  195. ## begin gnulib module fd-hook
  196. libgnu_a_SOURCES += fd-hook.c
  197. EXTRA_DIST += fd-hook.h
  198. ## end gnulib module fd-hook
  199. ## begin gnulib module float
  200. BUILT_SOURCES += $(FLOAT_H)
  201. # We need the following in order to create <float.h> when the system
  202. # doesn't have one that works with the given compiler.
  203. if GL_GENERATE_FLOAT_H
  204. float.h: float.in.h $(top_builddir)/config.status
  205. $(AM_V_GEN)rm -f $@-t $@ && \
  206. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  207. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  208. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  209. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  210. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  211. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  212. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  213. < $(srcdir)/float.in.h; \
  214. } > $@-t && \
  215. mv $@-t $@
  216. else
  217. float.h: $(top_builddir)/config.status
  218. rm -f $@
  219. endif
  220. MOSTLYCLEANFILES += float.h float.h-t
  221. EXTRA_DIST += float.c float.in.h itold.c
  222. EXTRA_libgnu_a_SOURCES += float.c itold.c
  223. ## end gnulib module float
  224. ## begin gnulib module floorf
  225. EXTRA_DIST += floor.c floorf.c
  226. EXTRA_libgnu_a_SOURCES += floor.c floorf.c
  227. ## end gnulib module floorf
  228. ## begin gnulib module fsusage
  229. EXTRA_DIST += fsusage.c fsusage.h
  230. EXTRA_libgnu_a_SOURCES += fsusage.c
  231. ## end gnulib module fsusage
  232. ## begin gnulib module full-read
  233. libgnu_a_SOURCES += full-read.h full-read.c
  234. EXTRA_DIST += full-write.c
  235. EXTRA_libgnu_a_SOURCES += full-write.c
  236. ## end gnulib module full-read
  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 w32sock.h
  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-posix
  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 $(top_builddir)/config.status $(ARG_NONNULL_H)
  254. $(AM_V_GEN)rm -f $@-t $@ && \
  255. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  256. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  257. -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
  258. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  259. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  260. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  261. -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
  262. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  263. < $(srcdir)/getopt.in.h; \
  264. } > $@-t && \
  265. mv -f $@-t $@
  266. MOSTLYCLEANFILES += getopt.h getopt.h-t
  267. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  268. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  269. ## end gnulib module getopt-posix
  270. ## begin gnulib module gettext
  271. # If your project uses "gettextize --intl" to put a source-code
  272. # copy of libintl into the package, every Makefile.am needs
  273. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  274. # Here's one way to do this:
  275. #AM_CPPFLAGS += -I$(top_builddir)/intl
  276. # This option has no effect when the user disables NLS (because then
  277. # the intl directory contains no libintl.h file). This option is not
  278. # enabled by default because the intl directory might not exist if
  279. # your project does not use "gettext --intl", and some compilers
  280. # complain about -I options applied to nonexistent directories.
  281. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  282. ## end gnulib module gettext
  283. ## begin gnulib module gettext-h
  284. libgnu_a_SOURCES += gettext.h
  285. ## end gnulib module gettext-h
  286. ## begin gnulib module havelib
  287. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  288. ## end gnulib module havelib
  289. ## begin gnulib module inet_ntop
  290. EXTRA_DIST += inet_ntop.c
  291. EXTRA_libgnu_a_SOURCES += inet_ntop.c
  292. ## end gnulib module inet_ntop
  293. ## begin gnulib module intprops
  294. EXTRA_DIST += intprops.h
  295. ## end gnulib module intprops
  296. ## begin gnulib module langinfo
  297. BUILT_SOURCES += langinfo.h
  298. # We need the following in order to create an empty placeholder for
  299. # <langinfo.h> when the system doesn't have one.
  300. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  301. $(AM_V_GEN)rm -f $@-t $@ && \
  302. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  303. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  304. -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  305. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  306. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  307. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  308. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  309. -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
  310. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  311. -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
  312. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  313. -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
  314. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  315. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  316. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  317. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  318. < $(srcdir)/langinfo.in.h; \
  319. } > $@-t && \
  320. mv $@-t $@
  321. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  322. EXTRA_DIST += langinfo.in.h
  323. ## end gnulib module langinfo
  324. ## begin gnulib module localcharset
  325. libgnu_a_SOURCES += localcharset.h localcharset.c
  326. # We need the following in order to install a simple file in $(libdir)
  327. # which is shared with other installed packages. We use a list of referencing
  328. # packages so that "make uninstall" will remove the file if and only if it
  329. # is not used by another installed package.
  330. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  331. # avoid installing it.
  332. all-local: charset.alias ref-add.sed ref-del.sed
  333. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  334. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  335. install-exec-local: install-exec-localcharset
  336. install-exec-localcharset: all-local
  337. if test $(GLIBC21) = no; then \
  338. case '$(host_os)' in \
  339. darwin[56]*) \
  340. need_charset_alias=true ;; \
  341. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  342. need_charset_alias=false ;; \
  343. *) \
  344. need_charset_alias=true ;; \
  345. esac ; \
  346. else \
  347. need_charset_alias=false ; \
  348. fi ; \
  349. if $$need_charset_alias; then \
  350. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  351. fi ; \
  352. if test -f $(charset_alias); then \
  353. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  354. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  355. rm -f $(charset_tmp) ; \
  356. else \
  357. if $$need_charset_alias; then \
  358. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  359. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  360. rm -f $(charset_tmp) ; \
  361. fi ; \
  362. fi
  363. uninstall-local: uninstall-localcharset
  364. uninstall-localcharset: all-local
  365. if test -f $(charset_alias); then \
  366. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  367. if grep '^# Packages using this file: $$' $(charset_tmp) \
  368. > /dev/null; then \
  369. rm -f $(charset_alias); \
  370. else \
  371. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  372. fi; \
  373. rm -f $(charset_tmp); \
  374. fi
  375. charset.alias: config.charset
  376. $(AM_V_GEN)rm -f t-$@ $@ && \
  377. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
  378. mv t-$@ $@
  379. SUFFIXES += .sed .sin
  380. .sin.sed:
  381. $(AM_V_GEN)rm -f t-$@ $@ && \
  382. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
  383. mv t-$@ $@
  384. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  385. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  386. ## end gnulib module localcharset
  387. ## begin gnulib module locale
  388. BUILT_SOURCES += locale.h
  389. # We need the following in order to create <locale.h> when the system
  390. # doesn't have one that provides all definitions.
  391. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  392. $(AM_V_GEN)rm -f $@-t $@ && \
  393. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  394. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  395. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  396. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  397. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  398. -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
  399. -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
  400. -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
  401. -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
  402. -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
  403. -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
  404. -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
  405. -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
  406. -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
  407. -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
  408. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  409. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  410. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  411. < $(srcdir)/locale.in.h; \
  412. } > $@-t && \
  413. mv $@-t $@
  414. MOSTLYCLEANFILES += locale.h locale.h-t
  415. EXTRA_DIST += locale.in.h
  416. ## end gnulib module locale
  417. ## begin gnulib module localeconv
  418. EXTRA_DIST += localeconv.c
  419. EXTRA_libgnu_a_SOURCES += localeconv.c
  420. ## end gnulib module localeconv
  421. ## begin gnulib module lock
  422. libgnu_a_SOURCES += glthread/lock.h glthread/lock.c
  423. ## end gnulib module lock
  424. ## begin gnulib module malloc-gnu
  425. EXTRA_DIST += malloc.c
  426. EXTRA_libgnu_a_SOURCES += malloc.c
  427. ## end gnulib module malloc-gnu
  428. ## begin gnulib module malloc-posix
  429. EXTRA_DIST += malloc.c
  430. EXTRA_libgnu_a_SOURCES += malloc.c
  431. ## end gnulib module malloc-posix
  432. ## begin gnulib module malloca
  433. libgnu_a_SOURCES += malloca.c
  434. EXTRA_DIST += malloca.h malloca.valgrind
  435. ## end gnulib module malloca
  436. ## begin gnulib module math
  437. BUILT_SOURCES += math.h
  438. libgnu_a_SOURCES += math.c
  439. # We need the following in order to create <math.h> when the system
  440. # doesn't have one that works with the given compiler.
  441. math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  442. $(AM_V_GEN)rm -f $@-t $@ && \
  443. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  444. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  445. -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
  446. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  447. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  448. -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
  449. -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
  450. -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
  451. -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
  452. -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
  453. -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
  454. -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
  455. -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
  456. -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
  457. -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
  458. -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
  459. -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
  460. -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
  461. -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
  462. -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
  463. -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
  464. -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
  465. -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
  466. -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
  467. -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
  468. -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
  469. -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
  470. -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
  471. -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
  472. -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
  473. -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
  474. -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
  475. -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
  476. -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
  477. -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
  478. -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
  479. -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
  480. -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
  481. -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
  482. -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
  483. -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
  484. -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
  485. -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
  486. -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
  487. -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
  488. -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
  489. -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
  490. -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
  491. -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
  492. -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
  493. < $(srcdir)/math.in.h | \
  494. sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
  495. -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
  496. -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
  497. -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
  498. -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
  499. -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
  500. -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
  501. -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
  502. -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
  503. -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
  504. -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
  505. -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
  506. -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
  507. -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
  508. -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
  509. -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
  510. -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
  511. -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
  512. -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
  513. -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
  514. -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
  515. -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
  516. -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
  517. -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
  518. -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
  519. -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
  520. -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
  521. -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
  522. -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
  523. -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
  524. -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
  525. -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
  526. -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
  527. -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
  528. -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
  529. -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
  530. -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
  531. -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
  532. -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
  533. -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
  534. -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
  535. -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
  536. -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
  537. -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
  538. -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
  539. -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
  540. -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
  541. -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
  542. -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
  543. -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
  544. -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
  545. | \
  546. sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
  547. -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
  548. -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
  549. -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
  550. -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
  551. -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
  552. -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
  553. -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
  554. -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
  555. -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
  556. -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
  557. -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
  558. -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
  559. -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
  560. -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
  561. -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
  562. -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
  563. -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
  564. -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
  565. -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
  566. -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
  567. -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
  568. -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
  569. -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
  570. -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
  571. -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
  572. -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
  573. -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
  574. -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
  575. -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
  576. -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
  577. -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
  578. -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
  579. -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
  580. -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
  581. -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
  582. -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
  583. -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
  584. -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
  585. -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
  586. -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
  587. -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
  588. -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
  589. -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
  590. -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
  591. -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
  592. -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
  593. -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
  594. -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
  595. -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
  596. -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
  597. -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
  598. -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
  599. -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
  600. -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
  601. -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
  602. -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
  603. -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
  604. -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
  605. -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
  606. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  607. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  608. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  609. -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
  610. -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
  611. -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
  612. -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
  613. -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
  614. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  615. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  616. -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
  617. -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
  618. -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
  619. -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
  620. -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
  621. -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
  622. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  623. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  624. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  625. -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
  626. -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
  627. -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
  628. -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
  629. -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
  630. -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
  631. -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
  632. -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
  633. -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
  634. -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
  635. -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
  636. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  637. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  638. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  639. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  640. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  641. -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
  642. | \
  643. sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
  644. -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
  645. -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
  646. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  647. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  648. -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
  649. -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
  650. -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
  651. -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
  652. -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
  653. -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
  654. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  655. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  656. -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
  657. -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
  658. -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
  659. -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
  660. -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
  661. -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
  662. -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
  663. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  664. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  665. -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
  666. -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
  667. -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
  668. -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
  669. -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
  670. -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
  671. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  672. -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
  673. -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
  674. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  675. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  676. -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
  677. -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
  678. -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
  679. -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
  680. -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
  681. -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
  682. -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
  683. -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
  684. -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
  685. -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
  686. -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
  687. -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
  688. -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
  689. -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
  690. -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
  691. -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
  692. -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
  693. -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
  694. -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
  695. -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
  696. -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
  697. -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
  698. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  699. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  700. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  701. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  702. -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
  703. -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
  704. -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
  705. -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
  706. -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
  707. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  708. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  709. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  710. } > $@-t && \
  711. mv $@-t $@
  712. MOSTLYCLEANFILES += math.h math.h-t
  713. EXTRA_DIST += math.in.h
  714. ## end gnulib module math
  715. ## begin gnulib module mbrtowc
  716. EXTRA_DIST += mbrtowc.c
  717. EXTRA_libgnu_a_SOURCES += mbrtowc.c
  718. ## end gnulib module mbrtowc
  719. ## begin gnulib module mbsinit
  720. EXTRA_DIST += mbsinit.c
  721. EXTRA_libgnu_a_SOURCES += mbsinit.c
  722. ## end gnulib module mbsinit
  723. ## begin gnulib module mbtowc
  724. EXTRA_DIST += mbtowc-impl.h mbtowc.c
  725. EXTRA_libgnu_a_SOURCES += mbtowc.c
  726. ## end gnulib module mbtowc
  727. ## begin gnulib module memchr
  728. EXTRA_DIST += memchr.c memchr.valgrind
  729. EXTRA_libgnu_a_SOURCES += memchr.c
  730. ## end gnulib module memchr
  731. ## begin gnulib module mktime
  732. EXTRA_DIST += mktime-internal.h mktime.c
  733. EXTRA_libgnu_a_SOURCES += mktime.c
  734. ## end gnulib module mktime
  735. ## begin gnulib module mktime-internal
  736. EXTRA_DIST += mktime-internal.h mktime.c
  737. EXTRA_libgnu_a_SOURCES += mktime.c
  738. ## end gnulib module mktime-internal
  739. ## begin gnulib module mountlist
  740. EXTRA_DIST += mountlist.c mountlist.h
  741. EXTRA_libgnu_a_SOURCES += mountlist.c
  742. ## end gnulib module mountlist
  743. ## begin gnulib module msvc-inval
  744. EXTRA_DIST += msvc-inval.c msvc-inval.h
  745. EXTRA_libgnu_a_SOURCES += msvc-inval.c
  746. ## end gnulib module msvc-inval
  747. ## begin gnulib module msvc-nothrow
  748. EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
  749. EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
  750. ## end gnulib module msvc-nothrow
  751. ## begin gnulib module netdb
  752. BUILT_SOURCES += netdb.h
  753. # We need the following in order to create <netdb.h> when the system
  754. # doesn't have one that works with the given compiler.
  755. netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  756. $(AM_V_GEN)rm -f $@-t $@ && \
  757. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  758. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  759. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  760. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  761. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  762. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  763. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  764. -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
  765. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  766. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  767. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  768. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  769. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  770. -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
  771. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  772. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  773. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  774. < $(srcdir)/netdb.in.h; \
  775. } > $@-t && \
  776. mv $@-t $@
  777. MOSTLYCLEANFILES += netdb.h netdb.h-t
  778. EXTRA_DIST += netdb.in.h
  779. ## end gnulib module netdb
  780. ## begin gnulib module netinet_in
  781. BUILT_SOURCES += $(NETINET_IN_H)
  782. # We need the following in order to create <netinet/in.h> when the system
  783. # doesn't have one.
  784. if GL_GENERATE_NETINET_IN_H
  785. netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
  786. $(AM_V_at)$(MKDIR_P) netinet
  787. $(AM_V_GEN)rm -f $@-t $@ && \
  788. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  789. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  790. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  791. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  792. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  793. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  794. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  795. < $(srcdir)/netinet_in.in.h; \
  796. } > $@-t && \
  797. mv $@-t $@
  798. else
  799. netinet/in.h: $(top_builddir)/config.status
  800. rm -f $@
  801. endif
  802. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  803. MOSTLYCLEANDIRS += netinet
  804. EXTRA_DIST += netinet_in.in.h
  805. ## end gnulib module netinet_in
  806. ## begin gnulib module nl_langinfo
  807. EXTRA_DIST += nl_langinfo.c
  808. EXTRA_libgnu_a_SOURCES += nl_langinfo.c
  809. ## end gnulib module nl_langinfo
  810. ## begin gnulib module read
  811. EXTRA_DIST += read.c
  812. EXTRA_libgnu_a_SOURCES += read.c
  813. ## end gnulib module read
  814. ## begin gnulib module regex
  815. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  816. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  817. ## end gnulib module regex
  818. ## begin gnulib module safe-read
  819. libgnu_a_SOURCES += safe-read.c
  820. EXTRA_DIST += safe-read.h
  821. ## end gnulib module safe-read
  822. ## begin gnulib module setenv
  823. EXTRA_DIST += setenv.c
  824. EXTRA_libgnu_a_SOURCES += setenv.c
  825. ## end gnulib module setenv
  826. ## begin gnulib module size_max
  827. libgnu_a_SOURCES += size_max.h
  828. ## end gnulib module size_max
  829. ## begin gnulib module snippet/_Noreturn
  830. # Because this Makefile snippet defines a variable used by other
  831. # gnulib Makefile snippets, it must be present in all Makefile.am that
  832. # need it. This is ensured by the applicability 'all' defined above.
  833. _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
  834. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
  835. ## end gnulib module snippet/_Noreturn
  836. ## begin gnulib module snippet/arg-nonnull
  837. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  838. # statements but through direct file reference. Therefore this snippet must be
  839. # present in all Makefile.am that need it. This is ensured by the applicability
  840. # 'all' defined above.
  841. BUILT_SOURCES += arg-nonnull.h
  842. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  843. # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
  844. # off.
  845. arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  846. $(AM_V_GEN)rm -f $@-t $@ && \
  847. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  848. < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
  849. > $@-t && \
  850. mv $@-t $@
  851. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  852. ARG_NONNULL_H=arg-nonnull.h
  853. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  854. ## end gnulib module snippet/arg-nonnull
  855. ## begin gnulib module snippet/c++defs
  856. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  857. # statements but through direct file reference. Therefore this snippet must be
  858. # present in all Makefile.am that need it. This is ensured by the applicability
  859. # 'all' defined above.
  860. BUILT_SOURCES += c++defs.h
  861. # The c++defs.h that gets inserted into generated .h files is the same as
  862. # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
  863. c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
  864. $(AM_V_GEN)rm -f $@-t $@ && \
  865. sed -n -e '/_GL_CXXDEFS/,$$p' \
  866. < $(top_srcdir)/build-aux/snippet/c++defs.h \
  867. > $@-t && \
  868. mv $@-t $@
  869. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  870. CXXDEFS_H=c++defs.h
  871. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
  872. ## end gnulib module snippet/c++defs
  873. ## begin gnulib module snippet/warn-on-use
  874. BUILT_SOURCES += warn-on-use.h
  875. # The warn-on-use.h that gets inserted into generated .h files is the same as
  876. # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
  877. # off.
  878. warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
  879. $(AM_V_GEN)rm -f $@-t $@ && \
  880. sed -n -e '/^.ifndef/,$$p' \
  881. < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
  882. > $@-t && \
  883. mv $@-t $@
  884. MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
  885. WARN_ON_USE_H=warn-on-use.h
  886. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
  887. ## end gnulib module snippet/warn-on-use
  888. ## begin gnulib module snprintf
  889. EXTRA_DIST += snprintf.c
  890. EXTRA_libgnu_a_SOURCES += snprintf.c
  891. ## end gnulib module snprintf
  892. ## begin gnulib module sockets
  893. libgnu_a_SOURCES += sockets.h sockets.c
  894. EXTRA_DIST += w32sock.h
  895. ## end gnulib module sockets
  896. ## begin gnulib module stdalign
  897. BUILT_SOURCES += $(STDALIGN_H)
  898. # We need the following in order to create <stdalign.h> when the system
  899. # doesn't have one that works.
  900. if GL_GENERATE_STDALIGN_H
  901. stdalign.h: stdalign.in.h $(top_builddir)/config.status
  902. $(AM_V_GEN)rm -f $@-t $@ && \
  903. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  904. cat $(srcdir)/stdalign.in.h; \
  905. } > $@-t && \
  906. mv $@-t $@
  907. else
  908. stdalign.h: $(top_builddir)/config.status
  909. rm -f $@
  910. endif
  911. MOSTLYCLEANFILES += stdalign.h stdalign.h-t
  912. EXTRA_DIST += stdalign.in.h
  913. ## end gnulib module stdalign
  914. ## begin gnulib module stdbool
  915. BUILT_SOURCES += $(STDBOOL_H)
  916. # We need the following in order to create <stdbool.h> when the system
  917. # doesn't have one that works.
  918. if GL_GENERATE_STDBOOL_H
  919. stdbool.h: stdbool.in.h $(top_builddir)/config.status
  920. $(AM_V_GEN)rm -f $@-t $@ && \
  921. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  922. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  923. } > $@-t && \
  924. mv $@-t $@
  925. else
  926. stdbool.h: $(top_builddir)/config.status
  927. rm -f $@
  928. endif
  929. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  930. EXTRA_DIST += stdbool.in.h
  931. ## end gnulib module stdbool
  932. ## begin gnulib module stddef
  933. BUILT_SOURCES += $(STDDEF_H)
  934. # We need the following in order to create <stddef.h> when the system
  935. # doesn't have one that works with the given compiler.
  936. if GL_GENERATE_STDDEF_H
  937. stddef.h: stddef.in.h $(top_builddir)/config.status
  938. $(AM_V_GEN)rm -f $@-t $@ && \
  939. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  940. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  941. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  942. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  943. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  944. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  945. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  946. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  947. < $(srcdir)/stddef.in.h; \
  948. } > $@-t && \
  949. mv $@-t $@
  950. else
  951. stddef.h: $(top_builddir)/config.status
  952. rm -f $@
  953. endif
  954. MOSTLYCLEANFILES += stddef.h stddef.h-t
  955. EXTRA_DIST += stddef.in.h
  956. ## end gnulib module stddef
  957. ## begin gnulib module stdint
  958. BUILT_SOURCES += $(STDINT_H)
  959. # We need the following in order to create <stdint.h> when the system
  960. # doesn't have one that works with the given compiler.
  961. if GL_GENERATE_STDINT_H
  962. stdint.h: stdint.in.h $(top_builddir)/config.status
  963. $(AM_V_GEN)rm -f $@-t $@ && \
  964. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  965. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  966. -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  967. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  968. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  969. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  970. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  971. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  972. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  973. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  974. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  975. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  976. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  977. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  978. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  979. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  980. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  981. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  982. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  983. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  984. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  985. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  986. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  987. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  988. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  989. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  990. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  991. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  992. < $(srcdir)/stdint.in.h; \
  993. } > $@-t && \
  994. mv $@-t $@
  995. else
  996. stdint.h: $(top_builddir)/config.status
  997. rm -f $@
  998. endif
  999. MOSTLYCLEANFILES += stdint.h stdint.h-t
  1000. EXTRA_DIST += stdint.in.h
  1001. ## end gnulib module stdint
  1002. ## begin gnulib module stdio
  1003. BUILT_SOURCES += stdio.h
  1004. # We need the following in order to create <stdio.h> when the system
  1005. # doesn't have one that works with the given compiler.
  1006. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1007. $(AM_V_GEN)rm -f $@-t $@ && \
  1008. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1009. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1010. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1011. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1012. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1013. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  1014. -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
  1015. -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
  1016. -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
  1017. -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
  1018. -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
  1019. -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
  1020. -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
  1021. -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
  1022. -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
  1023. -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
  1024. -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
  1025. -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
  1026. -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
  1027. -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
  1028. -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
  1029. -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
  1030. -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
  1031. -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
  1032. -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
  1033. -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
  1034. -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
  1035. -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
  1036. -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
  1037. -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
  1038. -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
  1039. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
  1040. -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
  1041. -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
  1042. -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
  1043. -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
  1044. -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
  1045. -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
  1046. -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
  1047. -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
  1048. -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
  1049. -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
  1050. -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
  1051. -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
  1052. -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
  1053. -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
  1054. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
  1055. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
  1056. -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
  1057. -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
  1058. -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
  1059. -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
  1060. -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
  1061. -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
  1062. -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
  1063. -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
  1064. -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
  1065. -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
  1066. -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
  1067. < $(srcdir)/stdio.in.h | \
  1068. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  1069. -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
  1070. -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
  1071. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  1072. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  1073. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  1074. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  1075. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  1076. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  1077. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  1078. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  1079. -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
  1080. -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
  1081. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  1082. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  1083. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  1084. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  1085. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  1086. -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
  1087. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  1088. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  1089. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  1090. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  1091. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  1092. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  1093. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  1094. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  1095. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  1096. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  1097. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  1098. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  1099. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  1100. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  1101. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  1102. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  1103. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  1104. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  1105. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  1106. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  1107. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
  1108. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  1109. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  1110. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  1111. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  1112. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  1113. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  1114. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  1115. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  1116. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  1117. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1118. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1119. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1120. } > $@-t && \
  1121. mv $@-t $@
  1122. MOSTLYCLEANFILES += stdio.h stdio.h-t
  1123. EXTRA_DIST += stdio.in.h
  1124. ## end gnulib module stdio
  1125. ## begin gnulib module stdlib
  1126. BUILT_SOURCES += stdlib.h
  1127. # We need the following in order to create <stdlib.h> when the system
  1128. # doesn't have one that works with the given compiler.
  1129. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
  1130. $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1131. $(AM_V_GEN)rm -f $@-t $@ && \
  1132. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1133. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1134. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1135. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1136. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1137. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  1138. -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
  1139. -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
  1140. -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
  1141. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
  1142. -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
  1143. -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
  1144. -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
  1145. -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
  1146. -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
  1147. -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
  1148. -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
  1149. -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
  1150. -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
  1151. -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
  1152. -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
  1153. -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
  1154. -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
  1155. -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
  1156. -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
  1157. -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
  1158. -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
  1159. -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
  1160. -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
  1161. -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
  1162. -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
  1163. -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
  1164. -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
  1165. -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
  1166. -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
  1167. -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
  1168. -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
  1169. -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
  1170. < $(srcdir)/stdlib.in.h | \
  1171. sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  1172. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  1173. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  1174. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  1175. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  1176. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  1177. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  1178. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  1179. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  1180. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  1181. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  1182. -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
  1183. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  1184. -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
  1185. -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
  1186. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  1187. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  1188. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  1189. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  1190. -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
  1191. -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
  1192. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  1193. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  1194. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  1195. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  1196. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  1197. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  1198. -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
  1199. -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
  1200. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  1201. -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
  1202. -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
  1203. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  1204. -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
  1205. -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
  1206. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  1207. -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
  1208. -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
  1209. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  1210. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  1211. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  1212. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  1213. -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
  1214. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1215. -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  1216. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1217. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1218. } > $@-t && \
  1219. mv $@-t $@
  1220. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  1221. EXTRA_DIST += stdlib.in.h
  1222. ## end gnulib module stdlib
  1223. ## begin gnulib module strcase
  1224. EXTRA_DIST += strcasecmp.c strncasecmp.c
  1225. EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
  1226. ## end gnulib module strcase
  1227. ## begin gnulib module streq
  1228. EXTRA_DIST += streq.h
  1229. ## end gnulib module streq
  1230. ## begin gnulib module strerror
  1231. EXTRA_DIST += strerror.c
  1232. EXTRA_libgnu_a_SOURCES += strerror.c
  1233. ## end gnulib module strerror
  1234. ## begin gnulib module strerror-override
  1235. EXTRA_DIST += strerror-override.c strerror-override.h
  1236. EXTRA_libgnu_a_SOURCES += strerror-override.c
  1237. ## end gnulib module strerror-override
  1238. ## begin gnulib module string
  1239. BUILT_SOURCES += string.h
  1240. # We need the following in order to create <string.h> when the system
  1241. # doesn't have one that works with the given compiler.
  1242. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1243. $(AM_V_GEN)rm -f $@-t $@ && \
  1244. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1245. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1246. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1247. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1248. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1249. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  1250. -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
  1251. -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
  1252. -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
  1253. -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
  1254. -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
  1255. -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
  1256. -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
  1257. -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
  1258. -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
  1259. -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
  1260. -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
  1261. -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
  1262. -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
  1263. -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
  1264. -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
  1265. -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
  1266. -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
  1267. -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
  1268. -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
  1269. -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
  1270. -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
  1271. -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
  1272. -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
  1273. -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
  1274. -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
  1275. -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
  1276. -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
  1277. -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
  1278. -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
  1279. -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
  1280. -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
  1281. -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
  1282. -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
  1283. -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
  1284. -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
  1285. -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
  1286. -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
  1287. < $(srcdir)/string.in.h | \
  1288. sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
  1289. -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
  1290. -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  1291. -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  1292. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  1293. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  1294. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  1295. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  1296. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  1297. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  1298. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  1299. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  1300. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  1301. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  1302. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  1303. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  1304. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  1305. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  1306. -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
  1307. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  1308. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  1309. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  1310. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  1311. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  1312. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  1313. -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
  1314. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  1315. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  1316. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  1317. -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
  1318. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  1319. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  1320. -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  1321. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  1322. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  1323. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  1324. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1325. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1326. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1327. < $(srcdir)/string.in.h; \
  1328. } > $@-t && \
  1329. mv $@-t $@
  1330. MOSTLYCLEANFILES += string.h string.h-t
  1331. EXTRA_DIST += string.in.h
  1332. ## end gnulib module string
  1333. ## begin gnulib module strings
  1334. BUILT_SOURCES += strings.h
  1335. # We need the following in order to create <strings.h> when the system
  1336. # doesn't have one that works with the given compiler.
  1337. strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  1338. $(AM_V_GEN)rm -f $@-t $@ && \
  1339. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1340. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1341. -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
  1342. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1343. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1344. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1345. -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
  1346. -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
  1347. -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
  1348. -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
  1349. -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
  1350. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1351. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1352. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1353. < $(srcdir)/strings.in.h; \
  1354. } > $@-t && \
  1355. mv $@-t $@
  1356. MOSTLYCLEANFILES += strings.h strings.h-t
  1357. EXTRA_DIST += strings.in.h
  1358. ## end gnulib module strings
  1359. ## begin gnulib module strndup
  1360. EXTRA_DIST += strndup.c
  1361. EXTRA_libgnu_a_SOURCES += strndup.c
  1362. ## end gnulib module strndup
  1363. ## begin gnulib module strnlen
  1364. EXTRA_DIST += strnlen.c
  1365. EXTRA_libgnu_a_SOURCES += strnlen.c
  1366. ## end gnulib module strnlen
  1367. ## begin gnulib module strsep
  1368. EXTRA_DIST += strsep.c
  1369. EXTRA_libgnu_a_SOURCES += strsep.c
  1370. ## end gnulib module strsep
  1371. ## begin gnulib module strstr-simple
  1372. EXTRA_DIST += str-two-way.h strstr.c
  1373. EXTRA_libgnu_a_SOURCES += strstr.c
  1374. ## end gnulib module strstr-simple
  1375. ## begin gnulib module sys_socket
  1376. BUILT_SOURCES += sys/socket.h
  1377. libgnu_a_SOURCES += sys_socket.c
  1378. # We need the following in order to create <sys/socket.h> when the system
  1379. # doesn't have one that works with the given compiler.
  1380. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  1381. $(AM_V_at)$(MKDIR_P) sys
  1382. $(AM_V_GEN)rm -f $@-t $@ && \
  1383. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1384. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1385. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1386. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1387. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1388. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  1389. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  1390. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  1391. -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
  1392. -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
  1393. -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
  1394. -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
  1395. -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
  1396. -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
  1397. -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
  1398. -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
  1399. -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
  1400. -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
  1401. -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
  1402. -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
  1403. -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
  1404. -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
  1405. -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
  1406. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  1407. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  1408. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  1409. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
  1410. -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
  1411. -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
  1412. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1413. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1414. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1415. < $(srcdir)/sys_socket.in.h; \
  1416. } > $@-t && \
  1417. mv -f $@-t $@
  1418. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  1419. MOSTLYCLEANDIRS += sys
  1420. EXTRA_DIST += sys_socket.in.h
  1421. ## end gnulib module sys_socket
  1422. ## begin gnulib module sys_types
  1423. BUILT_SOURCES += sys/types.h
  1424. # We need the following in order to create <sys/types.h> when the system
  1425. # doesn't have one that works with the given compiler.
  1426. sys/types.h: sys_types.in.h $(top_builddir)/config.status
  1427. $(AM_V_at)$(MKDIR_P) sys
  1428. $(AM_V_GEN)rm -f $@-t $@ && \
  1429. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1430. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1431. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1432. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1433. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1434. -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
  1435. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  1436. < $(srcdir)/sys_types.in.h; \
  1437. } > $@-t && \
  1438. mv $@-t $@
  1439. MOSTLYCLEANFILES += sys/types.h sys/types.h-t
  1440. EXTRA_DIST += sys_types.in.h
  1441. ## end gnulib module sys_types
  1442. ## begin gnulib module sys_uio
  1443. BUILT_SOURCES += sys/uio.h
  1444. # We need the following in order to create <sys/uio.h> when the system
  1445. # doesn't have one that works with the given compiler.
  1446. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
  1447. $(AM_V_at)$(MKDIR_P) sys
  1448. $(AM_V_GEN)rm -f $@-t $@ && \
  1449. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1450. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1451. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1452. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1453. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1454. -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
  1455. -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
  1456. < $(srcdir)/sys_uio.in.h; \
  1457. } > $@-t && \
  1458. mv -f $@-t $@
  1459. MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
  1460. MOSTLYCLEANDIRS += sys
  1461. EXTRA_DIST += sys_uio.in.h
  1462. ## end gnulib module sys_uio
  1463. ## begin gnulib module threadlib
  1464. libgnu_a_SOURCES += glthread/threadlib.c
  1465. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  1466. ## end gnulib module threadlib
  1467. ## begin gnulib module time
  1468. BUILT_SOURCES += time.h
  1469. # We need the following in order to create <time.h> when the system
  1470. # doesn't have one that works with the given compiler.
  1471. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1472. $(AM_V_GEN)rm -f $@-t $@ && \
  1473. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1474. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1475. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1476. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1477. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1478. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  1479. -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
  1480. -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
  1481. -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
  1482. -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
  1483. -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
  1484. -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
  1485. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  1486. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  1487. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  1488. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  1489. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  1490. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  1491. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  1492. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1493. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1494. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1495. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1496. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1497. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1498. < $(srcdir)/time.in.h; \
  1499. } > $@-t && \
  1500. mv $@-t $@
  1501. MOSTLYCLEANFILES += time.h time.h-t
  1502. EXTRA_DIST += time.in.h
  1503. ## end gnulib module time
  1504. ## begin gnulib module time_r
  1505. EXTRA_DIST += time_r.c
  1506. EXTRA_libgnu_a_SOURCES += time_r.c
  1507. ## end gnulib module time_r
  1508. ## begin gnulib module timegm
  1509. EXTRA_DIST += mktime-internal.h timegm.c
  1510. EXTRA_libgnu_a_SOURCES += timegm.c
  1511. ## end gnulib module timegm
  1512. ## begin gnulib module unistd
  1513. BUILT_SOURCES += unistd.h
  1514. libgnu_a_SOURCES += unistd.c
  1515. # We need the following in order to create an empty placeholder for
  1516. # <unistd.h> when the system doesn't have one.
  1517. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1518. $(AM_V_GEN)rm -f $@-t $@ && \
  1519. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1520. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1521. -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  1522. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1523. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1524. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1525. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  1526. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  1527. -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
  1528. -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
  1529. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  1530. -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
  1531. -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
  1532. -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
  1533. -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
  1534. -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
  1535. -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
  1536. -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
  1537. -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
  1538. -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
  1539. -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
  1540. -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
  1541. -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
  1542. -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
  1543. -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
  1544. -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
  1545. -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
  1546. -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
  1547. -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
  1548. -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
  1549. -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
  1550. -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
  1551. -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
  1552. -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
  1553. -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
  1554. -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
  1555. -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
  1556. -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
  1557. -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
  1558. -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
  1559. -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
  1560. -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
  1561. -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
  1562. -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
  1563. -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
  1564. -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
  1565. -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
  1566. -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
  1567. -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
  1568. -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
  1569. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
  1570. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
  1571. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
  1572. -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
  1573. -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
  1574. -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
  1575. -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
  1576. < $(srcdir)/unistd.in.h | \
  1577. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  1578. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  1579. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  1580. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  1581. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  1582. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  1583. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  1584. -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
  1585. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  1586. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  1587. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  1588. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  1589. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  1590. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  1591. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  1592. -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
  1593. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  1594. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  1595. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  1596. -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
  1597. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  1598. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  1599. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  1600. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  1601. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  1602. -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
  1603. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  1604. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  1605. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  1606. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  1607. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  1608. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  1609. -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
  1610. -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
  1611. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
  1612. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  1613. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  1614. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  1615. -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
  1616. -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
  1617. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  1618. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  1619. | \
  1620. sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  1621. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  1622. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  1623. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  1624. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  1625. -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
  1626. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  1627. -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
  1628. -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
  1629. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  1630. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  1631. -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
  1632. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  1633. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  1634. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  1635. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  1636. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  1637. -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
  1638. -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
  1639. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  1640. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  1641. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  1642. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  1643. -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
  1644. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  1645. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  1646. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  1647. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  1648. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  1649. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  1650. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1651. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1652. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1653. } > $@-t && \
  1654. mv $@-t $@
  1655. MOSTLYCLEANFILES += unistd.h unistd.h-t
  1656. EXTRA_DIST += unistd.in.h
  1657. ## end gnulib module unistd
  1658. ## begin gnulib module unsetenv
  1659. EXTRA_DIST += unsetenv.c
  1660. EXTRA_libgnu_a_SOURCES += unsetenv.c
  1661. ## end gnulib module unsetenv
  1662. ## begin gnulib module vasnprintf
  1663. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  1664. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  1665. ## end gnulib module vasnprintf
  1666. ## begin gnulib module vasprintf
  1667. EXTRA_DIST += asprintf.c vasprintf.c
  1668. EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
  1669. ## end gnulib module vasprintf
  1670. ## begin gnulib module verify
  1671. EXTRA_DIST += verify.h
  1672. ## end gnulib module verify
  1673. ## begin gnulib module vsnprintf
  1674. EXTRA_DIST += vsnprintf.c
  1675. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  1676. ## end gnulib module vsnprintf
  1677. ## begin gnulib module wchar
  1678. BUILT_SOURCES += wchar.h
  1679. # We need the following in order to create <wchar.h> when the system
  1680. # version does not work standalone.
  1681. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1682. $(AM_V_GEN)rm -f $@-t $@ && \
  1683. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1684. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1685. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1686. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1687. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1688. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  1689. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  1690. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  1691. -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
  1692. -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
  1693. -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
  1694. -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
  1695. -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
  1696. -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
  1697. -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
  1698. -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
  1699. -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
  1700. -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
  1701. -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
  1702. -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
  1703. -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
  1704. -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
  1705. -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
  1706. -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
  1707. -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
  1708. -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
  1709. -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
  1710. -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
  1711. -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
  1712. -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
  1713. -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
  1714. -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
  1715. -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
  1716. -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
  1717. -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
  1718. -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
  1719. -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
  1720. -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
  1721. -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
  1722. -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
  1723. -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
  1724. -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
  1725. -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
  1726. -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
  1727. -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
  1728. -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
  1729. -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
  1730. < $(srcdir)/wchar.in.h | \
  1731. sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  1732. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  1733. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  1734. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  1735. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  1736. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  1737. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  1738. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  1739. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  1740. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  1741. -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
  1742. -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
  1743. -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
  1744. -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
  1745. -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
  1746. -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
  1747. -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
  1748. -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
  1749. -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
  1750. -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
  1751. -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
  1752. -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
  1753. -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
  1754. -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
  1755. -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
  1756. -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
  1757. -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
  1758. -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
  1759. -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
  1760. -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
  1761. -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
  1762. -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
  1763. -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
  1764. -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
  1765. -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
  1766. -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
  1767. -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
  1768. -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
  1769. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  1770. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  1771. | \
  1772. sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  1773. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  1774. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  1775. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  1776. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  1777. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  1778. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  1779. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  1780. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  1781. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  1782. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  1783. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  1784. -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
  1785. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1786. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1787. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1788. } > $@-t && \
  1789. mv $@-t $@
  1790. MOSTLYCLEANFILES += wchar.h wchar.h-t
  1791. EXTRA_DIST += wchar.in.h
  1792. ## end gnulib module wchar
  1793. ## begin gnulib module wcrtomb
  1794. EXTRA_DIST += wcrtomb.c
  1795. EXTRA_libgnu_a_SOURCES += wcrtomb.c
  1796. ## end gnulib module wcrtomb
  1797. ## begin gnulib module wctype-h
  1798. BUILT_SOURCES += wctype.h
  1799. libgnu_a_SOURCES += wctype-h.c
  1800. # We need the following in order to create <wctype.h> when the system
  1801. # doesn't have one that works with the given compiler.
  1802. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  1803. $(AM_V_GEN)rm -f $@-t $@ && \
  1804. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1805. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1806. -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  1807. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1808. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1809. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1810. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  1811. -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
  1812. -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
  1813. -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
  1814. -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
  1815. -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
  1816. -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
  1817. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  1818. -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
  1819. -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
  1820. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  1821. -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
  1822. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  1823. -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
  1824. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1825. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1826. < $(srcdir)/wctype.in.h; \
  1827. } > $@-t && \
  1828. mv $@-t $@
  1829. MOSTLYCLEANFILES += wctype.h wctype.h-t
  1830. EXTRA_DIST += wctype.in.h
  1831. ## end gnulib module wctype-h
  1832. ## begin gnulib module xalloc
  1833. libgnu_a_SOURCES += xmalloc.c
  1834. EXTRA_DIST += xalloc.h
  1835. ## end gnulib module xalloc
  1836. ## begin gnulib module xalloc-die
  1837. libgnu_a_SOURCES += xalloc-die.c
  1838. ## end gnulib module xalloc-die
  1839. ## begin gnulib module xalloc-oversized
  1840. EXTRA_DIST += xalloc-oversized.h
  1841. ## end gnulib module xalloc-oversized
  1842. ## begin gnulib module xsize
  1843. libgnu_a_SOURCES += xsize.h xsize.c
  1844. ## end gnulib module xsize
  1845. ## begin gnulib module xstrndup
  1846. libgnu_a_SOURCES += xstrndup.h xstrndup.c
  1847. ## end gnulib module xstrndup
  1848. mostlyclean-local: mostlyclean-generic
  1849. @for dir in '' $(MOSTLYCLEANDIRS); do \
  1850. if test -n "$$dir" && test -d $$dir; then \
  1851. echo "rmdir $$dir"; rmdir $$dir; \
  1852. fi; \
  1853. done; \
  1854. :