| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils |
| 2 | |
| 3 | noinst_PROGRAMS = prog |
| 4 | prog_SOURCES = prog.c |
| 5 | prog_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \ |
| 6 | $(top_builddir)/tests/utils/libtap.a |
| 7 | |
| 8 | noinst_SCRIPTS = test_ust_elf |
| 9 | CLEANFILES = $(noinst_SCRIPTS) |
| 10 | EXTRA_DIST = test_ust_elf.in \ |
| 11 | $(srcdir)/data/main.c \ |
| 12 | $(srcdir)/data/aarch64_be/main.elf \ |
| 13 | $(srcdir)/data/aarch64_be/main.elf.debug \ |
| 14 | $(srcdir)/data/armeb/main.elf \ |
| 15 | $(srcdir)/data/armeb/main.elf.debug \ |
| 16 | $(srcdir)/data/x86/main.elf \ |
| 17 | $(srcdir)/data/x86/main.elf.debug \ |
| 18 | $(srcdir)/data/x86_64/main.elf \ |
| 19 | $(srcdir)/data/x86_64/main.elf.debug \ |
| 20 | $(srcdir)/data/pic/hello.exec \ |
| 21 | $(srcdir)/data/pic/hello.pie \ |
| 22 | $(srcdir)/data/pic/hello.pic \ |
| 23 | $(srcdir)/data/pic/hello.c \ |
| 24 | $(srcdir)/data/pic/libhello.c |
| 25 | |
| 26 | $(noinst_SCRIPTS): %: %.in |
| 27 | sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@ |
| 28 | chmod +x $@ |