Commit | Line | Data |
---|---|---|
37bd6c8e JG |
1 | AM_CPPFLAGS = -I$(srcdir) |
2 | ||
3 | noinst_PROGRAMS = fork fork2 | |
4 | fork_SOURCES = fork.c ust_tests_fork.h | |
5 | fork_LDADD = -llttng-ust -llttng-ust-fork | |
6 | ||
7 | fork2_SOURCES = fork2.c | |
8 | fork2_LDADD = -llttng-ust -llttng-ust-fork | |
9 | ||
10 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
11 | fork_LDADD += -ldl | |
12 | fork2_LDADD += -ldl | |
13 | endif | |
14 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
15 | fork_LDADD += -lc | |
16 | fork2_LDADD += -lc | |
17 | endif | |
18 | ||
19 | noinst_SCRIPTS = test_fork test_fork.py | |
20 | EXTRA_DIST = test_fork test_fork.py |