Merge branch 'development'
[deb_libcec.git] / src / lib / Makefile.am
CommitLineData
abbca718
LOK
1lib_LTLIBRARIES = libcec.la
2library_includedir=$(includedir)/libcec
761dcc45
LOK
3library_include_HEADERS = ../../include/cec.h \
4 ../../include/cecc.h \
5 ../../include/cectypes.h \
6 ../../include/cecloader.h
abbca718
LOK
7
8pkgconfigdir = $(libdir)/pkgconfig
9pkgconfig_DATA = libcec.pc
10
2b44051c 11## libCEC core
ef7696f5 12libcec_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 \
2b44051c
LOK
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
34if USE_P8_USB
35libcec_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
44endif
45
29104708
LOK
46## Raspberry Pi support
47if USE_RPI_API
48libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \
49 adapter/RPi/RPiCECAdapterCommunication.cpp \
50 adapter/RPi/RPiCECAdapterMessageQueue.cpp
51endif
52
6ea2515b 53libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@