From 521164f5060e9394a738a078fa84491824d73c61 Mon Sep 17 00:00:00 2001 From: Marije Baalman Date: Wed, 2 Oct 2013 01:06:15 +0200 Subject: [PATCH] autoconf : forgotten to commit MakeFile for hidparsertest --- hidparsertest/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hidparsertest/Makefile.am diff --git a/hidparsertest/Makefile.am b/hidparsertest/Makefile.am new file mode 100644 index 00000000..2630cbd6 --- /dev/null +++ b/hidparsertest/Makefile.am @@ -0,0 +1,20 @@ +AM_CFLAGS = -I$(top_srcdir)/hidapi/ -I$(top_srcdir)/hidapi_parser/ +AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ -I$(top_srcdir)/hidapi_parser/ +## Linux +if OS_LINUX +noinst_PROGRAMS = hidapi_parser-libusb hidapi_parser-hidraw + +hidapi_parser_hidraw_SOURCES = $(top_srcdir)/hidapi_parser/hidapi_parser.c hidparsertest.c +hidapi_parser_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la + +hidapi_parser_libusb_SOURCES = $(top_srcdir)/hidapi_parser/hidapi_parser.c hidparsertest.c +hidapi_parser_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la +else + +noinst_PROGRAMS = hidapi_parser + +hidapi_parser_SOURCES = $(top_srcdir)/hidapi_parser/hidapi_parser.c hidparsertest.c +# hidapi_parser_HEADERS = hidapi_parser.h +hidapi_parser_LDADD = $(top_builddir)/$(backend)/libhidapi.la + +endif