Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (16 sloc) 0.628 kB
b9daddd @pkmiec Added optional PorterDir parameter. Improved Rakefile to allow passin…
pkmiec authored
1 # Location of apxs
2 APXS = ENV['APXS'] || 'apxs'
3
3a77a62 @lifo Initial commit
lifo authored
4 # You may need to adjust the path here.
5 APREQ_INCLUDES = `apreq2-config --includes`.strip
b9daddd @pkmiec Added optional PorterDir parameter. Improved Rakefile to allow passin…
pkmiec authored
6
3a77a62 @lifo Initial commit
lifo authored
7 # The location of your apache include directory. The apreq module
8 # header file should be in here.
b9daddd @pkmiec Added optional PorterDir parameter. Improved Rakefile to allow passin…
pkmiec authored
9 APACHE_INCLUDE = `#{APXS} -q INCLUDEDIR`.strip
3a77a62 @lifo Initial commit
lifo authored
10
11 task :default do
12 `#{APXS} -i -c #{APREQ_INCLUDES} -I#{APACHE_INCLUDE}-i mod_porter.c`
13 end
14
15 task :debug_build do
16 `#{APXS} -i -c #{APREQ_INCLUDES} -I#{APACHE_INCLUDE} -DPORTER_DEBUG -i mod_porter.c`
17 end
18
19 task :build_mac do
20 `#{APXS} -i -c -Wc,-arch -Wc,x86_64 -Wl,-arch -Wl,x86_64 #{APREQ_INCLUDES} -I#{APACHE_INCLUDE} mod_porter.c`
21 end
Something went wrong with that request. Please try again.