projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escape minus signs in lttng-ust-cyg-profile manpage
[lttng-ust.git]
/
doc
/
examples
/
Makefile.am
diff --git
a/doc/examples/Makefile.am
b/doc/examples/Makefile.am
index 2e38a9c34ef9ce0a4f57bcb09fe0bcdae9999150..3769283a89e786a4e566f77ca66665fc25a58a8d 100644
(file)
--- a/
doc/examples/Makefile.am
+++ b/
doc/examples/Makefile.am
@@
-34,15
+34,28
@@
if NO_SHARED
# Don't build examples if shared libraries support was explicitly
# disabled.
else
# Don't build examples if shared libraries support was explicitly
# disabled.
else
+# Copies are for VPATH build support
SUBDIRS_PROXY = easy-ust demo gen-tp hello-static-lib
all-local:
SUBDIRS_PROXY = easy-ust demo gen-tp hello-static-lib
all-local:
+ @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
+ cp -f $(srcdir)/Makefile.examples.template $(builddir); \
+ for subdir in $(SUBDIRS_PROXY); do \
+ cp -fR $(srcdir)/$$subdir $(builddir); \
+ done; \
+ fi
for subdir in $(SUBDIRS_PROXY); do \
for subdir in $(SUBDIRS_PROXY); do \
- cd $$subdir && $(MAKE) AM_CPPFLAGS="
-I../../../include/" AM_LDFLAGS='
-L../../../liblttng-ust/.libs/ -Wl,-rpath="$(PWD)/../../liblttng-ust/.libs/"' LTTNG_GEN_TP_PATH="../../../tools/" $(AM_MAKEFLAGS) all; cd ..; \
+ cd $$subdir && $(MAKE) AM_CPPFLAGS="
$(CPPFLAGS) -I../../../include/" AM_CFLAGS='$(CFLAGS)' AM_LDFLAGS='$(LDFLAGS)
-L../../../liblttng-ust/.libs/ -Wl,-rpath="$(PWD)/../../liblttng-ust/.libs/"' LTTNG_GEN_TP_PATH="../../../tools/" $(AM_MAKEFLAGS) all; cd ..; \
done
clean-local:
for subdir in $(SUBDIRS_PROXY); do \
cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
done
done
clean-local:
for subdir in $(SUBDIRS_PROXY); do \
cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
done
+ @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
+ for subdir in $(SUBDIRS_PROXY); do \
+ rm -rf $(builddir)/$$subdir; \
+ done; \
+ rm -f $(builddir)/Makefile.examples.template; \
+ fi
endif
endif
This page took
0.023346 seconds
and
4
git commands to generate.