Makefile.am 94 KB

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