Makefile.am 67 KB

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