cec: fixed - delayed source switch time was reset, resulting in an attempt every...
[deb_libcec.git] / src / lib / Makefile.am
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
30 ## server sockets, currently unused
31 ##libcec_la_SOURCES += platform/posix/serversocket.cpp
32
33 ## Pulse-Eight USB-CEC support
34 if USE_P8_USB
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
44 endif
45
46 ## Raspberry Pi support
47 if USE_RPI_API
48 libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \
49 adapter/RPi/RPiCECAdapterCommunication.cpp \
50 adapter/RPi/RPiCECAdapterMessageQueue.cpp
51 endif
52
53 libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@