Makefile.am 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. ## DO NOT EDIT! GENERATED AUTOMATICALLY!
  2. ## Process this file with automake to produce Makefile.in.
  3. # Copyright (C) 2004-2007 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 --aux-dir=. --no-libtool --macro-prefix=gl dirname fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
  13. AUTOMAKE_OPTIONS = 1.5 gnits
  14. noinst_HEADERS =
  15. noinst_LIBRARIES =
  16. noinst_LTLIBRARIES =
  17. EXTRA_DIST =
  18. BUILT_SOURCES =
  19. SUFFIXES =
  20. MOSTLYCLEANFILES = core *.stackdump
  21. MOSTLYCLEANDIRS =
  22. CLEANFILES =
  23. DISTCLEANFILES =
  24. MAINTAINERCLEANFILES =
  25. AM_CPPFLAGS =
  26. noinst_LIBRARIES += libgnu.a
  27. libgnu_a_SOURCES =
  28. libgnu_a_LIBADD = $(gl_LIBOBJS)
  29. libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  30. EXTRA_libgnu_a_SOURCES =
  31. ## begin gnulib module alloca
  32. EXTRA_DIST += alloca.c
  33. EXTRA_libgnu_a_SOURCES += alloca.c
  34. libgnu_a_LIBADD += @ALLOCA@
  35. libgnu_a_DEPENDENCIES += @ALLOCA@
  36. ## end gnulib module alloca
  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_.h
  42. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  43. cat $(srcdir)/alloca_.h; \
  44. } > $@-t
  45. mv -f $@-t $@
  46. MOSTLYCLEANFILES += alloca.h alloca.h-t
  47. EXTRA_DIST += alloca_.h
  48. ## end gnulib module alloca-opt
  49. ## begin gnulib module arpa_inet
  50. BUILT_SOURCES += $(ARPA_INET_H)
  51. # We need the following in order to create <arpa/inet.h> when the system
  52. # doesn't have one.
  53. arpa/inet.h:
  54. test -d arpa || mkdir arpa
  55. rm -f $@-t $@
  56. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  57. echo '#include <sys/socket.h>'; \
  58. } > $@-t
  59. mv $@-t $@
  60. MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  61. MOSTLYCLEANDIRS += arpa
  62. ## end gnulib module arpa_inet
  63. ## begin gnulib module c-strtod
  64. EXTRA_DIST += c-strtod.c c-strtod.h
  65. EXTRA_libgnu_a_SOURCES += c-strtod.c
  66. ## end gnulib module c-strtod
  67. ## begin gnulib module cloexec
  68. EXTRA_DIST += cloexec.c cloexec.h
  69. EXTRA_libgnu_a_SOURCES += cloexec.c
  70. ## end gnulib module cloexec
  71. ## begin gnulib module dirname
  72. EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
  73. EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
  74. ## end gnulib module dirname
  75. ## begin gnulib module error
  76. EXTRA_DIST += error.c error.h
  77. EXTRA_libgnu_a_SOURCES += error.c
  78. ## end gnulib module error
  79. ## begin gnulib module exit
  80. libgnu_a_SOURCES += exit.h
  81. ## end gnulib module exit
  82. ## begin gnulib module exitfail
  83. EXTRA_DIST += exitfail.c exitfail.h
  84. EXTRA_libgnu_a_SOURCES += exitfail.c
  85. ## end gnulib module exitfail
  86. ## begin gnulib module fcntl-safer
  87. EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
  88. EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
  89. ## end gnulib module fcntl-safer
  90. ## begin gnulib module fsusage
  91. EXTRA_DIST += fsusage.c fsusage.h
  92. EXTRA_libgnu_a_SOURCES += fsusage.c
  93. ## end gnulib module fsusage
  94. ## begin gnulib module full-read
  95. libgnu_a_SOURCES += full-read.h full-read.c
  96. ## end gnulib module full-read
  97. ## begin gnulib module full-write
  98. libgnu_a_SOURCES += full-write.h full-write.c
  99. ## end gnulib module full-write
  100. ## begin gnulib module getaddrinfo
  101. EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
  102. EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
  103. ## end gnulib module getaddrinfo
  104. ## begin gnulib module gethostname
  105. EXTRA_DIST += gethostname.c
  106. EXTRA_libgnu_a_SOURCES += gethostname.c
  107. ## end gnulib module gethostname
  108. ## begin gnulib module getloadavg
  109. EXTRA_DIST += getloadavg.c
  110. EXTRA_libgnu_a_SOURCES += getloadavg.c
  111. ## end gnulib module getloadavg
  112. ## begin gnulib module getopt
  113. BUILT_SOURCES += $(GETOPT_H)
  114. # We need the following in order to create <getopt.h> when the system
  115. # doesn't have one that works with the given compiler.
  116. getopt.h: getopt_.h
  117. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  118. cat $(srcdir)/getopt_.h; \
  119. } > $@-t
  120. mv -f $@-t $@
  121. MOSTLYCLEANFILES += getopt.h getopt.h-t
  122. EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
  123. EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
  124. ## end gnulib module getopt
  125. ## begin gnulib module gettext
  126. # This is for those projects which use "gettextize --intl" to put a source-code
  127. # copy of libintl into their package. In such projects, every Makefile.am needs
  128. # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
  129. # For the Makefile.ams in other directories it is the maintainer's
  130. # responsibility; for the one from gnulib we do it here.
  131. # This option has no effect when the user disables NLS (because then the intl
  132. # directory contains no libintl.h file) or when the project does not use
  133. # "gettextize --intl".
  134. AM_CPPFLAGS += -I$(top_builddir)/intl
  135. ## end gnulib module gettext
  136. ## begin gnulib module gettext-h
  137. libgnu_a_SOURCES += gettext.h
  138. ## end gnulib module gettext-h
  139. ## begin gnulib module inet_ntop
  140. EXTRA_DIST += inet_ntop.c inet_ntop.h
  141. EXTRA_libgnu_a_SOURCES += inet_ntop.c
  142. ## end gnulib module inet_ntop
  143. ## begin gnulib module intprops
  144. EXTRA_DIST += intprops.h
  145. ## end gnulib module intprops
  146. ## begin gnulib module malloc
  147. EXTRA_DIST += malloc.c
  148. EXTRA_libgnu_a_SOURCES += malloc.c
  149. ## end gnulib module malloc
  150. ## begin gnulib module mbchar
  151. EXTRA_DIST += mbchar.c mbchar.h
  152. EXTRA_libgnu_a_SOURCES += mbchar.c
  153. ## end gnulib module mbchar
  154. ## begin gnulib module mbuiter
  155. libgnu_a_SOURCES += mbuiter.h
  156. ## end gnulib module mbuiter
  157. ## begin gnulib module memchr
  158. EXTRA_DIST += memchr.c
  159. EXTRA_libgnu_a_SOURCES += memchr.c
  160. ## end gnulib module memchr
  161. ## begin gnulib module minmax
  162. libgnu_a_SOURCES += minmax.h
  163. ## end gnulib module minmax
  164. ## begin gnulib module mountlist
  165. EXTRA_DIST += mountlist.c mountlist.h
  166. EXTRA_libgnu_a_SOURCES += mountlist.c
  167. ## end gnulib module mountlist
  168. ## begin gnulib module netinet_in
  169. BUILT_SOURCES += $(NETINET_IN_H)
  170. # We need the following in order to create <netinet/in.h> when the system
  171. # doesn't have one.
  172. netinet/in.h:
  173. test -d netinet || mkdir netinet
  174. rm -f $@-t $@
  175. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  176. echo '#include <sys/socket.h>'; \
  177. } > $@-t
  178. mv $@-t $@
  179. MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  180. MOSTLYCLEANDIRS += netinet
  181. ## end gnulib module netinet_in
  182. ## begin gnulib module regex
  183. EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
  184. EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
  185. ## end gnulib module regex
  186. ## begin gnulib module safe-read
  187. EXTRA_DIST += safe-read.c safe-read.h
  188. EXTRA_libgnu_a_SOURCES += safe-read.c
  189. ## end gnulib module safe-read
  190. ## begin gnulib module safe-write
  191. EXTRA_DIST += safe-write.c safe-write.h
  192. EXTRA_libgnu_a_SOURCES += safe-write.c
  193. ## end gnulib module safe-write
  194. ## begin gnulib module size_max
  195. libgnu_a_SOURCES += size_max.h
  196. ## end gnulib module size_max
  197. ## begin gnulib module snprintf
  198. EXTRA_DIST += snprintf.c snprintf.h
  199. EXTRA_libgnu_a_SOURCES += snprintf.c
  200. ## end gnulib module snprintf
  201. ## begin gnulib module stdbool
  202. BUILT_SOURCES += $(STDBOOL_H)
  203. # We need the following in order to create <stdbool.h> when the system
  204. # doesn't have one that works.
  205. stdbool.h: stdbool_.h
  206. rm -f $@-t $@
  207. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  208. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
  209. } > $@-t
  210. mv $@-t $@
  211. MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  212. EXTRA_DIST += stdbool_.h
  213. ## end gnulib module stdbool
  214. ## begin gnulib module stdint
  215. BUILT_SOURCES += $(STDINT_H)
  216. # We need the following in order to create <stdint.h> when the system
  217. # doesn't have one that works with the given compiler.
  218. stdint.h: stdint_.h
  219. rm -f $@-t $@
  220. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  221. sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  222. -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
  223. -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  224. -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  225. -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  226. -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  227. -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  228. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  229. -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  230. -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  231. -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  232. -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  233. -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  234. -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  235. -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  236. -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  237. -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  238. -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  239. -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  240. -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  241. -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  242. < $(srcdir)/stdint_.h; \
  243. } > $@-t
  244. mv $@-t $@
  245. MOSTLYCLEANFILES += stdint.h stdint.h-t
  246. EXTRA_DIST += stdint_.h
  247. ## end gnulib module stdint
  248. ## begin gnulib module strcase
  249. EXTRA_DIST += strcase.h strcasecmp.c strncasecmp.c
  250. EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
  251. ## end gnulib module strcase
  252. ## begin gnulib module strdup
  253. EXTRA_DIST += strdup.c strdup.h
  254. EXTRA_libgnu_a_SOURCES += strdup.c
  255. ## end gnulib module strdup
  256. ## begin gnulib module strndup
  257. EXTRA_DIST += strndup.c strndup.h
  258. EXTRA_libgnu_a_SOURCES += strndup.c
  259. ## end gnulib module strndup
  260. ## begin gnulib module strnlen
  261. EXTRA_DIST += strnlen.c strnlen.h
  262. EXTRA_libgnu_a_SOURCES += strnlen.c
  263. ## end gnulib module strnlen
  264. ## begin gnulib module strnlen1
  265. libgnu_a_SOURCES += strnlen1.h strnlen1.c
  266. ## end gnulib module strnlen1
  267. ## begin gnulib module sys_socket
  268. BUILT_SOURCES += $(SYS_SOCKET_H)
  269. # We need the following in order to create <sys/socket.h> when the system
  270. # doesn't have one that works with the given compiler.
  271. sys/socket.h: socket_.h
  272. @MKDIR_P@ sys
  273. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  274. cat $(srcdir)/socket_.h; \
  275. } > $@-t
  276. mv -f $@-t $@
  277. MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  278. MOSTLYCLEANDIRS += sys
  279. EXTRA_DIST += socket_.h
  280. ## end gnulib module sys_socket
  281. ## begin gnulib module unistd
  282. BUILT_SOURCES += $(UNISTD_H)
  283. # We need the following in order to create an empty placeholder for
  284. # <unistd.h> when the system doesn't have one.
  285. unistd.h: unistd_.h
  286. rm -f $@-t $@
  287. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  288. sed -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
  289. < $(srcdir)/unistd_.h; \
  290. } > $@-t
  291. mv $@-t $@
  292. MOSTLYCLEANFILES += unistd.h unistd.h-t
  293. EXTRA_DIST += unistd_.h
  294. ## end gnulib module unistd
  295. ## begin gnulib module unistd-safer
  296. EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
  297. EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
  298. ## end gnulib module unistd-safer
  299. ## begin gnulib module vasnprintf
  300. EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
  301. EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
  302. ## end gnulib module vasnprintf
  303. ## begin gnulib module vasprintf
  304. EXTRA_DIST += asprintf.c vasprintf.c vasprintf.h
  305. EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
  306. ## end gnulib module vasprintf
  307. ## begin gnulib module vsnprintf
  308. EXTRA_DIST += vsnprintf.c vsnprintf.h
  309. EXTRA_libgnu_a_SOURCES += vsnprintf.c
  310. ## end gnulib module vsnprintf
  311. ## begin gnulib module wchar
  312. BUILT_SOURCES += $(WCHAR_H)
  313. # We need the following in order to create <wchar.h> when the system
  314. # version does not work standalone.
  315. wchar.h: wchar_.h
  316. rm -f $@-t $@
  317. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  318. sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
  319. < $(srcdir)/wchar_.h; \
  320. } > $@-t
  321. mv $@-t $@
  322. MOSTLYCLEANFILES += wchar.h wchar.h-t
  323. EXTRA_DIST += wchar_.h
  324. ## end gnulib module wchar
  325. ## begin gnulib module wctype
  326. BUILT_SOURCES += $(WCTYPE_H)
  327. # We need the following in order to create <wctype.h> when the system
  328. # doesn't have one that works with the given compiler.
  329. wctype.h: wctype_.h
  330. rm -f $@-t $@
  331. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  332. sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
  333. -e 's|@''ABSOLUTE_WCTYPE_H''@|$(ABSOLUTE_WCTYPE_H)|g' \
  334. -e 's/@''HAVE_WCTYPE_CTMP_BUG''@/$(HAVE_WCTYPE_CTMP_BUG)/g' \
  335. -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
  336. < $(srcdir)/wctype_.h; \
  337. } > $@-t
  338. mv $@-t $@
  339. MOSTLYCLEANFILES += wctype.h wctype.h-t
  340. EXTRA_DIST += wctype_.h
  341. ## end gnulib module wctype
  342. ## begin gnulib module wcwidth
  343. libgnu_a_SOURCES += wcwidth.h
  344. ## end gnulib module wcwidth
  345. ## begin gnulib module xalloc
  346. EXTRA_DIST += xalloc.h xmalloc.c
  347. EXTRA_libgnu_a_SOURCES += xmalloc.c
  348. ## end gnulib module xalloc
  349. ## begin gnulib module xalloc-die
  350. libgnu_a_SOURCES += xalloc-die.c
  351. ## end gnulib module xalloc-die
  352. ## begin gnulib module xsize
  353. libgnu_a_SOURCES += xsize.h
  354. ## end gnulib module xsize
  355. ## begin gnulib module xstrndup
  356. libgnu_a_SOURCES += xstrndup.h xstrndup.c
  357. ## end gnulib module xstrndup
  358. mostlyclean-local: mostlyclean-generic
  359. @for dir in '' $(MOSTLYCLEANDIRS); do \
  360. if test -n "$$dir" && test -d $$dir; then \
  361. echo "rmdir $$dir"; rmdir $$dir; \
  362. fi; \
  363. done