X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2FMakefile.am;fp=tests%2Fregression%2Fust%2Ftype-declarations%2FMakefile.am;h=be4978be32fd7186dbbc59a67d4268f391cda035;hb=10b56aefc3e1de5cee607994f64c3b8a7d85c391;hp=0000000000000000000000000000000000000000;hpb=c82fce01c4a94b36b54149f46b1824ec10321734;p=lttng-tools.git diff --git a/tests/regression/ust/type-declarations/Makefile.am b/tests/regression/ust/type-declarations/Makefile.am new file mode 100644 index 000000000..be4978be3 --- /dev/null +++ b/tests/regression/ust/type-declarations/Makefile.am @@ -0,0 +1,29 @@ +AM_CPPFLAGS = -I$(srcdir) + +noinst_PROGRAMS = type-declarations +type_declarations_SOURCES = type-declarations.c ust_tests_td.h +type_declarations_LDADD = -llttng-ust + +if LTTNG_TOOLS_BUILD_WITH_LIBDL +type_declarations_LDADD += -ldl +endif +if LTTNG_TOOLS_BUILD_WITH_LIBC_DL +type_declarations_LDADD += -lc +endif + +noinst_SCRIPTS = test_type_declarations test_type_declarations.py +EXTRA_DIST = test_type_declarations test_type_declarations.py + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi