Commit | Line | Data |
---|---|---|
343af227 | 1 | AM_CPPFLAGS += -I$(srcdir) |
43c28d50 JG |
2 | |
3 | noinst_PROGRAMS = daemon | |
4 | daemon_SOURCES = daemon.c ust_tests_daemon.h | |
5 | daemon_LDADD = -llttng-ust -llttng-ust-fork | |
6 | ||
7 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
8 | daemon_LDADD += -ldl | |
9 | endif | |
10 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
11 | daemon_LDADD += -lc | |
12 | endif | |
13 | ||
14 | noinst_SCRIPTS = test_daemon test_daemon.py | |
15 | EXTRA_DIST = test_daemon test_daemon.py | |
c83e7ca0 DG |
16 | |
17 | all-local: | |
18 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
19 | for script in $(EXTRA_DIST); do \ | |
20 | cp -f $(srcdir)/$$script $(builddir); \ | |
21 | done; \ | |
22 | fi | |
23 | ||
24 | clean-local: | |
25 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
26 | for script in $(EXTRA_DIST); do \ | |
27 | rm -f $(builddir)/$$script; \ | |
28 | done; \ | |
29 | fi |