summaryrefslogtreecommitdiff
path: root/libusb
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2011-09-23 13:18:03 +0100
committerPeter Stuge <peter@stuge.se>2011-09-23 13:18:03 +0100
commitfad9572c6bf30689eb3faa6af923b99a55c9166b (patch)
treec78bf7ec9bbaa2895ebd54c000c2c73a13a654a5 /libusb
parent46c8847c0c90f04c6df096c71ad222b318065dda (diff)
downloadlibusb-fad9572c6bf30689eb3faa6af923b99a55c9166b.tar.gz
[autotools] improves "cleaner windres step"
* reverts 3209815810a7e1deb6cb961a4dac01b9cfb64d7d
Diffstat (limited to 'libusb')
-rw-r--r--libusb/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index 35c10b6..60d9312 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -25,9 +25,12 @@ endif
if OS_WINDOWS
OS_SRC = $(WINDOWS_USB_SRC)
+pkg_v_rc = $(pkg_v_rc_$(V))
+pkg_v_rc_ = $(pkg_v_rc_$(AM_DEFAULT_VERBOSITY))
+pkg_v_rc_0 = @echo " RC $@";
+
.rc.lo:
- @echo " WINRES $<"
- @$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --silent --mode=compile $(RC) $(RCFLAGS) -I. -i $< -o $@
+ $(pkg_v_rc)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
endif
if THREADS_POSIX