diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-12-03 20:06:33 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-12-03 20:06:33 (GMT) |
commit | 5df50c35e1baeee517a0895a2c8a2cc2052b087f (patch) | |
tree | b9d90fd123ec251ebb930cfcfaa2ffc805433812 /3rdParty/CAres/SConscript | |
parent | 9b3edba27b8683f1a87ad66ee05802dd93bbbdfc (diff) | |
download | swift-contrib-5df50c35e1baeee517a0895a2c8a2cc2052b087f.zip swift-contrib-5df50c35e1baeee517a0895a2c8a2cc2052b087f.tar.bz2 |
Added C-Ares.
Diffstat (limited to '3rdParty/CAres/SConscript')
-rw-r--r-- | 3rdParty/CAres/SConscript | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/3rdParty/CAres/SConscript b/3rdParty/CAres/SConscript new file mode 100644 index 0000000..f422867 --- /dev/null +++ b/3rdParty/CAres/SConscript @@ -0,0 +1,49 @@ +Import("env") + +myenv = env.Clone() +myenv.Append(CPPPATH = ["src"]) +if myenv["PLATFORM"] != "win32" : + myenv.Append(CPPDEFINES = ["HAVE_CONFIG_H"]) + +myenv.StaticLibrary("CAres", [ + "src/ares__close_sockets.c", + "src/ares__get_hostent.c", + "src/ares__read_line.c", + "src/ares__timeval.c", + "src/ares_cancel.c", + "src/ares_data.c", + "src/ares_destroy.c", + "src/ares_expand_name.c", + "src/ares_expand_string.c", + "src/ares_fds.c", + "src/ares_free_hostent.c", + "src/ares_free_string.c", + "src/ares_gethostbyaddr.c", + "src/ares_gethostbyname.c", + "src/ares_getnameinfo.c", + "src/ares_getsock.c", + "src/ares_init.c", + "src/ares_library_init.c", + "src/ares_llist.c", + "src/ares_mkquery.c", + "src/ares_parse_a_reply.c", + "src/ares_parse_aaaa_reply.c", + "src/ares_parse_ns_reply.c", + "src/ares_parse_ptr_reply.c", + "src/ares_parse_srv_reply.c", + "src/ares_parse_txt_reply.c", + "src/ares_process.c", + "src/ares_query.c", + "src/ares_search.c", + "src/ares_send.c", + "src/ares_strcasecmp.c", + "src/ares_strdup.c", + "src/ares_strerror.c", + "src/ares_timeout.c", + "src/ares_version.c", + "src/ares_writev.c", + "src/bitncmp.c", + "src/inet_net_pton.c", + "src/inet_ntop.c", + "src/windows_port.c", + ]) |