From c41cb82ea7499c132546c1ab6f798deda6a9d7af Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 22 Dec 2017 16:55:39 +0100 Subject: Squashed 'hidapi/' content from commit b767b43f git-subtree-dir: hidapi git-subtree-split: b767b43f3e6f9c5b92ea7d738331deb8e03c4baf --- hidtest/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hidtest/Makefile.am (limited to 'hidtest/Makefile.am') diff --git a/hidtest/Makefile.am b/hidtest/Makefile.am new file mode 100644 index 0000000..d278644 --- /dev/null +++ b/hidtest/Makefile.am @@ -0,0 +1,20 @@ +AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ + +## Linux +if OS_LINUX +noinst_PROGRAMS = hidtest-libusb hidtest-hidraw + +hidtest_hidraw_SOURCES = hidtest.cpp +hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la + +hidtest_libusb_SOURCES = hidtest.cpp +hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la +else + +# Other OS's +noinst_PROGRAMS = hidtest + +hidtest_SOURCES = hidtest.cpp +hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la + +endif -- cgit v1.2.3