Makefile.am 103 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2012 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=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap canonicalize-lgpl ceil close connect dirfd duplocale environ extensions flock floor fpieee frexp full-read full-write func gendocs getaddrinfo getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe2 putenv recv recvfrom regex rename send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat trunc verify vsnprintf warnings wchar
  25. AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
  26. SUBDIRS =
  27. noinst_HEADERS =
  28. noinst_LIBRARIES =
  29. noinst_LTLIBRARIES =
  30. EXTRA_DIST =
  31. BUILT_SOURCES =
  32. SUFFIXES =
  33. MOSTLYCLEANFILES = core *.stackdump
  34. MOSTLYCLEANDIRS =
  35. CLEANFILES =
  36. DISTCLEANFILES =
  37. MAINTAINERCLEANFILES =
  38. AM_CPPFLAGS =
  39. AM_CFLAGS =
  40. noinst_LTLIBRARIES += libgnu.la
  41. libgnu_la_SOURCES =
  42. libgnu_la_LIBADD = $(gl_LTLIBOBJS)
  43. libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
  44. EXTRA_libgnu_la_SOURCES =
  45. libgnu_la_LDFLAGS = $(AM_LDFLAGS)
  46. libgnu_la_LDFLAGS += -no-undefined
  47. libgnu_la_LDFLAGS += $(CEIL_LIBM)
  48. libgnu_la_LDFLAGS += $(FLOOR_LIBM)
  49. libgnu_la_LDFLAGS += $(FREXP_LIBM)
  50. libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
  51. libgnu_la_LDFLAGS += $(HOSTENT_LIB)
  52. libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
  53. libgnu_la_LDFLAGS += $(INET_PTON_LIB)
  54. libgnu_la_LDFLAGS += $(ISNAND_LIBM)
  55. libgnu_la_LDFLAGS += $(ISNANF_LIBM)
  56. libgnu_la_LDFLAGS += $(ISNANL_LIBM)
  57. libgnu_la_LDFLAGS += $(LDEXP_LIBM)
  58. libgnu_la_LDFLAGS += $(LIBSOCKET)
  59. libgnu_la_LDFLAGS += $(LOG1P_LIBM)
  60. libgnu_la_LDFLAGS += $(LTLIBICONV)
  61. libgnu_la_LDFLAGS += $(LTLIBINTL)
  62. libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
  63. libgnu_la_LDFLAGS += $(SERVENT_LIB)
  64. libgnu_la_LDFLAGS += $(TRUNC_LIBM)
  65. ## begin gnulib module accept
  66. EXTRA_DIST += accept.c w32sock.h
  67. EXTRA_libgnu_la_SOURCES += accept.c
  68. ## end gnulib module accept
  69. ## begin gnulib module alignof
  70. EXTRA_DIST += alignof.h
  71. ## end gnulib module alignof
  72. ## begin gnulib module alloca-opt
  73. BUILT_SOURCES += $(ALLOCA_H)
  74. # We need the following in order to create <alloca.h> when the system
  75. # doesn't have one that works with the given compiler.
  76. if GL_GENERATE_ALLOCA_H
  77. alloca.h: alloca.in.h $(top_builddir)/config.status
  78. $(AM_V_GEN)rm -f $@-t $@ && \
  79. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  80. cat $(srcdir)/alloca.in.h; \
  81. } > $@-t && \
  82. mv -f $@-t $@
  83. else
  84. alloca.h: $(top_builddir)/config.status
  85. rm -f $@
  86. endif
  87. MOSTLYCLEANFILES += alloca.h alloca.h-t
  88. EXTRA_DIST += alloca.in.h
  89. ## end gnulib module alloca-opt
  90. ## begin gnulib module announce-gen
  91. EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
  92. ## end gnulib module announce-gen
  93. ## begin gnulib module arpa_inet
  94. BUILT_SOURCES += arpa/inet.h
  95. # We need the following in order to create <arpa/inet.h> when the system
  96. # doesn't have one.
  97. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  98. $(AM_V_at)$(MKDIR_P) arpa
  99. $(AM_V_GEN)rm -f $@-t $@ && \
  100. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  101. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  102. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  103. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  104. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  105. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  106. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  107. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  108. -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
  109. -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
  110. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  111. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  112. -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
  113. -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
  114. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  115. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  116. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  117. < $(srcdir)/arpa_inet.in.h; \
  118. } > $@-t && \
  119. mv $@-t $@
  120. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  121. MOSTLYCLEANDIRS += arpa
  122. EXTRA_DIST += arpa_inet.in.h
  123. ## end gnulib module arpa_inet
  124. ## begin gnulib module binary-io
  125. libgnu_la_SOURCES += binary-io.h
  126. ## end gnulib module binary-io
  127. ## begin gnulib module bind
  128. EXTRA_DIST += bind.c w32sock.h
  129. EXTRA_libgnu_la_SOURCES += bind.c
  130. ## end gnulib module bind
  131. ## begin gnulib module btowc
  132. EXTRA_DIST += btowc.c
  133. EXTRA_libgnu_la_SOURCES += btowc.c
  134. ## end gnulib module btowc
  135. ## begin gnulib module byteswap
  136. BUILT_SOURCES += $(BYTESWAP_H)
  137. # We need the following in order to create <byteswap.h> when the system
  138. # doesn't have one.
  139. if GL_GENERATE_BYTESWAP_H
  140. byteswap.h: byteswap.in.h $(top_builddir)/config.status
  141. $(AM_V_GEN)rm -f $@-t $@ && \
  142. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  143. cat $(srcdir)/byteswap.in.h; \
  144. } > $@-t && \
  145. mv -f $@-t $@
  146. else
  147. byteswap.h: $(top_builddir)/config.status
  148. rm -f $@
  149. endif
  150. MOSTLYCLEANFILES += byteswap.h byteswap.h-t
  151. EXTRA_DIST += byteswap.in.h
  152. ## end gnulib module byteswap
  153. ## begin gnulib module c-ctype
  154. libgnu_la_SOURCES += c-ctype.h c-ctype.c
  155. ## end gnulib module c-ctype
  156. ## begin gnulib module c-strcase
  157. libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
  158. ## end gnulib module c-strcase
  159. ## begin gnulib module c-strcaseeq
  160. EXTRA_DIST += c-strcaseeq.h
  161. ## end gnulib module c-strcaseeq
  162. ## begin gnulib module canonicalize-lgpl
  163. EXTRA_DIST += canonicalize-lgpl.c
  164. EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
  165. ## end gnulib module canonicalize-lgpl
  166. ## begin gnulib module ceil
  167. EXTRA_DIST += ceil.c
  168. EXTRA_libgnu_la_SOURCES += ceil.c
  169. ## end gnulib module ceil
  170. ## begin gnulib module close
  171. EXTRA_DIST += close.c
  172. EXTRA_libgnu_la_SOURCES += close.c
  173. ## end gnulib module close
  174. ## begin gnulib module configmake
  175. # Listed in the same order as the GNU makefile conventions, and
  176. # provided by autoconf 2.59c+.
  177. # The Automake-defined pkg* macros are appended, in the order
  178. # listed in the Automake 1.10a+ documentation.
  179. configmake.h: Makefile
  180. $(AM_V_GEN)rm -f $@-t && \
  181. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  182. echo '#define PREFIX "$(prefix)"'; \
  183. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  184. echo '#define BINDIR "$(bindir)"'; \
  185. echo '#define SBINDIR "$(sbindir)"'; \
  186. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  187. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  188. echo '#define DATADIR "$(datadir)"'; \
  189. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  190. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  191. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  192. echo '#define INCLUDEDIR "$(includedir)"'; \
  193. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  194. echo '#define DOCDIR "$(docdir)"'; \
  195. echo '#define INFODIR "$(infodir)"'; \
  196. echo '#define HTMLDIR "$(htmldir)"'; \
  197. echo '#define DVIDIR "$(dvidir)"'; \
  198. echo '#define PDFDIR "$(pdfdir)"'; \
  199. echo '#define PSDIR "$(psdir)"'; \
  200. echo '#define LIBDIR "$(libdir)"'; \
  201. echo '#define LISPDIR "$(lispdir)"'; \
  202. echo '#define LOCALEDIR "$(localedir)"'; \
  203. echo '#define MANDIR "$(mandir)"'; \
  204. echo '#define MANEXT "$(manext)"'; \
  205. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  206. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  207. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  208. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  209. } | sed '/""/d' > $@-t
  210. mv -f $@-t $@
  211. BUILT_SOURCES += configmake.h
  212. CLEANFILES += configmake.h configmake.h-t
  213. ## end gnulib module configmake
  214. ## begin gnulib module connect
  215. EXTRA_DIST += connect.c w32sock.h
  216. EXTRA_libgnu_la_SOURCES += connect.c
  217. ## end gnulib module connect
  218. ## begin gnulib module dirent
  219. BUILT_SOURCES += dirent.h
  220. # We need the following in order to create <dirent.h> when the system
  221. # doesn't have one that works with the given compiler.
  222. dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  223. $(AM_V_GEN)rm -f $@-t $@ && \
  224. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  225. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  226. -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
  227. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  228. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  229. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  230. -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
  231. -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
  232. -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
  233. -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
  234. -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
  235. -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
  236. -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
  237. -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
  238. -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
  239. -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
  240. -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
  241. -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
  242. -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
  243. -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
  244. -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
  245. -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
  246. -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
  247. -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
  248. -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
  249. -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
  250. -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
  251. -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
  252. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  253. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  254. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  255. < $(srcdir)/dirent.in.h; \
  256. } > $@-t && \
  257. mv $@-t $@
  258. MOSTLYCLEANFILES += dirent.h dirent.h-t
  259. EXTRA_DIST += dirent.in.h
  260. ## end gnulib module dirent
  261. ## begin gnulib module dirfd
  262. EXTRA_DIST += dirfd.c
  263. EXTRA_libgnu_la_SOURCES += dirfd.c
  264. ## end gnulib module dirfd
  265. ## begin gnulib module dirname-lgpl
  266. libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
  267. EXTRA_DIST += dirname.h
  268. ## end gnulib module dirname-lgpl
  269. ## begin gnulib module dosname
  270. EXTRA_DIST += dosname.h
  271. ## end gnulib module dosname
  272. ## begin gnulib module duplocale
  273. EXTRA_DIST += duplocale.c
  274. EXTRA_libgnu_la_SOURCES += duplocale.c
  275. ## end gnulib module duplocale
  276. ## begin gnulib module errno
  277. BUILT_SOURCES += $(ERRNO_H)
  278. # We need the following in order to create <errno.h> when the system
  279. # doesn't have one that is POSIX compliant.
  280. if GL_GENERATE_ERRNO_H
  281. errno.h: errno.in.h $(top_builddir)/config.status
  282. $(AM_V_GEN)rm -f $@-t $@ && \
  283. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  284. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  285. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  286. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  287. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  288. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  289. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  290. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  291. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  292. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  293. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  294. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  295. < $(srcdir)/errno.in.h; \
  296. } > $@-t && \
  297. mv $@-t $@
  298. else
  299. errno.h: $(top_builddir)/config.status
  300. rm -f $@
  301. endif
  302. MOSTLYCLEANFILES += errno.h errno.h-t
  303. EXTRA_DIST += errno.in.h
  304. ## end gnulib module errno
  305. ## begin gnulib module fcntl-h
  306. BUILT_SOURCES += fcntl.h
  307. # We need the following in order to create <fcntl.h> when the system
  308. # doesn't have one that works with the given compiler.
  309. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  310. $(AM_V_GEN)rm -f $@-t $@ && \
  311. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  312. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  313. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  314. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  315. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  316. -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
  317. -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
  318. -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
  319. -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
  320. -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
  321. -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
  322. -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
  323. -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
  324. -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
  325. -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
  326. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  327. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  328. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  329. < $(srcdir)/fcntl.in.h; \
  330. } > $@-t && \
  331. mv $@-t $@
  332. MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  333. EXTRA_DIST += fcntl.in.h
  334. ## end gnulib module fcntl-h
  335. ## begin gnulib module fd-hook
  336. libgnu_la_SOURCES += fd-hook.c
  337. EXTRA_DIST += fd-hook.h
  338. ## end gnulib module fd-hook
  339. ## begin gnulib module float
  340. BUILT_SOURCES += $(FLOAT_H)
  341. # We need the following in order to create <float.h> when the system
  342. # doesn't have one that works with the given compiler.
  343. if GL_GENERATE_FLOAT_H
  344. float.h: float.in.h $(top_builddir)/config.status
  345. $(AM_V_GEN)rm -f $@-t $@ && \
  346. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  347. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  348. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  349. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  350. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  351. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  352. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  353. < $(srcdir)/float.in.h; \
  354. } > $@-t && \
  355. mv $@-t $@
  356. else
  357. float.h: $(top_builddir)/config.status
  358. rm -f $@
  359. endif
  360. MOSTLYCLEANFILES += float.h float.h-t
  361. EXTRA_DIST += float.c float.in.h itold.c
  362. EXTRA_libgnu_la_SOURCES += float.c itold.c
  363. ## end gnulib module float
  364. ## begin gnulib module flock
  365. EXTRA_DIST += flock.c
  366. EXTRA_libgnu_la_SOURCES += flock.c
  367. ## end gnulib module flock
  368. ## begin gnulib module floor
  369. EXTRA_DIST += floor.c
  370. EXTRA_libgnu_la_SOURCES += floor.c
  371. ## end gnulib module floor
  372. ## begin gnulib module frexp
  373. EXTRA_DIST += frexp.c
  374. EXTRA_libgnu_la_SOURCES += frexp.c
  375. ## end gnulib module frexp
  376. ## begin gnulib module fstat
  377. EXTRA_DIST += fstat.c
  378. EXTRA_libgnu_la_SOURCES += fstat.c
  379. ## end gnulib module fstat
  380. ## begin gnulib module full-read
  381. libgnu_la_SOURCES += full-read.h full-read.c
  382. EXTRA_DIST += full-write.c
  383. EXTRA_libgnu_la_SOURCES += full-write.c
  384. ## end gnulib module full-read
  385. ## begin gnulib module full-write
  386. libgnu_la_SOURCES += full-write.h full-write.c
  387. ## end gnulib module full-write
  388. ## begin gnulib module gendocs
  389. EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
  390. ## end gnulib module gendocs
  391. ## begin gnulib module getaddrinfo
  392. EXTRA_DIST += gai_strerror.c getaddrinfo.c
  393. EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
  394. ## end gnulib module getaddrinfo
  395. ## begin gnulib module getpeername
  396. EXTRA_DIST += getpeername.c w32sock.h
  397. EXTRA_libgnu_la_SOURCES += getpeername.c
  398. ## end gnulib module getpeername
  399. ## begin gnulib module getsockname
  400. EXTRA_DIST += getsockname.c w32sock.h
  401. EXTRA_libgnu_la_SOURCES += getsockname.c
  402. ## end gnulib module getsockname
  403. ## begin gnulib module getsockopt
  404. EXTRA_DIST += getsockopt.c w32sock.h
  405. EXTRA_libgnu_la_SOURCES += getsockopt.c
  406. ## end gnulib module getsockopt
  407. ## begin gnulib module gettext-h
  408. libgnu_la_SOURCES += gettext.h
  409. ## end gnulib module gettext-h
  410. ## begin gnulib module git-version-gen
  411. EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
  412. ## end gnulib module git-version-gen
  413. ## begin gnulib module gitlog-to-changelog
  414. EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
  415. ## end gnulib module gitlog-to-changelog
  416. ## begin gnulib module gnu-web-doc-update
  417. EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
  418. ## end gnulib module gnu-web-doc-update
  419. ## begin gnulib module gnumakefile
  420. distclean-local: clean-GNUmakefile
  421. clean-GNUmakefile:
  422. test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
  423. EXTRA_DIST += $(top_srcdir)/GNUmakefile
  424. ## end gnulib module gnumakefile
  425. ## begin gnulib module gnupload
  426. EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
  427. ## end gnulib module gnupload
  428. ## begin gnulib module gperf
  429. GPERF = gperf
  430. ## end gnulib module gperf
  431. ## begin gnulib module havelib
  432. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  433. ## end gnulib module havelib
  434. ## begin gnulib module iconv-h
  435. BUILT_SOURCES += $(ICONV_H)
  436. # We need the following in order to create <iconv.h> when the system
  437. # doesn't have one that works with the given compiler.
  438. if GL_GENERATE_ICONV_H
  439. iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  440. $(AM_V_GEN)rm -f $@-t $@ && \
  441. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  442. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  443. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  444. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  445. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  446. -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
  447. -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
  448. -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
  449. -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
  450. -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
  451. -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
  452. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  453. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  454. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  455. < $(srcdir)/iconv.in.h; \
  456. } > $@-t && \
  457. mv $@-t $@
  458. else
  459. iconv.h: $(top_builddir)/config.status
  460. rm -f $@
  461. endif
  462. MOSTLYCLEANFILES += iconv.h iconv.h-t
  463. EXTRA_DIST += iconv.in.h
  464. ## end gnulib module iconv-h
  465. ## begin gnulib module iconv_open
  466. iconv_open-aix.h: iconv_open-aix.gperf
  467. $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
  468. mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
  469. iconv_open-hpux.h: iconv_open-hpux.gperf
  470. $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
  471. mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
  472. iconv_open-irix.h: iconv_open-irix.gperf
  473. $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
  474. mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
  475. iconv_open-osf.h: iconv_open-osf.gperf
  476. $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
  477. mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
  478. iconv_open-solaris.h: iconv_open-solaris.gperf
  479. $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
  480. mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
  481. BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
  482. MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
  483. MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
  484. EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
  485. EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
  486. EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c
  487. ## end gnulib module iconv_open
  488. ## begin gnulib module inet_ntop
  489. EXTRA_DIST += inet_ntop.c
  490. EXTRA_libgnu_la_SOURCES += inet_ntop.c
  491. ## end gnulib module inet_ntop
  492. ## begin gnulib module inet_pton
  493. EXTRA_DIST += inet_pton.c
  494. EXTRA_libgnu_la_SOURCES += inet_pton.c
  495. ## end gnulib module inet_pton
  496. ## begin gnulib module isinf
  497. EXTRA_DIST += isinf.c
  498. EXTRA_libgnu_la_SOURCES += isinf.c
  499. ## end gnulib module isinf
  500. ## begin gnulib module isnand
  501. EXTRA_DIST += float+.h isnan.c isnand.c
  502. EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
  503. ## end gnulib module isnand
  504. ## begin gnulib module isnand-nolibm
  505. EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
  506. EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
  507. ## end gnulib module isnand-nolibm
  508. ## begin gnulib module isnanf
  509. EXTRA_DIST += float+.h isnan.c isnanf.c
  510. EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
  511. ## end gnulib module isnanf
  512. ## begin gnulib module isnanl
  513. EXTRA_DIST += float+.h isnan.c isnanl.c
  514. EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
  515. ## end gnulib module isnanl
  516. ## begin gnulib module langinfo
  517. BUILT_SOURCES += langinfo.h
  518. # We need the following in order to create an empty placeholder for
  519. # <langinfo.h> when the system doesn't have one.
  520. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  521. $(AM_V_GEN)rm -f $@-t $@ && \
  522. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  523. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  524. -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  525. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  526. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  527. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  528. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  529. -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
  530. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  531. -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
  532. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  533. -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
  534. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  535. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  536. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  537. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  538. < $(srcdir)/langinfo.in.h; \
  539. } > $@-t && \
  540. mv $@-t $@
  541. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  542. EXTRA_DIST += langinfo.in.h
  543. ## end gnulib module langinfo
  544. ## begin gnulib module lib-symbol-visibility
  545. # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
  546. # compilation of all sources that make up the library. This line here does it
  547. # only for the gnulib part of it. The developer is responsible for adding
  548. # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
  549. AM_CFLAGS += $(CFLAG_VISIBILITY)
  550. ## end gnulib module lib-symbol-visibility
  551. ## begin gnulib module libunistring
  552. EXTRA_DIST += libunistring.valgrind
  553. ## end gnulib module libunistring
  554. ## begin gnulib module listen
  555. EXTRA_DIST += listen.c w32sock.h
  556. EXTRA_libgnu_la_SOURCES += listen.c
  557. ## end gnulib module listen
  558. ## begin gnulib module localcharset
  559. libgnu_la_SOURCES += localcharset.h localcharset.c
  560. # We need the following in order to install a simple file in $(libdir)
  561. # which is shared with other installed packages. We use a list of referencing
  562. # packages so that "make uninstall" will remove the file if and only if it
  563. # is not used by another installed package.
  564. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  565. # avoid installing it.
  566. all-local: charset.alias ref-add.sed ref-del.sed
  567. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  568. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  569. install-exec-local: install-exec-localcharset
  570. install-exec-localcharset: all-local
  571. if test $(GLIBC21) = no; then \
  572. case '$(host_os)' in \
  573. darwin[56]*) \
  574. need_charset_alias=true ;; \
  575. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  576. need_charset_alias=false ;; \
  577. *) \
  578. need_charset_alias=true ;; \
  579. esac ; \
  580. else \
  581. need_charset_alias=false ; \
  582. fi ; \
  583. if $$need_charset_alias; then \
  584. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  585. fi ; \
  586. if test -f $(charset_alias); then \
  587. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  588. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  589. rm -f $(charset_tmp) ; \
  590. else \
  591. if $$need_charset_alias; then \
  592. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  593. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  594. rm -f $(charset_tmp) ; \
  595. fi ; \
  596. fi
  597. uninstall-local: uninstall-localcharset
  598. uninstall-localcharset: all-local
  599. if test -f $(charset_alias); then \
  600. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  601. if grep '^# Packages using this file: $$' $(charset_tmp) \
  602. > /dev/null; then \
  603. rm -f $(charset_alias); \
  604. else \
  605. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  606. fi; \
  607. rm -f $(charset_tmp); \
  608. fi
  609. charset.alias: config.charset
  610. $(AM_V_GEN)rm -f t-$@ $@ && \
  611. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
  612. mv t-$@ $@
  613. SUFFIXES += .sed .sin
  614. .sin.sed:
  615. $(AM_V_GEN)rm -f t-$@ $@ && \
  616. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
  617. mv t-$@ $@
  618. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  619. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  620. ## end gnulib module localcharset
  621. ## begin gnulib module locale
  622. BUILT_SOURCES += locale.h
  623. # We need the following in order to create <locale.h> when the system
  624. # doesn't have one that provides all definitions.
  625. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  626. $(AM_V_GEN)rm -f $@-t $@ && \
  627. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  628. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  629. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  630. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  631. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  632. -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
  633. -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
  634. -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
  635. -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
  636. -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
  637. -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
  638. -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
  639. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  640. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  641. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  642. < $(srcdir)/locale.in.h; \
  643. } > $@-t && \
  644. mv $@-t $@
  645. MOSTLYCLEANFILES += locale.h locale.h-t
  646. EXTRA_DIST += locale.in.h
  647. ## end gnulib module locale
  648. ## begin gnulib module lstat
  649. EXTRA_DIST += lstat.c
  650. EXTRA_libgnu_la_SOURCES += lstat.c
  651. ## end gnulib module lstat
  652. ## begin gnulib module maintainer-makefile
  653. EXTRA_DIST += $(top_srcdir)/maint.mk
  654. ## end gnulib module maintainer-makefile
  655. ## begin gnulib module malloc-gnu
  656. EXTRA_DIST += malloc.c
  657. EXTRA_libgnu_la_SOURCES += malloc.c
  658. ## end gnulib module malloc-gnu
  659. ## begin gnulib module malloc-posix
  660. EXTRA_DIST += malloc.c
  661. EXTRA_libgnu_la_SOURCES += malloc.c
  662. ## end gnulib module malloc-posix
  663. ## begin gnulib module malloca
  664. libgnu_la_SOURCES += malloca.c
  665. EXTRA_DIST += malloca.h malloca.valgrind
  666. ## end gnulib module malloca
  667. ## begin gnulib module math
  668. BUILT_SOURCES += math.h
  669. # We need the following in order to create <math.h> when the system
  670. # doesn't have one that works with the given compiler.
  671. math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  672. $(AM_V_GEN)rm -f $@-t $@ && \
  673. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  674. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  675. -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
  676. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  677. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  678. -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
  679. -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
  680. -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
  681. -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
  682. -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
  683. -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
  684. -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
  685. -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
  686. -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
  687. -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
  688. -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
  689. -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
  690. -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
  691. -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
  692. -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
  693. -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
  694. -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
  695. -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
  696. -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
  697. -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
  698. -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
  699. -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
  700. -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
  701. -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
  702. -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
  703. -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
  704. -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
  705. -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
  706. -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
  707. -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
  708. -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
  709. -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
  710. -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
  711. -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
  712. -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
  713. -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
  714. -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
  715. -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
  716. -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
  717. -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
  718. -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
  719. -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
  720. -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
  721. -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
  722. -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
  723. -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
  724. -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
  725. -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
  726. -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
  727. -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
  728. -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
  729. -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
  730. -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
  731. -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
  732. -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
  733. -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
  734. -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
  735. -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
  736. -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
  737. -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
  738. -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
  739. -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
  740. < $(srcdir)/math.in.h | \
  741. sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
  742. -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
  743. -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
  744. -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
  745. -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
  746. -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
  747. -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
  748. -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
  749. -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \
  750. -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
  751. -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
  752. -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
  753. -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
  754. -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
  755. -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
  756. -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
  757. -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
  758. -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
  759. -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
  760. -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
  761. -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
  762. -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
  763. -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
  764. -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
  765. -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
  766. -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
  767. -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
  768. -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
  769. -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
  770. -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
  771. -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
  772. -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \
  773. -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
  774. -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
  775. -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
  776. -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
  777. -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
  778. -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
  779. -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
  780. -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
  781. -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
  782. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  783. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  784. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  785. -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
  786. -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
  787. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  788. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  789. -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
  790. -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
  791. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  792. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  793. -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
  794. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  795. -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
  796. -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
  797. -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
  798. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  799. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  800. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  801. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  802. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  803. -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
  804. | \
  805. sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
  806. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  807. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  808. -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
  809. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  810. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  811. -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
  812. -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
  813. -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
  814. -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
  815. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  816. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  817. -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
  818. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  819. -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
  820. -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
  821. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  822. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  823. -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
  824. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  825. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  826. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  827. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  828. -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
  829. -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
  830. -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
  831. -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
  832. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  833. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  834. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  835. } > $@-t && \
  836. mv $@-t $@
  837. MOSTLYCLEANFILES += math.h math.h-t
  838. EXTRA_DIST += math.in.h
  839. ## end gnulib module math
  840. ## begin gnulib module mbrtowc
  841. EXTRA_DIST += mbrtowc.c
  842. EXTRA_libgnu_la_SOURCES += mbrtowc.c
  843. ## end gnulib module mbrtowc
  844. ## begin gnulib module mbsinit
  845. EXTRA_DIST += mbsinit.c
  846. EXTRA_libgnu_la_SOURCES += mbsinit.c
  847. ## end gnulib module mbsinit
  848. ## begin gnulib module mbtowc
  849. EXTRA_DIST += mbtowc-impl.h mbtowc.c
  850. EXTRA_libgnu_la_SOURCES += mbtowc.c
  851. ## end gnulib module mbtowc
  852. ## begin gnulib module memchr
  853. EXTRA_DIST += memchr.c memchr.valgrind
  854. EXTRA_libgnu_la_SOURCES += memchr.c
  855. ## end gnulib module memchr
  856. ## begin gnulib module msvc-inval
  857. EXTRA_DIST += msvc-inval.c msvc-inval.h
  858. EXTRA_libgnu_la_SOURCES += msvc-inval.c
  859. ## end gnulib module msvc-inval
  860. ## begin gnulib module msvc-nothrow
  861. EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
  862. EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
  863. ## end gnulib module msvc-nothrow
  864. ## begin gnulib module netdb
  865. BUILT_SOURCES += netdb.h
  866. # We need the following in order to create <netdb.h> when the system
  867. # doesn't have one that works with the given compiler.
  868. netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  869. $(AM_V_GEN)rm -f $@-t $@ && \
  870. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  871. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  872. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  873. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  874. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  875. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  876. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  877. -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
  878. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  879. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  880. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  881. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  882. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  883. -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
  884. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  885. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  886. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  887. < $(srcdir)/netdb.in.h; \
  888. } > $@-t && \
  889. mv $@-t $@
  890. MOSTLYCLEANFILES += netdb.h netdb.h-t
  891. EXTRA_DIST += netdb.in.h
  892. ## end gnulib module netdb
  893. ## begin gnulib module netinet_in
  894. BUILT_SOURCES += $(NETINET_IN_H)
  895. # We need the following in order to create <netinet/in.h> when the system
  896. # doesn't have one.
  897. if GL_GENERATE_NETINET_IN_H
  898. netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
  899. $(AM_V_at)$(MKDIR_P) netinet
  900. $(AM_V_GEN)rm -f $@-t $@ && \
  901. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  902. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  903. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  904. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  905. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  906. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  907. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  908. < $(srcdir)/netinet_in.in.h; \
  909. } > $@-t && \
  910. mv $@-t $@
  911. else
  912. netinet/in.h: $(top_builddir)/config.status
  913. rm -f $@
  914. endif
  915. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  916. MOSTLYCLEANDIRS += netinet
  917. EXTRA_DIST += netinet_in.in.h
  918. ## end gnulib module netinet_in
  919. ## begin gnulib module nl_langinfo
  920. EXTRA_DIST += nl_langinfo.c
  921. EXTRA_libgnu_la_SOURCES += nl_langinfo.c
  922. ## end gnulib module nl_langinfo
  923. ## begin gnulib module nproc
  924. libgnu_la_SOURCES += nproc.c
  925. EXTRA_DIST += nproc.h
  926. ## end gnulib module nproc
  927. ## begin gnulib module open
  928. EXTRA_DIST += open.c
  929. EXTRA_libgnu_la_SOURCES += open.c
  930. ## end gnulib module open
  931. ## begin gnulib module pathmax
  932. EXTRA_DIST += pathmax.h
  933. ## end gnulib module pathmax
  934. ## begin gnulib module pipe2
  935. libgnu_la_SOURCES += pipe2.c
  936. ## end gnulib module pipe2
  937. ## begin gnulib module putenv
  938. EXTRA_DIST += putenv.c
  939. EXTRA_libgnu_la_SOURCES += putenv.c
  940. ## end gnulib module putenv
  941. ## begin gnulib module raise
  942. EXTRA_DIST += raise.c
  943. EXTRA_libgnu_la_SOURCES += raise.c
  944. ## end gnulib module raise
  945. ## begin gnulib module read
  946. EXTRA_DIST += read.c
  947. EXTRA_libgnu_la_SOURCES += read.c
  948. ## end gnulib module read
  949. ## begin gnulib module readlink
  950. EXTRA_DIST += readlink.c
  951. EXTRA_libgnu_la_SOURCES += readlink.c
  952. ## end gnulib module readlink
  953. ## begin gnulib module recv
  954. EXTRA_DIST += recv.c w32sock.h
  955. EXTRA_libgnu_la_SOURCES += recv.c
  956. ## end gnulib module recv
  957. ## begin gnulib module recvfrom
  958. EXTRA_DIST += recvfrom.c w32sock.h
  959. EXTRA_libgnu_la_SOURCES += recvfrom.c
  960. ## end gnulib module recvfrom
  961. ## begin gnulib module regex
  962. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  963. EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  964. ## end gnulib module regex
  965. ## begin gnulib module rename
  966. EXTRA_DIST += rename.c
  967. EXTRA_libgnu_la_SOURCES += rename.c
  968. ## end gnulib module rename
  969. ## begin gnulib module rmdir
  970. EXTRA_DIST += rmdir.c
  971. EXTRA_libgnu_la_SOURCES += rmdir.c
  972. ## end gnulib module rmdir
  973. ## begin gnulib module safe-read
  974. libgnu_la_SOURCES += safe-read.c
  975. EXTRA_DIST += safe-read.h
  976. ## end gnulib module safe-read
  977. ## begin gnulib module safe-write
  978. libgnu_la_SOURCES += safe-write.c
  979. EXTRA_DIST += safe-read.c safe-write.h
  980. EXTRA_libgnu_la_SOURCES += safe-read.c
  981. ## end gnulib module safe-write
  982. ## begin gnulib module same-inode
  983. EXTRA_DIST += same-inode.h
  984. ## end gnulib module same-inode
  985. ## begin gnulib module send
  986. EXTRA_DIST += send.c w32sock.h
  987. EXTRA_libgnu_la_SOURCES += send.c
  988. ## end gnulib module send
  989. ## begin gnulib module sendto
  990. EXTRA_DIST += sendto.c w32sock.h
  991. EXTRA_libgnu_la_SOURCES += sendto.c
  992. ## end gnulib module sendto
  993. ## begin gnulib module setenv
  994. EXTRA_DIST += setenv.c
  995. EXTRA_libgnu_la_SOURCES += setenv.c
  996. ## end gnulib module setenv
  997. ## begin gnulib module setsockopt
  998. EXTRA_DIST += setsockopt.c w32sock.h
  999. EXTRA_libgnu_la_SOURCES += setsockopt.c
  1000. ## end gnulib module setsockopt
  1001. ## begin gnulib module shutdown
  1002. EXTRA_DIST += shutdown.c w32sock.h
  1003. EXTRA_libgnu_la_SOURCES += shutdown.c
  1004. ## end gnulib module shutdown
  1005. ## begin gnulib module signal-h
  1006. BUILT_SOURCES += signal.h
  1007. # We need the following in order to create <signal.h> when the system
  1008. # doesn't have a complete one.
  1009. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1010. $(AM_V_GEN)rm -f $@-t $@ && \
  1011. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1012. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1013. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1014. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1015. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1016. -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
  1017. -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
  1018. -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
  1019. -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
  1020. -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
  1021. -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
  1022. -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
  1023. -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
  1024. -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
  1025. -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
  1026. -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
  1027. -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
  1028. -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
  1029. -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
  1030. -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
  1031. -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
  1032. -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
  1033. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1034. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1035. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1036. < $(srcdir)/signal.in.h; \
  1037. } > $@-t && \
  1038. mv $@-t $@
  1039. MOSTLYCLEANFILES += signal.h signal.h-t
  1040. EXTRA_DIST += signal.in.h
  1041. ## end gnulib module signal-h
  1042. ## begin gnulib module size_max
  1043. libgnu_la_SOURCES += size_max.h
  1044. ## end gnulib module size_max
  1045. ## begin gnulib module snippet/_Noreturn
  1046. # Because this Makefile snippet defines a variable used by other
  1047. # gnulib Makefile snippets, it must be present in all Makefile.am that
  1048. # need it. This is ensured by the applicability 'all' defined above.
  1049. _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
  1050. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
  1051. ## end gnulib module snippet/_Noreturn
  1052. ## begin gnulib module snippet/arg-nonnull
  1053. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  1054. # statements but through direct file reference. Therefore this snippet must be
  1055. # present in all Makefile.am that need it. This is ensured by the applicability
  1056. # 'all' defined above.
  1057. BUILT_SOURCES += arg-nonnull.h
  1058. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  1059. # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
  1060. # off.
  1061. arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  1062. $(AM_V_GEN)rm -f $@-t $@ && \
  1063. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  1064. < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
  1065. > $@-t && \
  1066. mv $@-t $@
  1067. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  1068. ARG_NONNULL_H=arg-nonnull.h
  1069. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
  1070. ## end gnulib module snippet/arg-nonnull
  1071. ## begin gnulib module snippet/c++defs
  1072. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  1073. # statements but through direct file reference. Therefore this snippet must be
  1074. # present in all Makefile.am that need it. This is ensured by the applicability
  1075. # 'all' defined above.
  1076. BUILT_SOURCES += c++defs.h
  1077. # The c++defs.h that gets inserted into generated .h files is the same as
  1078. # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
  1079. c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
  1080. $(AM_V_GEN)rm -f $@-t $@ && \
  1081. sed -n -e '/_GL_CXXDEFS/,$$p' \
  1082. < $(top_srcdir)/build-aux/snippet/c++defs.h \
  1083. > $@-t && \
  1084. mv $@-t $@
  1085. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  1086. CXXDEFS_H=c++defs.h
  1087. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
  1088. ## end gnulib module snippet/c++defs
  1089. ## begin gnulib module snippet/unused-parameter
  1090. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  1091. # statements but through direct file reference. Therefore this snippet must be
  1092. # present in all Makefile.am that need it. This is ensured by the applicability
  1093. # 'all' defined above.
  1094. BUILT_SOURCES += unused-parameter.h
  1095. # The unused-parameter.h that gets inserted into generated .h files is the same
  1096. # as build-aux/snippet/unused-parameter.h, except that it has the copyright
  1097. # header cut off.
  1098. unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
  1099. $(AM_V_GEN)rm -f $@-t $@ && \
  1100. sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
  1101. < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
  1102. > $@-t && \
  1103. mv $@-t $@
  1104. MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
  1105. UNUSED_PARAMETER_H=unused-parameter.h
  1106. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
  1107. ## end gnulib module snippet/unused-parameter
  1108. ## begin gnulib module snippet/warn-on-use
  1109. BUILT_SOURCES += warn-on-use.h
  1110. # The warn-on-use.h that gets inserted into generated .h files is the same as
  1111. # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
  1112. # off.
  1113. warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
  1114. $(AM_V_GEN)rm -f $@-t $@ && \
  1115. sed -n -e '/^.ifndef/,$$p' \
  1116. < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
  1117. > $@-t && \
  1118. mv $@-t $@
  1119. MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
  1120. WARN_ON_USE_H=warn-on-use.h
  1121. EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
  1122. ## end gnulib module snippet/warn-on-use
  1123. ## begin gnulib module snprintf
  1124. EXTRA_DIST += snprintf.c
  1125. EXTRA_libgnu_la_SOURCES += snprintf.c
  1126. ## end gnulib module snprintf
  1127. ## begin gnulib module socket
  1128. EXTRA_DIST += socket.c w32sock.h
  1129. EXTRA_libgnu_la_SOURCES += socket.c
  1130. ## end gnulib module socket
  1131. ## begin gnulib module sockets
  1132. libgnu_la_SOURCES += sockets.h sockets.c
  1133. EXTRA_DIST += w32sock.h
  1134. ## end gnulib module sockets
  1135. ## begin gnulib module stat
  1136. EXTRA_DIST += stat.c
  1137. EXTRA_libgnu_la_SOURCES += stat.c
  1138. ## end gnulib module stat
  1139. ## begin gnulib module stat-time
  1140. EXTRA_DIST += stat-time.h
  1141. ## end gnulib module stat-time
  1142. ## begin gnulib module stdalign
  1143. BUILT_SOURCES += $(STDALIGN_H)
  1144. # We need the following in order to create <stdalign.h> when the system
  1145. # doesn't have one that works.
  1146. if GL_GENERATE_STDALIGN_H
  1147. stdalign.h: stdalign.in.h $(top_builddir)/config.status
  1148. $(AM_V_GEN)rm -f $@-t $@ && \
  1149. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1150. cat $(srcdir)/stdalign.in.h; \
  1151. } > $@-t && \
  1152. mv $@-t $@
  1153. else
  1154. stdalign.h: $(top_builddir)/config.status
  1155. rm -f $@
  1156. endif
  1157. MOSTLYCLEANFILES += stdalign.h stdalign.h-t
  1158. EXTRA_DIST += stdalign.in.h
  1159. ## end gnulib module stdalign
  1160. ## begin gnulib module stdbool
  1161. BUILT_SOURCES += $(STDBOOL_H)
  1162. # We need the following in order to create <stdbool.h> when the system
  1163. # doesn't have one that works.
  1164. if GL_GENERATE_STDBOOL_H
  1165. stdbool.h: stdbool.in.h $(top_builddir)/config.status
  1166. $(AM_V_GEN)rm -f $@-t $@ && \
  1167. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1168. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  1169. } > $@-t && \
  1170. mv $@-t $@
  1171. else
  1172. stdbool.h: $(top_builddir)/config.status
  1173. rm -f $@
  1174. endif
  1175. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  1176. EXTRA_DIST += stdbool.in.h
  1177. ## end gnulib module stdbool
  1178. ## begin gnulib module stddef
  1179. BUILT_SOURCES += $(STDDEF_H)
  1180. # We need the following in order to create <stddef.h> when the system
  1181. # doesn't have one that works with the given compiler.
  1182. if GL_GENERATE_STDDEF_H
  1183. stddef.h: stddef.in.h $(top_builddir)/config.status
  1184. $(AM_V_GEN)rm -f $@-t $@ && \
  1185. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1186. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1187. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1188. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1189. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1190. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  1191. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  1192. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  1193. < $(srcdir)/stddef.in.h; \
  1194. } > $@-t && \
  1195. mv $@-t $@
  1196. else
  1197. stddef.h: $(top_builddir)/config.status
  1198. rm -f $@
  1199. endif
  1200. MOSTLYCLEANFILES += stddef.h stddef.h-t
  1201. EXTRA_DIST += stddef.in.h
  1202. ## end gnulib module stddef
  1203. ## begin gnulib module stdint
  1204. BUILT_SOURCES += $(STDINT_H)
  1205. # We need the following in order to create <stdint.h> when the system
  1206. # doesn't have one that works with the given compiler.
  1207. if GL_GENERATE_STDINT_H
  1208. stdint.h: stdint.in.h $(top_builddir)/config.status
  1209. $(AM_V_GEN)rm -f $@-t $@ && \
  1210. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1211. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1212. -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  1213. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1214. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1215. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1216. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  1217. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  1218. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  1219. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  1220. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  1221. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  1222. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  1223. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  1224. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  1225. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  1226. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  1227. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  1228. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  1229. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  1230. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  1231. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  1232. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  1233. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  1234. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  1235. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  1236. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  1237. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  1238. < $(srcdir)/stdint.in.h; \
  1239. } > $@-t && \
  1240. mv $@-t $@
  1241. else
  1242. stdint.h: $(top_builddir)/config.status
  1243. rm -f $@
  1244. endif
  1245. MOSTLYCLEANFILES += stdint.h stdint.h-t
  1246. EXTRA_DIST += stdint.in.h
  1247. ## end gnulib module stdint
  1248. ## begin gnulib module stdio
  1249. BUILT_SOURCES += stdio.h
  1250. # We need the following in order to create <stdio.h> when the system
  1251. # doesn't have one that works with the given compiler.
  1252. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1253. $(AM_V_GEN)rm -f $@-t $@ && \
  1254. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1255. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1256. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1257. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1258. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1259. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  1260. -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
  1261. -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
  1262. -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
  1263. -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
  1264. -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
  1265. -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
  1266. -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
  1267. -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
  1268. -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
  1269. -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
  1270. -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
  1271. -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
  1272. -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
  1273. -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
  1274. -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
  1275. -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
  1276. -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
  1277. -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
  1278. -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
  1279. -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
  1280. -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
  1281. -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
  1282. -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
  1283. -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
  1284. -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
  1285. -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
  1286. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
  1287. -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
  1288. -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
  1289. -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
  1290. -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
  1291. -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
  1292. -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
  1293. -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
  1294. -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
  1295. -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
  1296. -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
  1297. -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
  1298. -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
  1299. -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
  1300. -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
  1301. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
  1302. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
  1303. -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
  1304. -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
  1305. -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
  1306. -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
  1307. -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
  1308. -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
  1309. -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
  1310. -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
  1311. -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
  1312. -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
  1313. -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
  1314. < $(srcdir)/stdio.in.h | \
  1315. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  1316. -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
  1317. -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
  1318. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  1319. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  1320. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  1321. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  1322. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  1323. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  1324. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  1325. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  1326. -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
  1327. -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
  1328. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  1329. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  1330. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  1331. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  1332. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  1333. -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
  1334. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  1335. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  1336. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  1337. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  1338. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  1339. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  1340. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  1341. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  1342. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  1343. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  1344. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  1345. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  1346. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  1347. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  1348. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  1349. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  1350. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  1351. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  1352. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  1353. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  1354. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
  1355. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  1356. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  1357. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  1358. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  1359. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  1360. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  1361. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  1362. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  1363. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  1364. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1365. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1366. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1367. } > $@-t && \
  1368. mv $@-t $@
  1369. MOSTLYCLEANFILES += stdio.h stdio.h-t
  1370. EXTRA_DIST += stdio.in.h
  1371. ## end gnulib module stdio
  1372. ## begin gnulib module stdlib
  1373. BUILT_SOURCES += stdlib.h
  1374. # We need the following in order to create <stdlib.h> when the system
  1375. # doesn't have one that works with the given compiler.
  1376. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
  1377. $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1378. $(AM_V_GEN)rm -f $@-t $@ && \
  1379. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1380. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1381. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1382. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1383. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1384. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  1385. -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
  1386. -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
  1387. -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
  1388. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
  1389. -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
  1390. -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
  1391. -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
  1392. -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
  1393. -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
  1394. -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
  1395. -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
  1396. -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
  1397. -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
  1398. -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
  1399. -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
  1400. -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
  1401. -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
  1402. -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
  1403. -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
  1404. -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
  1405. -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
  1406. -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
  1407. -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
  1408. -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
  1409. -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
  1410. -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
  1411. -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
  1412. -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
  1413. -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
  1414. -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
  1415. -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
  1416. < $(srcdir)/stdlib.in.h | \
  1417. sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  1418. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  1419. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  1420. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  1421. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  1422. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  1423. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  1424. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  1425. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  1426. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  1427. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  1428. -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
  1429. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  1430. -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
  1431. -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
  1432. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  1433. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  1434. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  1435. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  1436. -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
  1437. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  1438. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  1439. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  1440. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  1441. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  1442. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  1443. -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
  1444. -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
  1445. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  1446. -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
  1447. -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
  1448. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  1449. -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
  1450. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  1451. -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
  1452. -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
  1453. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  1454. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  1455. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  1456. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  1457. -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
  1458. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1459. -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  1460. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1461. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1462. } > $@-t && \
  1463. mv $@-t $@
  1464. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  1465. EXTRA_DIST += stdlib.in.h
  1466. ## end gnulib module stdlib
  1467. ## begin gnulib module strcase
  1468. EXTRA_DIST += strcasecmp.c strncasecmp.c
  1469. EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
  1470. ## end gnulib module strcase
  1471. ## begin gnulib module streq
  1472. EXTRA_DIST += streq.h
  1473. ## end gnulib module streq
  1474. ## begin gnulib module strftime
  1475. libgnu_la_SOURCES += strftime.c
  1476. EXTRA_DIST += strftime.h
  1477. ## end gnulib module strftime
  1478. ## begin gnulib module striconveh
  1479. libgnu_la_SOURCES += striconveh.h striconveh.c
  1480. if GL_COND_LIBTOOL
  1481. libgnu_la_LDFLAGS += $(LTLIBICONV)
  1482. endif
  1483. EXTRA_DIST += iconveh.h
  1484. ## end gnulib module striconveh
  1485. ## begin gnulib module string
  1486. BUILT_SOURCES += string.h
  1487. # We need the following in order to create <string.h> when the system
  1488. # doesn't have one that works with the given compiler.
  1489. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1490. $(AM_V_GEN)rm -f $@-t $@ && \
  1491. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1492. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1493. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1494. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1495. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1496. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  1497. -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
  1498. -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
  1499. -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
  1500. -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
  1501. -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
  1502. -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
  1503. -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
  1504. -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
  1505. -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
  1506. -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
  1507. -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
  1508. -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
  1509. -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
  1510. -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
  1511. -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
  1512. -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
  1513. -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
  1514. -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
  1515. -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
  1516. -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
  1517. -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
  1518. -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
  1519. -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
  1520. -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
  1521. -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
  1522. -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
  1523. -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
  1524. -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
  1525. -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
  1526. -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
  1527. -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
  1528. -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
  1529. -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
  1530. -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
  1531. -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
  1532. -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
  1533. -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
  1534. < $(srcdir)/string.in.h | \
  1535. sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
  1536. -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
  1537. -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  1538. -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  1539. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  1540. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  1541. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  1542. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  1543. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  1544. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  1545. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  1546. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  1547. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  1548. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  1549. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  1550. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  1551. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  1552. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  1553. -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
  1554. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  1555. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  1556. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  1557. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  1558. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  1559. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  1560. -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
  1561. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  1562. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  1563. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  1564. -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
  1565. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  1566. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  1567. -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  1568. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  1569. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  1570. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  1571. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1572. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1573. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1574. < $(srcdir)/string.in.h; \
  1575. } > $@-t && \
  1576. mv $@-t $@
  1577. MOSTLYCLEANFILES += string.h string.h-t
  1578. EXTRA_DIST += string.in.h
  1579. ## end gnulib module string
  1580. ## begin gnulib module strings
  1581. BUILT_SOURCES += strings.h
  1582. # We need the following in order to create <strings.h> when the system
  1583. # doesn't have one that works with the given compiler.
  1584. strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  1585. $(AM_V_GEN)rm -f $@-t $@ && \
  1586. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1587. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1588. -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
  1589. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1590. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1591. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1592. -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
  1593. -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
  1594. -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
  1595. -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
  1596. -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
  1597. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1598. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1599. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1600. < $(srcdir)/strings.in.h; \
  1601. } > $@-t && \
  1602. mv $@-t $@
  1603. MOSTLYCLEANFILES += strings.h strings.h-t
  1604. EXTRA_DIST += strings.in.h
  1605. ## end gnulib module strings
  1606. ## begin gnulib module sys_file
  1607. BUILT_SOURCES += sys/file.h
  1608. # We need the following in order to create <sys/file.h> when the system
  1609. # has one that is incomplete.
  1610. sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
  1611. $(AM_V_at)$(MKDIR_P) sys
  1612. $(AM_V_GEN)rm -f $@-t $@ && \
  1613. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1614. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1615. -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
  1616. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1617. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1618. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1619. -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
  1620. -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
  1621. -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
  1622. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1623. < $(srcdir)/sys_file.in.h; \
  1624. } > $@-t && \
  1625. mv $@-t $@
  1626. MOSTLYCLEANFILES += sys/file.h sys/file.h-t
  1627. MOSTLYCLEANDIRS += sys
  1628. EXTRA_DIST += sys_file.in.h
  1629. ## end gnulib module sys_file
  1630. ## begin gnulib module sys_socket
  1631. BUILT_SOURCES += sys/socket.h
  1632. # We need the following in order to create <sys/socket.h> when the system
  1633. # doesn't have one that works with the given compiler.
  1634. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  1635. $(AM_V_at)$(MKDIR_P) sys
  1636. $(AM_V_GEN)rm -f $@-t $@ && \
  1637. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1638. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1639. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1640. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1641. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1642. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  1643. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  1644. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  1645. -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
  1646. -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
  1647. -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
  1648. -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
  1649. -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
  1650. -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
  1651. -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
  1652. -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
  1653. -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
  1654. -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
  1655. -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
  1656. -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
  1657. -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
  1658. -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
  1659. -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
  1660. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  1661. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  1662. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  1663. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
  1664. -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
  1665. -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
  1666. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1667. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1668. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1669. < $(srcdir)/sys_socket.in.h; \
  1670. } > $@-t && \
  1671. mv -f $@-t $@
  1672. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  1673. MOSTLYCLEANDIRS += sys
  1674. EXTRA_DIST += sys_socket.in.h
  1675. ## end gnulib module sys_socket
  1676. ## begin gnulib module sys_stat
  1677. BUILT_SOURCES += sys/stat.h
  1678. # We need the following in order to create <sys/stat.h> when the system
  1679. # has one that is incomplete.
  1680. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1681. $(AM_V_at)$(MKDIR_P) sys
  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|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
  1689. -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
  1690. -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
  1691. -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
  1692. -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
  1693. -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
  1694. -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
  1695. -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
  1696. -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
  1697. -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
  1698. -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
  1699. -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
  1700. -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
  1701. -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
  1702. -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
  1703. -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
  1704. -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
  1705. -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
  1706. -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
  1707. -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
  1708. -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
  1709. -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
  1710. -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
  1711. -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
  1712. -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
  1713. -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
  1714. -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
  1715. -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
  1716. -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
  1717. -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
  1718. -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
  1719. -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
  1720. -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
  1721. -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
  1722. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1723. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1724. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1725. < $(srcdir)/sys_stat.in.h; \
  1726. } > $@-t && \
  1727. mv $@-t $@
  1728. MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  1729. MOSTLYCLEANDIRS += sys
  1730. EXTRA_DIST += sys_stat.in.h
  1731. ## end gnulib module sys_stat
  1732. ## begin gnulib module sys_time
  1733. BUILT_SOURCES += sys/time.h
  1734. # We need the following in order to create <sys/time.h> when the system
  1735. # doesn't have one that works with the given compiler.
  1736. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1737. $(AM_V_at)$(MKDIR_P) sys
  1738. $(AM_V_GEN)rm -f $@-t $@ && \
  1739. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1740. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1741. -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
  1742. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1743. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1744. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1745. -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
  1746. -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
  1747. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  1748. -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
  1749. -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
  1750. -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
  1751. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1752. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1753. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1754. < $(srcdir)/sys_time.in.h; \
  1755. } > $@-t && \
  1756. mv $@-t $@
  1757. MOSTLYCLEANFILES += sys/time.h sys/time.h-t
  1758. EXTRA_DIST += sys_time.in.h
  1759. ## end gnulib module sys_time
  1760. ## begin gnulib module sys_types
  1761. BUILT_SOURCES += sys/types.h
  1762. # We need the following in order to create <sys/types.h> when the system
  1763. # doesn't have one that works with the given compiler.
  1764. sys/types.h: sys_types.in.h $(top_builddir)/config.status
  1765. $(AM_V_at)$(MKDIR_P) sys
  1766. $(AM_V_GEN)rm -f $@-t $@ && \
  1767. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1768. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1769. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1770. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1771. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1772. -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
  1773. < $(srcdir)/sys_types.in.h; \
  1774. } > $@-t && \
  1775. mv $@-t $@
  1776. MOSTLYCLEANFILES += sys/types.h sys/types.h-t
  1777. EXTRA_DIST += sys_types.in.h
  1778. ## end gnulib module sys_types
  1779. ## begin gnulib module sys_uio
  1780. BUILT_SOURCES += sys/uio.h
  1781. # We need the following in order to create <sys/uio.h> when the system
  1782. # doesn't have one that works with the given compiler.
  1783. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
  1784. $(AM_V_at)$(MKDIR_P) sys
  1785. $(AM_V_GEN)rm -f $@-t $@ && \
  1786. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1787. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1788. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1789. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1790. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1791. -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
  1792. -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
  1793. < $(srcdir)/sys_uio.in.h; \
  1794. } > $@-t && \
  1795. mv -f $@-t $@
  1796. MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
  1797. MOSTLYCLEANDIRS += sys
  1798. EXTRA_DIST += sys_uio.in.h
  1799. ## end gnulib module sys_uio
  1800. ## begin gnulib module time
  1801. BUILT_SOURCES += time.h
  1802. # We need the following in order to create <time.h> when the system
  1803. # doesn't have one that works with the given compiler.
  1804. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1805. $(AM_V_GEN)rm -f $@-t $@ && \
  1806. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1807. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1808. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1809. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1810. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1811. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  1812. -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
  1813. -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
  1814. -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
  1815. -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
  1816. -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
  1817. -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
  1818. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  1819. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  1820. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  1821. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  1822. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  1823. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  1824. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  1825. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1826. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1827. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1828. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1829. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1830. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1831. < $(srcdir)/time.in.h; \
  1832. } > $@-t && \
  1833. mv $@-t $@
  1834. MOSTLYCLEANFILES += time.h time.h-t
  1835. EXTRA_DIST += time.in.h
  1836. ## end gnulib module time
  1837. ## begin gnulib module time_r
  1838. EXTRA_DIST += time_r.c
  1839. EXTRA_libgnu_la_SOURCES += time_r.c
  1840. ## end gnulib module time_r
  1841. ## begin gnulib module trunc
  1842. EXTRA_DIST += trunc.c
  1843. EXTRA_libgnu_la_SOURCES += trunc.c
  1844. ## end gnulib module trunc
  1845. ## begin gnulib module unistd
  1846. BUILT_SOURCES += unistd.h
  1847. # We need the following in order to create an empty placeholder for
  1848. # <unistd.h> when the system doesn't have one.
  1849. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1850. $(AM_V_GEN)rm -f $@-t $@ && \
  1851. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1852. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1853. -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  1854. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1855. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1856. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1857. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  1858. -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
  1859. -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
  1860. -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
  1861. -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
  1862. -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
  1863. -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
  1864. -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
  1865. -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
  1866. -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
  1867. -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
  1868. -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
  1869. -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
  1870. -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
  1871. -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
  1872. -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
  1873. -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
  1874. -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
  1875. -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
  1876. -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
  1877. -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
  1878. -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
  1879. -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
  1880. -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
  1881. -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
  1882. -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
  1883. -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
  1884. -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
  1885. -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
  1886. -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
  1887. -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
  1888. -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
  1889. -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
  1890. -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
  1891. -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
  1892. -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
  1893. -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
  1894. -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
  1895. -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
  1896. -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
  1897. -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
  1898. -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
  1899. -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
  1900. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
  1901. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
  1902. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
  1903. -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
  1904. -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
  1905. -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
  1906. -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
  1907. < $(srcdir)/unistd.in.h | \
  1908. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  1909. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  1910. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  1911. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  1912. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  1913. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  1914. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  1915. -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
  1916. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  1917. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  1918. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  1919. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  1920. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  1921. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  1922. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  1923. -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
  1924. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  1925. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  1926. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  1927. -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
  1928. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  1929. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  1930. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  1931. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  1932. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  1933. -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
  1934. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  1935. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  1936. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  1937. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  1938. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  1939. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  1940. -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
  1941. -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
  1942. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
  1943. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  1944. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  1945. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  1946. -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
  1947. -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
  1948. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  1949. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  1950. | \
  1951. sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  1952. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  1953. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  1954. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  1955. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  1956. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  1957. -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
  1958. -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
  1959. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  1960. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  1961. -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
  1962. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  1963. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  1964. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  1965. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  1966. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  1967. -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
  1968. -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
  1969. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  1970. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  1971. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  1972. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  1973. -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
  1974. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  1975. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  1976. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  1977. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  1978. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  1979. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  1980. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1981. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1982. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1983. } > $@-t && \
  1984. mv $@-t $@
  1985. MOSTLYCLEANFILES += unistd.h unistd.h-t
  1986. EXTRA_DIST += unistd.in.h
  1987. ## end gnulib module unistd
  1988. ## begin gnulib module unistr/base
  1989. BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
  1990. unistr.h: unistr.in.h
  1991. $(AM_V_GEN)rm -f $@-t $@ && \
  1992. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1993. cat $(srcdir)/unistr.in.h; \
  1994. } > $@-t && \
  1995. mv -f $@-t $@
  1996. MOSTLYCLEANFILES += unistr.h unistr.h-t
  1997. EXTRA_DIST += unistr.in.h
  1998. ## end gnulib module unistr/base
  1999. ## begin gnulib module unistr/u8-mbtouc
  2000. if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
  2001. libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
  2002. endif
  2003. ## end gnulib module unistr/u8-mbtouc
  2004. ## begin gnulib module unistr/u8-mbtouc-unsafe
  2005. if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
  2006. libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
  2007. endif
  2008. ## end gnulib module unistr/u8-mbtouc-unsafe
  2009. ## begin gnulib module unistr/u8-mbtoucr
  2010. if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
  2011. libgnu_la_SOURCES += unistr/u8-mbtoucr.c
  2012. endif
  2013. ## end gnulib module unistr/u8-mbtoucr
  2014. ## begin gnulib module unistr/u8-prev
  2015. if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
  2016. libgnu_la_SOURCES += unistr/u8-prev.c
  2017. endif
  2018. ## end gnulib module unistr/u8-prev
  2019. ## begin gnulib module unistr/u8-uctomb
  2020. if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
  2021. libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
  2022. endif
  2023. ## end gnulib module unistr/u8-uctomb
  2024. ## begin gnulib module unitypes
  2025. BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
  2026. unitypes.h: unitypes.in.h
  2027. $(AM_V_GEN)rm -f $@-t $@ && \
  2028. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  2029. cat $(srcdir)/unitypes.in.h; \
  2030. } > $@-t && \
  2031. mv -f $@-t $@
  2032. MOSTLYCLEANFILES += unitypes.h unitypes.h-t
  2033. EXTRA_DIST += unitypes.in.h
  2034. ## end gnulib module unitypes
  2035. ## begin gnulib module useless-if-before-free
  2036. EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
  2037. ## end gnulib module useless-if-before-free
  2038. ## begin gnulib module vasnprintf
  2039. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  2040. EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  2041. ## end gnulib module vasnprintf
  2042. ## begin gnulib module vc-list-files
  2043. EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
  2044. ## end gnulib module vc-list-files
  2045. ## begin gnulib module verify
  2046. EXTRA_DIST += verify.h
  2047. ## end gnulib module verify
  2048. ## begin gnulib module vsnprintf
  2049. EXTRA_DIST += vsnprintf.c
  2050. EXTRA_libgnu_la_SOURCES += vsnprintf.c
  2051. ## end gnulib module vsnprintf
  2052. ## begin gnulib module wchar
  2053. BUILT_SOURCES += wchar.h
  2054. # We need the following in order to create <wchar.h> when the system
  2055. # version does not work standalone.
  2056. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2057. $(AM_V_GEN)rm -f $@-t $@ && \
  2058. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  2059. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  2060. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2061. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2062. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2063. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  2064. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  2065. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  2066. -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
  2067. -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
  2068. -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
  2069. -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
  2070. -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
  2071. -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
  2072. -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
  2073. -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
  2074. -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
  2075. -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
  2076. -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
  2077. -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
  2078. -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
  2079. -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
  2080. -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
  2081. -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
  2082. -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
  2083. -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
  2084. -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
  2085. -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
  2086. -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
  2087. -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
  2088. -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
  2089. -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
  2090. -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
  2091. -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
  2092. -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
  2093. -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
  2094. -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
  2095. -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
  2096. -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
  2097. -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
  2098. -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
  2099. -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
  2100. -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
  2101. -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
  2102. -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
  2103. -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
  2104. -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
  2105. < $(srcdir)/wchar.in.h | \
  2106. sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  2107. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  2108. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  2109. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  2110. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  2111. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  2112. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  2113. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  2114. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  2115. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  2116. -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
  2117. -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
  2118. -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
  2119. -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
  2120. -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
  2121. -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
  2122. -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
  2123. -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
  2124. -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
  2125. -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
  2126. -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
  2127. -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
  2128. -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
  2129. -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
  2130. -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
  2131. -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
  2132. -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
  2133. -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
  2134. -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
  2135. -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
  2136. -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
  2137. -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
  2138. -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
  2139. -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
  2140. -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
  2141. -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
  2142. -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
  2143. -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
  2144. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  2145. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  2146. | \
  2147. sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  2148. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  2149. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  2150. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  2151. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  2152. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  2153. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  2154. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  2155. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  2156. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  2157. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  2158. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  2159. -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
  2160. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2161. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2162. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  2163. } > $@-t && \
  2164. mv $@-t $@
  2165. MOSTLYCLEANFILES += wchar.h wchar.h-t
  2166. EXTRA_DIST += wchar.in.h
  2167. ## end gnulib module wchar
  2168. ## begin gnulib module wcrtomb
  2169. EXTRA_DIST += wcrtomb.c
  2170. EXTRA_libgnu_la_SOURCES += wcrtomb.c
  2171. ## end gnulib module wcrtomb
  2172. ## begin gnulib module wctype-h
  2173. BUILT_SOURCES += wctype.h
  2174. # We need the following in order to create <wctype.h> when the system
  2175. # doesn't have one that works with the given compiler.
  2176. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  2177. $(AM_V_GEN)rm -f $@-t $@ && \
  2178. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  2179. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  2180. -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  2181. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2182. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2183. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2184. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  2185. -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
  2186. -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
  2187. -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
  2188. -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
  2189. -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
  2190. -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
  2191. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  2192. -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
  2193. -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
  2194. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  2195. -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
  2196. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  2197. -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
  2198. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2199. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2200. < $(srcdir)/wctype.in.h; \
  2201. } > $@-t && \
  2202. mv $@-t $@
  2203. MOSTLYCLEANFILES += wctype.h wctype.h-t
  2204. EXTRA_DIST += wctype.in.h
  2205. ## end gnulib module wctype-h
  2206. ## begin gnulib module write
  2207. EXTRA_DIST += write.c
  2208. EXTRA_libgnu_la_SOURCES += write.c
  2209. ## end gnulib module write
  2210. ## begin gnulib module xsize
  2211. libgnu_la_SOURCES += xsize.h
  2212. ## end gnulib module xsize
  2213. mostlyclean-local: mostlyclean-generic
  2214. @for dir in '' $(MOSTLYCLEANDIRS); do \
  2215. if test -n "$$dir" && test -d $$dir; then \
  2216. echo "rmdir $$dir"; rmdir $$dir; \
  2217. fi; \
  2218. done; \
  2219. :