projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: don't build dynamic lib tests if support disabled
[lttng-tools.git]
/
tests
/
regression
/
ust
/
linking
/
Makefile.am
diff --git
a/tests/regression/ust/linking/Makefile.am
b/tests/regression/ust/linking/Makefile.am
index 9f7ebecb9e8d8d3dbe1de3ae93d29af653c6d99d..1c80ae8392144f0448ba0c228c3815e509df6d65 100644
(file)
--- a/
tests/regression/ust/linking/Makefile.am
+++ b/
tests/regression/ust/linking/Makefile.am
@@
-44,7
+44,16
@@
endif
noinst_PROGRAMS = demo_builtin demo_static
noinst_PROGRAMS = demo_builtin demo_static
-if !NO_SHARED
+COPYSCRIPTS = test_linking test_linking.py demo_preload
+noinst_SCRIPTS = $(COPYSCRIPTS)
+
+if NO_SHARED
+
+EXTRA_DIST = tp.c ust_tests_demo.h tp2.c ust_tests_demo2.h \
+ tp3.c ust_tests_demo3.h demo.c ust_tests_demo.h \
+ $(COPYSCRIPTS)
+
+else
# Force the shared flag on the noinst libraries since they are
# only built static by default
FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
# Force the shared flag on the noinst libraries since they are
# only built static by default
FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
@@
-79,21
+88,20
@@
if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
demo_LDADD = -lc
endif
demo_LDADD = -lc
endif
-endif
+EXTRA_DIST = $(COPYSCRIPTS)
-noinst_SCRIPTS = test_linking test_linking.py demo_preload
-EXTRA_DIST = test_linking test_linking.py demo_preload
+endif
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(
EXTRA_DIST
); do \
+ for script in $(
COPYSCRIPTS
); do \
cp -f $(srcdir)/$$script $(builddir); \
done; \
fi
clean-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
cp -f $(srcdir)/$$script $(builddir); \
done; \
fi
clean-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(
EXTRA_DIST
); do \
+ for script in $(
COPYSCRIPTS
); do \
rm -f $(builddir)/$$script; \
done; \
fi
rm -f $(builddir)/$$script; \
done; \
fi
This page took
0.024874 seconds
and
4
git commands to generate.