diff options
Diffstat (limited to 'contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.am')
| -rw-r--r-- | contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.am b/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.am new file mode 100644 index 0000000..1c02f3f --- /dev/null +++ b/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.am | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | |||
| 2 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_TESTGUI) | ||
| 3 | |||
| 4 | if OS_LINUX | ||
| 5 | ## Linux | ||
| 6 | bin_PROGRAMS = hidapi-hidraw-testgui hidapi-libusb-testgui | ||
| 7 | |||
| 8 | hidapi_hidraw_testgui_SOURCES = test.cpp | ||
| 9 | hidapi_hidraw_testgui_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la $(LIBS_TESTGUI) | ||
| 10 | |||
| 11 | hidapi_libusb_testgui_SOURCES = test.cpp | ||
| 12 | hidapi_libusb_testgui_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la $(LIBS_TESTGUI) | ||
| 13 | else | ||
| 14 | ## Other OS's | ||
| 15 | bin_PROGRAMS = hidapi-testgui | ||
| 16 | |||
| 17 | hidapi_testgui_SOURCES = test.cpp | ||
| 18 | hidapi_testgui_LDADD = $(top_builddir)/$(backend)/libhidapi.la $(LIBS_TESTGUI) | ||
| 19 | endif | ||
| 20 | |||
| 21 | if OS_DARWIN | ||
| 22 | hidapi_testgui_SOURCES = test.cpp mac_support_cocoa.m mac_support.h | ||
| 23 | # Rules for copying the binary and its dependencies into the app bundle. | ||
| 24 | TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT): hidapi-testgui$(EXEEXT) | ||
| 25 | $(srcdir)/copy_to_bundle.sh | ||
| 26 | |||
| 27 | all: all-am TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT) | ||
| 28 | |||
| 29 | endif | ||
| 30 | |||
| 31 | EXTRA_DIST = \ | ||
| 32 | copy_to_bundle.sh \ | ||
| 33 | Makefile-manual \ | ||
| 34 | Makefile.freebsd \ | ||
| 35 | Makefile.linux \ | ||
| 36 | Makefile.mac \ | ||
| 37 | Makefile.mingw \ | ||
| 38 | TestGUI.app.in \ | ||
| 39 | testgui.sln \ | ||
| 40 | testgui.vcproj | ||
| 41 | |||
| 42 | distclean-local: | ||
| 43 | rm -rf TestGUI.app | ||
