summaryrefslogtreecommitdiffstats
path: root/libusb-1.0/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libusb-1.0/examples/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/libusb-1.0/examples/Makefile.am b/libusb-1.0/examples/Makefile.am
new file mode 100644
index 0000000..e8a4516
--- /dev/null
+++ b/libusb-1.0/examples/Makefile.am
@@ -0,0 +1,23 @@
+INCLUDES = -I$(top_srcdir)/libusb
+noinst_PROGRAMS = xusb lsusb
+
+lsusb_SOURCES = lsusb.c
+lsusb_LDADD = ../libusb/libusb-1.0.la -lusb-1.0
+
+xusb_SOURCES = xusb.c
+xusb_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