aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-28 00:57:50 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-28 00:57:50 -0400
commitb4313306bcce2dbeb51112c37a1c33a41e6c5aaa (patch)
tree8021fe57c797185e4d89ce8edf7e12c6486fc963 /libsandbox
parentupdate ax_*.m4 files from upstream (diff)
downloadsandbox-b4313306bcce2dbeb51112c37a1c33a41e6c5aaa.tar.gz
sandbox-b4313306bcce2dbeb51112c37a1c33a41e6c5aaa.tar.bz2
sandbox-b4313306bcce2dbeb51112c37a1c33a41e6c5aaa.zip
use automake AM_V_GEN rather than custom SB_V_GEN
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r--libsandbox/Makefile.am14
1 files changed, 5 insertions, 9 deletions
diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am
index 9e1b775..6d44ad6 100644
--- a/libsandbox/Makefile.am
+++ b/libsandbox/Makefile.am
@@ -53,19 +53,15 @@ GEN_HEADER_SCRIPT = $(SCRIPT_DIR)/gen_symbol_header.awk
GEN_TRACE_SCRIPT = $(SCRIPT_DIR)/gen_trace_header.awk
SB_AWK = LC_ALL=C $(AWK) -v SYMBOLS_LIST="$(SYMBOLS_LIST)" -v srcdir="$(srcdir)" -f
-SB_V = $(SB_V_$(V))
-SB_V_ = @echo " GEN" $@;
-SB_V_0 = $(SB_V_)
-
libsandbox.map: $(SYMBOLS_FILE) $(GEN_VERSION_MAP_SCRIPT)
- $(SB_V)$(READELF) -s $(LIBC_PATH) | $(SB_AWK) $(GEN_VERSION_MAP_SCRIPT) > $@
+ $(AM_V_GEN)$(READELF) -s $(LIBC_PATH) | $(SB_AWK) $(GEN_VERSION_MAP_SCRIPT) > $@
symbols.h: $(SYMBOLS_FILE) $(GEN_HEADER_SCRIPT)
- $(SB_V)$(READELF) -s $(LIBC_PATH) | $(SB_AWK) $(GEN_HEADER_SCRIPT) > $@
+ $(AM_V_GEN)$(READELF) -s $(LIBC_PATH) | $(SB_AWK) $(GEN_HEADER_SCRIPT) > $@
SB_NR_FILE = $(srcdir)/sb_nr.h.in
sb_nr.h: symbols.h $(SB_NR_FILE)
- $(SB_V)$(EGREP) -h '^\#define SB_' $^ > $@
+ $(AM_V_GEN)$(EGREP) -h '^\#define SB_' $^ > $@
TRACE_MAKE_HEADER = \
$(SB_AWK) $(GEN_TRACE_SCRIPT) -v MODE=gen | \
@@ -73,7 +69,7 @@ TRACE_MAKE_HEADER = \
$(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header
trace_syscalls.h: $(GEN_TRACE_SCRIPT)
if SB_SCHIZO
- $(SB_V)for pers in $(SB_SCHIZO_SETTINGS) ; do \
+ $(AM_V_GEN)for pers in $(SB_SCHIZO_SETTINGS) ; do \
t=_$${pers%:*}; \
f=$${pers#*:}; \
header=trace_syscalls$${t}.h; \
@@ -81,7 +77,7 @@ if SB_SCHIZO
done
@touch $@
else
- $(SB_V)t= f= header=$@; $(TRACE_MAKE_HEADER)
+ $(AM_V_GEN)t= f= header=$@; $(TRACE_MAKE_HEADER)
endif
EXTRA_DIST = $(SYMBOLS_FILE) $(SYMBOLS_WRAPPERS) $(SB_NR_FILE) $(TRACE_FILES)