| 1 | lib_LTLIBRARIES = libcec.la |
| 2 | library_includedir=$(includedir)/libcec |
| 3 | library_include_HEADERS = ../../include/cec.h \ |
| 4 | ../../include/cecc.h \ |
| 5 | ../../include/cectypes.h \ |
| 6 | ../../include/cecloader.h |
| 7 | |
| 8 | pkgconfigdir = $(libdir)/pkgconfig |
| 9 | pkgconfig_DATA = libcec.pc |
| 10 | |
| 11 | ## libCEC core |
| 12 | libcec_la_SOURCES = CECProcessor.cpp \ |
| 13 | LibCEC.cpp \ |
| 14 | LibCECC.cpp \ |
| 15 | CECClient.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 \ |
| 23 | devices/CECTV.cpp \ |
| 24 | implementations/ANCommandHandler.cpp \ |
| 25 | implementations/CECCommandHandler.cpp \ |
| 26 | implementations/SLCommandHandler.cpp \ |
| 27 | implementations/VLCommandHandler.cpp \ |
| 28 | implementations/RLCommandHandler.cpp \ |
| 29 | implementations/PHCommandHandler.cpp |
| 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 | |
| 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 | |
| 54 | ## CuBox (NXP) support |
| 55 | if USE_TDA995X_API |
| 56 | libcec_la_SOURCES += adapter/TDA995x/TDA995xCECAdapterDetection.cpp \ |
| 57 | adapter/TDA995x/TDA995xCECAdapterCommunication.cpp |
| 58 | endif |
| 59 | |
| 60 | |
| 61 | libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@ |