From 0c6c072733a5a2177ffc24d2614ee1151a39f02f Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Fri, 27 Mar 2020 19:48:15 -0700 Subject: libusb/Makefile.am: Remove unnecessary assignments Remove the unnecessary assignment of EXTRA_DIST. Anything that could end up in SOURCES is automatically included in the distribution. Remove the unnecessary assignment of libusb_1_0_la_CFLAGS. AM_CFLAGS is already the default value, but assigning to the variable makes automake think that custom CFLAGS are needed and therefore causes a bunch of pointless additional rules to be generated. As a reference, the generated Makefile shed 21,560 bytes (from 52,029 bytes to 30,469). Signed-off-by: Chris Dickens --- libusb/Makefile.am | 13 ------------- libusb/version_nano.h | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/libusb/Makefile.am b/libusb/Makefile.am index 2942219..ad6e8ab 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -33,18 +33,6 @@ OS_WINDOWS_SRC = libusb-1.0.def libusb-1.0.rc \ os/windows_usbdk.h os/windows_usbdk.c \ os/windows_winusb.h os/windows_winusb.c -EXTRA_DIST = $(POSIX_POLL_SRC) $(POSIX_THREADS_SRC) \ - $(WINDOWS_POLL_SRC) $(WINDOWS_THREADS_SRC) \ - $(OS_DARWIN_SRC) \ - $(OS_HAIKU_SRC) \ - $(OS_LINUX_SRC) \ - $(OS_NETBSD_SRC) \ - $(OS_NULL_SRC) \ - $(OS_OPENBSD_SRC) \ - $(OS_SUNOS_SRC) \ - $(OS_WINDOWS_SRC) \ - os/linux_netlink.c os/linux_udev.c - if OS_DARWIN OS_SRC = $(OS_DARWIN_SRC) AM_CFLAGS_EXT = -no-cpp-precomp @@ -97,7 +85,6 @@ all-local: .libs/libusb-1.0.dll.a endif endif -libusb_1_0_la_CFLAGS = $(AM_CFLAGS) libusb_1_0_la_LDFLAGS = $(LTLDFLAGS) libusb_1_0_la_SOURCES = libusbi.h version.h version_nano.h \ core.c descriptor.c hotplug.h hotplug.c io.c strerror.c sync.c \ diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 9dc01fa..197f76f 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11477 +#define LIBUSB_NANO 11478 -- cgit v1.2.1