Test: add UST baddr statedump test
[lttng-tools.git] / tests / regression / ust / baddr-statedump / Makefile.am
1 AM_CPPFLAGS = -I$(srcdir) -g
2
3 noinst_PROGRAMS = prog
4 prog_SOURCES = prog.c tp.c tp.h
5 prog_LDADD = -llttng-ust -ldl
6
7 noinst_SCRIPTS = test_baddr-statedump test_baddr-statedump.py
8 EXTRA_DIST = test_baddr-statedump test_baddr-statedump.py
9
10 all-local: prog$(EXEEXT)
11 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
12 for script in $(EXTRA_DIST); do \
13 cp -f $(srcdir)/$$script $(builddir); \
14 done; \
15 fi
16 objcopy --only-keep-debug prog prog.debug
17 strip -g prog
18 objcopy --add-gnu-debuglink prog.debug prog
19
20 clean-local:
21 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
22 for script in $(EXTRA_DIST); do \
23 rm -f $(builddir)/$$script; \
24 done; \
25 fi
26 rm -f prog.debug
This page took 0.038767 seconds and 4 git commands to generate.