From 5a079a2d114f96d4847d1ee305d5b7c16eeec50e Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 27 Dec 2025 12:03:39 -0800 Subject: Initial commit --- contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am (limited to 'contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am') diff --git a/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am b/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am new file mode 100644 index 0000000..b601307 --- /dev/null +++ b/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am @@ -0,0 +1,28 @@ +AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ + +## Linux +if OS_LINUX +noinst_PROGRAMS = hidtest-libusb hidtest-hidraw + +hidtest_hidraw_SOURCES = test.c +hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la + +hidtest_libusb_SOURCES = test.c +hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la +else + +# Other OS's +noinst_PROGRAMS = hidtest + +hidtest_SOURCES = test.c +hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la + +endif + +if OS_DARWIN +AM_CPPFLAGS += -I$(top_srcdir)/mac/ +endif + +if OS_WINDOWS +AM_CPPFLAGS += -I$(top_srcdir)/windows/ +endif -- cgit v1.2.3