summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2011-09-22 21:38:29 +0200
committerPeter Stuge <peter@stuge.se>2011-10-17 16:25:51 +0200
commit70bec4a9f8ec28d36c731011fa24d37c74ad3523 (patch)
treea21eeeedf1aa981f44ebffdd262ca5c6e100f53c
parentfa9b682a638e54a4556ef6bd343ef56d6300a520 (diff)
downloadlibusb-70bec4a9f8ec28d36c731011fa24d37c74ad3523.tar.gz
libusb/Makefile.am: Make the libusb-1.0.rc rule support silent-rules
-rw-r--r--libusb/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index 22661dc..d39910b 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -19,8 +19,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:
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
+ $(pkg_v_rc)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
endif
if THREADS_POSIX