mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 13:34:37 -04:00
Autotools build files for hidtest example.
This commit is contained in:
+2
-1
@@ -13,7 +13,6 @@ else
|
||||
pkgconfig_DATA=pc/hidapi.pc
|
||||
endif
|
||||
|
||||
|
||||
SUBDIRS=
|
||||
|
||||
if OS_LINUX
|
||||
@@ -32,6 +31,8 @@ if OS_WINDOWS
|
||||
SUBDIRS += windows
|
||||
endif
|
||||
|
||||
SUBDIRS += hidtest
|
||||
|
||||
if BUILD_TESTGUI
|
||||
SUBDIRS += testgui
|
||||
endif
|
||||
|
||||
+1
-1
@@ -145,5 +145,5 @@ else
|
||||
AC_CONFIG_FILES([pc/hidapi.pc])
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile linux/Makefile libusb/Makefile mac/Makefile windows/Makefile testgui/Makefile])
|
||||
AC_CONFIG_FILES([Makefile linux/Makefile libusb/Makefile mac/Makefile windows/Makefile hidtest/Makefile testgui/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
AM_CPPFLAGS = -I$(srcdir)/../hidapi/
|
||||
|
||||
## Linux
|
||||
if OS_LINUX
|
||||
noinst_PROGRAMS = hidtest-libusb hidtest-hidraw
|
||||
|
||||
hidtest_hidraw_SOURCES = hidtest.cpp
|
||||
hidtest_hidraw_LDADD = $(srcdir)/../linux/libhidapi-hidraw.la
|
||||
|
||||
hidtest_libusb_SOURCES = hidtest.cpp
|
||||
hidtest_libusb_LDADD = $(srcdir)/../libusb/libhidapi-libusb.la
|
||||
else
|
||||
|
||||
# Other OS's
|
||||
noinst_PROGRAMS = hidtest
|
||||
|
||||
hidtest_SOURCES = test.cpp
|
||||
hidtest_LDADD = $(srcdir)/../windows/libhidapi.la
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user