Makefile.am 116 KB

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