$(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
bpf_attr_check.c: $(srcdir)/bpf_attr.h $(srcdir)/gen_bpf_attr_check.sh
+ D="$(D)" \
$(srcdir)/gen_bpf_attr_check.sh $< > $@-t && mv $@-t $@
strace_SOURCES_c = \
sen.h: $(patsubst %,$(srcdir)/%,$(syscallent_files))
for f in $^; do cat -- $$f; done | \
+ D="$(D)" \
$(srcdir)/generate_sen.sh > $@
dist-hook:
mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h
for f in $^; do \
+ D="$(D)" \
READELF="$(READELF)" \
CC="$(CC)" \
CFLAGS="$(mpers_sh_opts) -DMPERS_IS_$(mpers_NAME)" \
$(srcdir)/Makefile.in $(srcdir)/.version
$(AM_V_GEN) \
( \
+ D="$(D)"; \
+ export D; \
cd $(srcdir); \
sed '/^##/,$$d' CREDITS.in; \
sed -n '1,/^##>/d; s/ */\t/; s/^./&/p' CREDITS.in \
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
input="$1"
shift
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
list="$(sed -r -n '/^strace_SOURCES[[:space:]]*=/,/^[[:space:]]*# end of strace_SOURCES/ s/^[[:space:]]*([[:alnum:]][^.]*\.c)[[:space:]]*\\$/\1/p' Makefile.am |
xargs -r grep -Elx '#[[:space:]]*include[[:space:]]+MPERS_DEFS' |
tr '\n' ' ')"
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
echo 'enum {'
echo 'SEN_printargs = 0,'
sed -r -n '/printargs/! s/.*SEN\(([^)]+)\).*/\1/p' |
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
print_help()
{
cat <<__EOF__
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
export LC_ALL=C
MPERS_AWK="${0%/*}/mpers.awk"
#
# SPDX-License-Identifier: LGPL-2.1-or-later
+[ "x${D:-0}" != x1 ] || set -x
+
mpers_name="$1"; shift
mpers_cc_flags="$1"; shift
size="$(printf %s "$mpers_name" |tr -cd '[0-9]')"