Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kuno
committed
Jul 28, 2012
1 parent
05aafa8
commit 9e28a38
Showing
3 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
'targets': [ | ||
{ | ||
'target_name': 'geoip', | ||
'sources': [ | ||
'src/init.cc' | ||
, 'src/country.cc','src/country6.cc' | ||
, 'src/city.cc','src/city6.cc' | ||
, 'src/org.cc','src/region.cc' | ||
, 'src/netspeed.cc', 'src/utils.cc' | ||
], | ||
'include_dirs': [ | ||
'deps/geoip/libGeoIP' | ||
], | ||
'conditions': [ | ||
['OS=="win"', { | ||
# no Windows support yet... | ||
} | ||
], | ||
['OS=="mac"', { | ||
'xcode_settings': { | ||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', | ||
'MACOSX_DEPLOYMENT_TARGET': '10.5', | ||
'OTHER_CFLAGS': [ | ||
'<!@(xml2-config --cflags)' | ||
] | ||
}, | ||
}] | ||
] | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
'targets': [ | ||
{ | ||
# have to specify 'liblib' here since gyp will remove the first one :\ | ||
'target_name': 'liblibxmljs', | ||
'sources': [ | ||
'src/libxmljs.cc', | ||
'src/xml_attribute.cc', | ||
'src/xml_document.cc', | ||
'src/xml_element.cc', | ||
'src/xml_namespace.cc', | ||
'src/xml_node.cc', | ||
'src/xml_sax_parser.cc', | ||
'src/xml_syntax_error.cc', | ||
'src/xml_xpath_context.cc', | ||
], | ||
'conditions': [ | ||
['OS=="win"', { | ||
# no Windows support yet... | ||
}, { | ||
'libraries': [ | ||
'<!@(xml2-config --libs)' | ||
], | ||
}], | ||
['OS=="mac"', { | ||
# cflags on OS X are stupid and have to be defined like this | ||
'xcode_settings': { | ||
'OTHER_CFLAGS': [ | ||
'<!@(xml2-config --cflags)' | ||
] | ||
} | ||
}, { | ||
'cflags': [ | ||
'<!@(xml2-config --cflags)' | ||
], | ||
}] | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Do not edit. File was generated by node-gyp's "configure" step | ||
{ | ||
"target_defaults": { | ||
"cflags": [], | ||
"defines": [], | ||
"include_dirs": [], | ||
"libraries": [], | ||
"default_configuration": "Release" | ||
}, | ||
"variables": { | ||
"target_arch": "x64", | ||
"nodedir": "/home/kuno/.node-gyp/0.6.19", | ||
"copy_dev_lib": "true" | ||
} | ||
} |