mirror of
https://github.com/utmapp/libusb.git
synced 2026-12-01 14:01:17 -10:00
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.
13 lines
311 B
Makefile
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
|
|
|