summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: a5512cbc7250117cddbb279a621a6b154913d526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
INCLUDES = -I$(top_srcdir)

if POSIX_THREADS
DPFP_SRC = dpfp dpfp_threaded
else
DPFP_SRC = dpfp
endif

noinst_PROGRAMS = xusb lsusb $(DPFP_SRC)

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

dpfp_SOURCES = dpfp.c
dpfp_LDADD = ../libusb/libusb-1.0.la -lusb-1.0

dpfp_threaded_SOURCES = dpfp_threaded.c
dpfp_threaded_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS)
dpfp_threaded_LDADD = ../libusb/libusb-1.0.la -lusb-1.0