File: Makefile.am

package info (click to toggle)
ola 0.9.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 21,340 kB
  • ctags: 23,021
  • sloc: cpp: 129,922; python: 12,265; sh: 11,778; makefile: 2,288; ansic: 1,775; java: 518; xml: 214
file content (109 lines) | stat: -rw-r--r-- 5,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
include $(top_srcdir)/common.mk

SUBDIRS = messages

# LIBRARIES
##################################################
# This is a library which isn't coupled to olad
noinst_LTLIBRARIES = libolausbprowidget.la
libolausbprowidget_la_SOURCES = ArduinoWidget.cpp ArduinoWidget.h \
                                BaseRobeWidget.cpp BaseRobeWidget.h \
                                BaseUsbProWidget.cpp BaseUsbProWidget.h \
                                DmxTriWidget.cpp DmxTriWidget.h \
                                DmxterWidget.cpp DmxterWidget.h \
                                EnttecUsbProWidget.cpp EnttecUsbProWidget.h \
                                EnttecUsbProWidgetImpl.h \
                                GenericUsbProWidget.cpp GenericUsbProWidget.h \
                                RobeWidget.cpp RobeWidget.h \
                                RobeWidgetDetector.cpp RobeWidgetDetector.h \
                                SerialWidgetInterface.h \
                                SerialWidgetInterface.h UltraDMXProWidget.cpp \
                                UltraDMXProWidget.h UsbProWidgetDetector.cpp \
                                UsbProWidgetDetector.h \
                                WidgetDetectorInterface.h \
                                WidgetDetectorThread.cpp WidgetDetectorThread.h
libolausbprowidget_la_LIBADD = ../../common/libolacommon.la

if USE_USBPRO
# The OLA USB Pro Plugin
plugin_LTLIBRARIES = libolausbpro.la
libolausbpro_la_SOURCES = ArduinoRGBDevice.cpp ArduinoRGBDevice.h \
                          DmxTriDevice.cpp DmxTriDevice.h DmxterDevice.cpp \
                          DmxterDevice.h RobeDevice.cpp RobeDevice.h \
                          UltraDMXProDevice.cpp UltraDMXProDevice.h \
                          UsbProDevice.cpp UsbProDevice.h UsbSerialDevice.h \
                          UsbSerialPlugin.cpp UsbSerialPlugin.h
libolausbpro_la_LIBADD = libolausbprowidget.la \
                         messages/libolausbproconf.la

# TESTS
##################################################
if BUILD_TESTS
TESTS = ArduinoWidgetTester BaseRobeWidgetTester BaseUsbProWidgetTester \
        DmxTriWidgetTester DmxterWidgetTester EnttecUsbProWidgetTester \
        RobeWidgetDetectorTester RobeWidgetTester UltraDMXProWidgetTester \
        UsbProWidgetDetectorTester WidgetDetectorThreadTester
endif
check_PROGRAMS = $(TESTS)

COMMON_TEST_LDADD = $(COMMON_TESTING_LIBS) \
                    ./libolausbprowidget.la

common_test_sources = CommonWidgetTest.cpp CommonWidgetTest.h \
                      MockEndpoint.cpp MockEndpoint.h

ArduinoWidgetTester_SOURCES = ArduinoWidgetTest.cpp \
                              $(common_test_sources)
ArduinoWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
ArduinoWidgetTester_LDADD = $(COMMON_TEST_LDADD)

BaseRobeWidgetTester_SOURCES = BaseRobeWidgetTest.cpp \
                               $(common_test_sources)
BaseRobeWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
BaseRobeWidgetTester_LDADD = $(COMMON_TEST_LDADD)

BaseUsbProWidgetTester_SOURCES = BaseUsbProWidgetTest.cpp \
                                 $(common_test_sources)
BaseUsbProWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
BaseUsbProWidgetTester_LDADD = $(COMMON_TEST_LDADD)

DmxTriWidgetTester_SOURCES = DmxTriWidgetTest.cpp \
                             $(common_test_sources)
DmxTriWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
DmxTriWidgetTester_LDADD = $(COMMON_TEST_LDADD)

DmxterWidgetTester_SOURCES = DmxterWidgetTest.cpp \
                             $(common_test_sources)
DmxterWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
DmxterWidgetTester_LDADD = $(COMMON_TEST_LDADD)

EnttecUsbProWidgetTester_SOURCES = EnttecUsbProWidgetTest.cpp \
                                   $(common_test_sources)
EnttecUsbProWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
EnttecUsbProWidgetTester_LDADD = $(COMMON_TEST_LDADD)

RobeWidgetDetectorTester_SOURCES = RobeWidgetDetectorTest.cpp \
                                   $(common_test_sources)
RobeWidgetDetectorTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
RobeWidgetDetectorTester_LDADD = $(COMMON_TEST_LDADD)

RobeWidgetTester_SOURCES = RobeWidgetTest.cpp \
                           $(common_test_sources)
RobeWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
RobeWidgetTester_LDADD = $(COMMON_TEST_LDADD)

UltraDMXProWidgetTester_SOURCES = UltraDMXProWidgetTest.cpp \
                                  $(common_test_sources)
UltraDMXProWidgetTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
UltraDMXProWidgetTester_LDADD = $(COMMON_TEST_LDADD)

UsbProWidgetDetectorTester_SOURCES = UsbProWidgetDetectorTest.cpp \
                                     $(common_test_sources)
UsbProWidgetDetectorTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
UsbProWidgetDetectorTester_LDADD = $(COMMON_TEST_LDADD)

WidgetDetectorThreadTester_SOURCES = WidgetDetectorThreadTest.cpp \
                                     $(common_test_sources)
WidgetDetectorThreadTester_CXXFLAGS = $(COMMON_TESTING_FLAGS)
WidgetDetectorThreadTester_LDADD = $(COMMON_TEST_LDADD)
endif