Index: third_party/libusb/examples/Makefile.am |
diff --git a/third_party/libusb/examples/Makefile.am b/third_party/libusb/examples/Makefile.am |
new file mode 100644 |
index 0000000000000000000000000000000000000000..846af15f2ddc09cf6e5bcd4f854fd4454a819a61 |
--- /dev/null |
+++ b/third_party/libusb/examples/Makefile.am |
@@ -0,0 +1,21 @@ |
+INCLUDES = -I$(top_srcdir)/libusb |
+noinst_PROGRAMS = lsusb |
+ |
+lsusb_SOURCES = lsusb.c |
+lsusb_LDADD = ../libusb/libusb-1.0.la -lusb-1.0 |
+ |
+if HAVE_SIGACTION |
+dpfp_SOURCES = dpfp.c |
+dpfp_LDADD = ../libusb/libusb-1.0.la -lusb-1.0 |
+noinst_PROGRAMS += dpfp |
+endif |
+ |
+if THREADS_POSIX |
+if HAVE_SIGACTION |
+dpfp_threaded_SOURCES = dpfp_threaded.c |
+dpfp_threaded_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS) |
+dpfp_threaded_LDADD = ../libusb/libusb-1.0.la -lusb-1.0 |
+noinst_PROGRAMS += dpfp_threaded |
+endif |
+endif |
+ |