Initial commit of extconfig.rb to build Bind library.

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/ec08e7f3
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/ec08e7f3
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/ec08e7f3

Branch: refs/heads/master
Commit: ec08e7f3c2f15431174f2732f3e3a5aacf3d8b26
Parents: 2e25f92
Author: Logan Bell <[email protected]>
Authored: Mon Oct 29 15:22:09 2012 -0700
Committer: Logan Bell <[email protected]>
Committed: Mon Oct 29 15:22:09 2012 -0700

----------------------------------------------------------------------
 clownfish/runtime/ruby/ext/extconf.rb |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/ec08e7f3/clownfish/runtime/ruby/ext/extconf.rb
----------------------------------------------------------------------
diff --git a/clownfish/runtime/ruby/ext/extconf.rb 
b/clownfish/runtime/ruby/ext/extconf.rb
new file mode 100644
index 0000000..6225b44
--- /dev/null
+++ b/clownfish/runtime/ruby/ext/extconf.rb
@@ -0,0 +1,9 @@
+require 'mkmf'
+require 'rbconfig'
+
+CORE    = File.join('..','..','..','..','..','..','runtime','core')
+RUBY    = File.join('..','..','..','..','..','..','runtime','ruby')
+AUTOGEN = 
File.join('..','..','..','..','..','..','runtime','ruby','autogen','include')
+$CFLAGS = "-I#{CORE} -I#{RUBY} -I#{AUTOGEN}"
+
+create_makefile 'Bind'

Reply via email to