summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-03-27 19:48:15 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-03-27 19:48:15 -0700
commit0c6c072733a5a2177ffc24d2614ee1151a39f02f (patch)
treeb259b8b4b016c95e5b1ce5b648899e1e1b147282
parent8b09dd490de9d23e47dbae4c0f1504e2afc1a8e9 (diff)
downloadlibusb-0c6c072733a5a2177ffc24d2614ee1151a39f02f.tar.gz
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 <christopher.a.dickens@gmail.com>
-rw-r--r--libusb/Makefile.am13
-rw-r--r--libusb/version_nano.h2
2 files changed, 1 insertions, 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