Makefile.am 144 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2023 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 <https://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:
  25. # gnulib-tool --import --local-dir=gnulib-local \
  26. # --lib=libgnu \
  27. # --source-base=lib \
  28. # --m4-base=m4 \
  29. # --doc-base=doc \
  30. # --tests-base=tests \
  31. # --aux-dir=build-aux \
  32. # --lgpl=3 \
  33. # --conditional-dependencies \
  34. # --libtool \
  35. # --macro-prefix=gl \
  36. # --no-vc-files \
  37. # --avoid=lock \
  38. # --avoid=unistr/base \
  39. # --avoid=unistr/u8-mbtouc \
  40. # --avoid=unistr/u8-mbtouc-unsafe \
  41. # --avoid=unistr/u8-mbtoucr \
  42. # --avoid=unistr/u8-prev \
  43. # --avoid=unistr/u8-uctomb \
  44. # --avoid=unitypes \
  45. # accept4 \
  46. # alignof \
  47. # alloca-opt \
  48. # announce-gen \
  49. # autobuild \
  50. # bind \
  51. # byteswap \
  52. # c-strcase \
  53. # canonicalize-lgpl \
  54. # ceil \
  55. # clock-time \
  56. # close \
  57. # connect \
  58. # copysign \
  59. # dirfd \
  60. # dirname-lgpl \
  61. # duplocale \
  62. # environ \
  63. # extensions \
  64. # flexmember \
  65. # flock \
  66. # floor \
  67. # fpieee \
  68. # frexp \
  69. # fstat \
  70. # fsync \
  71. # full-read \
  72. # full-write \
  73. # func \
  74. # gendocs \
  75. # getaddrinfo \
  76. # gethostname \
  77. # getlogin \
  78. # getpeername \
  79. # getsockname \
  80. # getsockopt \
  81. # git-version-gen \
  82. # gitlog-to-changelog \
  83. # gnu-web-doc-update \
  84. # gnupload \
  85. # havelib \
  86. # iconv_open-utf \
  87. # inet_ntop \
  88. # inet_pton \
  89. # isfinite \
  90. # isinf \
  91. # isnan \
  92. # ldexp \
  93. # lib-symbol-versions \
  94. # lib-symbol-visibility \
  95. # libunistring \
  96. # link \
  97. # listen \
  98. # localcharset \
  99. # locale \
  100. # log1p \
  101. # lstat \
  102. # maintainer-makefile \
  103. # malloc-gnu \
  104. # malloca \
  105. # mkdir \
  106. # mkostemp \
  107. # nl_langinfo \
  108. # nproc \
  109. # nstrftime \
  110. # open \
  111. # pipe-posix \
  112. # pipe2 \
  113. # poll \
  114. # posix_spawn \
  115. # posix_spawn_file_actions_addclose \
  116. # posix_spawn_file_actions_adddup2 \
  117. # posix_spawn_file_actions_addopen \
  118. # posix_spawn_file_actions_init \
  119. # posix_spawnp \
  120. # putenv \
  121. # readlink \
  122. # recv \
  123. # recvfrom \
  124. # regex \
  125. # rename \
  126. # rmdir \
  127. # select \
  128. # send \
  129. # sendto \
  130. # setenv \
  131. # setsockopt \
  132. # shutdown \
  133. # socket \
  134. # stat-time \
  135. # stdlib \
  136. # striconveh \
  137. # string \
  138. # sys_select \
  139. # sys_stat \
  140. # time \
  141. # times \
  142. # trunc \
  143. # unistd \
  144. # verify \
  145. # vsnprintf \
  146. # warnings \
  147. # wchar
  148. AUTOMAKE_OPTIONS = 1.14 gnits subdir-objects
  149. SUBDIRS =
  150. noinst_HEADERS =
  151. noinst_LIBRARIES =
  152. noinst_LTLIBRARIES =
  153. EXTRA_DIST =
  154. BUILT_SOURCES =
  155. SUFFIXES =
  156. MOSTLYCLEANFILES = core *.stackdump
  157. MOSTLYCLEANDIRS =
  158. CLEANFILES =
  159. DISTCLEANFILES =
  160. MAINTAINERCLEANFILES =
  161. # No GNU Make output.
  162. AM_CPPFLAGS =
  163. AM_CFLAGS =
  164. noinst_LTLIBRARIES += libgnu.la
  165. libgnu_la_SOURCES =
  166. libgnu_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
  167. libgnu_la_LIBADD = $(gl_LTLIBOBJS)
  168. libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
  169. EXTRA_libgnu_la_SOURCES =
  170. libgnu_la_LDFLAGS = $(AM_LDFLAGS)
  171. libgnu_la_LDFLAGS += -no-undefined
  172. libgnu_la_LDFLAGS += $(CEIL_LIBM)
  173. libgnu_la_LDFLAGS += $(CLOCK_TIME_LIB)
  174. libgnu_la_LDFLAGS += $(COPYSIGN_LIBM)
  175. libgnu_la_LDFLAGS += $(DUPLOCALE_LIB)
  176. libgnu_la_LDFLAGS += $(FLOOR_LIBM)
  177. libgnu_la_LDFLAGS += $(FREXP_LIBM)
  178. libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
  179. libgnu_la_LDFLAGS += $(GETHOSTNAME_LIB)
  180. libgnu_la_LDFLAGS += $(GETLOGIN_LIB)
  181. libgnu_la_LDFLAGS += $(GETRANDOM_LIB)
  182. libgnu_la_LDFLAGS += $(HARD_LOCALE_LIB)
  183. libgnu_la_LDFLAGS += $(HOSTENT_LIB)
  184. libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
  185. libgnu_la_LDFLAGS += $(INET_PTON_LIB)
  186. libgnu_la_LDFLAGS += $(ISNAND_LIBM)
  187. libgnu_la_LDFLAGS += $(ISNANF_LIBM)
  188. libgnu_la_LDFLAGS += $(ISNANL_LIBM)
  189. libgnu_la_LDFLAGS += $(LDEXP_LIBM)
  190. libgnu_la_LDFLAGS += $(LIBSOCKET)
  191. libgnu_la_LDFLAGS += $(LIBTHREAD)
  192. libgnu_la_LDFLAGS += $(LOG1P_LIBM)
  193. libgnu_la_LDFLAGS += $(LOG_LIBM)
  194. libgnu_la_LDFLAGS += $(LTLIBICONV)
  195. libgnu_la_LDFLAGS += $(LTLIBINTL)
  196. libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
  197. libgnu_la_LDFLAGS += $(MBRTOWC_LIB)
  198. libgnu_la_LDFLAGS += $(POLL_LIB)
  199. libgnu_la_LDFLAGS += $(POSIX_SPAWN_LIB)
  200. libgnu_la_LDFLAGS += $(ROUND_LIBM)
  201. libgnu_la_LDFLAGS += $(SELECT_LIB)
  202. libgnu_la_LDFLAGS += $(SERVENT_LIB)
  203. libgnu_la_LDFLAGS += $(SETLOCALE_NULL_LIB)
  204. libgnu_la_LDFLAGS += $(TRUNC_LIBM)
  205. ## begin gnulib module absolute-header
  206. # Use this preprocessor expression to decide whether #include_next works.
  207. # Do not rely on a 'configure'-time test for this, since the expression
  208. # might appear in an installed header, which is used by some other compiler.
  209. HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
  210. ## end gnulib module absolute-header
  211. ## begin gnulib module accept
  212. if GL_COND_OBJ_ACCEPT
  213. libgnu_la_SOURCES += accept.c
  214. endif
  215. EXTRA_DIST += w32sock.h
  216. ## end gnulib module accept
  217. ## begin gnulib module accept4
  218. libgnu_la_SOURCES += accept4.c
  219. ## end gnulib module accept4
  220. ## begin gnulib module access
  221. if gl_GNULIB_ENABLED_access
  222. if GL_COND_OBJ_ACCESS
  223. libgnu_la_SOURCES += access.c
  224. endif
  225. endif
  226. ## end gnulib module access
  227. ## begin gnulib module alignof
  228. EXTRA_DIST += alignof.h
  229. ## end gnulib module alignof
  230. ## begin gnulib module alloca
  231. if gl_GNULIB_ENABLED_alloca
  232. libgnu_la_LIBADD += @LTALLOCA@
  233. libgnu_la_DEPENDENCIES += @LTALLOCA@
  234. endif
  235. EXTRA_DIST += alloca.c
  236. EXTRA_libgnu_la_SOURCES += alloca.c
  237. ## end gnulib module alloca
  238. ## begin gnulib module alloca-opt
  239. BUILT_SOURCES += $(ALLOCA_H)
  240. # We need the following in order to create <alloca.h> when the system
  241. # doesn't have one that works with the given compiler.
  242. if GL_GENERATE_ALLOCA_H
  243. alloca.h: alloca.in.h $(top_builddir)/config.status
  244. $(gl_V_at)$(SED_HEADER_STDOUT) \
  245. -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
  246. $(srcdir)/alloca.in.h > $@-t
  247. $(AM_V_at)mv $@-t $@
  248. else
  249. alloca.h: $(top_builddir)/config.status
  250. rm -f $@
  251. endif
  252. MOSTLYCLEANFILES += alloca.h alloca.h-t
  253. EXTRA_DIST += alloca.in.h
  254. ## end gnulib module alloca-opt
  255. ## begin gnulib module announce-gen
  256. EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
  257. ## end gnulib module announce-gen
  258. ## begin gnulib module arpa_inet
  259. BUILT_SOURCES += arpa/inet.h
  260. # We need the following in order to create <arpa/inet.h> when the system
  261. # doesn't have one.
  262. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  263. $(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa'
  264. $(AM_V_at)$(SED_HEADER_STDOUT) \
  265. -e 's|@''GUARD_PREFIX''@|GL|g' \
  266. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  267. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  268. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  269. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  270. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  271. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  272. -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \
  273. -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \
  274. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  275. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  276. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  277. -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
  278. -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
  279. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  280. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  281. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  282. $(srcdir)/arpa_inet.in.h > $@-t
  283. $(AM_V_at)mv $@-t $@
  284. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  285. MOSTLYCLEANDIRS += arpa
  286. EXTRA_DIST += arpa_inet.in.h
  287. ## end gnulib module arpa_inet
  288. ## begin gnulib module assert-h
  289. BUILT_SOURCES += $(ASSERT_H)
  290. # We need the following in order to create <assert.h> when the system
  291. # doesn't have one that works with the given compiler.
  292. if GL_GENERATE_ASSERT_H
  293. assert.h: assert.in.h verify.h $(top_builddir)/config.status
  294. $(gl_V_at){ $(SED_HEADER_STDOUT) \
  295. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  296. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  297. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  298. -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
  299. < $(srcdir)/assert.in.h && \
  300. sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
  301. -e 's|_gl_verify|_gl_static_assert|g' \
  302. -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
  303. -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \
  304. < $(srcdir)/verify.h; \
  305. } > $@-t
  306. $(AM_V_at)mv $@-t $@
  307. else
  308. assert.h: $(top_builddir)/config.status
  309. rm -f $@
  310. endif
  311. MOSTLYCLEANFILES += assert.h assert.h-t
  312. EXTRA_DIST += assert.in.h verify.h
  313. ## end gnulib module assert-h
  314. ## begin gnulib module assure
  315. if gl_GNULIB_ENABLED_assure
  316. endif
  317. EXTRA_DIST += assure.h
  318. ## end gnulib module assure
  319. ## begin gnulib module attribute
  320. EXTRA_DIST += attribute.h
  321. ## end gnulib module attribute
  322. ## begin gnulib module basename-lgpl
  323. libgnu_la_SOURCES += basename-lgpl.c
  324. EXTRA_DIST += basename-lgpl.h
  325. ## end gnulib module basename-lgpl
  326. ## begin gnulib module binary-io
  327. libgnu_la_SOURCES += binary-io.h binary-io.c
  328. ## end gnulib module binary-io
  329. ## begin gnulib module bind
  330. if GL_COND_OBJ_BIND
  331. libgnu_la_SOURCES += bind.c
  332. endif
  333. EXTRA_DIST += w32sock.h
  334. ## end gnulib module bind
  335. ## begin gnulib module btowc
  336. if gl_GNULIB_ENABLED_btowc
  337. if GL_COND_OBJ_BTOWC
  338. libgnu_la_SOURCES += btowc.c
  339. endif
  340. endif
  341. ## end gnulib module btowc
  342. ## begin gnulib module byteswap
  343. BUILT_SOURCES += $(BYTESWAP_H)
  344. # We need the following in order to create <byteswap.h> when the system
  345. # doesn't have one.
  346. if GL_GENERATE_BYTESWAP_H
  347. byteswap.h: byteswap.in.h $(top_builddir)/config.status
  348. $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
  349. $(AM_V_at)mv $@-t $@
  350. else
  351. byteswap.h: $(top_builddir)/config.status
  352. rm -f $@
  353. endif
  354. MOSTLYCLEANFILES += byteswap.h byteswap.h-t
  355. EXTRA_DIST += byteswap.in.h
  356. ## end gnulib module byteswap
  357. ## begin gnulib module c-ctype
  358. libgnu_la_SOURCES += c-ctype.h c-ctype.c
  359. ## end gnulib module c-ctype
  360. ## begin gnulib module c-strcase
  361. libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
  362. ## end gnulib module c-strcase
  363. ## begin gnulib module c-strcaseeq
  364. EXTRA_DIST += c-strcaseeq.h
  365. ## end gnulib module c-strcaseeq
  366. ## begin gnulib module canonicalize-lgpl
  367. if GL_COND_OBJ_CANONICALIZE_LGPL
  368. libgnu_la_SOURCES += canonicalize-lgpl.c
  369. endif
  370. ## end gnulib module canonicalize-lgpl
  371. ## begin gnulib module ceil
  372. if GL_COND_OBJ_CEIL
  373. libgnu_la_SOURCES += ceil.c
  374. endif
  375. ## end gnulib module ceil
  376. ## begin gnulib module cloexec
  377. if gl_GNULIB_ENABLED_cloexec
  378. libgnu_la_SOURCES += cloexec.c
  379. endif
  380. EXTRA_DIST += cloexec.h
  381. ## end gnulib module cloexec
  382. ## begin gnulib module close
  383. if GL_COND_OBJ_CLOSE
  384. libgnu_la_SOURCES += close.c
  385. endif
  386. ## end gnulib module close
  387. ## begin gnulib module concat-filename
  388. if gl_GNULIB_ENABLED_6da965dc4d3aa4f87d68116dce96f1a5
  389. libgnu_la_SOURCES += concat-filename.c
  390. endif
  391. EXTRA_DIST += concat-filename.h
  392. ## end gnulib module concat-filename
  393. ## begin gnulib module connect
  394. if GL_COND_OBJ_CONNECT
  395. libgnu_la_SOURCES += connect.c
  396. endif
  397. EXTRA_DIST += w32sock.h
  398. ## end gnulib module connect
  399. ## begin gnulib module copysign
  400. if GL_COND_OBJ_COPYSIGN
  401. libgnu_la_SOURCES += copysign.c
  402. endif
  403. ## end gnulib module copysign
  404. ## begin gnulib module dirent
  405. BUILT_SOURCES += dirent.h
  406. # We need the following in order to create <dirent.h> when the system
  407. # doesn't have one that works with the given compiler.
  408. dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  409. $(gl_V_at)$(SED_HEADER_STDOUT) \
  410. -e 's|@''GUARD_PREFIX''@|GL|g' \
  411. -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
  412. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  413. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  414. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  415. -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
  416. -e 's/@''GNULIB_OPENDIR''@/$(GL_GNULIB_OPENDIR)/g' \
  417. -e 's/@''GNULIB_READDIR''@/$(GL_GNULIB_READDIR)/g' \
  418. -e 's/@''GNULIB_REWINDDIR''@/$(GL_GNULIB_REWINDDIR)/g' \
  419. -e 's/@''GNULIB_CLOSEDIR''@/$(GL_GNULIB_CLOSEDIR)/g' \
  420. -e 's/@''GNULIB_DIRFD''@/$(GL_GNULIB_DIRFD)/g' \
  421. -e 's/@''GNULIB_FDOPENDIR''@/$(GL_GNULIB_FDOPENDIR)/g' \
  422. -e 's/@''GNULIB_SCANDIR''@/$(GL_GNULIB_SCANDIR)/g' \
  423. -e 's/@''GNULIB_ALPHASORT''@/$(GL_GNULIB_ALPHASORT)/g' \
  424. -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
  425. -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
  426. -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
  427. -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
  428. -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
  429. -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
  430. -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
  431. -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
  432. -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
  433. -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
  434. -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
  435. -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
  436. -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
  437. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  438. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  439. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  440. $(srcdir)/dirent.in.h > $@-t
  441. $(AM_V_at)mv $@-t $@
  442. MOSTLYCLEANFILES += dirent.h dirent.h-t
  443. EXTRA_DIST += dirent.in.h
  444. ## end gnulib module dirent
  445. ## begin gnulib module dirfd
  446. if GL_COND_OBJ_DIRFD
  447. libgnu_la_SOURCES += dirfd.c
  448. endif
  449. ## end gnulib module dirfd
  450. ## begin gnulib module dirname-lgpl
  451. libgnu_la_SOURCES += dirname-lgpl.c stripslash.c
  452. EXTRA_DIST += dirname.h
  453. ## end gnulib module dirname-lgpl
  454. ## begin gnulib module dup2
  455. if gl_GNULIB_ENABLED_dup2
  456. if GL_COND_OBJ_DUP2
  457. libgnu_la_SOURCES += dup2.c
  458. endif
  459. endif
  460. ## end gnulib module dup2
  461. ## begin gnulib module duplocale
  462. if GL_COND_OBJ_DUPLOCALE
  463. libgnu_la_SOURCES += duplocale.c
  464. endif
  465. ## end gnulib module duplocale
  466. ## begin gnulib module eloop-threshold
  467. if gl_GNULIB_ENABLED_925677f0343de64b89a9f0c790b4104c
  468. endif
  469. EXTRA_DIST += eloop-threshold.h
  470. ## end gnulib module eloop-threshold
  471. ## begin gnulib module errno
  472. BUILT_SOURCES += $(ERRNO_H)
  473. # We need the following in order to create <errno.h> when the system
  474. # doesn't have one that is POSIX compliant.
  475. if GL_GENERATE_ERRNO_H
  476. errno.h: errno.in.h $(top_builddir)/config.status
  477. $(gl_V_at)$(SED_HEADER_STDOUT) \
  478. -e 's|@''GUARD_PREFIX''@|GL|g' \
  479. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  480. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  481. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  482. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  483. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  484. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  485. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  486. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  487. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  488. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  489. $(srcdir)/errno.in.h > $@-t
  490. $(AM_V_at)mv $@-t $@
  491. else
  492. errno.h: $(top_builddir)/config.status
  493. rm -f $@
  494. endif
  495. MOSTLYCLEANFILES += errno.h errno.h-t
  496. EXTRA_DIST += errno.in.h
  497. ## end gnulib module errno
  498. ## begin gnulib module fcntl
  499. if gl_GNULIB_ENABLED_fcntl
  500. if GL_COND_OBJ_FCNTL
  501. libgnu_la_SOURCES += fcntl.c
  502. endif
  503. endif
  504. ## end gnulib module fcntl
  505. ## begin gnulib module fcntl-h
  506. BUILT_SOURCES += fcntl.h
  507. # We need the following in order to create <fcntl.h> when the system
  508. # doesn't have one that works with the given compiler.
  509. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  510. $(gl_V_at)$(SED_HEADER_STDOUT) \
  511. -e 's|@''GUARD_PREFIX''@|GL|g' \
  512. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  513. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  514. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  515. -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
  516. -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \
  517. -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \
  518. -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \
  519. -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \
  520. -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \
  521. -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \
  522. -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \
  523. -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
  524. -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
  525. -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
  526. -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
  527. -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
  528. -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
  529. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  530. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  531. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  532. $(srcdir)/fcntl.in.h > $@-t
  533. $(AM_V_at)mv $@-t $@
  534. MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  535. EXTRA_DIST += fcntl.in.h
  536. ## end gnulib module fcntl-h
  537. ## begin gnulib module fd-hook
  538. if gl_GNULIB_ENABLED_43fe87a341d9b4b93c47c3ad819a5239
  539. libgnu_la_SOURCES += fd-hook.c
  540. endif
  541. EXTRA_DIST += fd-hook.h
  542. ## end gnulib module fd-hook
  543. ## begin gnulib module filename
  544. EXTRA_DIST += filename.h
  545. ## end gnulib module filename
  546. ## begin gnulib module findprog-in
  547. if gl_GNULIB_ENABLED_7be38c8cf2027003f573b80556d26ff2
  548. libgnu_la_SOURCES += findprog.h findprog-in.c
  549. endif
  550. ## end gnulib module findprog-in
  551. ## begin gnulib module flexmember
  552. EXTRA_DIST += flexmember.h
  553. ## end gnulib module flexmember
  554. ## begin gnulib module float
  555. BUILT_SOURCES += $(FLOAT_H)
  556. # We need the following in order to create <float.h> when the system
  557. # doesn't have one that works with the given compiler.
  558. if GL_GENERATE_FLOAT_H
  559. float.h: float.in.h $(top_builddir)/config.status
  560. $(gl_V_at)$(SED_HEADER_STDOUT) \
  561. -e 's|@''GUARD_PREFIX''@|GL|g' \
  562. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  563. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  564. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  565. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  566. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  567. $(srcdir)/float.in.h > $@-t
  568. $(AM_V_at)mv $@-t $@
  569. else
  570. float.h: $(top_builddir)/config.status
  571. rm -f $@
  572. endif
  573. MOSTLYCLEANFILES += float.h float.h-t
  574. if GL_COND_OBJ_FLOAT
  575. libgnu_la_SOURCES += float.c
  576. endif
  577. if GL_COND_OBJ_ITOLD
  578. libgnu_la_SOURCES += itold.c
  579. endif
  580. EXTRA_DIST += float.in.h
  581. ## end gnulib module float
  582. ## begin gnulib module flock
  583. if GL_COND_OBJ_FLOCK
  584. libgnu_la_SOURCES += flock.c
  585. endif
  586. ## end gnulib module flock
  587. ## begin gnulib module floor
  588. if GL_COND_OBJ_FLOOR
  589. libgnu_la_SOURCES += floor.c
  590. endif
  591. ## end gnulib module floor
  592. ## begin gnulib module free-posix
  593. if GL_COND_OBJ_FREE
  594. libgnu_la_SOURCES += free.c
  595. endif
  596. ## end gnulib module free-posix
  597. ## begin gnulib module frexp
  598. EXTRA_DIST += frexp.c
  599. EXTRA_libgnu_la_SOURCES += frexp.c
  600. ## end gnulib module frexp
  601. ## begin gnulib module fstat
  602. if GL_COND_OBJ_FSTAT
  603. libgnu_la_SOURCES += fstat.c
  604. endif
  605. EXTRA_DIST += stat-w32.c stat-w32.h
  606. EXTRA_libgnu_la_SOURCES += stat-w32.c
  607. ## end gnulib module fstat
  608. ## begin gnulib module fsync
  609. if GL_COND_OBJ_FSYNC
  610. libgnu_la_SOURCES += fsync.c
  611. endif
  612. ## end gnulib module fsync
  613. ## begin gnulib module full-read
  614. libgnu_la_SOURCES += full-read.h full-read.c
  615. EXTRA_DIST += full-write.c
  616. EXTRA_libgnu_la_SOURCES += full-write.c
  617. ## end gnulib module full-read
  618. ## begin gnulib module full-write
  619. libgnu_la_SOURCES += full-write.h full-write.c
  620. ## end gnulib module full-write
  621. ## begin gnulib module gen-header
  622. # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
  623. SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
  624. # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
  625. SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
  626. # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
  627. # "DO_NOT_EDIT". Although this could be done more simply via:
  628. # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
  629. # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
  630. SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
  631. # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
  632. gl_V_at = $(AM_V_GEN)
  633. ## end gnulib module gen-header
  634. ## begin gnulib module gendocs
  635. EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
  636. ## end gnulib module gendocs
  637. ## begin gnulib module getaddrinfo
  638. if GL_COND_OBJ_GETADDRINFO
  639. libgnu_la_SOURCES += getaddrinfo.c
  640. endif
  641. if GL_COND_OBJ_GAI_STRERROR
  642. libgnu_la_SOURCES += gai_strerror.c
  643. endif
  644. ## end gnulib module getaddrinfo
  645. ## begin gnulib module getdtablesize
  646. if gl_GNULIB_ENABLED_getdtablesize
  647. if GL_COND_OBJ_GETDTABLESIZE
  648. libgnu_la_SOURCES += getdtablesize.c
  649. endif
  650. endif
  651. ## end gnulib module getdtablesize
  652. ## begin gnulib module gethostname
  653. if GL_COND_OBJ_GETHOSTNAME
  654. libgnu_la_SOURCES += gethostname.c
  655. endif
  656. EXTRA_DIST += w32sock.h
  657. ## end gnulib module gethostname
  658. ## begin gnulib module getlogin
  659. if GL_COND_OBJ_GETLOGIN
  660. libgnu_la_SOURCES += getlogin.c
  661. endif
  662. ## end gnulib module getlogin
  663. ## begin gnulib module getpeername
  664. if GL_COND_OBJ_GETPEERNAME
  665. libgnu_la_SOURCES += getpeername.c
  666. endif
  667. EXTRA_DIST += w32sock.h
  668. ## end gnulib module getpeername
  669. ## begin gnulib module getrandom
  670. if gl_GNULIB_ENABLED_getrandom
  671. if GL_COND_OBJ_GETRANDOM
  672. libgnu_la_SOURCES += getrandom.c
  673. endif
  674. endif
  675. ## end gnulib module getrandom
  676. ## begin gnulib module getsockname
  677. if GL_COND_OBJ_GETSOCKNAME
  678. libgnu_la_SOURCES += getsockname.c
  679. endif
  680. EXTRA_DIST += w32sock.h
  681. ## end gnulib module getsockname
  682. ## begin gnulib module getsockopt
  683. if GL_COND_OBJ_GETSOCKOPT
  684. libgnu_la_SOURCES += getsockopt.c
  685. endif
  686. EXTRA_DIST += w32sock.h
  687. ## end gnulib module getsockopt
  688. ## begin gnulib module gettext-h
  689. if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
  690. libgnu_la_SOURCES += gettext.h
  691. endif
  692. ## end gnulib module gettext-h
  693. ## begin gnulib module git-version-gen
  694. EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
  695. ## end gnulib module git-version-gen
  696. ## begin gnulib module gitlog-to-changelog
  697. EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
  698. ## end gnulib module gitlog-to-changelog
  699. ## begin gnulib module glibc-internal/dynarray
  700. if gl_GNULIB_ENABLED_fd38c7e463b54744b77b98aeafb4fa7c
  701. BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
  702. malloc/dynarray.gl.h: malloc/dynarray.h
  703. $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
  704. $(AM_V_at)$(SED_HEADER_STDOUT) \
  705. -e '/libc_hidden_proto/d' \
  706. $(srcdir)/malloc/dynarray.h > $@-t
  707. $(AM_V_at)mv $@-t $@
  708. MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
  709. malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
  710. $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
  711. $(AM_V_at)$(SED_HEADER_STDOUT) \
  712. -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
  713. -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
  714. -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
  715. -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
  716. -e 's|__glibc_likely|_GL_LIKELY|g' \
  717. -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
  718. $(srcdir)/malloc/dynarray-skeleton.c > $@-t
  719. $(AM_V_at)mv $@-t $@
  720. MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
  721. libgnu_la_SOURCES += malloc/dynarray_at_failure.c malloc/dynarray_emplace_enlarge.c malloc/dynarray_finalize.c malloc/dynarray_resize.c malloc/dynarray_resize_clear.c
  722. endif
  723. EXTRA_DIST += dynarray.h malloc/dynarray-skeleton.c malloc/dynarray.h
  724. EXTRA_libgnu_la_SOURCES += malloc/dynarray-skeleton.c
  725. ## end gnulib module glibc-internal/dynarray
  726. ## begin gnulib module glibc-internal/scratch_buffer
  727. if gl_GNULIB_ENABLED_8444034ea779b88768865bb60b4fb8c9
  728. BUILT_SOURCES += malloc/scratch_buffer.gl.h
  729. malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h
  730. $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
  731. $(AM_V_at)$(SED_HEADER_STDOUT) \
  732. -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \
  733. -e 's|__glibc_likely|_GL_LIKELY|g' \
  734. -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
  735. -e '/libc_hidden_proto/d' \
  736. $(srcdir)/malloc/scratch_buffer.h > $@-t
  737. $(AM_V_at)mv $@-t $@
  738. MOSTLYCLEANFILES += malloc/scratch_buffer.gl.h malloc/scratch_buffer.gl.h-t
  739. libgnu_la_SOURCES += malloc/scratch_buffer_grow.c malloc/scratch_buffer_grow_preserve.c malloc/scratch_buffer_set_array_size.c
  740. endif
  741. EXTRA_DIST += malloc/scratch_buffer.h scratch_buffer.h
  742. ## end gnulib module glibc-internal/scratch_buffer
  743. ## begin gnulib module gnu-web-doc-update
  744. EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
  745. ## end gnulib module gnu-web-doc-update
  746. ## begin gnulib module gnumakefile
  747. EXTRA_DIST += $(top_srcdir)/GNUmakefile
  748. distclean-local: clean-GNUmakefile
  749. clean-GNUmakefile:
  750. test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
  751. ## end gnulib module gnumakefile
  752. ## begin gnulib module gnupload
  753. EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
  754. ## end gnulib module gnupload
  755. ## begin gnulib module gperf
  756. GPERF = gperf
  757. V_GPERF = $(V_GPERF_@AM_V@)
  758. V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
  759. V_GPERF_0 = @echo " GPERF " $@;
  760. ## end gnulib module gperf
  761. ## begin gnulib module hard-locale
  762. if gl_GNULIB_ENABLED_30838f5439487421042f2225bed3af76
  763. libgnu_la_SOURCES += hard-locale.c
  764. endif
  765. EXTRA_DIST += hard-locale.h
  766. ## end gnulib module hard-locale
  767. ## begin gnulib module havelib
  768. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  769. ## end gnulib module havelib
  770. ## begin gnulib module iconv-h
  771. BUILT_SOURCES += $(ICONV_H)
  772. # We need the following in order to create <iconv.h> when the system
  773. # doesn't have one that works with the given compiler.
  774. if GL_GENERATE_ICONV_H
  775. iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  776. $(gl_V_at)$(SED_HEADER_STDOUT) \
  777. -e 's|@''GUARD_PREFIX''@|GL|g' \
  778. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  779. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  780. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  781. -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
  782. -e 's/@''GNULIB_ICONV''@/$(GL_GNULIB_ICONV)/g' \
  783. -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
  784. -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
  785. -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
  786. -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
  787. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  788. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  789. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  790. $(srcdir)/iconv.in.h > $@-t
  791. $(AM_V_at)mv $@-t $@
  792. else
  793. iconv.h: $(top_builddir)/config.status
  794. rm -f $@
  795. endif
  796. MOSTLYCLEANFILES += iconv.h iconv.h-t
  797. EXTRA_DIST += iconv.in.h
  798. ## end gnulib module iconv-h
  799. ## begin gnulib module iconv_open
  800. if GL_COND_OBJ_ICONV_OPEN
  801. libgnu_la_SOURCES += iconv_open.c
  802. endif
  803. if GL_COND_OBJ_ICONV
  804. libgnu_la_SOURCES += iconv.c iconv_close.c
  805. endif
  806. $(srcdir)/iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf
  807. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
  808. mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
  809. $(srcdir)/iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf
  810. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
  811. mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
  812. $(srcdir)/iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf
  813. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
  814. mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
  815. $(srcdir)/iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf
  816. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
  817. mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
  818. $(srcdir)/iconv_open-solaris.h: $(srcdir)/iconv_open-solaris.gperf
  819. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
  820. mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
  821. $(srcdir)/iconv_open-zos.h: $(srcdir)/iconv_open-zos.gperf
  822. $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-zos.gperf > $(srcdir)/iconv_open-zos.h-t && \
  823. mv $(srcdir)/iconv_open-zos.h-t $(srcdir)/iconv_open-zos.h
  824. BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
  825. 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 iconv_open-zos.h-t
  826. MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
  827. EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
  828. EXTRA_DIST += iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open-zos.gperf
  829. ## end gnulib module iconv_open
  830. ## begin gnulib module idx
  831. libgnu_la_SOURCES += idx.h
  832. ## end gnulib module idx
  833. ## begin gnulib module inet_ntop
  834. if GL_COND_OBJ_INET_NTOP
  835. libgnu_la_SOURCES += inet_ntop.c
  836. endif
  837. ## end gnulib module inet_ntop
  838. ## begin gnulib module inet_pton
  839. if GL_COND_OBJ_INET_PTON
  840. libgnu_la_SOURCES += inet_pton.c
  841. endif
  842. ## end gnulib module inet_pton
  843. ## begin gnulib module intprops
  844. EXTRA_DIST += intprops-internal.h intprops.h
  845. ## end gnulib module intprops
  846. ## begin gnulib module inttypes-incomplete
  847. BUILT_SOURCES += inttypes.h
  848. # We need the following in order to create <inttypes.h> when the system
  849. # doesn't have one that works with the given compiler.
  850. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  851. $(gl_V_at)$(SED_HEADER_STDOUT) \
  852. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  853. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  854. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  855. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  856. -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
  857. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  858. -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
  859. -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \
  860. -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \
  861. -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \
  862. -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \
  863. -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
  864. -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
  865. -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
  866. -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
  867. -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
  868. -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
  869. -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
  870. -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
  871. -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
  872. -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
  873. -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
  874. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  875. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  876. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  877. $(srcdir)/inttypes.in.h > $@-t
  878. $(AM_V_at)mv $@-t $@
  879. MOSTLYCLEANFILES += inttypes.h inttypes.h-t
  880. EXTRA_DIST += inttypes.in.h
  881. ## end gnulib module inttypes-incomplete
  882. ## begin gnulib module isfinite
  883. if GL_COND_OBJ_ISFINITE
  884. libgnu_la_SOURCES += isfinite.c
  885. endif
  886. ## end gnulib module isfinite
  887. ## begin gnulib module isinf
  888. if GL_COND_OBJ_ISINF
  889. libgnu_la_SOURCES += isinf.c
  890. endif
  891. ## end gnulib module isinf
  892. ## begin gnulib module isnand
  893. EXTRA_DIST += float+.h isnan.c isnand.c
  894. EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
  895. ## end gnulib module isnand
  896. ## begin gnulib module isnand-nolibm
  897. if gl_GNULIB_ENABLED_b1df7117b479d2da59d76deba468ee21
  898. endif
  899. EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
  900. EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
  901. ## end gnulib module isnand-nolibm
  902. ## begin gnulib module isnanf
  903. EXTRA_DIST += float+.h isnan.c isnanf.c
  904. EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
  905. ## end gnulib module isnanf
  906. ## begin gnulib module isnanf-nolibm
  907. if gl_GNULIB_ENABLED_3f0e593033d1fc2c127581960f641b66
  908. endif
  909. EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
  910. EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
  911. ## end gnulib module isnanf-nolibm
  912. ## begin gnulib module isnanl
  913. EXTRA_DIST += float+.h isnan.c isnanl.c
  914. EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
  915. ## end gnulib module isnanl
  916. ## begin gnulib module isnanl-nolibm
  917. if gl_GNULIB_ENABLED_dbdf22868a5367f28bf18e0013ac6f8f
  918. endif
  919. EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
  920. EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
  921. ## end gnulib module isnanl-nolibm
  922. ## begin gnulib module langinfo
  923. BUILT_SOURCES += langinfo.h
  924. # We need the following in order to create an empty placeholder for
  925. # <langinfo.h> when the system doesn't have one.
  926. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  927. $(gl_V_at)$(SED_HEADER_STDOUT) \
  928. -e 's|@''GUARD_PREFIX''@|GL|g' \
  929. -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  930. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  931. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  932. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  933. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  934. -e 's/@''GNULIB_NL_LANGINFO''@/$(GL_GNULIB_NL_LANGINFO)/g' \
  935. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  936. -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
  937. -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
  938. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  939. -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
  940. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  941. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  942. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  943. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  944. $(srcdir)/langinfo.in.h > $@-t
  945. $(AM_V_at)mv $@-t $@
  946. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  947. EXTRA_DIST += langinfo.in.h
  948. ## end gnulib module langinfo
  949. ## begin gnulib module lib-symbol-visibility
  950. # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
  951. # compilation of all sources that make up the library. This line here does it
  952. # only for the gnulib part of it. The developer is responsible for adding
  953. # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
  954. AM_CFLAGS += $(CFLAG_VISIBILITY)
  955. ## end gnulib module lib-symbol-visibility
  956. ## begin gnulib module libc-config
  957. EXTRA_DIST += cdefs.h libc-config.h
  958. ## end gnulib module libc-config
  959. ## begin gnulib module libunistring
  960. EXTRA_DIST += libunistring.valgrind
  961. ## end gnulib module libunistring
  962. ## begin gnulib module limits-h
  963. BUILT_SOURCES += $(LIMITS_H)
  964. # We need the following in order to create <limits.h> when the system
  965. # doesn't have one that is compatible with GNU.
  966. if GL_GENERATE_LIMITS_H
  967. limits.h: limits.in.h $(top_builddir)/config.status
  968. $(gl_V_at)$(SED_HEADER_STDOUT) \
  969. -e 's|@''GUARD_PREFIX''@|GL|g' \
  970. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  971. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  972. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  973. -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
  974. $(srcdir)/limits.in.h > $@-t
  975. $(AM_V_at)mv $@-t $@
  976. else
  977. limits.h: $(top_builddir)/config.status
  978. rm -f $@
  979. endif
  980. MOSTLYCLEANFILES += limits.h limits.h-t
  981. EXTRA_DIST += limits.in.h
  982. ## end gnulib module limits-h
  983. ## begin gnulib module link
  984. if GL_COND_OBJ_LINK
  985. libgnu_la_SOURCES += link.c
  986. endif
  987. ## end gnulib module link
  988. ## begin gnulib module listen
  989. if GL_COND_OBJ_LISTEN
  990. libgnu_la_SOURCES += listen.c
  991. endif
  992. EXTRA_DIST += w32sock.h
  993. ## end gnulib module listen
  994. ## begin gnulib module localcharset
  995. libgnu_la_SOURCES += localcharset.c
  996. EXTRA_DIST += localcharset.h
  997. ## end gnulib module localcharset
  998. ## begin gnulib module locale
  999. BUILT_SOURCES += locale.h
  1000. # We need the following in order to create <locale.h> when the system
  1001. # doesn't have one that provides all definitions.
  1002. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1003. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1004. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1005. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1006. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1007. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1008. -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
  1009. -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \
  1010. -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \
  1011. -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \
  1012. -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \
  1013. -e 's/@''GNULIB_LOCALENAME''@/$(GL_GNULIB_LOCALENAME)/g' \
  1014. -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
  1015. -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
  1016. -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
  1017. -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
  1018. -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
  1019. -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
  1020. -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
  1021. -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
  1022. -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
  1023. -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
  1024. -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \
  1025. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1026. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1027. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1028. $(srcdir)/locale.in.h > $@-t
  1029. $(AM_V_at)mv $@-t $@
  1030. MOSTLYCLEANFILES += locale.h locale.h-t
  1031. EXTRA_DIST += locale.in.h
  1032. ## end gnulib module locale
  1033. ## begin gnulib module localeconv
  1034. if gl_GNULIB_ENABLED_localeconv
  1035. if GL_COND_OBJ_LOCALECONV
  1036. libgnu_la_SOURCES += localeconv.c
  1037. endif
  1038. endif
  1039. ## end gnulib module localeconv
  1040. ## begin gnulib module log
  1041. if gl_GNULIB_ENABLED_log
  1042. if GL_COND_OBJ_LOG
  1043. libgnu_la_SOURCES += log.c
  1044. endif
  1045. endif
  1046. ## end gnulib module log
  1047. ## begin gnulib module log1p
  1048. if GL_COND_OBJ_LOG1P
  1049. libgnu_la_SOURCES += log1p.c
  1050. endif
  1051. ## end gnulib module log1p
  1052. ## begin gnulib module lstat
  1053. if GL_COND_OBJ_LSTAT
  1054. libgnu_la_SOURCES += lstat.c
  1055. endif
  1056. ## end gnulib module lstat
  1057. ## begin gnulib module maintainer-makefile
  1058. EXTRA_DIST += $(top_srcdir)/maint.mk
  1059. ## end gnulib module maintainer-makefile
  1060. ## begin gnulib module malloc-gnu
  1061. EXTRA_DIST += malloc.c
  1062. EXTRA_libgnu_la_SOURCES += malloc.c
  1063. ## end gnulib module malloc-gnu
  1064. ## begin gnulib module malloc-posix
  1065. EXTRA_DIST += malloc.c
  1066. EXTRA_libgnu_la_SOURCES += malloc.c
  1067. ## end gnulib module malloc-posix
  1068. ## begin gnulib module malloca
  1069. libgnu_la_SOURCES += malloca.c
  1070. EXTRA_DIST += malloca.h
  1071. ## end gnulib module malloca
  1072. ## begin gnulib module math
  1073. BUILT_SOURCES += math.h
  1074. libgnu_la_SOURCES += math.c
  1075. # We need the following in order to create <math.h> when the system
  1076. # doesn't have one that works with the given compiler.
  1077. math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1078. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1079. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1080. -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
  1081. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1082. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1083. -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
  1084. -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \
  1085. -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \
  1086. -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \
  1087. -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \
  1088. -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \
  1089. -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \
  1090. -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \
  1091. -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \
  1092. -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \
  1093. -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \
  1094. -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \
  1095. -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \
  1096. -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \
  1097. -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \
  1098. -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \
  1099. -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \
  1100. -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \
  1101. -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \
  1102. -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \
  1103. -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \
  1104. -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \
  1105. -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \
  1106. -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \
  1107. -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \
  1108. -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \
  1109. -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \
  1110. -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \
  1111. -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \
  1112. -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \
  1113. -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \
  1114. -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \
  1115. -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \
  1116. -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \
  1117. -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \
  1118. -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \
  1119. -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \
  1120. -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \
  1121. -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \
  1122. -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \
  1123. -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \
  1124. -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \
  1125. -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \
  1126. -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \
  1127. -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \
  1128. < $(srcdir)/math.in.h | \
  1129. sed -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \
  1130. -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \
  1131. -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \
  1132. -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \
  1133. -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \
  1134. -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \
  1135. -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \
  1136. -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \
  1137. -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \
  1138. -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \
  1139. -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \
  1140. -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \
  1141. -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \
  1142. -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \
  1143. -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \
  1144. -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \
  1145. -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \
  1146. -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \
  1147. -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \
  1148. -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \
  1149. -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \
  1150. -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \
  1151. -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \
  1152. -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \
  1153. -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \
  1154. -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \
  1155. -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \
  1156. -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \
  1157. -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \
  1158. -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \
  1159. -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \
  1160. -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \
  1161. -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \
  1162. -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \
  1163. -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \
  1164. -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \
  1165. -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \
  1166. -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \
  1167. -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \
  1168. -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \
  1169. -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \
  1170. -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \
  1171. -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \
  1172. -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \
  1173. -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \
  1174. -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \
  1175. -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \
  1176. -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \
  1177. -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \
  1178. -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \
  1179. -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \
  1180. -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \
  1181. -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \
  1182. -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \
  1183. -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \
  1184. -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \
  1185. -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \
  1186. | \
  1187. sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
  1188. -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
  1189. -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
  1190. -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
  1191. -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
  1192. -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
  1193. -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
  1194. -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
  1195. -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
  1196. -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
  1197. -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
  1198. -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
  1199. -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
  1200. -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
  1201. -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
  1202. -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
  1203. -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
  1204. -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
  1205. -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
  1206. -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
  1207. -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
  1208. -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
  1209. -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
  1210. -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
  1211. -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
  1212. -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
  1213. -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
  1214. -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
  1215. -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
  1216. -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
  1217. -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
  1218. -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
  1219. -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
  1220. -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
  1221. -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
  1222. -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
  1223. -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
  1224. -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
  1225. -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
  1226. -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
  1227. -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
  1228. -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
  1229. -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
  1230. -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
  1231. -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
  1232. -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
  1233. -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
  1234. -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
  1235. -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
  1236. -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
  1237. -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
  1238. -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
  1239. -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
  1240. -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
  1241. -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
  1242. -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
  1243. -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
  1244. -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
  1245. -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
  1246. -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
  1247. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  1248. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  1249. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  1250. -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
  1251. -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
  1252. -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
  1253. -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
  1254. -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
  1255. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  1256. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  1257. -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
  1258. -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
  1259. -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
  1260. -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
  1261. -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
  1262. -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
  1263. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  1264. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  1265. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  1266. -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
  1267. -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
  1268. -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
  1269. -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
  1270. -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
  1271. -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
  1272. -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
  1273. -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
  1274. -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
  1275. -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
  1276. -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
  1277. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  1278. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  1279. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  1280. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  1281. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  1282. -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
  1283. | \
  1284. sed -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \
  1285. -e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \
  1286. -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \
  1287. -e 's|@''REPLACE_ATAN2F''@|$(REPLACE_ATAN2F)|g' \
  1288. -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
  1289. -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
  1290. -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
  1291. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  1292. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  1293. -e 's|@''REPLACE_COSF''@|$(REPLACE_COSF)|g' \
  1294. -e 's|@''REPLACE_COSHF''@|$(REPLACE_COSHF)|g' \
  1295. -e 's|@''REPLACE_EXPF''@|$(REPLACE_EXPF)|g' \
  1296. -e 's|@''REPLACE_EXPL''@|$(REPLACE_EXPL)|g' \
  1297. -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
  1298. -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
  1299. -e 's|@''REPLACE_EXPM1L''@|$(REPLACE_EXPM1L)|g' \
  1300. -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
  1301. -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
  1302. -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
  1303. -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
  1304. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  1305. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  1306. -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
  1307. -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
  1308. -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
  1309. -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
  1310. -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
  1311. -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
  1312. -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
  1313. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  1314. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  1315. -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
  1316. -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
  1317. -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
  1318. -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
  1319. -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
  1320. -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
  1321. -e 's|@''REPLACE_ILOGBL''@|$(REPLACE_ILOGBL)|g' \
  1322. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  1323. -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
  1324. -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
  1325. -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
  1326. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  1327. -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
  1328. -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
  1329. -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
  1330. -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
  1331. -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
  1332. -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
  1333. -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
  1334. -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
  1335. -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
  1336. -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
  1337. -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
  1338. -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
  1339. -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
  1340. -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
  1341. -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
  1342. -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
  1343. -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
  1344. -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
  1345. -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
  1346. -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
  1347. -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
  1348. -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
  1349. -e 's|@''REPLACE_RINTL''@|$(REPLACE_RINTL)|g' \
  1350. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  1351. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  1352. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  1353. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  1354. -e 's|@''REPLACE_SIGNBIT_USING_BUILTINS''@|$(REPLACE_SIGNBIT_USING_BUILTINS)|g' \
  1355. -e 's|@''REPLACE_SINF''@|$(REPLACE_SINF)|g' \
  1356. -e 's|@''REPLACE_SINHF''@|$(REPLACE_SINHF)|g' \
  1357. -e 's|@''REPLACE_SQRTF''@|$(REPLACE_SQRTF)|g' \
  1358. -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
  1359. -e 's|@''REPLACE_TANF''@|$(REPLACE_TANF)|g' \
  1360. -e 's|@''REPLACE_TANHF''@|$(REPLACE_TANHF)|g' \
  1361. -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
  1362. -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
  1363. -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
  1364. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1365. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1366. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1367. > $@-t
  1368. $(AM_V_at)mv $@-t $@
  1369. MOSTLYCLEANFILES += math.h math.h-t
  1370. EXTRA_DIST += math.in.h
  1371. ## end gnulib module math
  1372. ## begin gnulib module mbrtowc
  1373. if gl_GNULIB_ENABLED_mbrtowc
  1374. if GL_COND_OBJ_MBRTOWC
  1375. libgnu_la_SOURCES += mbrtowc.c
  1376. endif
  1377. endif
  1378. EXTRA_DIST += lc-charset-dispatch.c lc-charset-dispatch.h mbrtowc-impl-utf8.h mbrtowc-impl.h mbtowc-lock.c mbtowc-lock.h windows-initguard.h
  1379. EXTRA_libgnu_la_SOURCES += lc-charset-dispatch.c mbtowc-lock.c
  1380. ## end gnulib module mbrtowc
  1381. ## begin gnulib module mbsinit
  1382. if gl_GNULIB_ENABLED_mbsinit
  1383. if GL_COND_OBJ_MBSINIT
  1384. libgnu_la_SOURCES += mbsinit.c
  1385. endif
  1386. endif
  1387. ## end gnulib module mbsinit
  1388. ## begin gnulib module mbtowc
  1389. if gl_GNULIB_ENABLED_mbtowc
  1390. if GL_COND_OBJ_MBTOWC
  1391. libgnu_la_SOURCES += mbtowc.c
  1392. endif
  1393. endif
  1394. EXTRA_DIST += mbtowc-impl.h
  1395. ## end gnulib module mbtowc
  1396. ## begin gnulib module memchr
  1397. if gl_GNULIB_ENABLED_memchr
  1398. if GL_COND_OBJ_MEMCHR
  1399. libgnu_la_SOURCES += memchr.c
  1400. endif
  1401. endif
  1402. EXTRA_DIST += memchr.valgrind
  1403. ## end gnulib module memchr
  1404. ## begin gnulib module mempcpy
  1405. if gl_GNULIB_ENABLED_mempcpy
  1406. if GL_COND_OBJ_MEMPCPY
  1407. libgnu_la_SOURCES += mempcpy.c
  1408. endif
  1409. endif
  1410. ## end gnulib module mempcpy
  1411. ## begin gnulib module minmax
  1412. libgnu_la_SOURCES += minmax.h
  1413. ## end gnulib module minmax
  1414. ## begin gnulib module mkdir
  1415. if GL_COND_OBJ_MKDIR
  1416. libgnu_la_SOURCES += mkdir.c
  1417. endif
  1418. ## end gnulib module mkdir
  1419. ## begin gnulib module mkostemp
  1420. if GL_COND_OBJ_MKOSTEMP
  1421. libgnu_la_SOURCES += mkostemp.c
  1422. endif
  1423. ## end gnulib module mkostemp
  1424. ## begin gnulib module mktime
  1425. if gl_GNULIB_ENABLED_mktime
  1426. endif
  1427. EXTRA_DIST += mktime-internal.h mktime.c
  1428. EXTRA_libgnu_la_SOURCES += mktime.c
  1429. ## end gnulib module mktime
  1430. ## begin gnulib module mktime-internal
  1431. if gl_GNULIB_ENABLED_5264294aa0a5557541b53c8c741f7f31
  1432. endif
  1433. EXTRA_DIST += mktime-internal.h mktime.c
  1434. EXTRA_libgnu_la_SOURCES += mktime.c
  1435. ## end gnulib module mktime-internal
  1436. ## begin gnulib module msvc-inval
  1437. if GL_COND_OBJ_MSVC_INVAL
  1438. libgnu_la_SOURCES += msvc-inval.c
  1439. endif
  1440. EXTRA_DIST += msvc-inval.h
  1441. ## end gnulib module msvc-inval
  1442. ## begin gnulib module msvc-nothrow
  1443. if GL_COND_OBJ_MSVC_NOTHROW
  1444. libgnu_la_SOURCES += msvc-nothrow.c
  1445. endif
  1446. EXTRA_DIST += msvc-nothrow.h
  1447. ## end gnulib module msvc-nothrow
  1448. ## begin gnulib module netdb
  1449. BUILT_SOURCES += netdb.h
  1450. # We need the following in order to create <netdb.h> when the system
  1451. # doesn't have one that works with the given compiler.
  1452. netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1453. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1454. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1455. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1456. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1457. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1458. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  1459. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  1460. -e 's/@''GNULIB_GETADDRINFO''@/$(GL_GNULIB_GETADDRINFO)/g' \
  1461. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  1462. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  1463. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  1464. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  1465. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  1466. -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
  1467. -e 's|@''REPLACE_GETADDRINFO''@|$(REPLACE_GETADDRINFO)|g' \
  1468. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1469. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1470. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1471. $(srcdir)/netdb.in.h > $@-t
  1472. $(AM_V_at)mv $@-t $@
  1473. MOSTLYCLEANFILES += netdb.h netdb.h-t
  1474. EXTRA_DIST += netdb.in.h
  1475. ## end gnulib module netdb
  1476. ## begin gnulib module netinet_in
  1477. if gl_GNULIB_ENABLED_netinet_in
  1478. BUILT_SOURCES += $(NETINET_IN_H)
  1479. # We need the following in order to create <netinet/in.h> when the system
  1480. # doesn't have one.
  1481. if GL_GENERATE_NETINET_IN_H
  1482. netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
  1483. $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
  1484. $(AM_V_at)$(SED_HEADER_STDOUT) \
  1485. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1486. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1487. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1488. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1489. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  1490. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  1491. $(srcdir)/netinet_in.in.h > $@-t
  1492. $(AM_V_at)mv $@-t $@
  1493. else
  1494. netinet/in.h: $(top_builddir)/config.status
  1495. rm -f $@
  1496. endif
  1497. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  1498. MOSTLYCLEANDIRS += netinet
  1499. endif
  1500. EXTRA_DIST += netinet_in.in.h
  1501. ## end gnulib module netinet_in
  1502. ## begin gnulib module nl_langinfo
  1503. if GL_COND_OBJ_NL_LANGINFO
  1504. libgnu_la_SOURCES += nl_langinfo.c
  1505. endif
  1506. if GL_COND_OBJ_NL_LANGINFO_LOCK
  1507. libgnu_la_SOURCES += nl_langinfo-lock.c
  1508. endif
  1509. EXTRA_DIST += windows-initguard.h
  1510. ## end gnulib module nl_langinfo
  1511. ## begin gnulib module nproc
  1512. libgnu_la_SOURCES += nproc.c
  1513. EXTRA_DIST += nproc.h
  1514. ## end gnulib module nproc
  1515. ## begin gnulib module nstrftime
  1516. libgnu_la_SOURCES += nstrftime.c
  1517. EXTRA_DIST += strftime.h
  1518. ## end gnulib module nstrftime
  1519. ## begin gnulib module open
  1520. if GL_COND_OBJ_OPEN
  1521. libgnu_la_SOURCES += open.c
  1522. endif
  1523. ## end gnulib module open
  1524. ## begin gnulib module pathmax
  1525. if gl_GNULIB_ENABLED_pathmax
  1526. endif
  1527. EXTRA_DIST += pathmax.h
  1528. ## end gnulib module pathmax
  1529. ## begin gnulib module pipe-posix
  1530. if GL_COND_OBJ_PIPE
  1531. libgnu_la_SOURCES += pipe.c
  1532. endif
  1533. ## end gnulib module pipe-posix
  1534. ## begin gnulib module pipe2
  1535. libgnu_la_SOURCES += pipe2.c
  1536. ## end gnulib module pipe2
  1537. ## begin gnulib module poll
  1538. if GL_COND_OBJ_POLL
  1539. libgnu_la_SOURCES += poll.c
  1540. endif
  1541. ## end gnulib module poll
  1542. ## begin gnulib module poll-h
  1543. BUILT_SOURCES += poll.h
  1544. # We need the following in order to create <poll.h> when the system
  1545. # doesn't have one.
  1546. poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  1547. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1548. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1549. -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
  1550. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1551. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1552. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1553. -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \
  1554. -e 's/@''GNULIB_POLL''@/$(GL_GNULIB_POLL)/g' \
  1555. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  1556. -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \
  1557. -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \
  1558. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1559. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1560. $(srcdir)/poll.in.h > $@-t
  1561. $(AM_V_at)mv $@-t $@
  1562. MOSTLYCLEANFILES += poll.h poll.h-t
  1563. EXTRA_DIST += poll.in.h
  1564. ## end gnulib module poll-h
  1565. ## begin gnulib module posix_spawn
  1566. if GL_COND_OBJ_SPAWN
  1567. libgnu_la_SOURCES += spawn.c
  1568. endif
  1569. ## end gnulib module posix_spawn
  1570. ## begin gnulib module posix_spawn-internal
  1571. if gl_GNULIB_ENABLED_332607f759618fb73dfc3076748afea7
  1572. if GL_COND_OBJ_SPAWNI
  1573. libgnu_la_SOURCES += spawni.c
  1574. endif
  1575. endif
  1576. EXTRA_DIST += spawn_int.h
  1577. ## end gnulib module posix_spawn-internal
  1578. ## begin gnulib module posix_spawn_file_actions_addclose
  1579. if GL_COND_OBJ_SPAWN_FACTION_ADDCLOSE
  1580. libgnu_la_SOURCES += spawn_faction_addclose.c
  1581. endif
  1582. EXTRA_DIST += spawn_int.h
  1583. ## end gnulib module posix_spawn_file_actions_addclose
  1584. ## begin gnulib module posix_spawn_file_actions_adddup2
  1585. if GL_COND_OBJ_SPAWN_FACTION_ADDDUP2
  1586. libgnu_la_SOURCES += spawn_faction_adddup2.c
  1587. endif
  1588. EXTRA_DIST += spawn_int.h
  1589. ## end gnulib module posix_spawn_file_actions_adddup2
  1590. ## begin gnulib module posix_spawn_file_actions_addopen
  1591. if GL_COND_OBJ_SPAWN_FACTION_ADDOPEN
  1592. libgnu_la_SOURCES += spawn_faction_addopen.c
  1593. endif
  1594. EXTRA_DIST += spawn_int.h
  1595. ## end gnulib module posix_spawn_file_actions_addopen
  1596. ## begin gnulib module posix_spawn_file_actions_init
  1597. if GL_COND_OBJ_SPAWN_FACTION_INIT
  1598. libgnu_la_SOURCES += spawn_faction_init.c
  1599. endif
  1600. EXTRA_DIST += spawn_int.h
  1601. ## end gnulib module posix_spawn_file_actions_init
  1602. ## begin gnulib module posix_spawnp
  1603. if GL_COND_OBJ_SPAWNP
  1604. libgnu_la_SOURCES += spawnp.c
  1605. endif
  1606. ## end gnulib module posix_spawnp
  1607. ## begin gnulib module putenv
  1608. if GL_COND_OBJ_PUTENV
  1609. libgnu_la_SOURCES += putenv.c
  1610. endif
  1611. ## end gnulib module putenv
  1612. ## begin gnulib module raise
  1613. if gl_GNULIB_ENABLED_raise
  1614. if GL_COND_OBJ_RAISE
  1615. libgnu_la_SOURCES += raise.c
  1616. endif
  1617. endif
  1618. ## end gnulib module raise
  1619. ## begin gnulib module rawmemchr
  1620. if gl_GNULIB_ENABLED_rawmemchr
  1621. if GL_COND_OBJ_RAWMEMCHR
  1622. libgnu_la_SOURCES += rawmemchr.c
  1623. endif
  1624. endif
  1625. EXTRA_DIST += rawmemchr.valgrind
  1626. ## end gnulib module rawmemchr
  1627. ## begin gnulib module read
  1628. if GL_COND_OBJ_READ
  1629. libgnu_la_SOURCES += read.c
  1630. endif
  1631. ## end gnulib module read
  1632. ## begin gnulib module readlink
  1633. if GL_COND_OBJ_READLINK
  1634. libgnu_la_SOURCES += readlink.c
  1635. endif
  1636. ## end gnulib module readlink
  1637. ## begin gnulib module realloc-posix
  1638. if gl_GNULIB_ENABLED_61bcaca76b3e6f9ae55d57a1c3193bc4
  1639. endif
  1640. EXTRA_DIST += realloc.c
  1641. EXTRA_libgnu_la_SOURCES += realloc.c
  1642. ## end gnulib module realloc-posix
  1643. ## begin gnulib module recv
  1644. if GL_COND_OBJ_RECV
  1645. libgnu_la_SOURCES += recv.c
  1646. endif
  1647. EXTRA_DIST += w32sock.h
  1648. ## end gnulib module recv
  1649. ## begin gnulib module recvfrom
  1650. if GL_COND_OBJ_RECVFROM
  1651. libgnu_la_SOURCES += recvfrom.c
  1652. endif
  1653. EXTRA_DIST += w32sock.h
  1654. ## end gnulib module recvfrom
  1655. ## begin gnulib module regex
  1656. if GL_COND_OBJ_REGEX
  1657. libgnu_la_SOURCES += regex.c
  1658. endif
  1659. EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
  1660. EXTRA_libgnu_la_SOURCES += regcomp.c regex_internal.c regexec.c
  1661. ## end gnulib module regex
  1662. ## begin gnulib module rename
  1663. if GL_COND_OBJ_RENAME
  1664. libgnu_la_SOURCES += rename.c
  1665. endif
  1666. ## end gnulib module rename
  1667. ## begin gnulib module rmdir
  1668. if GL_COND_OBJ_RMDIR
  1669. libgnu_la_SOURCES += rmdir.c
  1670. endif
  1671. ## end gnulib module rmdir
  1672. ## begin gnulib module round
  1673. if gl_GNULIB_ENABLED_round
  1674. if GL_COND_OBJ_ROUND
  1675. libgnu_la_SOURCES += round.c
  1676. endif
  1677. endif
  1678. ## end gnulib module round
  1679. ## begin gnulib module safe-read
  1680. libgnu_la_SOURCES += safe-read.c
  1681. EXTRA_DIST += safe-read.h sys-limits.h
  1682. ## end gnulib module safe-read
  1683. ## begin gnulib module safe-write
  1684. libgnu_la_SOURCES += safe-write.c
  1685. EXTRA_DIST += safe-read.c safe-write.h sys-limits.h
  1686. EXTRA_libgnu_la_SOURCES += safe-read.c
  1687. ## end gnulib module safe-write
  1688. ## begin gnulib module same-inode
  1689. if gl_GNULIB_ENABLED_9bc5f216d57e231e4834049d67d0db62
  1690. endif
  1691. EXTRA_DIST += same-inode.h
  1692. ## end gnulib module same-inode
  1693. ## begin gnulib module sched
  1694. BUILT_SOURCES += sched.h
  1695. # We need the following in order to create a replacement for <sched.h> when
  1696. # the system doesn't have one.
  1697. sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  1698. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1699. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1700. -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
  1701. -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
  1702. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1703. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1704. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1705. -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \
  1706. -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \
  1707. -e 's/@''GNULIB_SCHED_YIELD''@/$(GL_GNULIB_SCHED_YIELD)/g' \
  1708. -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \
  1709. -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \
  1710. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1711. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1712. $(srcdir)/sched.in.h > $@-t
  1713. $(AM_V_at)mv $@-t $@
  1714. MOSTLYCLEANFILES += sched.h sched.h-t
  1715. EXTRA_DIST += sched.in.h
  1716. ## end gnulib module sched
  1717. ## begin gnulib module select
  1718. if GL_COND_OBJ_SELECT
  1719. libgnu_la_SOURCES += select.c
  1720. endif
  1721. ## end gnulib module select
  1722. ## begin gnulib module send
  1723. if GL_COND_OBJ_SEND
  1724. libgnu_la_SOURCES += send.c
  1725. endif
  1726. EXTRA_DIST += w32sock.h
  1727. ## end gnulib module send
  1728. ## begin gnulib module sendto
  1729. if GL_COND_OBJ_SENDTO
  1730. libgnu_la_SOURCES += sendto.c
  1731. endif
  1732. EXTRA_DIST += w32sock.h
  1733. ## end gnulib module sendto
  1734. ## begin gnulib module setenv
  1735. if GL_COND_OBJ_SETENV
  1736. libgnu_la_SOURCES += setenv.c
  1737. endif
  1738. ## end gnulib module setenv
  1739. ## begin gnulib module setlocale-null
  1740. if gl_GNULIB_ENABLED_e7e881d32ca02f1c997b13c737c64bbd
  1741. libgnu_la_SOURCES += setlocale_null.c
  1742. if GL_COND_OBJ_SETLOCALE_LOCK
  1743. libgnu_la_SOURCES += setlocale-lock.c
  1744. endif
  1745. endif
  1746. EXTRA_DIST += setlocale_null.h windows-initguard.h
  1747. ## end gnulib module setlocale-null
  1748. ## begin gnulib module setsockopt
  1749. if GL_COND_OBJ_SETSOCKOPT
  1750. libgnu_la_SOURCES += setsockopt.c
  1751. endif
  1752. EXTRA_DIST += w32sock.h
  1753. ## end gnulib module setsockopt
  1754. ## begin gnulib module shutdown
  1755. if GL_COND_OBJ_SHUTDOWN
  1756. libgnu_la_SOURCES += shutdown.c
  1757. endif
  1758. EXTRA_DIST += w32sock.h
  1759. ## end gnulib module shutdown
  1760. ## begin gnulib module signal-h
  1761. BUILT_SOURCES += signal.h
  1762. # We need the following in order to create <signal.h> when the system
  1763. # doesn't have a complete one.
  1764. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1765. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1766. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1767. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1768. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1769. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1770. -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
  1771. -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GL_GNULIB_PTHREAD_SIGMASK)/g' \
  1772. -e 's/@''GNULIB_RAISE''@/$(GL_GNULIB_RAISE)/g' \
  1773. -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GL_GNULIB_SIGNAL_H_SIGPIPE)/g' \
  1774. -e 's/@''GNULIB_SIGPROCMASK''@/$(GL_GNULIB_SIGPROCMASK)/g' \
  1775. -e 's/@''GNULIB_SIGACTION''@/$(GL_GNULIB_SIGACTION)/g' \
  1776. -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
  1777. -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
  1778. -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
  1779. -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
  1780. -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
  1781. -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
  1782. -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
  1783. -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
  1784. -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
  1785. -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
  1786. -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
  1787. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1788. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1789. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1790. $(srcdir)/signal.in.h > $@-t
  1791. $(AM_V_at)mv $@-t $@
  1792. MOSTLYCLEANFILES += signal.h signal.h-t
  1793. EXTRA_DIST += signal.in.h
  1794. ## end gnulib module signal-h
  1795. ## begin gnulib module signbit
  1796. if gl_GNULIB_ENABLED_signbit
  1797. if GL_COND_OBJ_SIGNBIT3
  1798. libgnu_la_SOURCES += signbitf.c signbitd.c signbitl.c
  1799. endif
  1800. endif
  1801. EXTRA_DIST += float+.h
  1802. ## end gnulib module signbit
  1803. ## begin gnulib module size_max
  1804. if gl_GNULIB_ENABLED_size_max
  1805. libgnu_la_SOURCES += size_max.h
  1806. endif
  1807. ## end gnulib module size_max
  1808. ## begin gnulib module snippet/_Noreturn
  1809. # Because this Makefile snippet defines a variable used by other
  1810. # gnulib Makefile snippets, it must be present in all makefiles that
  1811. # need it. This is ensured by the applicability 'all' defined above.
  1812. _NORETURN_H=$(srcdir)/_Noreturn.h
  1813. EXTRA_DIST += _Noreturn.h
  1814. ## end gnulib module snippet/_Noreturn
  1815. ## begin gnulib module snippet/arg-nonnull
  1816. # Because this Makefile snippet defines a variable used by other
  1817. # gnulib Makefile snippets, it must be present in all makefiles that
  1818. # need it. This is ensured by the applicability 'all' defined above.
  1819. ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
  1820. EXTRA_DIST += arg-nonnull.h
  1821. ## end gnulib module snippet/arg-nonnull
  1822. ## begin gnulib module snippet/c++defs
  1823. # Because this Makefile snippet defines a variable used by other
  1824. # gnulib Makefile snippets, it must be present in all makefiles that
  1825. # need it. This is ensured by the applicability 'all' defined above.
  1826. CXXDEFS_H=$(srcdir)/c++defs.h
  1827. EXTRA_DIST += c++defs.h
  1828. ## end gnulib module snippet/c++defs
  1829. ## begin gnulib module snippet/warn-on-use
  1830. # Because this Makefile snippet defines a variable used by other
  1831. # gnulib Makefile snippets, it must be present in all makefiles that
  1832. # need it. This is ensured by the applicability 'all' defined above.
  1833. WARN_ON_USE_H=$(srcdir)/warn-on-use.h
  1834. EXTRA_DIST += warn-on-use.h
  1835. ## end gnulib module snippet/warn-on-use
  1836. ## begin gnulib module snprintf
  1837. if gl_GNULIB_ENABLED_snprintf
  1838. endif
  1839. EXTRA_DIST += snprintf.c
  1840. EXTRA_libgnu_la_SOURCES += snprintf.c
  1841. ## end gnulib module snprintf
  1842. ## begin gnulib module socket
  1843. if GL_COND_OBJ_SOCKET
  1844. libgnu_la_SOURCES += socket.c
  1845. endif
  1846. EXTRA_DIST += w32sock.h
  1847. ## end gnulib module socket
  1848. ## begin gnulib module sockets
  1849. if gl_GNULIB_ENABLED_sockets
  1850. libgnu_la_SOURCES += sockets.h sockets.c
  1851. endif
  1852. EXTRA_DIST += w32sock.h
  1853. ## end gnulib module sockets
  1854. ## begin gnulib module spawn
  1855. BUILT_SOURCES += spawn.h
  1856. # We need the following in order to create a replacement for <spawn.h> when
  1857. # the system doesn't have one.
  1858. spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1859. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1860. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1861. -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
  1862. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1863. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1864. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1865. -e 's|@''NEXT_SPAWN_H''@|$(NEXT_SPAWN_H)|g' \
  1866. -e 's/@''GNULIB_POSIX_SPAWN''@/$(GL_GNULIB_POSIX_SPAWN)/g' \
  1867. -e 's/@''GNULIB_POSIX_SPAWNP''@/$(GL_GNULIB_POSIX_SPAWNP)/g' \
  1868. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT)/g' \
  1869. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)/g' \
  1870. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE)/g' \
  1871. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2)/g' \
  1872. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR)/g' \
  1873. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN)/g' \
  1874. -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY''@/$(GL_GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY)/g' \
  1875. -e 's/@''GNULIB_POSIX_SPAWNATTR_INIT''@/$(GL_GNULIB_POSIX_SPAWNATTR_INIT)/g' \
  1876. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETFLAGS''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETFLAGS)/g' \
  1877. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETFLAGS''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETFLAGS)/g' \
  1878. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETPGROUP''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETPGROUP)/g' \
  1879. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETPGROUP''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETPGROUP)/g' \
  1880. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM)/g' \
  1881. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM)/g' \
  1882. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY)/g' \
  1883. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY)/g' \
  1884. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT)/g' \
  1885. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT)/g' \
  1886. -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSIGMASK''@/$(GL_GNULIB_POSIX_SPAWNATTR_GETSIGMASK)/g' \
  1887. -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@/$(GL_GNULIB_POSIX_SPAWNATTR_SETSIGMASK)/g' \
  1888. -e 's/@''GNULIB_POSIX_SPAWNATTR_DESTROY''@/$(GL_GNULIB_POSIX_SPAWNATTR_DESTROY)/g' \
  1889. -e 's|@''HAVE_POSIX_SPAWN''@|$(HAVE_POSIX_SPAWN)|g' \
  1890. -e 's|@''HAVE_POSIX_SPAWNATTR_T''@|$(HAVE_POSIX_SPAWNATTR_T)|g' \
  1891. -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_T)|g' \
  1892. -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)|g' \
  1893. -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR)|g' \
  1894. -e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \
  1895. -e 's|@''REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR''@|$(REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)|g' \
  1896. -e 's|@''REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@|$(REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE)|g' \
  1897. -e 's|@''REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@|$(REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2)|g' \
  1898. -e 's|@''REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR''@|$(REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR)|g' \
  1899. -e 's|@''REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@|$(REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN)|g' \
  1900. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1901. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1902. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1903. $(srcdir)/spawn.in.h > $@-t
  1904. $(AM_V_at)mv $@-t $@
  1905. MOSTLYCLEANFILES += spawn.h spawn.h-t
  1906. EXTRA_DIST += spawn.in.h
  1907. ## end gnulib module spawn
  1908. ## begin gnulib module stat
  1909. if gl_GNULIB_ENABLED_stat
  1910. if GL_COND_OBJ_STAT
  1911. libgnu_la_SOURCES += stat.c
  1912. endif
  1913. endif
  1914. EXTRA_DIST += stat-w32.c stat-w32.h
  1915. EXTRA_libgnu_la_SOURCES += stat-w32.c
  1916. ## end gnulib module stat
  1917. ## begin gnulib module stat-time
  1918. libgnu_la_SOURCES += stat-time.c
  1919. EXTRA_DIST += stat-time.h
  1920. ## end gnulib module stat-time
  1921. ## begin gnulib module stdckdint
  1922. BUILT_SOURCES += $(STDCKDINT_H)
  1923. # We need the following in order to create <stdckdint.h> when the system
  1924. # doesn't have one that works with the given compiler.
  1925. if GL_GENERATE_STDCKDINT_H
  1926. stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
  1927. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1928. $(srcdir)/stdckdint.in.h > $@-t
  1929. $(AM_V_at)mv $@-t $@
  1930. else
  1931. stdckdint.h: $(top_builddir)/config.status
  1932. rm -f $@
  1933. endif
  1934. MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
  1935. EXTRA_DIST += intprops-internal.h stdckdint.in.h
  1936. ## end gnulib module stdckdint
  1937. ## begin gnulib module stddef
  1938. BUILT_SOURCES += $(STDDEF_H)
  1939. # We need the following in order to create <stddef.h> when the system
  1940. # doesn't have one that works with the given compiler.
  1941. if GL_GENERATE_STDDEF_H
  1942. stddef.h: stddef.in.h $(top_builddir)/config.status
  1943. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1944. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1945. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1946. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1947. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1948. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  1949. -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
  1950. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  1951. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  1952. $(srcdir)/stddef.in.h > $@-t
  1953. $(AM_V_at)mv $@-t $@
  1954. else
  1955. stddef.h: $(top_builddir)/config.status
  1956. rm -f $@
  1957. endif
  1958. MOSTLYCLEANFILES += stddef.h stddef.h-t
  1959. EXTRA_DIST += stddef.in.h
  1960. ## end gnulib module stddef
  1961. ## begin gnulib module stdint
  1962. BUILT_SOURCES += $(STDINT_H)
  1963. # We need the following in order to create <stdint.h> when the system
  1964. # doesn't have one that works with the given compiler.
  1965. if GL_GENERATE_STDINT_H
  1966. stdint.h: stdint.in.h $(top_builddir)/config.status
  1967. $(gl_V_at)$(SED_HEADER_STDOUT) \
  1968. -e 's|@''GUARD_PREFIX''@|GL|g' \
  1969. -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  1970. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1971. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1972. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  1973. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  1974. -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
  1975. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  1976. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  1977. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  1978. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  1979. -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  1980. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  1981. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  1982. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  1983. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  1984. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  1985. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  1986. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  1987. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  1988. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  1989. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  1990. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  1991. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  1992. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  1993. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  1994. -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
  1995. $(srcdir)/stdint.in.h > $@-t
  1996. $(AM_V_at)mv $@-t $@
  1997. else
  1998. stdint.h: $(top_builddir)/config.status
  1999. rm -f $@
  2000. endif
  2001. MOSTLYCLEANFILES += stdint.h stdint.h-t
  2002. EXTRA_DIST += stdint.in.h
  2003. ## end gnulib module stdint
  2004. ## begin gnulib module stdio
  2005. BUILT_SOURCES += stdio.h
  2006. # We need the following in order to create <stdio.h> when the system
  2007. # doesn't have one that works with the given compiler.
  2008. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2009. $(gl_V_at)$(SED_HEADER_STDOUT) \
  2010. -e 's|@''GUARD_PREFIX''@|GL|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_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  2015. -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \
  2016. -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \
  2017. -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \
  2018. -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \
  2019. -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
  2020. -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
  2021. -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
  2022. -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
  2023. -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
  2024. -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
  2025. -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
  2026. -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \
  2027. -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \
  2028. -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \
  2029. -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \
  2030. -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \
  2031. -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \
  2032. -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \
  2033. -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \
  2034. -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \
  2035. -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \
  2036. -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \
  2037. -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \
  2038. -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \
  2039. -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \
  2040. -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \
  2041. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \
  2042. -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \
  2043. -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \
  2044. -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \
  2045. -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \
  2046. -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \
  2047. -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \
  2048. -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \
  2049. -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \
  2050. -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \
  2051. -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \
  2052. -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \
  2053. -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \
  2054. -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \
  2055. -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \
  2056. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \
  2057. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \
  2058. -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \
  2059. -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \
  2060. -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \
  2061. -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \
  2062. -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \
  2063. -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \
  2064. -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \
  2065. -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \
  2066. -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \
  2067. -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \
  2068. -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \
  2069. -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \
  2070. -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \
  2071. -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \
  2072. -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \
  2073. -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \
  2074. -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \
  2075. < $(srcdir)/stdio.in.h | \
  2076. sed -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
  2077. -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  2078. -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
  2079. -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
  2080. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  2081. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  2082. -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
  2083. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  2084. -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
  2085. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  2086. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  2087. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  2088. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  2089. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  2090. -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
  2091. -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
  2092. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  2093. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  2094. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  2095. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  2096. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  2097. -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
  2098. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  2099. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  2100. -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
  2101. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  2102. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  2103. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  2104. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  2105. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  2106. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  2107. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  2108. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  2109. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  2110. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  2111. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  2112. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  2113. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  2114. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  2115. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  2116. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  2117. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  2118. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  2119. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
  2120. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  2121. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  2122. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  2123. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  2124. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  2125. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  2126. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  2127. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  2128. -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
  2129. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2130. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2131. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2132. > $@-t
  2133. $(AM_V_at)mv $@-t $@
  2134. MOSTLYCLEANFILES += stdio.h stdio.h-t
  2135. if GL_COND_OBJ_STDIO_READ
  2136. libgnu_la_SOURCES += stdio-read.c
  2137. endif
  2138. if GL_COND_OBJ_STDIO_WRITE
  2139. libgnu_la_SOURCES += stdio-write.c
  2140. endif
  2141. EXTRA_DIST += stdio.in.h
  2142. ## end gnulib module stdio
  2143. ## begin gnulib module stdlib
  2144. BUILT_SOURCES += stdlib.h
  2145. # We need the following in order to create <stdlib.h> when the system
  2146. # doesn't have one that works with the given compiler.
  2147. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
  2148. $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2149. $(gl_V_at)$(SED_HEADER_STDOUT) \
  2150. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2151. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2152. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2153. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2154. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  2155. -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
  2156. -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
  2157. -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
  2158. -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
  2159. -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
  2160. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
  2161. -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
  2162. -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
  2163. -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
  2164. -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
  2165. -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
  2166. -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
  2167. -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
  2168. -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
  2169. -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \
  2170. -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \
  2171. -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \
  2172. -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \
  2173. -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \
  2174. -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \
  2175. -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \
  2176. -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \
  2177. -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \
  2178. -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
  2179. -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
  2180. -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
  2181. -e 's/@''GNULIB_REALLOC_GNU''@/$(GL_GNULIB_REALLOC_GNU)/g' \
  2182. -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
  2183. -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
  2184. -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
  2185. -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \
  2186. -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \
  2187. -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \
  2188. -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \
  2189. -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \
  2190. -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \
  2191. -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \
  2192. -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \
  2193. -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \
  2194. -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \
  2195. -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \
  2196. -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \
  2197. -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \
  2198. -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \
  2199. -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \
  2200. -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \
  2201. -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \
  2202. -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \
  2203. < $(srcdir)/stdlib.in.h | \
  2204. sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
  2205. -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
  2206. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  2207. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  2208. -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
  2209. -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
  2210. -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
  2211. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  2212. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  2213. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  2214. -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
  2215. -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
  2216. -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
  2217. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  2218. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  2219. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  2220. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  2221. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  2222. -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
  2223. -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
  2224. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  2225. -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
  2226. -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
  2227. -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
  2228. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  2229. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  2230. -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
  2231. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  2232. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  2233. -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
  2234. -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
  2235. -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
  2236. -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
  2237. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  2238. -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
  2239. -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
  2240. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  2241. -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
  2242. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  2243. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  2244. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  2245. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  2246. -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
  2247. -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
  2248. -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
  2249. -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
  2250. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  2251. -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
  2252. -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
  2253. -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
  2254. -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
  2255. -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
  2256. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  2257. -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
  2258. -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
  2259. -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
  2260. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  2261. -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
  2262. -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
  2263. -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
  2264. -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|$(REPLACE_REALLOC_FOR_REALLOC_GNU)|g' \
  2265. -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
  2266. -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
  2267. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  2268. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  2269. -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
  2270. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  2271. -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
  2272. -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
  2273. -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
  2274. -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
  2275. -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
  2276. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  2277. -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
  2278. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2279. -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  2280. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2281. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2282. > $@-t
  2283. $(AM_V_at)mv $@-t $@
  2284. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  2285. EXTRA_DIST += stdlib.in.h
  2286. ## end gnulib module stdlib
  2287. ## begin gnulib module stpcpy
  2288. if gl_GNULIB_ENABLED_stpcpy
  2289. if GL_COND_OBJ_STPCPY
  2290. libgnu_la_SOURCES += stpcpy.c
  2291. endif
  2292. endif
  2293. ## end gnulib module stpcpy
  2294. ## begin gnulib module strchrnul
  2295. if gl_GNULIB_ENABLED_strchrnul
  2296. if GL_COND_OBJ_STRCHRNUL
  2297. libgnu_la_SOURCES += strchrnul.c
  2298. endif
  2299. endif
  2300. EXTRA_DIST += strchrnul.valgrind
  2301. ## end gnulib module strchrnul
  2302. ## begin gnulib module strdup-posix
  2303. if gl_GNULIB_ENABLED_f9850631dca91859e9cddac9359921c0
  2304. if GL_COND_OBJ_STRDUP
  2305. libgnu_la_SOURCES += strdup.c
  2306. endif
  2307. endif
  2308. ## end gnulib module strdup-posix
  2309. ## begin gnulib module streq
  2310. if gl_GNULIB_ENABLED_streq
  2311. endif
  2312. EXTRA_DIST += streq.h
  2313. ## end gnulib module streq
  2314. ## begin gnulib module striconveh
  2315. libgnu_la_SOURCES += striconveh.h striconveh.c
  2316. if GL_COND_LIBTOOL
  2317. libgnu_la_LDFLAGS += $(LTLIBICONV)
  2318. endif
  2319. EXTRA_DIST += iconveh.h
  2320. ## end gnulib module striconveh
  2321. ## begin gnulib module string
  2322. BUILT_SOURCES += string.h
  2323. # We need the following in order to create <string.h> when the system
  2324. # doesn't have one that works with the given compiler.
  2325. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2326. $(gl_V_at)$(SED_HEADER_STDOUT) \
  2327. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2328. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2329. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2330. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2331. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  2332. -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \
  2333. -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \
  2334. -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \
  2335. -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \
  2336. -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \
  2337. -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \
  2338. -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \
  2339. -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \
  2340. -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \
  2341. -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \
  2342. -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \
  2343. -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \
  2344. -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \
  2345. -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \
  2346. -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \
  2347. -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \
  2348. -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \
  2349. -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \
  2350. -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \
  2351. -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \
  2352. -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \
  2353. -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \
  2354. -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \
  2355. -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \
  2356. -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \
  2357. -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \
  2358. -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \
  2359. -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \
  2360. -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \
  2361. -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \
  2362. -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \
  2363. -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \
  2364. -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \
  2365. -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \
  2366. -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \
  2367. -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \
  2368. -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \
  2369. -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \
  2370. -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \
  2371. -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \
  2372. -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \
  2373. -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \
  2374. -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \
  2375. -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \
  2376. -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
  2377. < $(srcdir)/string.in.h | \
  2378. sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
  2379. -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
  2380. -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
  2381. -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  2382. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  2383. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  2384. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  2385. -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \
  2386. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  2387. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  2388. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  2389. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  2390. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  2391. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  2392. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  2393. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  2394. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  2395. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  2396. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  2397. -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
  2398. -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
  2399. -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
  2400. -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
  2401. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  2402. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  2403. -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
  2404. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  2405. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  2406. -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
  2407. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  2408. -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
  2409. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  2410. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  2411. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  2412. -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  2413. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  2414. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  2415. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  2416. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  2417. -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
  2418. -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
  2419. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  2420. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  2421. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2422. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2423. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2424. > $@-t
  2425. $(AM_V_at)mv $@-t $@
  2426. MOSTLYCLEANFILES += string.h string.h-t
  2427. EXTRA_DIST += string.in.h
  2428. ## end gnulib module string
  2429. ## begin gnulib module sys_file
  2430. BUILT_SOURCES += sys/file.h
  2431. # We need the following in order to create <sys/file.h> when the system
  2432. # has one that is incomplete.
  2433. sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
  2434. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2435. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2436. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2437. -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
  2438. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2439. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2440. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2441. -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
  2442. -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
  2443. -e 's/@''GNULIB_FLOCK''@/$(GL_GNULIB_FLOCK)/g' \
  2444. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2445. $(srcdir)/sys_file.in.h > $@-t
  2446. $(AM_V_at)mv $@-t $@
  2447. MOSTLYCLEANFILES += sys/file.h sys/file.h-t
  2448. MOSTLYCLEANDIRS += sys
  2449. EXTRA_DIST += sys_file.in.h
  2450. ## end gnulib module sys_file
  2451. ## begin gnulib module sys_random
  2452. if gl_GNULIB_ENABLED_sys_random
  2453. BUILT_SOURCES += sys/random.h
  2454. # We need the following in order to create <sys/random.h> when the system
  2455. # doesn't have one.
  2456. sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2457. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2458. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2459. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2460. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2461. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2462. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2463. -e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \
  2464. -e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \
  2465. -e 's/@''GNULIB_GETRANDOM''@/$(GL_GNULIB_GETRANDOM)/g' \
  2466. -e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \
  2467. -e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \
  2468. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2469. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2470. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2471. $(srcdir)/sys_random.in.h > $@-t
  2472. $(AM_V_at)mv $@-t $@
  2473. MOSTLYCLEANFILES += sys/random.h sys/random.h-t
  2474. MOSTLYCLEANDIRS += sys
  2475. endif
  2476. EXTRA_DIST += sys_random.in.h
  2477. ## end gnulib module sys_random
  2478. ## begin gnulib module sys_select
  2479. BUILT_SOURCES += sys/select.h
  2480. # We need the following in order to create <sys/select.h> when the system
  2481. # doesn't have one that works with the given compiler.
  2482. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  2483. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2484. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2485. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2486. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2487. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2488. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2489. -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
  2490. -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
  2491. -e 's/@''GNULIB_PSELECT''@/$(GL_GNULIB_PSELECT)/g' \
  2492. -e 's/@''GNULIB_SELECT''@/$(GL_GNULIB_SELECT)/g' \
  2493. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  2494. -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
  2495. -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
  2496. -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
  2497. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2498. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2499. $(srcdir)/sys_select.in.h > $@-t
  2500. $(AM_V_at)mv $@-t $@
  2501. MOSTLYCLEANFILES += sys/select.h sys/select.h-t
  2502. MOSTLYCLEANDIRS += sys
  2503. EXTRA_DIST += sys_select.in.h
  2504. ## end gnulib module sys_select
  2505. ## begin gnulib module sys_socket
  2506. BUILT_SOURCES += sys/socket.h
  2507. libgnu_la_SOURCES += sys_socket.c
  2508. # We need the following in order to create <sys/socket.h> when the system
  2509. # doesn't have one that works with the given compiler.
  2510. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  2511. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2512. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2513. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2514. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2515. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2516. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2517. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  2518. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  2519. -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
  2520. -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \
  2521. -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \
  2522. -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \
  2523. -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \
  2524. -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \
  2525. -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \
  2526. -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \
  2527. -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \
  2528. -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \
  2529. -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \
  2530. -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \
  2531. -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \
  2532. -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \
  2533. -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \
  2534. -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \
  2535. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  2536. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  2537. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  2538. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
  2539. -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
  2540. -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
  2541. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2542. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2543. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2544. $(srcdir)/sys_socket.in.h > $@-t
  2545. $(AM_V_at)mv $@-t $@
  2546. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  2547. MOSTLYCLEANDIRS += sys
  2548. EXTRA_DIST += sys_socket.in.h
  2549. ## end gnulib module sys_socket
  2550. ## begin gnulib module sys_stat
  2551. BUILT_SOURCES += sys/stat.h
  2552. # We need the following in order to create <sys/stat.h> when the system
  2553. # has one that is incomplete.
  2554. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2555. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2556. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2557. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2558. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2559. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2560. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2561. -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
  2562. -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
  2563. -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
  2564. -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \
  2565. -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \
  2566. -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \
  2567. -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \
  2568. -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \
  2569. -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \
  2570. -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \
  2571. -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \
  2572. -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \
  2573. -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \
  2574. -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \
  2575. -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \
  2576. -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \
  2577. -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \
  2578. -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \
  2579. -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \
  2580. -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \
  2581. -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \
  2582. -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \
  2583. -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \
  2584. -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
  2585. -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
  2586. -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
  2587. -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \
  2588. -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
  2589. -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
  2590. -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
  2591. -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
  2592. -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
  2593. -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
  2594. -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
  2595. -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
  2596. -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
  2597. -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
  2598. -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
  2599. -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
  2600. -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
  2601. -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
  2602. -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
  2603. -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
  2604. -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \
  2605. -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
  2606. -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \
  2607. -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
  2608. -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
  2609. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2610. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2611. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2612. $(srcdir)/sys_stat.in.h > $@-t
  2613. $(AM_V_at)mv $@-t $@
  2614. MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  2615. MOSTLYCLEANDIRS += sys
  2616. EXTRA_DIST += sys_stat.in.h
  2617. ## end gnulib module sys_stat
  2618. ## begin gnulib module sys_time
  2619. BUILT_SOURCES += sys/time.h
  2620. # We need the following in order to create <sys/time.h> when the system
  2621. # doesn't have one that works with the given compiler.
  2622. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2623. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2624. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2625. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2626. -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
  2627. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2628. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2629. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2630. -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
  2631. -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GL_GNULIB_GETTIMEOFDAY)/g' \
  2632. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  2633. -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
  2634. -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
  2635. -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
  2636. -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
  2637. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2638. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2639. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2640. $(srcdir)/sys_time.in.h > $@-t
  2641. $(AM_V_at)mv $@-t $@
  2642. MOSTLYCLEANFILES += sys/time.h sys/time.h-t
  2643. EXTRA_DIST += sys_time.in.h
  2644. ## end gnulib module sys_time
  2645. ## begin gnulib module sys_times
  2646. BUILT_SOURCES += sys/times.h
  2647. # We need the following in order to create <sys/times.h> when the system
  2648. # doesn't have one that works with the given compiler.
  2649. sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  2650. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2651. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2652. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2653. -e 's/@''HAVE_SYS_TIMES_H''@/$(HAVE_SYS_TIMES_H)/g' \
  2654. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2655. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2656. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2657. -e 's|@''NEXT_SYS_TIMES_H''@|$(NEXT_SYS_TIMES_H)|g' \
  2658. -e 's/@''GNULIB_TIMES''@/$(GL_GNULIB_TIMES)/g' \
  2659. -e 's|@''HAVE_STRUCT_TMS''@|$(HAVE_STRUCT_TMS)|g' \
  2660. -e 's|@''HAVE_TIMES''@|$(HAVE_TIMES)|g' \
  2661. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2662. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2663. $(srcdir)/sys_times.in.h > $@-t
  2664. $(AM_V_at)mv $@-t $@
  2665. MOSTLYCLEANFILES += sys/times.h sys/times.h-t
  2666. MOSTLYCLEANDIRS += sys
  2667. EXTRA_DIST += sys_times.in.h
  2668. ## end gnulib module sys_times
  2669. ## begin gnulib module sys_types
  2670. BUILT_SOURCES += sys/types.h
  2671. # We need the following in order to create <sys/types.h> when the system
  2672. # doesn't have one that works with the given compiler.
  2673. sys/types.h: sys_types.in.h $(top_builddir)/config.status
  2674. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2675. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2676. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2677. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2678. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2679. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2680. -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
  2681. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  2682. -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
  2683. $(srcdir)/sys_types.in.h > $@-t
  2684. $(AM_V_at)mv $@-t $@
  2685. MOSTLYCLEANFILES += sys/types.h sys/types.h-t
  2686. EXTRA_DIST += sys_types.in.h
  2687. ## end gnulib module sys_types
  2688. ## begin gnulib module sys_uio
  2689. BUILT_SOURCES += sys/uio.h
  2690. # We need the following in order to create <sys/uio.h> when the system
  2691. # doesn't have one that works with the given compiler.
  2692. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
  2693. $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
  2694. $(AM_V_at)$(SED_HEADER_STDOUT) \
  2695. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2696. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2697. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2698. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2699. -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
  2700. -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
  2701. $(srcdir)/sys_uio.in.h > $@-t
  2702. $(AM_V_at)mv $@-t $@
  2703. MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
  2704. MOSTLYCLEANDIRS += sys
  2705. EXTRA_DIST += sys_uio.in.h
  2706. ## end gnulib module sys_uio
  2707. ## begin gnulib module tempname
  2708. if gl_GNULIB_ENABLED_tempname
  2709. libgnu_la_SOURCES += tempname.c
  2710. endif
  2711. EXTRA_DIST += tempname.h
  2712. ## end gnulib module tempname
  2713. ## begin gnulib module time
  2714. BUILT_SOURCES += time.h
  2715. # We need the following in order to create <time.h> when the system
  2716. # doesn't have one that works with the given compiler.
  2717. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2718. $(gl_V_at)$(SED_HEADER_STDOUT) \
  2719. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2720. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2721. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2722. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2723. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  2724. -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \
  2725. -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \
  2726. -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \
  2727. -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \
  2728. -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \
  2729. -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \
  2730. -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \
  2731. -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \
  2732. -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \
  2733. -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \
  2734. -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \
  2735. -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \
  2736. -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \
  2737. -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
  2738. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  2739. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  2740. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  2741. -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \
  2742. -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \
  2743. -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
  2744. -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
  2745. -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
  2746. -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
  2747. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  2748. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  2749. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  2750. -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \
  2751. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  2752. -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \
  2753. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  2754. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  2755. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  2756. -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
  2757. -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \
  2758. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2759. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  2760. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  2761. $(srcdir)/time.in.h > $@-t
  2762. $(AM_V_at)mv $@-t $@
  2763. MOSTLYCLEANFILES += time.h time.h-t
  2764. EXTRA_DIST += time.in.h
  2765. ## end gnulib module time
  2766. ## begin gnulib module time_r
  2767. if gl_GNULIB_ENABLED_time_r
  2768. if GL_COND_OBJ_TIME_R
  2769. libgnu_la_SOURCES += time_r.c
  2770. endif
  2771. endif
  2772. ## end gnulib module time_r
  2773. ## begin gnulib module time_rz
  2774. if GL_COND_OBJ_TIME_RZ
  2775. libgnu_la_SOURCES += time_rz.c
  2776. endif
  2777. EXTRA_DIST += time-internal.h
  2778. ## end gnulib module time_rz
  2779. ## begin gnulib module timegm
  2780. if gl_GNULIB_ENABLED_timegm
  2781. if GL_COND_OBJ_TIMEGM
  2782. libgnu_la_SOURCES += timegm.c
  2783. endif
  2784. endif
  2785. EXTRA_DIST += mktime-internal.h
  2786. ## end gnulib module timegm
  2787. ## begin gnulib module times
  2788. if GL_COND_OBJ_TIMES
  2789. libgnu_la_SOURCES += times.c
  2790. endif
  2791. ## end gnulib module times
  2792. ## begin gnulib module trunc
  2793. if GL_COND_OBJ_TRUNC
  2794. libgnu_la_SOURCES += trunc.c
  2795. endif
  2796. ## end gnulib module trunc
  2797. ## begin gnulib module tzset
  2798. if gl_GNULIB_ENABLED_tzset
  2799. if GL_COND_OBJ_TZSET
  2800. libgnu_la_SOURCES += tzset.c
  2801. endif
  2802. endif
  2803. ## end gnulib module tzset
  2804. ## begin gnulib module unistd
  2805. BUILT_SOURCES += unistd.h
  2806. libgnu_la_SOURCES += unistd.c
  2807. # We need the following in order to create an empty placeholder for
  2808. # <unistd.h> when the system doesn't have one.
  2809. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  2810. $(gl_V_at)$(SED_HEADER_STDOUT) \
  2811. -e 's|@''GUARD_PREFIX''@|GL|g' \
  2812. -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  2813. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  2814. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  2815. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  2816. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  2817. -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
  2818. -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \
  2819. -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \
  2820. -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \
  2821. -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
  2822. -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \
  2823. -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \
  2824. -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \
  2825. -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \
  2826. -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \
  2827. -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \
  2828. -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \
  2829. -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \
  2830. -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \
  2831. -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \
  2832. -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \
  2833. -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \
  2834. -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \
  2835. -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \
  2836. -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \
  2837. -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \
  2838. -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \
  2839. -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \
  2840. -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \
  2841. -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \
  2842. -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \
  2843. -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \
  2844. -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \
  2845. -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \
  2846. -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \
  2847. -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \
  2848. -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \
  2849. -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
  2850. -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
  2851. -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
  2852. -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
  2853. -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
  2854. -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
  2855. -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
  2856. -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \
  2857. -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \
  2858. -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \
  2859. -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \
  2860. -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \
  2861. -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \
  2862. -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \
  2863. -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \
  2864. -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \
  2865. -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \
  2866. -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \
  2867. -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \
  2868. -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \
  2869. -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \
  2870. -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \
  2871. -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \
  2872. -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \
  2873. -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \
  2874. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \
  2875. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \
  2876. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \
  2877. -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \
  2878. -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \
  2879. -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \
  2880. -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \
  2881. -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \
  2882. -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \
  2883. -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \
  2884. -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \
  2885. -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \
  2886. -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \
  2887. -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \
  2888. -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \
  2889. -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \
  2890. -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \
  2891. -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \
  2892. -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \
  2893. -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \
  2894. -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \
  2895. -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \
  2896. -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \
  2897. -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \
  2898. -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \
  2899. -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \
  2900. -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \
  2901. -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \
  2902. < $(srcdir)/unistd.in.h | \
  2903. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  2904. -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
  2905. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  2906. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  2907. -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \
  2908. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  2909. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  2910. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  2911. -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
  2912. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  2913. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  2914. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  2915. -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
  2916. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  2917. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  2918. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  2919. -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
  2920. -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
  2921. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  2922. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  2923. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  2924. -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
  2925. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  2926. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  2927. -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
  2928. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  2929. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  2930. -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
  2931. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  2932. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  2933. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  2934. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  2935. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  2936. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  2937. -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \
  2938. -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
  2939. -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
  2940. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
  2941. -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
  2942. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  2943. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  2944. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  2945. -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
  2946. -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
  2947. -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
  2948. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  2949. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  2950. | \
  2951. sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
  2952. -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  2953. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  2954. -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
  2955. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  2956. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  2957. -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
  2958. -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \
  2959. -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \
  2960. -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \
  2961. -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \
  2962. -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \
  2963. -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \
  2964. -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
  2965. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  2966. -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
  2967. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  2968. -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
  2969. -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
  2970. -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
  2971. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  2972. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  2973. -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
  2974. -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
  2975. -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
  2976. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  2977. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  2978. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  2979. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  2980. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  2981. -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
  2982. -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
  2983. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  2984. -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
  2985. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  2986. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  2987. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  2988. -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
  2989. -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
  2990. -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
  2991. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  2992. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  2993. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  2994. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  2995. -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
  2996. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  2997. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  2998. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  2999. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  3000. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  3001. > $@-t
  3002. $(AM_V_at)mv $@-t $@
  3003. MOSTLYCLEANFILES += unistd.h unistd.h-t
  3004. EXTRA_DIST += unistd.in.h
  3005. ## end gnulib module unistd
  3006. ## begin gnulib module unsetenv
  3007. if gl_GNULIB_ENABLED_unsetenv
  3008. if GL_COND_OBJ_UNSETENV
  3009. libgnu_la_SOURCES += unsetenv.c
  3010. endif
  3011. endif
  3012. ## end gnulib module unsetenv
  3013. ## begin gnulib module useless-if-before-free
  3014. EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
  3015. ## end gnulib module useless-if-before-free
  3016. ## begin gnulib module vasnprintf
  3017. if gl_GNULIB_ENABLED_vasnprintf
  3018. endif
  3019. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  3020. EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  3021. ## end gnulib module vasnprintf
  3022. ## begin gnulib module vc-list-files
  3023. EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
  3024. ## end gnulib module vc-list-files
  3025. ## begin gnulib module verify
  3026. EXTRA_DIST += verify.h
  3027. ## end gnulib module verify
  3028. ## begin gnulib module vsnprintf
  3029. EXTRA_DIST += vsnprintf.c
  3030. EXTRA_libgnu_la_SOURCES += vsnprintf.c
  3031. ## end gnulib module vsnprintf
  3032. ## begin gnulib module wchar
  3033. BUILT_SOURCES += wchar.h
  3034. # We need the following in order to create <wchar.h> when the system
  3035. # version does not work standalone.
  3036. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  3037. $(gl_V_at)$(SED_HEADER_STDOUT) \
  3038. -e 's|@''GUARD_PREFIX''@|GL|g' \
  3039. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  3040. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  3041. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  3042. -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
  3043. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  3044. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  3045. -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
  3046. -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
  3047. -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \
  3048. -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \
  3049. -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \
  3050. -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \
  3051. -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \
  3052. -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \
  3053. -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \
  3054. -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \
  3055. -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \
  3056. -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \
  3057. -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \
  3058. -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \
  3059. -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \
  3060. -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \
  3061. -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \
  3062. -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \
  3063. -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \
  3064. -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \
  3065. -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \
  3066. -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \
  3067. -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \
  3068. -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \
  3069. -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \
  3070. -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \
  3071. -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \
  3072. -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \
  3073. -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \
  3074. -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \
  3075. -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \
  3076. -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \
  3077. -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \
  3078. -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \
  3079. -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \
  3080. -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \
  3081. -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \
  3082. -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \
  3083. -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \
  3084. -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \
  3085. -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \
  3086. -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \
  3087. -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \
  3088. -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \
  3089. -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
  3090. < $(srcdir)/wchar.in.h | \
  3091. sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  3092. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  3093. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  3094. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  3095. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  3096. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  3097. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  3098. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  3099. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  3100. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  3101. -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
  3102. -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
  3103. -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
  3104. -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
  3105. -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \
  3106. -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
  3107. -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
  3108. -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
  3109. -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
  3110. -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
  3111. -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
  3112. -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
  3113. -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
  3114. -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
  3115. -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
  3116. -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
  3117. -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
  3118. -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
  3119. -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
  3120. -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
  3121. -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
  3122. -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
  3123. -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
  3124. -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
  3125. -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
  3126. -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
  3127. -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
  3128. -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
  3129. -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
  3130. -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
  3131. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  3132. -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \
  3133. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  3134. | \
  3135. sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  3136. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  3137. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  3138. -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
  3139. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  3140. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  3141. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  3142. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  3143. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  3144. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  3145. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  3146. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  3147. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  3148. -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
  3149. -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
  3150. -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
  3151. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  3152. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  3153. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  3154. > $@-t
  3155. $(AM_V_at)mv $@-t $@
  3156. MOSTLYCLEANFILES += wchar.h wchar.h-t
  3157. EXTRA_DIST += wchar.in.h
  3158. ## end gnulib module wchar
  3159. ## begin gnulib module wcrtomb
  3160. if gl_GNULIB_ENABLED_wcrtomb
  3161. if GL_COND_OBJ_WCRTOMB
  3162. libgnu_la_SOURCES += wcrtomb.c
  3163. endif
  3164. endif
  3165. ## end gnulib module wcrtomb
  3166. ## begin gnulib module wctype-h
  3167. if gl_GNULIB_ENABLED_3dcce957eadc896e63ab5f137947b410
  3168. BUILT_SOURCES += wctype.h
  3169. libgnu_la_SOURCES += wctype-h.c
  3170. # We need the following in order to create <wctype.h> when the system
  3171. # doesn't have one that works with the given compiler.
  3172. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
  3173. $(gl_V_at)$(SED_HEADER_STDOUT) \
  3174. -e 's|@''GUARD_PREFIX''@|GL|g' \
  3175. -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  3176. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  3177. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  3178. -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  3179. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  3180. -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
  3181. -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
  3182. -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \
  3183. -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \
  3184. -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \
  3185. -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \
  3186. -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \
  3187. -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \
  3188. -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \
  3189. -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
  3190. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  3191. -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
  3192. -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
  3193. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  3194. -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
  3195. -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \
  3196. -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \
  3197. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  3198. -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
  3199. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  3200. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  3201. $(srcdir)/wctype.in.h > $@-t
  3202. $(AM_V_at)mv $@-t $@
  3203. MOSTLYCLEANFILES += wctype.h wctype.h-t
  3204. endif
  3205. EXTRA_DIST += wctype.in.h
  3206. ## end gnulib module wctype-h
  3207. ## begin gnulib module windows-spawn
  3208. if gl_GNULIB_ENABLED_fd43d02c899a251eacc999baf40b238e
  3209. if GL_COND_OBJ_WINDOWS_SPAWN
  3210. libgnu_la_SOURCES += windows-spawn.c
  3211. endif
  3212. endif
  3213. EXTRA_DIST += windows-spawn.h
  3214. ## end gnulib module windows-spawn
  3215. ## begin gnulib module write
  3216. if GL_COND_OBJ_WRITE
  3217. libgnu_la_SOURCES += write.c
  3218. endif
  3219. ## end gnulib module write
  3220. ## begin gnulib module xalloc-oversized
  3221. EXTRA_DIST += xalloc-oversized.h
  3222. ## end gnulib module xalloc-oversized
  3223. ## begin gnulib module xsize
  3224. if gl_GNULIB_ENABLED_xsize
  3225. libgnu_la_SOURCES += xsize.h xsize.c
  3226. endif
  3227. ## end gnulib module xsize
  3228. mostlyclean-local: mostlyclean-generic
  3229. @for dir in '' $(MOSTLYCLEANDIRS); do \
  3230. if test -n "$$dir" && test -d $$dir; then \
  3231. echo "rmdir $$dir"; rmdir $$dir; \
  3232. fi; \
  3233. done; \
  3234. :
  3235. distclean-local: distclean-gnulib-libobjs
  3236. distclean-gnulib-libobjs:
  3237. -rm -f @gl_LIBOBJDEPS@
  3238. maintainer-clean-local: distclean-gnulib-libobjs