diff options
author | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2015-02-23 09:36:23 +0000 |
---|---|---|
committer | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2015-02-23 09:36:23 +0000 |
commit | 497b0eb91cc9644a5a9839cb144ae0672f4defbb (patch) | |
tree | 9a9cf990b794d1ca7cded68d7305961cbef328e8 | |
parent | 47203ff72497263c9eec2d8ade73e76df21cc454 (diff) |
Enable silent build rules for the NASM objects, if the source is configured with automake 1.11 or later. NOTE: the build still spits out "error: ignoring unknown tag NASM" for each object, but unfortunately, if we remove "--tag NASM" from the command line, the build breaks under older versions of automake (it aborts with "unable to infer tagged configuration.")
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1533 632fc199-4ca6-4c93-a231-07263d6284db
-rw-r--r-- | simd/Makefile.am | 4 | ||||
-rwxr-xr-x | simd/nasm_lt.sh | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/simd/Makefile.am b/simd/Makefile.am index fd11011..ab544f7 100644 --- a/simd/Makefile.am +++ b/simd/Makefile.am @@ -88,7 +88,7 @@ endif AM_CPPFLAGS = -I$(top_srcdir) .asm.lo: - $(LIBTOOL) --mode=compile --tag NASM $(srcdir)/nasm_lt.sh $(NASM) $(NAFLAGS) -I$(srcdir) -I. $< -o $@ + $(AM_V_GEN) $(LIBTOOL) $(AM_V_lt) --mode=compile --tag NASM $(srcdir)/nasm_lt.sh $(AM_V_lt) $(NASM) $(NAFLAGS) -I$(srcdir) -I. $< -o $@ jsimdcfg.inc: $(srcdir)/jsimdcfg.inc.h ../jpeglib.h ../jconfig.h ../jmorecfg.h - $(CPP) -I$(top_builddir) -I$(top_builddir)/simd $(srcdir)/jsimdcfg.inc.h | $(EGREP) "^[\;%]|^\ %" | sed 's%_cpp_protection_%%' | sed 's@% define@%define@g' > $@ + $(AM_V_GEN) $(CPP) -I$(top_builddir) -I$(top_builddir)/simd $(srcdir)/jsimdcfg.inc.h | $(EGREP) "^[\;%]|^\ %" | sed 's%_cpp_protection_%%' | sed 's@% define@%define@g' > $@ diff --git a/simd/nasm_lt.sh b/simd/nasm_lt.sh index 6cd7329..817be16 100755 --- a/simd/nasm_lt.sh +++ b/simd/nasm_lt.sh @@ -5,6 +5,9 @@ o_opt=no pic=no while [ $# -gt 0 ]; do case "$1" in + --silent) + exec > /dev/null + ;; -DPIC|-fPIC|-fpic|-Kpic|-KPIC) if [ "$pic" != "yes" ] ; then command="$command -DPIC" |