diff options
| author | chai <chaifix@163.com> | 2019-08-07 21:08:47 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2019-08-07 21:08:47 +0800 |
| commit | 0c391fdbce5a079cf03e483eb6174dd47806163d (patch) | |
| tree | b06cd7a9d0ae0d9bb9e82f3dcb786dfce11f8628 /Source/external/SDL2/src/hidapi/testgui/Makefile.am | |
| parent | 9686368e58e25cbd6dc37d686bdd2be3f80486d6 (diff) | |
*misc
Diffstat (limited to 'Source/external/SDL2/src/hidapi/testgui/Makefile.am')
| -rw-r--r-- | Source/external/SDL2/src/hidapi/testgui/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Source/external/SDL2/src/hidapi/testgui/Makefile.am b/Source/external/SDL2/src/hidapi/testgui/Makefile.am new file mode 100644 index 0000000..1c02f3f --- /dev/null +++ b/Source/external/SDL2/src/hidapi/testgui/Makefile.am @@ -0,0 +1,43 @@ + +AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_TESTGUI) + +if OS_LINUX +## Linux +bin_PROGRAMS = hidapi-hidraw-testgui hidapi-libusb-testgui + +hidapi_hidraw_testgui_SOURCES = test.cpp +hidapi_hidraw_testgui_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la $(LIBS_TESTGUI) + +hidapi_libusb_testgui_SOURCES = test.cpp +hidapi_libusb_testgui_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la $(LIBS_TESTGUI) +else +## Other OS's +bin_PROGRAMS = hidapi-testgui + +hidapi_testgui_SOURCES = test.cpp +hidapi_testgui_LDADD = $(top_builddir)/$(backend)/libhidapi.la $(LIBS_TESTGUI) +endif + +if OS_DARWIN +hidapi_testgui_SOURCES = test.cpp mac_support_cocoa.m mac_support.h +# Rules for copying the binary and its dependencies into the app bundle. +TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT): hidapi-testgui$(EXEEXT) + $(srcdir)/copy_to_bundle.sh + +all: all-am TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT) + +endif + +EXTRA_DIST = \ + copy_to_bundle.sh \ + Makefile-manual \ + Makefile.freebsd \ + Makefile.linux \ + Makefile.mac \ + Makefile.mingw \ + TestGUI.app.in \ + testgui.sln \ + testgui.vcproj + +distclean-local: + rm -rf TestGUI.app |
