1AM_CPPFLAGS = -I$(top_srcdir)/hidapi/
2
3## Linux
4if OS_LINUX
5noinst_PROGRAMS = hidtest-libusb hidtest-hidraw
6
7hidtest_hidraw_SOURCES = hidtest.cpp
8hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la
9
10hidtest_libusb_SOURCES = hidtest.cpp
11hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la
12else
13
14# Other OS's
15noinst_PROGRAMS = hidtest
16
17hidtest_SOURCES = hidtest.cpp
18hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la
19
20endif
21