Commit | Line | Data |
---|---|---|
abbca718 LOK |
1 | lib_LTLIBRARIES = libcec.la |
2 | library_includedir=$(includedir)/libcec | |
761dcc45 LOK |
3 | library_include_HEADERS = ../../include/cec.h \ |
4 | ../../include/cecc.h \ | |
5 | ../../include/cectypes.h \ | |
6 | ../../include/cecloader.h | |
abbca718 LOK |
7 | |
8 | pkgconfigdir = $(libdir)/pkgconfig | |
9 | pkgconfig_DATA = libcec.pc | |
10 | ||
2b44051c | 11 | ## libCEC core |
ef7696f5 | 12 | libcec_la_SOURCES = CECProcessor.cpp \ |
2abe74eb | 13 | LibCEC.cpp \ |
2abe74eb | 14 | LibCECC.cpp \ |
004b8382 | 15 | CECClient.cpp \ |
2b44051c | 16 | adapter/AdapterFactory.cpp \ |
ef7696f5 | 17 | devices/CECAudioSystem.cpp \ |
eafa9d46 | 18 | devices/CECBusDevice.cpp \ |
004b8382 | 19 | devices/CECDeviceMap.cpp \ |
51b2a094 | 20 | devices/CECPlaybackDevice.cpp \ |
ef7696f5 | 21 | devices/CECRecordingDevice.cpp \ |
51b2a094 | 22 | devices/CECTuner.cpp \ |
51b2a094 | 23 | devices/CECTV.cpp \ |
1b5cc4a2 | 24 | implementations/ANCommandHandler.cpp \ |
1b5cc4a2 | 25 | implementations/CECCommandHandler.cpp \ |
1b5cc4a2 | 26 | implementations/SLCommandHandler.cpp \ |
bb5b4874 | 27 | implementations/VLCommandHandler.cpp \ |
ecc633c5 LOK |
28 | implementations/RLCommandHandler.cpp \ |
29 | implementations/PHCommandHandler.cpp | |
2b44051c LOK |
30 | |
31 | ## server sockets, currently unused | |
32 | ##libcec_la_SOURCES += platform/posix/serversocket.cpp | |
33 | ||
34 | ## Pulse-Eight USB-CEC support | |
35 | if USE_P8_USB | |
36 | libcec_la_SOURCES += adapter/Pulse-Eight/USBCECAdapterMessage.cpp \ | |
37 | adapter/Pulse-Eight/USBCECAdapterCommands.cpp \ | |
38 | adapter/Pulse-Eight/USBCECAdapterCommunication.cpp \ | |
39 | adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp \ | |
40 | adapter/Pulse-Eight/USBCECAdapterDetection.cpp \ | |
41 | platform/posix/serialport.cpp \ | |
42 | platform/posix/os-edid.cpp \ | |
43 | platform/adl/adl-edid.cpp \ | |
44 | platform/nvidia/nv-edid.cpp | |
45 | endif | |
46 | ||
29104708 LOK |
47 | ## Raspberry Pi support |
48 | if USE_RPI_API | |
49 | libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \ | |
50 | adapter/RPi/RPiCECAdapterCommunication.cpp \ | |
51 | adapter/RPi/RPiCECAdapterMessageQueue.cpp | |
52 | endif | |
53 | ||
4d3a7562 | 54 | ## CuBox (NXP) support |
51b611bc | 55 | if USE_TDA995X_API |
79e50026 LOK |
56 | libcec_la_SOURCES += adapter/TDA995x/TDA995xCECAdapterDetection.cpp \ |
57 | adapter/TDA995x/TDA995xCECAdapterCommunication.cpp | |
4d3a7562 | 58 | endif |
59 | ||
60 | ||
6ea2515b | 61 | libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@ |