diff options
Diffstat (limited to 'contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am')
| -rw-r--r-- | contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
| 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ | ||
| 2 | |||
| 3 | ## Linux | ||
| 4 | if OS_LINUX | ||
| 5 | noinst_PROGRAMS = hidtest-libusb hidtest-hidraw | ||
| 6 | |||
| 7 | hidtest_hidraw_SOURCES = test.c | ||
| 8 | hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la | ||
| 9 | |||
| 10 | hidtest_libusb_SOURCES = test.c | ||
| 11 | hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la | ||
| 12 | else | ||
| 13 | |||
| 14 | # Other OS's | ||
| 15 | noinst_PROGRAMS = hidtest | ||
| 16 | |||
| 17 | hidtest_SOURCES = test.c | ||
| 18 | hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la | ||
| 19 | |||
| 20 | endif | ||
| 21 | |||
| 22 | if OS_DARWIN | ||
| 23 | AM_CPPFLAGS += -I$(top_srcdir)/mac/ | ||
| 24 | endif | ||
| 25 | |||
| 26 | if OS_WINDOWS | ||
| 27 | AM_CPPFLAGS += -I$(top_srcdir)/windows/ | ||
| 28 | endif | ||
