aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/bus/Makefile.in
blob: 2262e4a40a81413ba4a00da6326b4936ccc743ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SRCS  = PeripheralBus.cpp

ifeq (@USE_LIBUDEV@,1)
SRCS += linux/PeripheralBusUSBLibUdev.cpp
endif

ifeq (@USE_LIBUSB@,1)
SRCS += linux/PeripheralBusUSBLibUSB.cpp
endif

ifeq ($(findstring osx,@ARCH@),osx)
SRCS += osx/PeripheralBusUSB.cpp
endif

ifeq (@USE_LIBCEC@,1)
SRCS += virtual/PeripheralBusCEC.cpp
endif

LIB = peripheral-bus.a

include @abs_top_srcdir@/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))