Makefile.am 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2002-2010 Free Software Foundation, Inc.
  4. #
  5. # This file is free software, distributed under the terms of the GNU
  6. # General Public License. As a special exception to the GNU General
  7. # Public License, this file may be distributed as part of a program
  8. # that contains a configuration script generated by Autoconf, under
  9. # the same distribution terms as the rest of that program.
  10. #
  11. # Generated by gnulib-tool.
  12. # 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-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex timegm vasprintf vsnprintf
  13. AUTOMAKE_OPTIONS = 1.5 gnits
  14. SUBDIRS =
  15. noinst_HEADERS =
  16. noinst_LIBRARIES =
  17. noinst_LTLIBRARIES =
  18. EXTRA_DIST =
  19. BUILT_SOURCES =
  20. SUFFIXES =
  21. MOSTLYCLEANFILES = core *.stackdump
  22. MOSTLYCLEANDIRS =
  23. CLEANFILES =
  24. DISTCLEANFILES =
  25. MAINTAINERCLEANFILES =
  26. EXTRA_DIST += m4/gnulib-cache.m4
  27. AM_CPPFLAGS =
  28. AM_CFLAGS =
  29. noinst_LIBRARIES += libgnu.a
  30. libgnu_a_SOURCES =
  31. libgnu_a_LIBADD = $(gl_LIBOBJS)
  32. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  33. EXTRA_libgnu_a_SOURCES =
  34. ## begin gnulib module alignof
  35. EXTRA_DIST += alignof.h
  36. ## end gnulib module alignof
  37. ## begin gnulib module alloca
  38. EXTRA_DIST += alloca.c
  39. EXTRA_libgnu_a_SOURCES += alloca.c
  40. libgnu_a_LIBADD += @ALLOCA@
  41. libgnu_a_DEPENDENCIES += @ALLOCA@
  42. ## end gnulib module alloca
  43. ## begin gnulib module alloca-opt
  44. BUILT_SOURCES += $(ALLOCA_H)
  45. # We need the following in order to create <alloca.h> when the system
  46. # doesn't have one that works with the given compiler.
  47. alloca.h: alloca.in.h
  48. $(AM_V_GEN)rm -f $@-t $@ && \
  49. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  50. cat $(srcdir)/alloca.in.h; \
  51. } > $@-t && \
  52. mv -f $@-t $@
  53. MOSTLYCLEANFILES += alloca.h alloca.h-t
  54. EXTRA_DIST += alloca.in.h
  55. ## end gnulib module alloca-opt
  56. ## begin gnulib module arg-nonnull
  57. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  58. # statements but through direct file reference. Therefore this snippet must be
  59. # present in all Makefile.am that need it. This is ensured by the applicability
  60. # 'all' defined above.
  61. BUILT_SOURCES += arg-nonnull.h
  62. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  63. # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
  64. arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
  65. $(AM_V_GEN)rm -f $@-t $@ && \
  66. sed -n -e '/GL_ARG_NONNULL/,$$p' \
  67. < $(top_srcdir)/build-aux/arg-nonnull.h \
  68. > $@-t && \
  69. mv $@-t $@
  70. MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
  71. ARG_NONNULL_H=arg-nonnull.h
  72. EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
  73. ## end gnulib module arg-nonnull
  74. ## begin gnulib module arpa_inet
  75. BUILT_SOURCES += arpa/inet.h
  76. # We need the following in order to create <arpa/inet.h> when the system
  77. # doesn't have one.
  78. arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  79. $(AM_V_at)$(MKDIR_P) arpa
  80. $(AM_V_GEN)rm -f $@-t $@ && \
  81. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  82. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  83. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  84. -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
  85. -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
  86. -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
  87. -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
  88. -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
  89. -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
  90. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  91. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  92. < $(srcdir)/arpa_inet.in.h; \
  93. } > $@-t && \
  94. mv $@-t $@
  95. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  96. MOSTLYCLEANDIRS += arpa
  97. EXTRA_DIST += arpa_inet.in.h
  98. ## end gnulib module arpa_inet
  99. ## begin gnulib module base64
  100. libgnu_a_SOURCES += base64.h base64.c
  101. ## end gnulib module base64
  102. ## begin gnulib module btowc
  103. EXTRA_DIST += btowc.c
  104. EXTRA_libgnu_a_SOURCES += btowc.c
  105. ## end gnulib module btowc
  106. ## begin gnulib module c++defs
  107. # The BUILT_SOURCES created by this Makefile snippet are not used via #include
  108. # statements but through direct file reference. Therefore this snippet must be
  109. # present in all Makefile.am that need it. This is ensured by the applicability
  110. # 'all' defined above.
  111. BUILT_SOURCES += c++defs.h
  112. # The c++defs.h that gets inserted into generated .h files is the same as
  113. # build-aux/c++defs.h, except that it has the copyright header cut off.
  114. c++defs.h: $(top_srcdir)/build-aux/c++defs.h
  115. $(AM_V_GEN)rm -f $@-t $@ && \
  116. sed -n -e '/_GL_CXXDEFS/,$$p' \
  117. < $(top_srcdir)/build-aux/c++defs.h \
  118. > $@-t && \
  119. mv $@-t $@
  120. MOSTLYCLEANFILES += c++defs.h c++defs.h-t
  121. CXXDEFS_H=c++defs.h
  122. EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
  123. ## end gnulib module c++defs
  124. ## begin gnulib module c-strtod
  125. EXTRA_DIST += c-strtod.c c-strtod.h
  126. EXTRA_libgnu_a_SOURCES += c-strtod.c
  127. ## end gnulib module c-strtod
  128. ## begin gnulib module cloexec
  129. EXTRA_DIST += cloexec.c cloexec.h
  130. EXTRA_libgnu_a_SOURCES += cloexec.c
  131. ## end gnulib module cloexec
  132. ## begin gnulib module close-hook
  133. libgnu_a_SOURCES += close-hook.c
  134. EXTRA_DIST += close-hook.h
  135. ## end gnulib module close-hook
  136. ## begin gnulib module configmake
  137. # Retrieve values of the variables through 'configure' followed by
  138. # 'make', not directly through 'configure', so that a user who
  139. # sets some of these variables consistently on the 'make' command
  140. # line gets correct results.
  141. #
  142. # One advantage of this approach, compared to the classical
  143. # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
  144. # is that it protects against the use of undefined variables.
  145. # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
  146. # defined by this module, and code using LIBDIR gives a
  147. # compilation error.
  148. #
  149. # Another advantage is that 'make' output is shorter.
  150. #
  151. # Listed in the same order as the GNU makefile conventions.
  152. # The Automake-defined pkg* macros are appended, in the order
  153. # listed in the Automake 1.10a+ documentation.
  154. configmake.h: Makefile
  155. $(AM_V_GEN)rm -f $@-t && \
  156. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  157. echo '#define PREFIX "$(prefix)"'; \
  158. echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
  159. echo '#define BINDIR "$(bindir)"'; \
  160. echo '#define SBINDIR "$(sbindir)"'; \
  161. echo '#define LIBEXECDIR "$(libexecdir)"'; \
  162. echo '#define DATAROOTDIR "$(datarootdir)"'; \
  163. echo '#define DATADIR "$(datadir)"'; \
  164. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  165. echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
  166. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  167. echo '#define INCLUDEDIR "$(includedir)"'; \
  168. echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
  169. echo '#define DOCDIR "$(docdir)"'; \
  170. echo '#define INFODIR "$(infodir)"'; \
  171. echo '#define HTMLDIR "$(htmldir)"'; \
  172. echo '#define DVIDIR "$(dvidir)"'; \
  173. echo '#define PDFDIR "$(pdfdir)"'; \
  174. echo '#define PSDIR "$(psdir)"'; \
  175. echo '#define LIBDIR "$(libdir)"'; \
  176. echo '#define LISPDIR "$(lispdir)"'; \
  177. echo '#define LOCALEDIR "$(localedir)"'; \
  178. echo '#define MANDIR "$(mandir)"'; \
  179. echo '#define MANEXT "$(manext)"'; \
  180. echo '#define PKGDATADIR "$(pkgdatadir)"'; \
  181. echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
  182. echo '#define PKGLIBDIR "$(pkglibdir)"'; \
  183. echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
  184. } | sed '/""/d' > $@-t && \
  185. if test -f $@ && cmp $@-t $@ > /dev/null; then \
  186. rm -f $@-t; \
  187. else \
  188. rm -f $@; mv $@-t $@; \
  189. fi
  190. BUILT_SOURCES += configmake.h
  191. CLEANFILES += configmake.h configmake.h-t
  192. ## end gnulib module configmake
  193. ## begin gnulib module dirname
  194. EXTRA_DIST += basename.c dirname.c stripslash.c
  195. EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
  196. ## end gnulib module dirname
  197. ## begin gnulib module dirname-lgpl
  198. EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
  199. EXTRA_libgnu_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
  200. ## end gnulib module dirname-lgpl
  201. ## begin gnulib module dup2
  202. EXTRA_DIST += dup2.c
  203. EXTRA_libgnu_a_SOURCES += dup2.c
  204. ## end gnulib module dup2
  205. ## begin gnulib module errno
  206. BUILT_SOURCES += $(ERRNO_H)
  207. # We need the following in order to create <errno.h> when the system
  208. # doesn't have one that is POSIX compliant.
  209. errno.h: errno.in.h
  210. $(AM_V_GEN)rm -f $@-t $@ && \
  211. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  212. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  213. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  214. -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
  215. -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
  216. -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
  217. -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
  218. -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
  219. -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
  220. -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
  221. < $(srcdir)/errno.in.h; \
  222. } > $@-t && \
  223. mv $@-t $@
  224. MOSTLYCLEANFILES += errno.h errno.h-t
  225. EXTRA_DIST += errno.in.h
  226. ## end gnulib module errno
  227. ## begin gnulib module error
  228. EXTRA_DIST += error.c error.h
  229. EXTRA_libgnu_a_SOURCES += error.c
  230. ## end gnulib module error
  231. ## begin gnulib module exitfail
  232. libgnu_a_SOURCES += exitfail.c
  233. EXTRA_DIST += exitfail.h
  234. ## end gnulib module exitfail
  235. ## begin gnulib module fcntl
  236. EXTRA_DIST += fcntl.c
  237. EXTRA_libgnu_a_SOURCES += fcntl.c
  238. ## end gnulib module fcntl
  239. ## begin gnulib module fcntl-h
  240. BUILT_SOURCES += fcntl.h
  241. # We need the following in order to create <fcntl.h> when the system
  242. # doesn't have one that works with the given compiler.
  243. fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  244. $(AM_V_GEN)rm -f $@-t $@ && \
  245. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  246. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  247. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  248. -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
  249. -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
  250. -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
  251. -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
  252. -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
  253. -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
  254. -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
  255. -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
  256. -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
  257. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  258. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  259. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  260. < $(srcdir)/fcntl.in.h; \
  261. } > $@-t && \
  262. mv $@-t $@
  263. MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  264. EXTRA_DIST += fcntl.in.h
  265. ## end gnulib module fcntl-h
  266. ## begin gnulib module fcntl-safer
  267. EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
  268. EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
  269. ## end gnulib module fcntl-safer
  270. ## begin gnulib module float
  271. BUILT_SOURCES += $(FLOAT_H)
  272. # We need the following in order to create <float.h> when the system
  273. # doesn't have one that works with the given compiler.
  274. float.h: float.in.h
  275. $(AM_V_GEN)rm -f $@-t $@ && \
  276. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  277. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  278. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  279. -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
  280. < $(srcdir)/float.in.h; \
  281. } > $@-t && \
  282. mv $@-t $@
  283. MOSTLYCLEANFILES += float.h float.h-t
  284. EXTRA_DIST += float.in.h
  285. ## end gnulib module float
  286. ## begin gnulib module floorf
  287. EXTRA_DIST += floor.c floorf.c
  288. EXTRA_libgnu_a_SOURCES += floor.c floorf.c
  289. ## end gnulib module floorf
  290. ## begin gnulib module fsusage
  291. EXTRA_DIST += fsusage.c fsusage.h
  292. EXTRA_libgnu_a_SOURCES += fsusage.c
  293. ## end gnulib module fsusage
  294. ## begin gnulib module full-read
  295. libgnu_a_SOURCES += full-read.h full-read.c
  296. ## end gnulib module full-read
  297. ## begin gnulib module full-write
  298. libgnu_a_SOURCES += full-write.h full-write.c
  299. ## end gnulib module full-write
  300. ## begin gnulib module getaddrinfo
  301. EXTRA_DIST += gai_strerror.c getaddrinfo.c
  302. EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
  303. ## end gnulib module getaddrinfo
  304. ## begin gnulib module getdtablesize
  305. EXTRA_DIST += getdtablesize.c
  306. EXTRA_libgnu_a_SOURCES += getdtablesize.c
  307. ## end gnulib module getdtablesize
  308. ## begin gnulib module gethostname
  309. EXTRA_DIST += gethostname.c w32sock.h
  310. EXTRA_libgnu_a_SOURCES += gethostname.c
  311. ## end gnulib module gethostname
  312. ## begin gnulib module getloadavg
  313. EXTRA_DIST += getloadavg.c
  314. EXTRA_libgnu_a_SOURCES += getloadavg.c
  315. ## end gnulib module getloadavg
  316. ## begin gnulib module getopt-posix
  317. BUILT_SOURCES += $(GETOPT_H)
  318. # We need the following in order to create <getopt.h> when the system
  319. # doesn't have one that works with the given compiler.
  320. getopt.h: getopt.in.h $(ARG_NONNULL_H)
  321. $(AM_V_GEN)rm -f $@-t $@ && \
  322. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  323. sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
  324. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  325. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  326. -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
  327. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  328. < $(srcdir)/getopt.in.h; \
  329. } > $@-t && \
  330. mv -f $@-t $@
  331. MOSTLYCLEANFILES += getopt.h getopt.h-t
  332. EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
  333. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  334. ## end gnulib module getopt-posix
  335. ## begin gnulib module gettext
  336. # This is for those projects which use "gettextize --intl" to put a source-code
  337. # copy of libintl into their package. In such projects, every Makefile.am needs
  338. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  339. # For the Makefile.ams in other directories it is the maintainer's
  340. # responsibility; for the one from gnulib we do it here.
  341. # This option has no effect when the user disables NLS (because then the intl
  342. # directory contains no libintl.h file) or when the project does not use
  343. # "gettextize --intl".
  344. AM_CPPFLAGS += -I$(top_builddir)/intl
  345. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  346. ## end gnulib module gettext
  347. ## begin gnulib module gettext-h
  348. libgnu_a_SOURCES += gettext.h
  349. ## end gnulib module gettext-h
  350. ## begin gnulib module havelib
  351. EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
  352. ## end gnulib module havelib
  353. ## begin gnulib module inet_ntop
  354. EXTRA_DIST += inet_ntop.c
  355. EXTRA_libgnu_a_SOURCES += inet_ntop.c
  356. ## end gnulib module inet_ntop
  357. ## begin gnulib module intprops
  358. EXTRA_DIST += intprops.h
  359. ## end gnulib module intprops
  360. ## begin gnulib module langinfo
  361. BUILT_SOURCES += langinfo.h
  362. # We need the following in order to create an empty placeholder for
  363. # <langinfo.h> when the system doesn't have one.
  364. langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
  365. $(AM_V_GEN)rm -f $@-t $@ && \
  366. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  367. sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
  368. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  369. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  370. -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
  371. -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
  372. -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
  373. -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
  374. -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
  375. -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
  376. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  377. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  378. < $(srcdir)/langinfo.in.h; \
  379. } > $@-t && \
  380. mv $@-t $@
  381. MOSTLYCLEANFILES += langinfo.h langinfo.h-t
  382. EXTRA_DIST += langinfo.in.h
  383. ## end gnulib module langinfo
  384. ## begin gnulib module localcharset
  385. libgnu_a_SOURCES += localcharset.h localcharset.c
  386. # We need the following in order to install a simple file in $(libdir)
  387. # which is shared with other installed packages. We use a list of referencing
  388. # packages so that "make uninstall" will remove the file if and only if it
  389. # is not used by another installed package.
  390. # On systems with glibc-2.1 or newer, the file is redundant, therefore we
  391. # avoid installing it.
  392. all-local: charset.alias ref-add.sed ref-del.sed
  393. charset_alias = $(DESTDIR)$(libdir)/charset.alias
  394. charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  395. install-exec-local: install-exec-localcharset
  396. install-exec-localcharset: all-local
  397. if test $(GLIBC21) = no; then \
  398. case '$(host_os)' in \
  399. darwin[56]*) \
  400. need_charset_alias=true ;; \
  401. darwin* | cygwin* | mingw* | pw32* | cegcc*) \
  402. need_charset_alias=false ;; \
  403. *) \
  404. need_charset_alias=true ;; \
  405. esac ; \
  406. else \
  407. need_charset_alias=false ; \
  408. fi ; \
  409. if $$need_charset_alias; then \
  410. $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
  411. fi ; \
  412. if test -f $(charset_alias); then \
  413. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  414. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  415. rm -f $(charset_tmp) ; \
  416. else \
  417. if $$need_charset_alias; then \
  418. sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
  419. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  420. rm -f $(charset_tmp) ; \
  421. fi ; \
  422. fi
  423. uninstall-local: uninstall-localcharset
  424. uninstall-localcharset: all-local
  425. if test -f $(charset_alias); then \
  426. sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
  427. if grep '^# Packages using this file: $$' $(charset_tmp) \
  428. > /dev/null; then \
  429. rm -f $(charset_alias); \
  430. else \
  431. $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
  432. fi; \
  433. rm -f $(charset_tmp); \
  434. fi
  435. charset.alias: config.charset
  436. $(AM_V_GEN)rm -f t-$@ $@ && \
  437. $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
  438. mv t-$@ $@
  439. SUFFIXES += .sed .sin
  440. .sin.sed:
  441. $(AM_V_GEN)rm -f t-$@ $@ && \
  442. sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
  443. mv t-$@ $@
  444. CLEANFILES += charset.alias ref-add.sed ref-del.sed
  445. EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  446. ## end gnulib module localcharset
  447. ## begin gnulib module locale
  448. BUILT_SOURCES += locale.h
  449. # We need the following in order to create <locale.h> when the system
  450. # doesn't have one that provides all definitions.
  451. locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  452. $(AM_V_GEN)rm -f $@-t $@ && \
  453. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  454. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  455. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  456. -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
  457. -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
  458. -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
  459. -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
  460. -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
  461. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  462. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  463. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  464. < $(srcdir)/locale.in.h; \
  465. } > $@-t && \
  466. mv $@-t $@
  467. MOSTLYCLEANFILES += locale.h locale.h-t
  468. EXTRA_DIST += locale.in.h
  469. ## end gnulib module locale
  470. ## begin gnulib module malloc
  471. EXTRA_DIST += malloc.c
  472. EXTRA_libgnu_a_SOURCES += malloc.c
  473. ## end gnulib module malloc
  474. ## begin gnulib module malloc-posix
  475. EXTRA_DIST += malloc.c
  476. EXTRA_libgnu_a_SOURCES += malloc.c
  477. ## end gnulib module malloc-posix
  478. ## begin gnulib module math
  479. BUILT_SOURCES += math.h
  480. # We need the following in order to create <math.h> when the system
  481. # doesn't have one that works with the given compiler.
  482. math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  483. $(AM_V_GEN)rm -f $@-t $@ && \
  484. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  485. sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
  486. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  487. -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
  488. -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
  489. -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
  490. -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
  491. -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
  492. -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
  493. -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
  494. -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
  495. -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
  496. -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
  497. -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
  498. -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
  499. -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
  500. -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
  501. -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
  502. -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
  503. -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
  504. -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
  505. -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
  506. -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
  507. -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
  508. -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
  509. -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
  510. -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
  511. -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
  512. -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
  513. -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
  514. -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
  515. -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
  516. -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
  517. -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
  518. -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
  519. -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
  520. -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
  521. -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
  522. -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
  523. -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
  524. -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
  525. -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
  526. -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
  527. -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
  528. -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
  529. -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
  530. -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
  531. -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
  532. -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
  533. -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
  534. -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
  535. -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
  536. -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
  537. -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
  538. -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
  539. -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
  540. -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
  541. -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
  542. -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
  543. -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
  544. -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
  545. -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
  546. -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
  547. -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
  548. -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
  549. -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
  550. -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
  551. -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
  552. -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
  553. -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
  554. -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
  555. -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
  556. -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
  557. -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
  558. -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
  559. -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
  560. -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
  561. -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
  562. -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
  563. -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
  564. -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
  565. -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
  566. -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
  567. -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
  568. -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
  569. -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
  570. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  571. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  572. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  573. < $(srcdir)/math.in.h; \
  574. } > $@-t && \
  575. mv $@-t $@
  576. MOSTLYCLEANFILES += math.h math.h-t
  577. EXTRA_DIST += math.in.h
  578. ## end gnulib module math
  579. ## begin gnulib module mbrtowc
  580. EXTRA_DIST += mbrtowc.c
  581. EXTRA_libgnu_a_SOURCES += mbrtowc.c
  582. ## end gnulib module mbrtowc
  583. ## begin gnulib module mbsinit
  584. EXTRA_DIST += mbsinit.c
  585. EXTRA_libgnu_a_SOURCES += mbsinit.c
  586. ## end gnulib module mbsinit
  587. ## begin gnulib module memchr
  588. EXTRA_DIST += memchr.c memchr.valgrind
  589. EXTRA_libgnu_a_SOURCES += memchr.c
  590. ## end gnulib module memchr
  591. ## begin gnulib module mktime
  592. EXTRA_DIST += mktime-internal.h mktime.c
  593. EXTRA_libgnu_a_SOURCES += mktime.c
  594. ## end gnulib module mktime
  595. ## begin gnulib module mountlist
  596. EXTRA_DIST += mountlist.c mountlist.h
  597. EXTRA_libgnu_a_SOURCES += mountlist.c
  598. ## end gnulib module mountlist
  599. ## begin gnulib module netdb
  600. BUILT_SOURCES += $(NETDB_H)
  601. # We need the following in order to create <netdb.h> when the system
  602. # doesn't have one that works with the given compiler.
  603. netdb.h: netdb.in.h $(ARG_NONNULL_H)
  604. $(AM_V_GEN)rm -f $@-t $@ && \
  605. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  606. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  607. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  608. -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
  609. -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
  610. -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
  611. -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
  612. -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
  613. -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
  614. -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
  615. -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
  616. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  617. < $(srcdir)/netdb.in.h; \
  618. } > $@-t && \
  619. mv $@-t $@
  620. MOSTLYCLEANFILES += netdb.h netdb.h-t
  621. EXTRA_DIST += netdb.in.h
  622. ## end gnulib module netdb
  623. ## begin gnulib module netinet_in
  624. BUILT_SOURCES += $(NETINET_IN_H)
  625. # We need the following in order to create <netinet/in.h> when the system
  626. # doesn't have one.
  627. netinet/in.h: netinet_in.in.h
  628. $(AM_V_at)$(MKDIR_P) netinet
  629. $(AM_V_GEN)rm -f $@-t $@ && \
  630. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  631. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  632. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  633. -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
  634. -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
  635. < $(srcdir)/netinet_in.in.h; \
  636. } > $@-t && \
  637. mv $@-t $@
  638. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  639. MOSTLYCLEANDIRS += netinet
  640. EXTRA_DIST += netinet_in.in.h
  641. ## end gnulib module netinet_in
  642. ## begin gnulib module nl_langinfo
  643. EXTRA_DIST += nl_langinfo.c
  644. EXTRA_libgnu_a_SOURCES += nl_langinfo.c
  645. ## end gnulib module nl_langinfo
  646. ## begin gnulib module open
  647. EXTRA_DIST += open.c
  648. EXTRA_libgnu_a_SOURCES += open.c
  649. ## end gnulib module open
  650. ## begin gnulib module regex
  651. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  652. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  653. ## end gnulib module regex
  654. ## begin gnulib module safe-read
  655. EXTRA_DIST += safe-read.c safe-read.h
  656. EXTRA_libgnu_a_SOURCES += safe-read.c
  657. ## end gnulib module safe-read
  658. ## begin gnulib module safe-write
  659. EXTRA_DIST += safe-write.c safe-write.h
  660. EXTRA_libgnu_a_SOURCES += safe-write.c
  661. ## end gnulib module safe-write
  662. ## begin gnulib module size_max
  663. libgnu_a_SOURCES += size_max.h
  664. ## end gnulib module size_max
  665. ## begin gnulib module snprintf
  666. EXTRA_DIST += snprintf.c
  667. EXTRA_libgnu_a_SOURCES += snprintf.c
  668. ## end gnulib module snprintf
  669. ## begin gnulib module sockets
  670. libgnu_a_SOURCES += sockets.h sockets.c
  671. EXTRA_DIST += w32sock.h
  672. ## end gnulib module sockets
  673. ## begin gnulib module stat
  674. EXTRA_DIST += stat.c
  675. EXTRA_libgnu_a_SOURCES += stat.c
  676. ## end gnulib module stat
  677. ## begin gnulib module stdbool
  678. BUILT_SOURCES += $(STDBOOL_H)
  679. # We need the following in order to create <stdbool.h> when the system
  680. # doesn't have one that works.
  681. stdbool.h: stdbool.in.h
  682. $(AM_V_GEN)rm -f $@-t $@ && \
  683. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  684. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
  685. } > $@-t && \
  686. mv $@-t $@
  687. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  688. EXTRA_DIST += stdbool.in.h
  689. ## end gnulib module stdbool
  690. ## begin gnulib module stddef
  691. BUILT_SOURCES += $(STDDEF_H)
  692. # We need the following in order to create <stddef.h> when the system
  693. # doesn't have one that works with the given compiler.
  694. stddef.h: stddef.in.h
  695. $(AM_V_GEN)rm -f $@-t $@ && \
  696. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  697. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  698. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  699. -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  700. -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  701. -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  702. < $(srcdir)/stddef.in.h; \
  703. } > $@-t && \
  704. mv $@-t $@
  705. MOSTLYCLEANFILES += stddef.h stddef.h-t
  706. EXTRA_DIST += stddef.in.h
  707. ## end gnulib module stddef
  708. ## begin gnulib module stdint
  709. BUILT_SOURCES += $(STDINT_H)
  710. # We need the following in order to create <stdint.h> when the system
  711. # doesn't have one that works with the given compiler.
  712. stdint.h: stdint.in.h
  713. $(AM_V_GEN)rm -f $@-t $@ && \
  714. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  715. sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  716. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  717. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  718. -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  719. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  720. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  721. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  722. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  723. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  724. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  725. -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  726. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  727. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  728. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  729. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  730. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  731. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  732. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  733. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  734. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  735. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  736. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  737. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  738. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  739. < $(srcdir)/stdint.in.h; \
  740. } > $@-t && \
  741. mv $@-t $@
  742. MOSTLYCLEANFILES += stdint.h stdint.h-t
  743. EXTRA_DIST += stdint.in.h
  744. ## end gnulib module stdint
  745. ## begin gnulib module stdio
  746. BUILT_SOURCES += stdio.h
  747. # We need the following in order to create <stdio.h> when the system
  748. # doesn't have one that works with the given compiler.
  749. stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  750. $(AM_V_GEN)rm -f $@-t $@ && \
  751. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  752. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  753. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  754. -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
  755. -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
  756. -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
  757. -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
  758. -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
  759. -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
  760. -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
  761. -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
  762. -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
  763. -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
  764. -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
  765. -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
  766. -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
  767. -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
  768. -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
  769. -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
  770. -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
  771. -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
  772. -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
  773. -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
  774. -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
  775. -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
  776. -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
  777. -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
  778. -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
  779. -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
  780. -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
  781. -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
  782. -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
  783. -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
  784. -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
  785. -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
  786. -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
  787. -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
  788. -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
  789. -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
  790. -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
  791. -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
  792. -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
  793. -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
  794. -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
  795. -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
  796. < $(srcdir)/stdio.in.h | \
  797. sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
  798. -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
  799. -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
  800. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
  801. -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
  802. -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
  803. -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
  804. -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
  805. -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
  806. -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
  807. -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
  808. -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
  809. -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
  810. -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
  811. -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
  812. -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
  813. -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
  814. -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
  815. -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
  816. -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
  817. -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
  818. -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
  819. -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
  820. -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
  821. -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
  822. -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
  823. -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
  824. -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
  825. -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
  826. -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
  827. -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
  828. -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
  829. -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
  830. -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
  831. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
  832. -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
  833. -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
  834. -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
  835. -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
  836. -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
  837. -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
  838. -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
  839. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  840. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  841. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  842. } > $@-t && \
  843. mv $@-t $@
  844. MOSTLYCLEANFILES += stdio.h stdio.h-t
  845. EXTRA_DIST += stdio-write.c stdio.in.h
  846. EXTRA_libgnu_a_SOURCES += stdio-write.c
  847. ## end gnulib module stdio
  848. ## begin gnulib module stdlib
  849. BUILT_SOURCES += stdlib.h
  850. # We need the following in order to create <stdlib.h> when the system
  851. # doesn't have one that works with the given compiler.
  852. stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  853. $(AM_V_GEN)rm -f $@-t $@ && \
  854. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  855. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  856. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  857. -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
  858. -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
  859. -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
  860. -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
  861. -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
  862. -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
  863. -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
  864. -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
  865. -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
  866. -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
  867. -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
  868. -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
  869. -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
  870. -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
  871. -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
  872. -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
  873. -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
  874. -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
  875. -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
  876. -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
  877. -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
  878. -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
  879. -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
  880. -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
  881. -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
  882. -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
  883. -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
  884. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
  885. -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
  886. -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
  887. -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
  888. -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
  889. -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
  890. -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
  891. -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
  892. -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
  893. -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
  894. -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
  895. -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
  896. -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
  897. -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
  898. -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
  899. -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
  900. -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
  901. -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
  902. -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
  903. -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
  904. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
  905. -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
  906. -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
  907. -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
  908. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
  909. -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
  910. -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
  911. -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
  912. -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
  913. -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
  914. -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
  915. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  916. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  917. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  918. < $(srcdir)/stdlib.in.h; \
  919. } > $@-t && \
  920. mv $@-t $@
  921. MOSTLYCLEANFILES += stdlib.h stdlib.h-t
  922. EXTRA_DIST += stdlib.in.h
  923. ## end gnulib module stdlib
  924. ## begin gnulib module strdup-posix
  925. EXTRA_DIST += strdup.c
  926. EXTRA_libgnu_a_SOURCES += strdup.c
  927. ## end gnulib module strdup-posix
  928. ## begin gnulib module streq
  929. EXTRA_DIST += streq.h
  930. ## end gnulib module streq
  931. ## begin gnulib module strerror
  932. EXTRA_DIST += strerror.c
  933. EXTRA_libgnu_a_SOURCES += strerror.c
  934. ## end gnulib module strerror
  935. ## begin gnulib module string
  936. BUILT_SOURCES += string.h
  937. # We need the following in order to create <string.h> when the system
  938. # doesn't have one that works with the given compiler.
  939. string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  940. $(AM_V_GEN)rm -f $@-t $@ && \
  941. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  942. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  943. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  944. -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  945. -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
  946. -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
  947. -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
  948. -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
  949. -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
  950. -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
  951. -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
  952. -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
  953. -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
  954. -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
  955. -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
  956. -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
  957. -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
  958. -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
  959. -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
  960. -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
  961. -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
  962. -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
  963. -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
  964. -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
  965. -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
  966. -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
  967. -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
  968. -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
  969. -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
  970. -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
  971. -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
  972. -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
  973. -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
  974. -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
  975. -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
  976. -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
  977. -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
  978. -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
  979. < $(srcdir)/string.in.h | \
  980. sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  981. -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  982. -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  983. -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  984. -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  985. -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  986. -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  987. -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  988. -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  989. -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  990. -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  991. -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  992. -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  993. -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  994. -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  995. -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  996. -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  997. -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  998. -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  999. -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  1000. -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  1001. -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  1002. -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  1003. -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  1004. -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  1005. -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  1006. -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  1007. -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  1008. -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  1009. -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  1010. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1011. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1012. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1013. < $(srcdir)/string.in.h; \
  1014. } > $@-t && \
  1015. mv $@-t $@
  1016. MOSTLYCLEANFILES += string.h string.h-t
  1017. EXTRA_DIST += string.in.h
  1018. ## end gnulib module string
  1019. ## begin gnulib module strndup
  1020. EXTRA_DIST += strndup.c
  1021. EXTRA_libgnu_a_SOURCES += strndup.c
  1022. ## end gnulib module strndup
  1023. ## begin gnulib module strnlen
  1024. EXTRA_DIST += strnlen.c
  1025. EXTRA_libgnu_a_SOURCES += strnlen.c
  1026. ## end gnulib module strnlen
  1027. ## begin gnulib module strstr-simple
  1028. EXTRA_DIST += str-two-way.h strstr.c
  1029. EXTRA_libgnu_a_SOURCES += strstr.c
  1030. ## end gnulib module strstr-simple
  1031. ## begin gnulib module sys_socket
  1032. BUILT_SOURCES += sys/socket.h
  1033. # We need the following in order to create <sys/socket.h> when the system
  1034. # doesn't have one that works with the given compiler.
  1035. sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
  1036. $(AM_V_at)$(MKDIR_P) sys
  1037. $(AM_V_GEN)rm -f $@-t $@ && \
  1038. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1039. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1040. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1041. -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
  1042. -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
  1043. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  1044. -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
  1045. -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
  1046. -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
  1047. -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
  1048. -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
  1049. -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
  1050. -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
  1051. -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
  1052. -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
  1053. -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
  1054. -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
  1055. -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
  1056. -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
  1057. -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
  1058. -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
  1059. -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
  1060. -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
  1061. -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
  1062. -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
  1063. -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
  1064. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1065. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1066. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1067. < $(srcdir)/sys_socket.in.h; \
  1068. } > $@-t && \
  1069. mv -f $@-t $@
  1070. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  1071. MOSTLYCLEANDIRS += sys
  1072. EXTRA_DIST += sys_socket.in.h
  1073. ## end gnulib module sys_socket
  1074. ## begin gnulib module sys_stat
  1075. BUILT_SOURCES += sys/stat.h
  1076. # We need the following in order to create <sys/stat.h> when the system
  1077. # has one that is incomplete.
  1078. sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1079. $(AM_V_at)$(MKDIR_P) sys
  1080. $(AM_V_GEN)rm -f $@-t $@ && \
  1081. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1082. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1083. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1084. -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
  1085. -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
  1086. -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
  1087. -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
  1088. -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
  1089. -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
  1090. -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
  1091. -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
  1092. -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
  1093. -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
  1094. -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
  1095. -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
  1096. -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
  1097. -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
  1098. -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
  1099. -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
  1100. -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
  1101. -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
  1102. -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
  1103. -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
  1104. -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
  1105. -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
  1106. -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
  1107. -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
  1108. -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
  1109. -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
  1110. -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
  1111. -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
  1112. -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
  1113. -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
  1114. -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
  1115. -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
  1116. -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
  1117. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1118. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1119. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1120. < $(srcdir)/sys_stat.in.h; \
  1121. } > $@-t && \
  1122. mv $@-t $@
  1123. MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  1124. MOSTLYCLEANDIRS += sys
  1125. EXTRA_DIST += sys_stat.in.h
  1126. ## end gnulib module sys_stat
  1127. ## begin gnulib module time
  1128. BUILT_SOURCES += time.h
  1129. # We need the following in order to create <time.h> when the system
  1130. # doesn't have one that works with the given compiler.
  1131. time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1132. $(AM_V_GEN)rm -f $@-t $@ && \
  1133. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1134. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1135. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1136. -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
  1137. -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
  1138. -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
  1139. -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
  1140. -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
  1141. -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
  1142. -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
  1143. -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
  1144. -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
  1145. -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
  1146. -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
  1147. -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
  1148. -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
  1149. -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
  1150. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1151. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
  1152. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1153. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1154. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1155. < $(srcdir)/time.in.h; \
  1156. } > $@-t && \
  1157. mv $@-t $@
  1158. MOSTLYCLEANFILES += time.h time.h-t
  1159. EXTRA_DIST += time.in.h
  1160. ## end gnulib module time
  1161. ## begin gnulib module time_r
  1162. EXTRA_DIST += time_r.c
  1163. EXTRA_libgnu_a_SOURCES += time_r.c
  1164. ## end gnulib module time_r
  1165. ## begin gnulib module timegm
  1166. EXTRA_DIST += mktime-internal.h timegm.c
  1167. EXTRA_libgnu_a_SOURCES += timegm.c
  1168. ## end gnulib module timegm
  1169. ## begin gnulib module unistd
  1170. BUILT_SOURCES += unistd.h
  1171. # We need the following in order to create an empty placeholder for
  1172. # <unistd.h> when the system doesn't have one.
  1173. unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1174. $(AM_V_GEN)rm -f $@-t $@ && \
  1175. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1176. sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
  1177. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1178. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1179. -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
  1180. -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
  1181. -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
  1182. -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
  1183. -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
  1184. -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
  1185. -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
  1186. -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
  1187. -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
  1188. -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
  1189. -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
  1190. -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
  1191. -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
  1192. -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
  1193. -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
  1194. -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
  1195. -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
  1196. -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
  1197. -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
  1198. -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
  1199. -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
  1200. -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
  1201. -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
  1202. -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
  1203. -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
  1204. -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
  1205. -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
  1206. -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
  1207. -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
  1208. -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
  1209. -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
  1210. -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
  1211. -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
  1212. -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
  1213. -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
  1214. -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
  1215. -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
  1216. -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
  1217. -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
  1218. -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
  1219. < $(srcdir)/unistd.in.h | \
  1220. sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
  1221. -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
  1222. -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
  1223. -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
  1224. -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
  1225. -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
  1226. -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
  1227. -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
  1228. -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
  1229. -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
  1230. -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
  1231. -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
  1232. -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
  1233. -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
  1234. -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
  1235. -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
  1236. -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
  1237. -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
  1238. -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
  1239. -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
  1240. -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
  1241. -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
  1242. -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
  1243. -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
  1244. -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
  1245. -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
  1246. -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
  1247. -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
  1248. -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
  1249. -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
  1250. -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
  1251. -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
  1252. -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
  1253. -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
  1254. -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
  1255. -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
  1256. -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
  1257. -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
  1258. -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
  1259. -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
  1260. -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
  1261. -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
  1262. -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
  1263. -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
  1264. -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
  1265. -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
  1266. -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
  1267. -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
  1268. -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
  1269. -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
  1270. -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
  1271. -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
  1272. -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
  1273. -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
  1274. -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
  1275. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
  1276. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
  1277. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1278. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1279. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  1280. } > $@-t && \
  1281. mv $@-t $@
  1282. MOSTLYCLEANFILES += unistd.h unistd.h-t
  1283. EXTRA_DIST += unistd.in.h
  1284. ## end gnulib module unistd
  1285. ## begin gnulib module unistd-safer
  1286. EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
  1287. EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
  1288. ## end gnulib module unistd-safer
  1289. ## begin gnulib module vasnprintf
  1290. EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  1291. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  1292. ## end gnulib module vasnprintf
  1293. ## begin gnulib module vasprintf
  1294. EXTRA_DIST += asprintf.c vasprintf.c
  1295. EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
  1296. ## end gnulib module vasprintf
  1297. ## begin gnulib module verify
  1298. libgnu_a_SOURCES += verify.h
  1299. ## end gnulib module verify
  1300. ## begin gnulib module vsnprintf
  1301. EXTRA_DIST += vsnprintf.c
  1302. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  1303. ## end gnulib module vsnprintf
  1304. ## begin gnulib module warn-on-use
  1305. BUILT_SOURCES += warn-on-use.h
  1306. # The warn-on-use.h that gets inserted into generated .h files is the same as
  1307. # build-aux/warn-on-use.h, except that it has the copyright header cut off.
  1308. warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
  1309. $(AM_V_GEN)rm -f $@-t $@ && \
  1310. sed -n -e '/^.ifndef/,$$p' \
  1311. < $(top_srcdir)/build-aux/warn-on-use.h \
  1312. > $@-t && \
  1313. mv $@-t $@
  1314. MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
  1315. WARN_ON_USE_H=warn-on-use.h
  1316. EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
  1317. ## end gnulib module warn-on-use
  1318. ## begin gnulib module wchar
  1319. BUILT_SOURCES += wchar.h
  1320. # We need the following in order to create <wchar.h> when the system
  1321. # version does not work standalone.
  1322. wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  1323. $(AM_V_GEN)rm -f $@-t $@ && \
  1324. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1325. sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1326. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1327. -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
  1328. -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
  1329. -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
  1330. -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
  1331. -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
  1332. -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
  1333. -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
  1334. -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
  1335. -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
  1336. -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
  1337. -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
  1338. -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
  1339. -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
  1340. -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
  1341. -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
  1342. -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
  1343. -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
  1344. -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
  1345. -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
  1346. -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
  1347. -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
  1348. -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
  1349. -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
  1350. -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
  1351. -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
  1352. -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
  1353. -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
  1354. -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
  1355. -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
  1356. -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
  1357. -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
  1358. -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
  1359. -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
  1360. -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
  1361. -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
  1362. -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
  1363. -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
  1364. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1365. -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  1366. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1367. < $(srcdir)/wchar.in.h; \
  1368. } > $@-t && \
  1369. mv $@-t $@
  1370. MOSTLYCLEANFILES += wchar.h wchar.h-t
  1371. EXTRA_DIST += wchar.in.h
  1372. ## end gnulib module wchar
  1373. ## begin gnulib module wcrtomb
  1374. EXTRA_DIST += wcrtomb.c
  1375. EXTRA_libgnu_a_SOURCES += wcrtomb.c
  1376. ## end gnulib module wcrtomb
  1377. ## begin gnulib module wctype
  1378. BUILT_SOURCES += wctype.h
  1379. # We need the following in order to create <wctype.h> when the system
  1380. # doesn't have one that works with the given compiler.
  1381. wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
  1382. $(AM_V_GEN)rm -f $@-t $@ && \
  1383. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1384. sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  1385. -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  1386. -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  1387. -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
  1388. -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
  1389. -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
  1390. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  1391. -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
  1392. -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  1393. -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  1394. < $(srcdir)/wctype.in.h; \
  1395. } > $@-t && \
  1396. mv $@-t $@
  1397. MOSTLYCLEANFILES += wctype.h wctype.h-t
  1398. EXTRA_DIST += wctype.in.h
  1399. ## end gnulib module wctype
  1400. ## begin gnulib module write
  1401. EXTRA_DIST += write.c
  1402. EXTRA_libgnu_a_SOURCES += write.c
  1403. ## end gnulib module write
  1404. ## begin gnulib module xalloc
  1405. EXTRA_DIST += xalloc.h xmalloc.c
  1406. EXTRA_libgnu_a_SOURCES += xmalloc.c
  1407. ## end gnulib module xalloc
  1408. ## begin gnulib module xalloc-die
  1409. libgnu_a_SOURCES += xalloc-die.c
  1410. ## end gnulib module xalloc-die
  1411. ## begin gnulib module xsize
  1412. libgnu_a_SOURCES += xsize.h
  1413. ## end gnulib module xsize
  1414. ## begin gnulib module xstrndup
  1415. libgnu_a_SOURCES += xstrndup.h xstrndup.c
  1416. ## end gnulib module xstrndup
  1417. mostlyclean-local: mostlyclean-generic
  1418. @for dir in '' $(MOSTLYCLEANDIRS); do \
  1419. if test -n "$$dir" && test -d $$dir; then \
  1420. echo "rmdir $$dir"; rmdir $$dir; \
  1421. fi; \
  1422. done; \
  1423. :