Files
libusb/examples/Makefile.am
T
Peter Stuge 091f0631d6 Add internal abstraction for POSIX Threads
This prepares for a Windows backend without dependency on pthreads-w32.

pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*.

A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are
introduced for statically initialized mutexes, since they may be
implemented using other types when pthreads mutexes aren't used.

Move -pthread from libusb/Makefile.am to host-specific AM_CFLAGS in
configure.ac. AM_CFLAGS is already used in Makefile.am.
2010-02-16 06:58:32 +01:00

13 lines
311 B
Makefile

INCLUDES = -I$(top_srcdir)
noinst_PROGRAMS = lsusb dpfp dpfp_threaded
lsusb_SOURCES = lsusb.c
lsusb_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_LDADD = ../libusb/libusb-1.0.la -lusb-1.0