Skip to content

Commit

Permalink
Build json extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Dec 17, 2011
1 parent 73ded2b commit 0d0a9a4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rakelib/extensions.rake
Expand Up @@ -20,7 +20,7 @@ namespace :extensions do
rm_f FileList["lib/tooling/**/*.{o,#{$dlext}}"], :verbose => $verbose rm_f FileList["lib/tooling/**/*.{o,#{$dlext}}"], :verbose => $verbose
# TODO: implement per extension cleaning. This hack is for # TODO: implement per extension cleaning. This hack is for
# openssl and dl, which use extconf.rb and create Makefile. # openssl and dl, which use extconf.rb and create Makefile.
rm_f FileList["lib/ext/**/Makefile"], :verbose => $verbose rm_f FileList["lib/**/ext/**/Makefile"], :verbose => $verbose
rm_f FileList["lib/tooling/**/Makefile"], :verbose => $verbose rm_f FileList["lib/tooling/**/Makefile"], :verbose => $verbose
rm_f FileList["lib/ext/dl/*.func"], :verbose => $verbose rm_f FileList["lib/ext/dl/*.func"], :verbose => $verbose
end end
Expand Down Expand Up @@ -159,6 +159,13 @@ end


compile_ext "syck", :deps => ["Makefile"], :dir => "lib/19/syck/ext", :env => "-X19" compile_ext "syck", :deps => ["Makefile"], :dir => "lib/19/syck/ext", :env => "-X19"


compile_ext "json/parser", :deps => ["Makefile", "extconf.rb"],
:dir => "lib/19/json/ext/parser",
:env => "-X19"
compile_ext "json/generator", :deps => ["Makefile", "extconf.rb"],
:dir => "lib/19/json/ext/generator",
:env => "-X19"

# rbx must be able to run to build these because they use # rbx must be able to run to build these because they use
# extconf.rb, so they must be after melbourne for Rubinius. # extconf.rb, so they must be after melbourne for Rubinius.
compile_ext "openssl", :deps => ["Makefile", "extconf.h"], :dir => "lib/openssl/ext" compile_ext "openssl", :deps => ["Makefile", "extconf.h"], :dir => "lib/openssl/ext"
Expand Down

0 comments on commit 0d0a9a4

Please sign in to comment.