diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-12-22 16:55:39 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-12-22 16:55:39 +0100 |
commit | c41cb82ea7499c132546c1ab6f798deda6a9d7af (patch) | |
tree | 5ccc1ad6bd60620ae2ec3a7d341af8864e3b100d /hidtest/Makefile.am | |
download | libnitrokey-c41cb82ea7499c132546c1ab6f798deda6a9d7af.tar.gz libnitrokey-c41cb82ea7499c132546c1ab6f798deda6a9d7af.tar.bz2 |
Squashed 'hidapi/' content from commit b767b43f
git-subtree-dir: hidapi
git-subtree-split: b767b43f3e6f9c5b92ea7d738331deb8e03c4baf
Diffstat (limited to 'hidtest/Makefile.am')
-rw-r--r-- | hidtest/Makefile.am | 20 |
1 files changed, 20 insertions, 0 deletions
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 |