waj-ruby-llvm 2.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,367 @@
1
+ #! /bin/sh
2
+ # Common stub for a few missing GNU programs while installing.
3
+
4
+ scriptversion=2006-05-10.23
5
+
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
7
+ # Free Software Foundation, Inc.
8
+ # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
+
10
+ # This program is free software; you can redistribute it and/or modify
11
+ # it under the terms of the GNU General Public License as published by
12
+ # the Free Software Foundation; either version 2, or (at your option)
13
+ # any later version.
14
+
15
+ # This program is distributed in the hope that it will be useful,
16
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ # GNU General Public License for more details.
19
+
20
+ # You should have received a copy of the GNU General Public License
21
+ # along with this program; if not, write to the Free Software
22
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
+ # 02110-1301, USA.
24
+
25
+ # As a special exception to the GNU General Public License, if you
26
+ # distribute this file as part of a program that contains a
27
+ # configuration script generated by Autoconf, you may include it under
28
+ # the same distribution terms that you use for the rest of that program.
29
+
30
+ if test $# -eq 0; then
31
+ echo 1>&2 "Try \`$0 --help' for more information"
32
+ exit 1
33
+ fi
34
+
35
+ run=:
36
+ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
37
+ sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
38
+
39
+ # In the cases where this matters, `missing' is being run in the
40
+ # srcdir already.
41
+ if test -f configure.ac; then
42
+ configure_ac=configure.ac
43
+ else
44
+ configure_ac=configure.in
45
+ fi
46
+
47
+ msg="missing on your system"
48
+
49
+ case $1 in
50
+ --run)
51
+ # Try to run requested program, and just exit if it succeeds.
52
+ run=
53
+ shift
54
+ "$@" && exit 0
55
+ # Exit code 63 means version mismatch. This often happens
56
+ # when the user try to use an ancient version of a tool on
57
+ # a file that requires a minimum version. In this case we
58
+ # we should proceed has if the program had been absent, or
59
+ # if --run hadn't been passed.
60
+ if test $? = 63; then
61
+ run=:
62
+ msg="probably too old"
63
+ fi
64
+ ;;
65
+
66
+ -h|--h|--he|--hel|--help)
67
+ echo "\
68
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
69
+
70
+ Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
71
+ error status if there is no known handling for PROGRAM.
72
+
73
+ Options:
74
+ -h, --help display this help and exit
75
+ -v, --version output version information and exit
76
+ --run try to run the given command, and emulate it if it fails
77
+
78
+ Supported PROGRAM values:
79
+ aclocal touch file \`aclocal.m4'
80
+ autoconf touch file \`configure'
81
+ autoheader touch file \`config.h.in'
82
+ autom4te touch the output file, or create a stub one
83
+ automake touch all \`Makefile.in' files
84
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
85
+ flex create \`lex.yy.c', if possible, from existing .c
86
+ help2man touch the output file
87
+ lex create \`lex.yy.c', if possible, from existing .c
88
+ makeinfo touch the output file
89
+ tar try tar, gnutar, gtar, then tar without non-portable flags
90
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
91
+
92
+ Send bug reports to <bug-automake@gnu.org>."
93
+ exit $?
94
+ ;;
95
+
96
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
97
+ echo "missing $scriptversion (GNU Automake)"
98
+ exit $?
99
+ ;;
100
+
101
+ -*)
102
+ echo 1>&2 "$0: Unknown \`$1' option"
103
+ echo 1>&2 "Try \`$0 --help' for more information"
104
+ exit 1
105
+ ;;
106
+
107
+ esac
108
+
109
+ # Now exit if we have it, but it failed. Also exit now if we
110
+ # don't have it and --version was passed (most likely to detect
111
+ # the program).
112
+ case $1 in
113
+ lex|yacc)
114
+ # Not GNU programs, they don't have --version.
115
+ ;;
116
+
117
+ tar)
118
+ if test -n "$run"; then
119
+ echo 1>&2 "ERROR: \`tar' requires --run"
120
+ exit 1
121
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
122
+ exit 1
123
+ fi
124
+ ;;
125
+
126
+ *)
127
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
128
+ # We have it, but it failed.
129
+ exit 1
130
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
131
+ # Could not run --version or --help. This is probably someone
132
+ # running `$TOOL --version' or `$TOOL --help' to check whether
133
+ # $TOOL exists and not knowing $TOOL uses missing.
134
+ exit 1
135
+ fi
136
+ ;;
137
+ esac
138
+
139
+ # If it does not exist, or fails to run (possibly an outdated version),
140
+ # try to emulate it.
141
+ case $1 in
142
+ aclocal*)
143
+ echo 1>&2 "\
144
+ WARNING: \`$1' is $msg. You should only need it if
145
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
146
+ to install the \`Automake' and \`Perl' packages. Grab them from
147
+ any GNU archive site."
148
+ touch aclocal.m4
149
+ ;;
150
+
151
+ autoconf)
152
+ echo 1>&2 "\
153
+ WARNING: \`$1' is $msg. You should only need it if
154
+ you modified \`${configure_ac}'. You might want to install the
155
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
156
+ archive site."
157
+ touch configure
158
+ ;;
159
+
160
+ autoheader)
161
+ echo 1>&2 "\
162
+ WARNING: \`$1' is $msg. You should only need it if
163
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
164
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
165
+ from any GNU archive site."
166
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
167
+ test -z "$files" && files="config.h"
168
+ touch_files=
169
+ for f in $files; do
170
+ case $f in
171
+ *:*) touch_files="$touch_files "`echo "$f" |
172
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
173
+ *) touch_files="$touch_files $f.in";;
174
+ esac
175
+ done
176
+ touch $touch_files
177
+ ;;
178
+
179
+ automake*)
180
+ echo 1>&2 "\
181
+ WARNING: \`$1' is $msg. You should only need it if
182
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
183
+ You might want to install the \`Automake' and \`Perl' packages.
184
+ Grab them from any GNU archive site."
185
+ find . -type f -name Makefile.am -print |
186
+ sed 's/\.am$/.in/' |
187
+ while read f; do touch "$f"; done
188
+ ;;
189
+
190
+ autom4te)
191
+ echo 1>&2 "\
192
+ WARNING: \`$1' is needed, but is $msg.
193
+ You might have modified some files without having the
194
+ proper tools for further handling them.
195
+ You can get \`$1' as part of \`Autoconf' from any GNU
196
+ archive site."
197
+
198
+ file=`echo "$*" | sed -n "$sed_output"`
199
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
200
+ if test -f "$file"; then
201
+ touch $file
202
+ else
203
+ test -z "$file" || exec >$file
204
+ echo "#! /bin/sh"
205
+ echo "# Created by GNU Automake missing as a replacement of"
206
+ echo "# $ $@"
207
+ echo "exit 0"
208
+ chmod +x $file
209
+ exit 1
210
+ fi
211
+ ;;
212
+
213
+ bison|yacc)
214
+ echo 1>&2 "\
215
+ WARNING: \`$1' $msg. You should only need it if
216
+ you modified a \`.y' file. You may need the \`Bison' package
217
+ in order for those modifications to take effect. You can get
218
+ \`Bison' from any GNU archive site."
219
+ rm -f y.tab.c y.tab.h
220
+ if test $# -ne 1; then
221
+ eval LASTARG="\${$#}"
222
+ case $LASTARG in
223
+ *.y)
224
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
225
+ if test -f "$SRCFILE"; then
226
+ cp "$SRCFILE" y.tab.c
227
+ fi
228
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
229
+ if test -f "$SRCFILE"; then
230
+ cp "$SRCFILE" y.tab.h
231
+ fi
232
+ ;;
233
+ esac
234
+ fi
235
+ if test ! -f y.tab.h; then
236
+ echo >y.tab.h
237
+ fi
238
+ if test ! -f y.tab.c; then
239
+ echo 'main() { return 0; }' >y.tab.c
240
+ fi
241
+ ;;
242
+
243
+ lex|flex)
244
+ echo 1>&2 "\
245
+ WARNING: \`$1' is $msg. You should only need it if
246
+ you modified a \`.l' file. You may need the \`Flex' package
247
+ in order for those modifications to take effect. You can get
248
+ \`Flex' from any GNU archive site."
249
+ rm -f lex.yy.c
250
+ if test $# -ne 1; then
251
+ eval LASTARG="\${$#}"
252
+ case $LASTARG in
253
+ *.l)
254
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
255
+ if test -f "$SRCFILE"; then
256
+ cp "$SRCFILE" lex.yy.c
257
+ fi
258
+ ;;
259
+ esac
260
+ fi
261
+ if test ! -f lex.yy.c; then
262
+ echo 'main() { return 0; }' >lex.yy.c
263
+ fi
264
+ ;;
265
+
266
+ help2man)
267
+ echo 1>&2 "\
268
+ WARNING: \`$1' is $msg. You should only need it if
269
+ you modified a dependency of a manual page. You may need the
270
+ \`Help2man' package in order for those modifications to take
271
+ effect. You can get \`Help2man' from any GNU archive site."
272
+
273
+ file=`echo "$*" | sed -n "$sed_output"`
274
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
275
+ if test -f "$file"; then
276
+ touch $file
277
+ else
278
+ test -z "$file" || exec >$file
279
+ echo ".ab help2man is required to generate this page"
280
+ exit 1
281
+ fi
282
+ ;;
283
+
284
+ makeinfo)
285
+ echo 1>&2 "\
286
+ WARNING: \`$1' is $msg. You should only need it if
287
+ you modified a \`.texi' or \`.texinfo' file, or any other file
288
+ indirectly affecting the aspect of the manual. The spurious
289
+ call might also be the consequence of using a buggy \`make' (AIX,
290
+ DU, IRIX). You might want to install the \`Texinfo' package or
291
+ the \`GNU make' package. Grab either from any GNU archive site."
292
+ # The file to touch is that specified with -o ...
293
+ file=`echo "$*" | sed -n "$sed_output"`
294
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
295
+ if test -z "$file"; then
296
+ # ... or it is the one specified with @setfilename ...
297
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
298
+ file=`sed -n '
299
+ /^@setfilename/{
300
+ s/.* \([^ ]*\) *$/\1/
301
+ p
302
+ q
303
+ }' $infile`
304
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
305
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
306
+ fi
307
+ # If the file does not exist, the user really needs makeinfo;
308
+ # let's fail without touching anything.
309
+ test -f $file || exit 1
310
+ touch $file
311
+ ;;
312
+
313
+ tar)
314
+ shift
315
+
316
+ # We have already tried tar in the generic part.
317
+ # Look for gnutar/gtar before invocation to avoid ugly error
318
+ # messages.
319
+ if (gnutar --version > /dev/null 2>&1); then
320
+ gnutar "$@" && exit 0
321
+ fi
322
+ if (gtar --version > /dev/null 2>&1); then
323
+ gtar "$@" && exit 0
324
+ fi
325
+ firstarg="$1"
326
+ if shift; then
327
+ case $firstarg in
328
+ *o*)
329
+ firstarg=`echo "$firstarg" | sed s/o//`
330
+ tar "$firstarg" "$@" && exit 0
331
+ ;;
332
+ esac
333
+ case $firstarg in
334
+ *h*)
335
+ firstarg=`echo "$firstarg" | sed s/h//`
336
+ tar "$firstarg" "$@" && exit 0
337
+ ;;
338
+ esac
339
+ fi
340
+
341
+ echo 1>&2 "\
342
+ WARNING: I can't seem to be able to run \`tar' with the given arguments.
343
+ You may want to install GNU tar or Free paxutils, or check the
344
+ command line arguments."
345
+ exit 1
346
+ ;;
347
+
348
+ *)
349
+ echo 1>&2 "\
350
+ WARNING: \`$1' is needed, and is $msg.
351
+ You might have modified some files without having the
352
+ proper tools for further handling them. Check the \`README' file,
353
+ it often tells you about the needed prerequisites for installing
354
+ this package. You may also peek at any GNU archive site, in case
355
+ some other package would contain this missing \`$1' program."
356
+ exit 1
357
+ ;;
358
+ esac
359
+
360
+ exit 0
361
+
362
+ # Local variables:
363
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
364
+ # time-stamp-start: "scriptversion="
365
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
366
+ # time-stamp-end: "$"
367
+ # End:
@@ -0,0 +1,5 @@
1
+ AM_CPPFLAGS = -I llvm
2
+
3
+ lib_LTLIBRARIES = libRubyLLVMSupport.la
4
+ libRubyLLVMSupport_la_SOURCES = support.cpp
5
+ libRubyLLVMSupport_la_LDFLAGS = -release 2.9.2 -lLLVMSupport
@@ -0,0 +1,472 @@
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
+
17
+ VPATH = @srcdir@
18
+ pkgdatadir = $(datadir)/@PACKAGE@
19
+ pkglibdir = $(libdir)/@PACKAGE@
20
+ pkgincludedir = $(includedir)/@PACKAGE@
21
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22
+ install_sh_DATA = $(install_sh) -c -m 644
23
+ install_sh_PROGRAM = $(install_sh) -c
24
+ install_sh_SCRIPT = $(install_sh) -c
25
+ INSTALL_HEADER = $(INSTALL_DATA)
26
+ transform = $(program_transform_name)
27
+ NORMAL_INSTALL = :
28
+ PRE_INSTALL = :
29
+ POST_INSTALL = :
30
+ NORMAL_UNINSTALL = :
31
+ PRE_UNINSTALL = :
32
+ POST_UNINSTALL = :
33
+ build_triplet = @build@
34
+ host_triplet = @host@
35
+ subdir = src
36
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
39
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40
+ $(ACLOCAL_M4)
41
+ mkinstalldirs = $(install_sh) -d
42
+ CONFIG_CLEAN_FILES =
43
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
44
+ am__vpath_adj = case $$p in \
45
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
46
+ *) f=$$p;; \
47
+ esac;
48
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
49
+ am__installdirs = "$(DESTDIR)$(libdir)"
50
+ libLTLIBRARIES_INSTALL = $(INSTALL)
51
+ LTLIBRARIES = $(lib_LTLIBRARIES)
52
+ libRubyLLVMSupport_la_LIBADD =
53
+ am_libRubyLLVMSupport_la_OBJECTS = support.lo
54
+ libRubyLLVMSupport_la_OBJECTS = $(am_libRubyLLVMSupport_la_OBJECTS)
55
+ libRubyLLVMSupport_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
56
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
57
+ $(CXXFLAGS) $(libRubyLLVMSupport_la_LDFLAGS) $(LDFLAGS) -o $@
58
+ DEFAULT_INCLUDES = -I.@am__isrc@
59
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
60
+ am__depfiles_maybe = depfiles
61
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
62
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
63
+ LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
64
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
65
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
66
+ CXXLD = $(CXX)
67
+ CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
68
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
69
+ $(LDFLAGS) -o $@
70
+ SOURCES = $(libRubyLLVMSupport_la_SOURCES)
71
+ DIST_SOURCES = $(libRubyLLVMSupport_la_SOURCES)
72
+ ETAGS = etags
73
+ CTAGS = ctags
74
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75
+ ACLOCAL = @ACLOCAL@
76
+ AMTAR = @AMTAR@
77
+ AR = @AR@
78
+ AUTOCONF = @AUTOCONF@
79
+ AUTOHEADER = @AUTOHEADER@
80
+ AUTOMAKE = @AUTOMAKE@
81
+ AWK = @AWK@
82
+ CC = @CC@
83
+ CCDEPMODE = @CCDEPMODE@
84
+ CFLAGS = @CFLAGS@
85
+ CPP = @CPP@
86
+ CPPFLAGS = @CPPFLAGS@
87
+ CXX = @CXX@
88
+ CXXCPP = @CXXCPP@
89
+ CXXDEPMODE = @CXXDEPMODE@
90
+ CXXFLAGS = @CXXFLAGS@
91
+ CYGPATH_W = @CYGPATH_W@
92
+ DEFS = @DEFS@
93
+ DEPDIR = @DEPDIR@
94
+ DSYMUTIL = @DSYMUTIL@
95
+ DUMPBIN = @DUMPBIN@
96
+ ECHO_C = @ECHO_C@
97
+ ECHO_N = @ECHO_N@
98
+ ECHO_T = @ECHO_T@
99
+ EGREP = @EGREP@
100
+ EXEEXT = @EXEEXT@
101
+ FGREP = @FGREP@
102
+ GREP = @GREP@
103
+ INSTALL = @INSTALL@
104
+ INSTALL_DATA = @INSTALL_DATA@
105
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
106
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
107
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
108
+ LD = @LD@
109
+ LDFLAGS = @LDFLAGS@
110
+ LIBOBJS = @LIBOBJS@
111
+ LIBS = @LIBS@
112
+ LIBTOOL = @LIBTOOL@
113
+ LIPO = @LIPO@
114
+ LN_S = @LN_S@
115
+ LTLIBOBJS = @LTLIBOBJS@
116
+ MAKEINFO = @MAKEINFO@
117
+ MKDIR_P = @MKDIR_P@
118
+ NM = @NM@
119
+ NMEDIT = @NMEDIT@
120
+ OBJDUMP = @OBJDUMP@
121
+ OBJEXT = @OBJEXT@
122
+ OTOOL = @OTOOL@
123
+ OTOOL64 = @OTOOL64@
124
+ PACKAGE = @PACKAGE@
125
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
126
+ PACKAGE_NAME = @PACKAGE_NAME@
127
+ PACKAGE_STRING = @PACKAGE_STRING@
128
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
129
+ PACKAGE_VERSION = @PACKAGE_VERSION@
130
+ PATH_SEPARATOR = @PATH_SEPARATOR@
131
+ RANLIB = @RANLIB@
132
+ SED = @SED@
133
+ SET_MAKE = @SET_MAKE@
134
+ SHELL = @SHELL@
135
+ STRIP = @STRIP@
136
+ VERSION = @VERSION@
137
+ abs_builddir = @abs_builddir@
138
+ abs_srcdir = @abs_srcdir@
139
+ abs_top_builddir = @abs_top_builddir@
140
+ abs_top_srcdir = @abs_top_srcdir@
141
+ ac_ct_CC = @ac_ct_CC@
142
+ ac_ct_CXX = @ac_ct_CXX@
143
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
144
+ am__include = @am__include@
145
+ am__leading_dot = @am__leading_dot@
146
+ am__quote = @am__quote@
147
+ am__tar = @am__tar@
148
+ am__untar = @am__untar@
149
+ bindir = @bindir@
150
+ build = @build@
151
+ build_alias = @build_alias@
152
+ build_cpu = @build_cpu@
153
+ build_os = @build_os@
154
+ build_vendor = @build_vendor@
155
+ builddir = @builddir@
156
+ datadir = @datadir@
157
+ datarootdir = @datarootdir@
158
+ docdir = @docdir@
159
+ dvidir = @dvidir@
160
+ exec_prefix = @exec_prefix@
161
+ host = @host@
162
+ host_alias = @host_alias@
163
+ host_cpu = @host_cpu@
164
+ host_os = @host_os@
165
+ host_vendor = @host_vendor@
166
+ htmldir = @htmldir@
167
+ includedir = @includedir@
168
+ infodir = @infodir@
169
+ install_sh = @install_sh@
170
+ libdir = @libdir@
171
+ libexecdir = @libexecdir@
172
+ localedir = @localedir@
173
+ localstatedir = @localstatedir@
174
+ mandir = @mandir@
175
+ mkdir_p = @mkdir_p@
176
+ oldincludedir = @oldincludedir@
177
+ pdfdir = @pdfdir@
178
+ prefix = @prefix@
179
+ program_transform_name = @program_transform_name@
180
+ psdir = @psdir@
181
+ sbindir = @sbindir@
182
+ sharedstatedir = @sharedstatedir@
183
+ srcdir = @srcdir@
184
+ sysconfdir = @sysconfdir@
185
+ target_alias = @target_alias@
186
+ top_builddir = @top_builddir@
187
+ top_srcdir = @top_srcdir@
188
+ AM_CPPFLAGS = -I llvm
189
+ lib_LTLIBRARIES = libRubyLLVMSupport.la
190
+ libRubyLLVMSupport_la_SOURCES = support.cpp
191
+ libRubyLLVMSupport_la_LDFLAGS = -release 2.9.2 -lLLVMSupport
192
+ all: all-am
193
+
194
+ .SUFFIXES:
195
+ .SUFFIXES: .cpp .lo .o .obj
196
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
197
+ @for dep in $?; do \
198
+ case '$(am__configure_deps)' in \
199
+ *$$dep*) \
200
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
201
+ && exit 0; \
202
+ exit 1;; \
203
+ esac; \
204
+ done; \
205
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
206
+ cd $(top_srcdir) && \
207
+ $(AUTOMAKE) --foreign src/Makefile
208
+ .PRECIOUS: Makefile
209
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
210
+ @case '$?' in \
211
+ *config.status*) \
212
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
213
+ *) \
214
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
215
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
216
+ esac;
217
+
218
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
219
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
220
+
221
+ $(top_srcdir)/configure: $(am__configure_deps)
222
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
223
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
224
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
225
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
226
+ @$(NORMAL_INSTALL)
227
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
228
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
229
+ if test -f $$p; then \
230
+ f=$(am__strip_dir) \
231
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
232
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
233
+ else :; fi; \
234
+ done
235
+
236
+ uninstall-libLTLIBRARIES:
237
+ @$(NORMAL_UNINSTALL)
238
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
239
+ p=$(am__strip_dir) \
240
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
241
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
242
+ done
243
+
244
+ clean-libLTLIBRARIES:
245
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
246
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
247
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
248
+ test "$$dir" != "$$p" || dir=.; \
249
+ echo "rm -f \"$${dir}/so_locations\""; \
250
+ rm -f "$${dir}/so_locations"; \
251
+ done
252
+ libRubyLLVMSupport.la: $(libRubyLLVMSupport_la_OBJECTS) $(libRubyLLVMSupport_la_DEPENDENCIES)
253
+ $(libRubyLLVMSupport_la_LINK) -rpath $(libdir) $(libRubyLLVMSupport_la_OBJECTS) $(libRubyLLVMSupport_la_LIBADD) $(LIBS)
254
+
255
+ mostlyclean-compile:
256
+ -rm -f *.$(OBJEXT)
257
+
258
+ distclean-compile:
259
+ -rm -f *.tab.c
260
+
261
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/support.Plo@am__quote@
262
+
263
+ .cpp.o:
264
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
265
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
266
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
267
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
268
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
269
+
270
+ .cpp.obj:
271
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
272
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
273
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
274
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
275
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
276
+
277
+ .cpp.lo:
278
+ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
279
+ @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
280
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
281
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
282
+ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
283
+
284
+ mostlyclean-libtool:
285
+ -rm -f *.lo
286
+
287
+ clean-libtool:
288
+ -rm -rf .libs _libs
289
+
290
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
291
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
292
+ unique=`for i in $$list; do \
293
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
294
+ done | \
295
+ $(AWK) ' { files[$$0] = 1; } \
296
+ END { for (i in files) print i; }'`; \
297
+ mkid -fID $$unique
298
+ tags: TAGS
299
+
300
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
301
+ $(TAGS_FILES) $(LISP)
302
+ tags=; \
303
+ here=`pwd`; \
304
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
305
+ unique=`for i in $$list; do \
306
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
307
+ done | \
308
+ $(AWK) ' { files[$$0] = 1; } \
309
+ END { for (i in files) print i; }'`; \
310
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
311
+ test -n "$$unique" || unique=$$empty_fix; \
312
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
313
+ $$tags $$unique; \
314
+ fi
315
+ ctags: CTAGS
316
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
317
+ $(TAGS_FILES) $(LISP)
318
+ tags=; \
319
+ here=`pwd`; \
320
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
321
+ unique=`for i in $$list; do \
322
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
323
+ done | \
324
+ $(AWK) ' { files[$$0] = 1; } \
325
+ END { for (i in files) print i; }'`; \
326
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
327
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
328
+ $$tags $$unique
329
+
330
+ GTAGS:
331
+ here=`$(am__cd) $(top_builddir) && pwd` \
332
+ && cd $(top_srcdir) \
333
+ && gtags -i $(GTAGS_ARGS) $$here
334
+
335
+ distclean-tags:
336
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
337
+
338
+ distdir: $(DISTFILES)
339
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
340
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
341
+ list='$(DISTFILES)'; \
342
+ dist_files=`for file in $$list; do echo $$file; done | \
343
+ sed -e "s|^$$srcdirstrip/||;t" \
344
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
345
+ case $$dist_files in \
346
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
347
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
348
+ sort -u` ;; \
349
+ esac; \
350
+ for file in $$dist_files; do \
351
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
352
+ if test -d $$d/$$file; then \
353
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
354
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
355
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
356
+ fi; \
357
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
358
+ else \
359
+ test -f $(distdir)/$$file \
360
+ || cp -p $$d/$$file $(distdir)/$$file \
361
+ || exit 1; \
362
+ fi; \
363
+ done
364
+ check-am: all-am
365
+ check: check-am
366
+ all-am: Makefile $(LTLIBRARIES)
367
+ installdirs:
368
+ for dir in "$(DESTDIR)$(libdir)"; do \
369
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
370
+ done
371
+ install: install-am
372
+ install-exec: install-exec-am
373
+ install-data: install-data-am
374
+ uninstall: uninstall-am
375
+
376
+ install-am: all-am
377
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
378
+
379
+ installcheck: installcheck-am
380
+ install-strip:
381
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
382
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
383
+ `test -z '$(STRIP)' || \
384
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
385
+ mostlyclean-generic:
386
+
387
+ clean-generic:
388
+
389
+ distclean-generic:
390
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
391
+
392
+ maintainer-clean-generic:
393
+ @echo "This command is intended for maintainers to use"
394
+ @echo "it deletes files that may require special tools to rebuild."
395
+ clean: clean-am
396
+
397
+ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
398
+ mostlyclean-am
399
+
400
+ distclean: distclean-am
401
+ -rm -rf ./$(DEPDIR)
402
+ -rm -f Makefile
403
+ distclean-am: clean-am distclean-compile distclean-generic \
404
+ distclean-tags
405
+
406
+ dvi: dvi-am
407
+
408
+ dvi-am:
409
+
410
+ html: html-am
411
+
412
+ info: info-am
413
+
414
+ info-am:
415
+
416
+ install-data-am:
417
+
418
+ install-dvi: install-dvi-am
419
+
420
+ install-exec-am: install-libLTLIBRARIES
421
+
422
+ install-html: install-html-am
423
+
424
+ install-info: install-info-am
425
+
426
+ install-man:
427
+
428
+ install-pdf: install-pdf-am
429
+
430
+ install-ps: install-ps-am
431
+
432
+ installcheck-am:
433
+
434
+ maintainer-clean: maintainer-clean-am
435
+ -rm -rf ./$(DEPDIR)
436
+ -rm -f Makefile
437
+ maintainer-clean-am: distclean-am maintainer-clean-generic
438
+
439
+ mostlyclean: mostlyclean-am
440
+
441
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
442
+ mostlyclean-libtool
443
+
444
+ pdf: pdf-am
445
+
446
+ pdf-am:
447
+
448
+ ps: ps-am
449
+
450
+ ps-am:
451
+
452
+ uninstall-am: uninstall-libLTLIBRARIES
453
+
454
+ .MAKE: install-am install-strip
455
+
456
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
457
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
458
+ distclean-compile distclean-generic distclean-libtool \
459
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
460
+ install install-am install-data install-data-am install-dvi \
461
+ install-dvi-am install-exec install-exec-am install-html \
462
+ install-html-am install-info install-info-am \
463
+ install-libLTLIBRARIES install-man install-pdf install-pdf-am \
464
+ install-ps install-ps-am install-strip installcheck \
465
+ installcheck-am installdirs maintainer-clean \
466
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
467
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
468
+ tags uninstall uninstall-am uninstall-libLTLIBRARIES
469
+
470
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
471
+ # Otherwise a system limit (for SysV at least) may be exceeded.
472
+ .NOEXPORT: