diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-09-13 19:09:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-09-14 10:42:21 (GMT) |
commit | c8df1f88f43b5f467cd8d3725a477c6532ce7f4d (patch) | |
tree | 71b22cf9d7f9206968d7ade586777b97bd0c880f /Swiften/LinkLocal | |
parent | dee73dcf69a7970da3834a4771a9881236a32631 (diff) | |
download | swift-c8df1f88f43b5f467cd8d3725a477c6532ce7f4d.zip swift-c8df1f88f43b5f467cd8d3725a477c6532ce7f4d.tar.bz2 |
Start splitting up monolithic Swiften SConscript file.
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r-- | Swiften/LinkLocal/SConscript | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/SConscript b/Swiften/LinkLocal/SConscript new file mode 100644 index 0000000..f36d467 --- /dev/null +++ b/Swiften/LinkLocal/SConscript @@ -0,0 +1,34 @@ +Import("swiften_env") + +myenv = swiften_env.Clone() +myenv.MergeFlags(swiften_env.get("BONJOUR_FLAGS", "")) + +sources = [ + "DNSSD/DNSSDBrowseQuery.cpp", + "DNSSD/DNSSDQuerier.cpp", + "DNSSD/DNSSDRegisterQuery.cpp", + "DNSSD/DNSSDResolveHostnameQuery.cpp", + "DNSSD/DNSSDResolveServiceQuery.cpp", + "DNSSD/DNSSDServiceID.cpp", + "DNSSD/Fake/FakeDNSSDQuerier.cpp", + "DNSSD/Fake/FakeDNSSDQuery.cpp", + "DNSSD/PlatformDNSSDQuerierFactory.cpp", + "IncomingLinkLocalSession.cpp", + "LinkLocalConnector.cpp", + "LinkLocalService.cpp", + "LinkLocalServiceBrowser.cpp", + "LinkLocalServiceInfo.cpp", + "OutgoingLinkLocalSession.cpp", + ] + +if myenv.get("HAVE_BONJOUR", 0) : + myenv.Append(CPPDEFINES = "HAVE_BONJOUR") + sources += [ + "DNSSD/Bonjour/BonjourQuerier.cpp", + "DNSSD/Bonjour/BonjourQuery.cpp", + ] +elif myenv.get("HAVE_AVAHI", 0) : + sources += ["DNSSD/Avahi/AvahiQuerier.cpp"] + +objects = myenv.StaticObject(sources) +swiften_env.Append(SWIFTEN_OBJECTS = [objects]) |