Makefile.am 91 KB

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