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>
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
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 \
-#define LIBUSB_NANO 11477
+#define LIBUSB_NANO 11478