| 1 |
# This file is included directly in Makefile.am rather than via |
| 2 |
# olad/Makefile.mk due to the order of dependencies between them; we need to |
| 3 |
# build olad/plugin_api, then the plugins, then olad |
| 4 |
|
| 5 |
# HEADERS |
| 6 |
################################################## |
| 7 |
noinst_HEADERS += olad/plugin_api/TestCommon.h |
| 8 |
|
| 9 |
# LIBRARIES |
| 10 |
################################################## |
| 11 |
# lib olaserverplugininterface |
| 12 |
lib_LTLIBRARIES += olad/plugin_api/libolaserverplugininterface.la |
| 13 |
|
| 14 |
olad_plugin_api_libolaserverplugininterface_la_SOURCES = \ |
| 15 |
olad/plugin_api/Client.cpp \ |
| 16 |
olad/plugin_api/Client.h \ |
| 17 |
olad/plugin_api/Device.cpp \ |
| 18 |
olad/plugin_api/DeviceManager.cpp \ |
| 19 |
olad/plugin_api/DeviceManager.h \ |
| 20 |
olad/plugin_api/DmxSource.cpp \ |
| 21 |
olad/plugin_api/Plugin.cpp \ |
| 22 |
olad/plugin_api/PluginAdaptor.cpp \ |
| 23 |
olad/plugin_api/Port.cpp \ |
| 24 |
olad/plugin_api/PortBroker.cpp \ |
| 25 |
olad/plugin_api/PortManager.cpp \ |
| 26 |
olad/plugin_api/PortManager.h \ |
| 27 |
olad/plugin_api/Preferences.cpp \ |
| 28 |
olad/plugin_api/Universe.cpp \ |
| 29 |
olad/plugin_api/UniverseStore.cpp \ |
| 30 |
olad/plugin_api/UniverseStore.h |
| 31 |
olad_plugin_api_libolaserverplugininterface_la_CXXFLAGS = \ |
| 32 |
$(COMMON_PROTOBUF_CXXFLAGS) |
| 33 |
olad_plugin_api_libolaserverplugininterface_la_LIBADD = \ |
| 34 |
common/libolacommon.la \ |
| 35 |
common/web/libolaweb.la \ |
| 36 |
ola/libola.la |
| 37 |
|
| 38 |
# TESTS |
| 39 |
################################################## |
| 40 |
test_programs += \ |
| 41 |
olad/plugin_api/ClientTester \ |
| 42 |
olad/plugin_api/DeviceTester \ |
| 43 |
olad/plugin_api/DmxSourceTester \ |
| 44 |
olad/plugin_api/PortTester \ |
| 45 |
olad/plugin_api/PreferencesTester \ |
| 46 |
olad/plugin_api/UniverseTester |
| 47 |
|
| 48 |
COMMON_OLAD_PLUGIN_API_TEST_LDADD = \ |
| 49 |
$(COMMON_TESTING_LIBS) \ |
| 50 |
$(libprotobuf_LIBS) \ |
| 51 |
olad/plugin_api/libolaserverplugininterface.la \ |
| 52 |
common/libolacommon.la |
| 53 |
|
| 54 |
olad_plugin_api_ClientTester_SOURCES = olad/plugin_api/ClientTest.cpp |
| 55 |
olad_plugin_api_ClientTester_CXXFLAGS = $(COMMON_TESTING_PROTOBUF_FLAGS) |
| 56 |
olad_plugin_api_ClientTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |
| 57 |
|
| 58 |
olad_plugin_api_DeviceTester_SOURCES = olad/plugin_api/DeviceManagerTest.cpp \ |
| 59 |
olad/plugin_api/DeviceTest.cpp |
| 60 |
olad_plugin_api_DeviceTester_CXXFLAGS = $(COMMON_TESTING_FLAGS) |
| 61 |
olad_plugin_api_DeviceTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |
| 62 |
|
| 63 |
olad_plugin_api_DmxSourceTester_SOURCES = olad/plugin_api/DmxSourceTest.cpp |
| 64 |
olad_plugin_api_DmxSourceTester_CXXFLAGS = $(COMMON_TESTING_FLAGS) |
| 65 |
olad_plugin_api_DmxSourceTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |
| 66 |
|
| 67 |
olad_plugin_api_PortTester_SOURCES = olad/plugin_api/PortTest.cpp \ |
| 68 |
olad/plugin_api/PortManagerTest.cpp |
| 69 |
olad_plugin_api_PortTester_CXXFLAGS = $(COMMON_TESTING_FLAGS) |
| 70 |
olad_plugin_api_PortTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |
| 71 |
|
| 72 |
olad_plugin_api_PreferencesTester_SOURCES = olad/plugin_api/PreferencesTest.cpp |
| 73 |
olad_plugin_api_PreferencesTester_CXXFLAGS = $(COMMON_TESTING_FLAGS) |
| 74 |
olad_plugin_api_PreferencesTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |
| 75 |
|
| 76 |
olad_plugin_api_UniverseTester_SOURCES = olad/plugin_api/UniverseTest.cpp |
| 77 |
olad_plugin_api_UniverseTester_CXXFLAGS = $(COMMON_TESTING_FLAGS) |
| 78 |
olad_plugin_api_UniverseTester_LDADD = $(COMMON_OLAD_PLUGIN_API_TEST_LDADD) |