9117d8ebf3ce8fb7e9880b8b3497b4b8e3b946aa
[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 implementations/PHCommandHandler.cpp \
30 implementations/RHCommandHandler.cpp \
31 implementations/AQCommandHandler.cpp
32
33 ## server sockets, currently unused
34 ##libcec_la_SOURCES += platform/posix/serversocket.cpp
35
36 ## Pulse-Eight USB-CEC support
37 if USE_P8_USB
38 libcec_la_SOURCES += adapter/Pulse-Eight/USBCECAdapterMessage.cpp \
39 adapter/Pulse-Eight/USBCECAdapterCommands.cpp \
40 adapter/Pulse-Eight/USBCECAdapterCommunication.cpp \
41 adapter/Pulse-Eight/USBCECAdapterMessageQueue.cpp \
42 adapter/Pulse-Eight/USBCECAdapterDetection.cpp \
43 platform/posix/serialport.cpp \
44 platform/posix/os-edid.cpp \
45 platform/adl/adl-edid.cpp \
46 platform/nvidia/nv-edid.cpp
47 endif
48
49 ## Raspberry Pi support
50 if USE_RPI_API
51 libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \
52 adapter/RPi/RPiCECAdapterCommunication.cpp \
53 adapter/RPi/RPiCECAdapterMessageQueue.cpp
54 endif
55
56 ## CuBox (NXP) support
57 if USE_TDA995X_API
58 libcec_la_SOURCES += adapter/TDA995x/TDA995xCECAdapterDetection.cpp \
59 adapter/TDA995x/TDA995xCECAdapterCommunication.cpp
60 endif
61
62
63 libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@