projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/examples/gen-tp: pass automake CPPFLAGS/CFLAGS/LDFLAGS
[lttng-ust.git]
/
doc
/
examples
/
gen-tp
/
Makefile
diff --git
a/doc/examples/gen-tp/Makefile
b/doc/examples/gen-tp/Makefile
index e5e3cd378a08459987256e9535ca56445fb331a9..bc979d97b89a2ed0b20b657fd3eeed8583fe76c3 100644
(file)
--- a/
doc/examples/gen-tp/Makefile
+++ b/
doc/examples/gen-tp/Makefile
@@
-40,6
+40,9
@@
sample.o: sample.c sample_tracepoint.h
# This rule generate .o only and depends on rules for generating
# the .h and .c
%.o: %.tp %.c %.h
# This rule generate .o only and depends on rules for generating
# the .h and .c
%.o: %.tp %.c %.h
+ CPPFLAGS="$(CPPFLAGS) $(AM_CPPFLAGS)" \
+ CFLAGS="$(CFLAGS) $(AM_CFLAGS)" \
+ LDFLAGS="$(LDFLAGS) $(AM_LDFLAGS)" \
$(LTTNG_GEN_TP_PATH)lttng-gen-tp -o $@ $<
# The following rule can be used to generate all files instead of having one
$(LTTNG_GEN_TP_PATH)lttng-gen-tp -o $@ $<
# The following rule can be used to generate all files instead of having one
This page took
0.023025 seconds
and
4
git commands to generate.