Top Level Namespace
Defined Under Namespace
Modules: Wiretap
Classes: Node, ServerInfo, ServerList
Instance Method Summary
collapse
Instance Method Details
#clear_locations(locations) ⇒ Object
55
56
57
|
# File 'ext/extconf.rb', line 55
def clear_locations(locations)
locations.reject {|location| !File.exists?(location)}
end
|
#include_locations ⇒ Object
47
48
49
|
# File 'ext/extconf.rb', line 47
def include_locations
locations("/api") + @includes
end
|
#library_locations ⇒ Object
#library_path ⇒ Object
29
30
31
32
33
34
35
36
|
# File 'ext/extconf.rb', line 29
def library_path
case PLATFORM
when /linux/
"LINUX/i686/RHEL4/GCC_3_4_4"
when /darwin/
"MACOSX/fat/Darwin_8_3_0/GCC_4_0_1/"
end
end
|
#locations(suffix) ⇒ Object
25
26
27
|
# File 'ext/extconf.rb', line 25
def locations(suffix)
@wiretap_placements.map {|place| place + suffix}
end
|
#old_library_path ⇒ Object
38
39
40
41
42
43
44
45
|
# File 'ext/extconf.rb', line 38
def old_library_path
case PLATFORM
when /linux/
"Linux/i686/RedHat/40/gcc_3.4.4/dbg/"
when /darwin/
"Mac/OSX/gcc_3.3/dbg"
end
end
|