X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fust-elf%2FMakefile.am;h=eadbaa8964c3c93e076b9f5704e8e61676ea5b6e;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=eac89eede71aa874f55629297e1340dce8cc7b71;hpb=4fdf4dff348ae6e7df301cd06db8c938982dde40;p=lttng-ust.git diff --git a/tests/ust-elf/Makefile.am b/tests/ust-elf/Makefile.am index eac89eed..eadbaa89 100644 --- a/tests/ust-elf/Makefile.am +++ b/tests/ust-elf/Makefile.am @@ -1,28 +1,11 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils +AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -noinst_PROGRAMS = prog -prog_SOURCES = prog.c -prog_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \ +noinst_PROGRAMS = ust-elf +ust_elf_SOURCES = ust-elf.c +ust_elf_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \ $(top_builddir)/tests/utils/libtap.a -noinst_SCRIPTS = test_ust_elf -CLEANFILES = $(noinst_SCRIPTS) -EXTRA_DIST = test_ust_elf.in \ - $(srcdir)/data/main.c \ - $(srcdir)/data/aarch64_be/main.elf \ - $(srcdir)/data/aarch64_be/main.elf.debug \ - $(srcdir)/data/armeb/main.elf \ - $(srcdir)/data/armeb/main.elf.debug \ - $(srcdir)/data/x86/main.elf \ - $(srcdir)/data/x86/main.elf.debug \ - $(srcdir)/data/x86_64/main.elf \ - $(srcdir)/data/x86_64/main.elf.debug \ - $(srcdir)/data/pic/hello.exec \ - $(srcdir)/data/pic/hello.pie \ - $(srcdir)/data/pic/hello.pic \ - $(srcdir)/data/pic/hello.c \ - $(srcdir)/data/pic/libhello.c - -$(noinst_SCRIPTS): %: %.in - sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@ - chmod +x $@ +# Directories added to EXTRA_DIST will be recursively copied to the distribution. +EXTRA_DIST = \ + $(srcdir)/data \ + README.md