waj-ruby-llvm 2.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/README.rdoc +31 -0
  2. data/ext/ruby-llvm-support/Makefile.am +1 -0
  3. data/ext/ruby-llvm-support/Makefile.in +612 -0
  4. data/ext/ruby-llvm-support/config.guess +1500 -0
  5. data/ext/ruby-llvm-support/config.sub +1616 -0
  6. data/ext/ruby-llvm-support/configure +17190 -0
  7. data/ext/ruby-llvm-support/configure.ac +16 -0
  8. data/ext/ruby-llvm-support/depcomp +584 -0
  9. data/ext/ruby-llvm-support/install-sh +507 -0
  10. data/ext/ruby-llvm-support/libtool +9403 -0
  11. data/ext/ruby-llvm-support/ltmain.sh +8745 -0
  12. data/ext/ruby-llvm-support/missing +367 -0
  13. data/ext/ruby-llvm-support/src/Makefile.am +5 -0
  14. data/ext/ruby-llvm-support/src/Makefile.in +472 -0
  15. data/ext/ruby-llvm-support/src/support.cpp +12 -0
  16. data/lib/llvm.rb +12 -0
  17. data/lib/llvm/analysis.rb +62 -0
  18. data/lib/llvm/core.rb +598 -0
  19. data/lib/llvm/core/bitcode.rb +88 -0
  20. data/lib/llvm/core/builder.rb +851 -0
  21. data/lib/llvm/core/context.rb +22 -0
  22. data/lib/llvm/core/module.rb +232 -0
  23. data/lib/llvm/core/pass_manager.rb +76 -0
  24. data/lib/llvm/core/type.rb +173 -0
  25. data/lib/llvm/core/value.rb +782 -0
  26. data/lib/llvm/execution_engine.rb +169 -0
  27. data/lib/llvm/support.rb +22 -0
  28. data/lib/llvm/target.rb +9 -0
  29. data/lib/llvm/transforms/ipo.rb +23 -0
  30. data/lib/llvm/transforms/scalar.rb +136 -0
  31. data/test/array_test.rb +38 -0
  32. data/test/basic_block_test.rb +88 -0
  33. data/test/basic_test.rb +11 -0
  34. data/test/binary_operations_test.rb +58 -0
  35. data/test/bitcode_test.rb +25 -0
  36. data/test/branch_test.rb +57 -0
  37. data/test/call_test.rb +82 -0
  38. data/test/comparisons_test.rb +66 -0
  39. data/test/conversions_test.rb +86 -0
  40. data/test/double_test.rb +33 -0
  41. data/test/equality_test.rb +91 -0
  42. data/test/generic_value_test.rb +22 -0
  43. data/test/instruction_test.rb +32 -0
  44. data/test/ipo_test.rb +53 -0
  45. data/test/memory_access_test.rb +38 -0
  46. data/test/module_test.rb +21 -0
  47. data/test/parameter_collection_test.rb +28 -0
  48. data/test/phi_test.rb +33 -0
  49. data/test/select_test.rb +22 -0
  50. data/test/struct_test.rb +75 -0
  51. data/test/test_helper.rb +50 -0
  52. data/test/type_test.rb +15 -0
  53. data/test/vector_test.rb +64 -0
  54. metadata +133 -0
@@ -0,0 +1,31 @@
1
+ = LLVM
2
+
3
+ Author:: Jeremy Voorhis
4
+ Contributors:: Evan Phoenix, David Holroyd, Takanori Ishikawa, Ronaldo M. Ferraz, Mac Malone, Chris Wailes, Ary Borenszweig
5
+ Copyright:: Copyright (c) 2010-2011 Jeremy Voorhis
6
+ License:: BSD 3-clause (see LICENSE)
7
+
8
+ This package contains Ruby bindings to the LLVM api, enabling users to
9
+ make use of LLVM's optimization passes and JIT compilation for
10
+ implementing compiled DSLs, callback functions, or fast Ruby method
11
+ implementations.
12
+
13
+ ruby-llvm has been tested on Mac OS X 10.6 using the following Ruby interpreters:
14
+
15
+ * MRI 1.8.7-p174
16
+ * MRI 1.9.2-p290
17
+ * MRI 1.9.3-preview1
18
+ * JRuby 1.4.0
19
+
20
+ If using MRI, ffi >= 1.0.7 is recommended (only ffi >= 1.0.0 is required).
21
+
22
+ == Requirements
23
+ * LLVM 2.9, including libLLVM-2.9 (compile LLVM with --enable-shared).
24
+ * In order to ensure the usability of JIT features (i.e. create_jit_compiler), compile LLVM with --enable-jit as well.
25
+
26
+ == About version numbers
27
+
28
+ The first two digits of ruby-llvm's version number refer to the required
29
+ major and minor version of LLVM. The third digit refers to the ruby-llvm
30
+ release itself. Because LLVM's api changes often, this coupling between
31
+ LLVM and ruby-llvm versions is useful.
@@ -0,0 +1 @@
1
+ SUBDIRS = src
@@ -0,0 +1,612 @@
1
+ # Makefile.in generated by automake 1.10 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+ @SET_MAKE@
16
+ VPATH = @srcdir@
17
+ pkgdatadir = $(datadir)/@PACKAGE@
18
+ pkglibdir = $(libdir)/@PACKAGE@
19
+ pkgincludedir = $(includedir)/@PACKAGE@
20
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21
+ install_sh_DATA = $(install_sh) -c -m 644
22
+ install_sh_PROGRAM = $(install_sh) -c
23
+ install_sh_SCRIPT = $(install_sh) -c
24
+ INSTALL_HEADER = $(INSTALL_DATA)
25
+ transform = $(program_transform_name)
26
+ NORMAL_INSTALL = :
27
+ PRE_INSTALL = :
28
+ POST_INSTALL = :
29
+ NORMAL_UNINSTALL = :
30
+ PRE_UNINSTALL = :
31
+ POST_UNINSTALL = :
32
+ build_triplet = @build@
33
+ host_triplet = @host@
34
+ subdir = .
35
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36
+ $(srcdir)/Makefile.in $(top_srcdir)/configure config.guess \
37
+ config.sub depcomp install-sh ltmain.sh missing
38
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
40
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41
+ $(ACLOCAL_M4)
42
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
43
+ configure.lineno config.status.lineno
44
+ mkinstalldirs = $(install_sh) -d
45
+ CONFIG_CLEAN_FILES =
46
+ SOURCES =
47
+ DIST_SOURCES =
48
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
49
+ html-recursive info-recursive install-data-recursive \
50
+ install-dvi-recursive install-exec-recursive \
51
+ install-html-recursive install-info-recursive \
52
+ install-pdf-recursive install-ps-recursive install-recursive \
53
+ installcheck-recursive installdirs-recursive pdf-recursive \
54
+ ps-recursive uninstall-recursive
55
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
56
+ distclean-recursive maintainer-clean-recursive
57
+ ETAGS = etags
58
+ CTAGS = ctags
59
+ DIST_SUBDIRS = $(SUBDIRS)
60
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
+ distdir = $(PACKAGE)-$(VERSION)
62
+ top_distdir = $(distdir)
63
+ am__remove_distdir = \
64
+ { test ! -d $(distdir) \
65
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
66
+ && rm -fr $(distdir); }; }
67
+ DIST_ARCHIVES = $(distdir).tar.gz
68
+ GZIP_ENV = --best
69
+ distuninstallcheck_listfiles = find . -type f -print
70
+ distcleancheck_listfiles = find . -type f -print
71
+ ACLOCAL = @ACLOCAL@
72
+ AMTAR = @AMTAR@
73
+ AR = @AR@
74
+ AUTOCONF = @AUTOCONF@
75
+ AUTOHEADER = @AUTOHEADER@
76
+ AUTOMAKE = @AUTOMAKE@
77
+ AWK = @AWK@
78
+ CC = @CC@
79
+ CCDEPMODE = @CCDEPMODE@
80
+ CFLAGS = @CFLAGS@
81
+ CPP = @CPP@
82
+ CPPFLAGS = @CPPFLAGS@
83
+ CXX = @CXX@
84
+ CXXCPP = @CXXCPP@
85
+ CXXDEPMODE = @CXXDEPMODE@
86
+ CXXFLAGS = @CXXFLAGS@
87
+ CYGPATH_W = @CYGPATH_W@
88
+ DEFS = @DEFS@
89
+ DEPDIR = @DEPDIR@
90
+ DSYMUTIL = @DSYMUTIL@
91
+ DUMPBIN = @DUMPBIN@
92
+ ECHO_C = @ECHO_C@
93
+ ECHO_N = @ECHO_N@
94
+ ECHO_T = @ECHO_T@
95
+ EGREP = @EGREP@
96
+ EXEEXT = @EXEEXT@
97
+ FGREP = @FGREP@
98
+ GREP = @GREP@
99
+ INSTALL = @INSTALL@
100
+ INSTALL_DATA = @INSTALL_DATA@
101
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
102
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
103
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
104
+ LD = @LD@
105
+ LDFLAGS = @LDFLAGS@
106
+ LIBOBJS = @LIBOBJS@
107
+ LIBS = @LIBS@
108
+ LIBTOOL = @LIBTOOL@
109
+ LIPO = @LIPO@
110
+ LN_S = @LN_S@
111
+ LTLIBOBJS = @LTLIBOBJS@
112
+ MAKEINFO = @MAKEINFO@
113
+ MKDIR_P = @MKDIR_P@
114
+ NM = @NM@
115
+ NMEDIT = @NMEDIT@
116
+ OBJDUMP = @OBJDUMP@
117
+ OBJEXT = @OBJEXT@
118
+ OTOOL = @OTOOL@
119
+ OTOOL64 = @OTOOL64@
120
+ PACKAGE = @PACKAGE@
121
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
122
+ PACKAGE_NAME = @PACKAGE_NAME@
123
+ PACKAGE_STRING = @PACKAGE_STRING@
124
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
125
+ PACKAGE_VERSION = @PACKAGE_VERSION@
126
+ PATH_SEPARATOR = @PATH_SEPARATOR@
127
+ RANLIB = @RANLIB@
128
+ SED = @SED@
129
+ SET_MAKE = @SET_MAKE@
130
+ SHELL = @SHELL@
131
+ STRIP = @STRIP@
132
+ VERSION = @VERSION@
133
+ abs_builddir = @abs_builddir@
134
+ abs_srcdir = @abs_srcdir@
135
+ abs_top_builddir = @abs_top_builddir@
136
+ abs_top_srcdir = @abs_top_srcdir@
137
+ ac_ct_CC = @ac_ct_CC@
138
+ ac_ct_CXX = @ac_ct_CXX@
139
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
140
+ am__include = @am__include@
141
+ am__leading_dot = @am__leading_dot@
142
+ am__quote = @am__quote@
143
+ am__tar = @am__tar@
144
+ am__untar = @am__untar@
145
+ bindir = @bindir@
146
+ build = @build@
147
+ build_alias = @build_alias@
148
+ build_cpu = @build_cpu@
149
+ build_os = @build_os@
150
+ build_vendor = @build_vendor@
151
+ builddir = @builddir@
152
+ datadir = @datadir@
153
+ datarootdir = @datarootdir@
154
+ docdir = @docdir@
155
+ dvidir = @dvidir@
156
+ exec_prefix = @exec_prefix@
157
+ host = @host@
158
+ host_alias = @host_alias@
159
+ host_cpu = @host_cpu@
160
+ host_os = @host_os@
161
+ host_vendor = @host_vendor@
162
+ htmldir = @htmldir@
163
+ includedir = @includedir@
164
+ infodir = @infodir@
165
+ install_sh = @install_sh@
166
+ libdir = @libdir@
167
+ libexecdir = @libexecdir@
168
+ localedir = @localedir@
169
+ localstatedir = @localstatedir@
170
+ mandir = @mandir@
171
+ mkdir_p = @mkdir_p@
172
+ oldincludedir = @oldincludedir@
173
+ pdfdir = @pdfdir@
174
+ prefix = @prefix@
175
+ program_transform_name = @program_transform_name@
176
+ psdir = @psdir@
177
+ sbindir = @sbindir@
178
+ sharedstatedir = @sharedstatedir@
179
+ srcdir = @srcdir@
180
+ sysconfdir = @sysconfdir@
181
+ target_alias = @target_alias@
182
+ top_builddir = @top_builddir@
183
+ top_srcdir = @top_srcdir@
184
+ SUBDIRS = src
185
+ all: all-recursive
186
+
187
+ .SUFFIXES:
188
+ am--refresh:
189
+ @:
190
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
191
+ @for dep in $?; do \
192
+ case '$(am__configure_deps)' in \
193
+ *$$dep*) \
194
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
195
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
196
+ && exit 0; \
197
+ exit 1;; \
198
+ esac; \
199
+ done; \
200
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
201
+ cd $(top_srcdir) && \
202
+ $(AUTOMAKE) --foreign Makefile
203
+ .PRECIOUS: Makefile
204
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
205
+ @case '$?' in \
206
+ *config.status*) \
207
+ echo ' $(SHELL) ./config.status'; \
208
+ $(SHELL) ./config.status;; \
209
+ *) \
210
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
211
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
212
+ esac;
213
+
214
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
215
+ $(SHELL) ./config.status --recheck
216
+
217
+ $(top_srcdir)/configure: $(am__configure_deps)
218
+ cd $(srcdir) && $(AUTOCONF)
219
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
220
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
221
+
222
+ mostlyclean-libtool:
223
+ -rm -f *.lo
224
+
225
+ clean-libtool:
226
+ -rm -rf .libs _libs
227
+
228
+ distclean-libtool:
229
+ -rm -f libtool
230
+
231
+ # This directory's subdirectories are mostly independent; you can cd
232
+ # into them and run `make' without going through this Makefile.
233
+ # To change the values of `make' variables: instead of editing Makefiles,
234
+ # (1) if the variable is set in `config.status', edit `config.status'
235
+ # (which will cause the Makefiles to be regenerated when you run `make');
236
+ # (2) otherwise, pass the desired values on the `make' command line.
237
+ $(RECURSIVE_TARGETS):
238
+ @failcom='exit 1'; \
239
+ for f in x $$MAKEFLAGS; do \
240
+ case $$f in \
241
+ *=* | --[!k]*);; \
242
+ *k*) failcom='fail=yes';; \
243
+ esac; \
244
+ done; \
245
+ dot_seen=no; \
246
+ target=`echo $@ | sed s/-recursive//`; \
247
+ list='$(SUBDIRS)'; for subdir in $$list; do \
248
+ echo "Making $$target in $$subdir"; \
249
+ if test "$$subdir" = "."; then \
250
+ dot_seen=yes; \
251
+ local_target="$$target-am"; \
252
+ else \
253
+ local_target="$$target"; \
254
+ fi; \
255
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
256
+ || eval $$failcom; \
257
+ done; \
258
+ if test "$$dot_seen" = "no"; then \
259
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
260
+ fi; test -z "$$fail"
261
+
262
+ $(RECURSIVE_CLEAN_TARGETS):
263
+ @failcom='exit 1'; \
264
+ for f in x $$MAKEFLAGS; do \
265
+ case $$f in \
266
+ *=* | --[!k]*);; \
267
+ *k*) failcom='fail=yes';; \
268
+ esac; \
269
+ done; \
270
+ dot_seen=no; \
271
+ case "$@" in \
272
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
273
+ *) list='$(SUBDIRS)' ;; \
274
+ esac; \
275
+ rev=''; for subdir in $$list; do \
276
+ if test "$$subdir" = "."; then :; else \
277
+ rev="$$subdir $$rev"; \
278
+ fi; \
279
+ done; \
280
+ rev="$$rev ."; \
281
+ target=`echo $@ | sed s/-recursive//`; \
282
+ for subdir in $$rev; do \
283
+ echo "Making $$target in $$subdir"; \
284
+ if test "$$subdir" = "."; then \
285
+ local_target="$$target-am"; \
286
+ else \
287
+ local_target="$$target"; \
288
+ fi; \
289
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
290
+ || eval $$failcom; \
291
+ done && test -z "$$fail"
292
+ tags-recursive:
293
+ list='$(SUBDIRS)'; for subdir in $$list; do \
294
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
295
+ done
296
+ ctags-recursive:
297
+ list='$(SUBDIRS)'; for subdir in $$list; do \
298
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
299
+ done
300
+
301
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
302
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
303
+ unique=`for i in $$list; do \
304
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
305
+ done | \
306
+ $(AWK) ' { files[$$0] = 1; } \
307
+ END { for (i in files) print i; }'`; \
308
+ mkid -fID $$unique
309
+ tags: TAGS
310
+
311
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
312
+ $(TAGS_FILES) $(LISP)
313
+ tags=; \
314
+ here=`pwd`; \
315
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
316
+ include_option=--etags-include; \
317
+ empty_fix=.; \
318
+ else \
319
+ include_option=--include; \
320
+ empty_fix=; \
321
+ fi; \
322
+ list='$(SUBDIRS)'; for subdir in $$list; do \
323
+ if test "$$subdir" = .; then :; else \
324
+ test ! -f $$subdir/TAGS || \
325
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
326
+ fi; \
327
+ done; \
328
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
329
+ unique=`for i in $$list; do \
330
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
331
+ done | \
332
+ $(AWK) ' { files[$$0] = 1; } \
333
+ END { for (i in files) print i; }'`; \
334
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
335
+ test -n "$$unique" || unique=$$empty_fix; \
336
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
337
+ $$tags $$unique; \
338
+ fi
339
+ ctags: CTAGS
340
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
341
+ $(TAGS_FILES) $(LISP)
342
+ tags=; \
343
+ here=`pwd`; \
344
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
345
+ unique=`for i in $$list; do \
346
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
347
+ done | \
348
+ $(AWK) ' { files[$$0] = 1; } \
349
+ END { for (i in files) print i; }'`; \
350
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
351
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
352
+ $$tags $$unique
353
+
354
+ GTAGS:
355
+ here=`$(am__cd) $(top_builddir) && pwd` \
356
+ && cd $(top_srcdir) \
357
+ && gtags -i $(GTAGS_ARGS) $$here
358
+
359
+ distclean-tags:
360
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
361
+
362
+ distdir: $(DISTFILES)
363
+ $(am__remove_distdir)
364
+ test -d $(distdir) || mkdir $(distdir)
365
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
366
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
367
+ list='$(DISTFILES)'; \
368
+ dist_files=`for file in $$list; do echo $$file; done | \
369
+ sed -e "s|^$$srcdirstrip/||;t" \
370
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
371
+ case $$dist_files in \
372
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
373
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
374
+ sort -u` ;; \
375
+ esac; \
376
+ for file in $$dist_files; do \
377
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
378
+ if test -d $$d/$$file; then \
379
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
380
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
381
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
382
+ fi; \
383
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
384
+ else \
385
+ test -f $(distdir)/$$file \
386
+ || cp -p $$d/$$file $(distdir)/$$file \
387
+ || exit 1; \
388
+ fi; \
389
+ done
390
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
391
+ if test "$$subdir" = .; then :; else \
392
+ test -d "$(distdir)/$$subdir" \
393
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
394
+ || exit 1; \
395
+ distdir=`$(am__cd) $(distdir) && pwd`; \
396
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
397
+ (cd $$subdir && \
398
+ $(MAKE) $(AM_MAKEFLAGS) \
399
+ top_distdir="$$top_distdir" \
400
+ distdir="$$distdir/$$subdir" \
401
+ am__remove_distdir=: \
402
+ am__skip_length_check=: \
403
+ distdir) \
404
+ || exit 1; \
405
+ fi; \
406
+ done
407
+ -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
408
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
409
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
410
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
411
+ || chmod -R a+r $(distdir)
412
+ dist-gzip: distdir
413
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
414
+ $(am__remove_distdir)
415
+
416
+ dist-bzip2: distdir
417
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
418
+ $(am__remove_distdir)
419
+
420
+ dist-tarZ: distdir
421
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
422
+ $(am__remove_distdir)
423
+
424
+ dist-shar: distdir
425
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
426
+ $(am__remove_distdir)
427
+
428
+ dist-zip: distdir
429
+ -rm -f $(distdir).zip
430
+ zip -rq $(distdir).zip $(distdir)
431
+ $(am__remove_distdir)
432
+
433
+ dist dist-all: distdir
434
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
435
+ $(am__remove_distdir)
436
+
437
+ # This target untars the dist file and tries a VPATH configuration. Then
438
+ # it guarantees that the distribution is self-contained by making another
439
+ # tarfile.
440
+ distcheck: dist
441
+ case '$(DIST_ARCHIVES)' in \
442
+ *.tar.gz*) \
443
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
444
+ *.tar.bz2*) \
445
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
446
+ *.tar.Z*) \
447
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
448
+ *.shar.gz*) \
449
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
450
+ *.zip*) \
451
+ unzip $(distdir).zip ;;\
452
+ esac
453
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
454
+ mkdir $(distdir)/_build
455
+ mkdir $(distdir)/_inst
456
+ chmod a-w $(distdir)
457
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
458
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
459
+ && cd $(distdir)/_build \
460
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
461
+ $(DISTCHECK_CONFIGURE_FLAGS) \
462
+ && $(MAKE) $(AM_MAKEFLAGS) \
463
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
464
+ && $(MAKE) $(AM_MAKEFLAGS) check \
465
+ && $(MAKE) $(AM_MAKEFLAGS) install \
466
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
467
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
468
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
469
+ distuninstallcheck \
470
+ && chmod -R a-w "$$dc_install_base" \
471
+ && ({ \
472
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
473
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
474
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
475
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
476
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
477
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
478
+ && rm -rf "$$dc_destdir" \
479
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
480
+ && rm -rf $(DIST_ARCHIVES) \
481
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
482
+ $(am__remove_distdir)
483
+ @(echo "$(distdir) archives ready for distribution: "; \
484
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
485
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
486
+ distuninstallcheck:
487
+ @cd $(distuninstallcheck_dir) \
488
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
489
+ || { echo "ERROR: files left after uninstall:" ; \
490
+ if test -n "$(DESTDIR)"; then \
491
+ echo " (check DESTDIR support)"; \
492
+ fi ; \
493
+ $(distuninstallcheck_listfiles) ; \
494
+ exit 1; } >&2
495
+ distcleancheck: distclean
496
+ @if test '$(srcdir)' = . ; then \
497
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
498
+ exit 1 ; \
499
+ fi
500
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
501
+ || { echo "ERROR: files left in build directory after distclean:" ; \
502
+ $(distcleancheck_listfiles) ; \
503
+ exit 1; } >&2
504
+ check-am: all-am
505
+ check: check-recursive
506
+ all-am: Makefile
507
+ installdirs: installdirs-recursive
508
+ installdirs-am:
509
+ install: install-recursive
510
+ install-exec: install-exec-recursive
511
+ install-data: install-data-recursive
512
+ uninstall: uninstall-recursive
513
+
514
+ install-am: all-am
515
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
516
+
517
+ installcheck: installcheck-recursive
518
+ install-strip:
519
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
520
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
521
+ `test -z '$(STRIP)' || \
522
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
523
+ mostlyclean-generic:
524
+
525
+ clean-generic:
526
+
527
+ distclean-generic:
528
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
529
+
530
+ maintainer-clean-generic:
531
+ @echo "This command is intended for maintainers to use"
532
+ @echo "it deletes files that may require special tools to rebuild."
533
+ clean: clean-recursive
534
+
535
+ clean-am: clean-generic clean-libtool mostlyclean-am
536
+
537
+ distclean: distclean-recursive
538
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
539
+ -rm -f Makefile
540
+ distclean-am: clean-am distclean-generic distclean-libtool \
541
+ distclean-tags
542
+
543
+ dvi: dvi-recursive
544
+
545
+ dvi-am:
546
+
547
+ html: html-recursive
548
+
549
+ info: info-recursive
550
+
551
+ info-am:
552
+
553
+ install-data-am:
554
+
555
+ install-dvi: install-dvi-recursive
556
+
557
+ install-exec-am:
558
+
559
+ install-html: install-html-recursive
560
+
561
+ install-info: install-info-recursive
562
+
563
+ install-man:
564
+
565
+ install-pdf: install-pdf-recursive
566
+
567
+ install-ps: install-ps-recursive
568
+
569
+ installcheck-am:
570
+
571
+ maintainer-clean: maintainer-clean-recursive
572
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
573
+ -rm -rf $(top_srcdir)/autom4te.cache
574
+ -rm -f Makefile
575
+ maintainer-clean-am: distclean-am maintainer-clean-generic
576
+
577
+ mostlyclean: mostlyclean-recursive
578
+
579
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
580
+
581
+ pdf: pdf-recursive
582
+
583
+ pdf-am:
584
+
585
+ ps: ps-recursive
586
+
587
+ ps-am:
588
+
589
+ uninstall-am:
590
+
591
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
592
+ install-strip
593
+
594
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
595
+ all all-am am--refresh check check-am clean clean-generic \
596
+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
597
+ dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
598
+ distclean-generic distclean-libtool distclean-tags \
599
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
600
+ html-am info info-am install install-am install-data \
601
+ install-data-am install-dvi install-dvi-am install-exec \
602
+ install-exec-am install-html install-html-am install-info \
603
+ install-info-am install-man install-pdf install-pdf-am \
604
+ install-ps install-ps-am install-strip installcheck \
605
+ installcheck-am installdirs installdirs-am maintainer-clean \
606
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
607
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
608
+ uninstall uninstall-am
609
+
610
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
611
+ # Otherwise a system limit (for SysV at least) may be exceeded.
612
+ .NOEXPORT: