[FreeBSD] update adapter detection
[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 \
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
35if USE_P8_USB
36libcec_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
45endif
46
29104708
LOK
47## Raspberry Pi support
48if USE_RPI_API
49libcec_la_SOURCES += adapter/RPi/RPiCECAdapterDetection.cpp \
50 adapter/RPi/RPiCECAdapterCommunication.cpp \
51 adapter/RPi/RPiCECAdapterMessageQueue.cpp
52endif
53
4d3a7562 54## CuBox (NXP) support
51b611bc 55if USE_TDA995X_API
79e50026
LOK
56libcec_la_SOURCES += adapter/TDA995x/TDA995xCECAdapterDetection.cpp \
57 adapter/TDA995x/TDA995xCECAdapterCommunication.cpp
4d3a7562 58endif
59
60
6ea2515b 61libcec_la_LDFLAGS = @LIBS_LIBCEC@ -version-info @VERSION@