mirror of
https://github.com/shadps4-emu/ext-libusb.git
synced 2026-01-31 00:55:21 +01:00
Highlights for this change: - usbi_default_context is only set if libusb_init() is called with NULL. - All hotplug related functionality (e.g. initialization, processing) has been moved to hotplug.c - Backends are simplified by removing initialization mutexes. Mutual exclusion between init()/exit() is provided by default_context_lock. - Make hotplug types and functions part of libusbi.h with the common usbi_ prefixes (removes hotplug.h). Addresses issue highlighted in #855 Closes #856 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com> Signed-off-by: Nathan Hjelm <hjelmn@google.com>
23 lines
663 B
Makefile
23 lines
663 B
Makefile
LIBUSB_SRC_DIR = @top_srcdir@/libusb
|
|
EXCLUDED_FILES = libusbi.h version.h version_nano.h
|
|
LIBUSB_SRC = $(wildcard $(LIBUSB_SRC_DIR)/*.c) $(wildcard $(LIBUSB_SRC_DIR)/*.h)
|
|
LIBUSB_DOC_SRC = $(filter-out $(addprefix $(LIBUSB_SRC_DIR)/,$(EXCLUDED_FILES)),$(LIBUSB_SRC))
|
|
|
|
docs: @DOXYGEN_HTMLDIR@
|
|
|
|
@DOXYGEN_HTMLDIR@: doxygen.cfg @top_srcdir@/doc/libusb.png $(LIBUSB_DOC_SRC)
|
|
doxygen $<
|
|
|
|
sfurl = web.sourceforge.net:/home/project-web/libusb/htdocs
|
|
docs-upload: @DOXYGEN_HTMLDIR@
|
|
if [ -z "$$SF_USER" ]; then \
|
|
rsync -rv --delete $< $(sfurl); \
|
|
else \
|
|
rsync -rv --delete $< $$SF_USER@$(sfurl); \
|
|
fi
|
|
|
|
clean:
|
|
rm -rf @DOXYGEN_HTMLDIR@
|
|
|
|
.PHONY: clean docs docs-upload
|