1 lib_LTLIBRARIES = libcec.la
2 library_includedir=$(includedir)/libcec
3 library_include_HEADERS = ../../include/cec.h \
5 ../../include/cectypes.h \
6 ../../include/cecloader.h
8 pkgconfigdir = $(libdir)/pkgconfig
9 pkgconfig_DATA = libcec.pc
12 libcec_la_SOURCES = CECProcessor.cpp \
16 adapter/AdapterFactory.cpp \
17 devices/CECAudioSystem.cpp \
18 devices/CECBusDevice.cpp \
19 devices/CECDeviceMap.cpp \
20 devices/CECPlaybackDevice.cpp \
21 devices/CECRecordingDevice.cpp \
22 devices/CECTuner.cpp \
24 implementations/ANCommandHandler.cpp \
25 implementations/CECCommandHandler.cpp \
26 implementations/SLCommandHandler.cpp \
27 implementations/VLCommandHandler.cpp \
28 implementations/RLCommandHandler.cpp
30 ## server sockets, currently unused
31 ##libcec_la_SOURCES += platform/posix/serversocket.cpp
33 ## Pulse-Eight USB-CEC support
35 libcec_la_SOURCES += adapter/Pulse-Eight/USBCECAdapterMessage.cpp \
36 adapter/Pulse-Eight/USBCECAdapterCommands.cpp \
37 adapter/Pulse-Eight/USBCECAdapterCommunication.cpp \
38 adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp \
39 adapter/Pulse-Eight/USBCECAdapterDetection.cpp \
40 platform/posix/serialport.cpp \
41 platform/posix/os-edid.cpp \
42 platform/adl/adl-edid.cpp \
43 platform/nvidia/nv-edid.cpp
46 ## Raspberry Pi support
48 libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \
49 adapter/RPi/RPiCECAdapterCommunication.cpp \
50 adapter/RPi/RPiCECAdapterMessageQueue.cpp
53 ## CuBox (NXP) support
55 libcec_la_SOURCES += adapter/CuBox/NxpCECAdapterDetection.cpp \
56 adapter/CuBox/NxpCECAdapterCommunication.cpp
60 libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@