Fix: missing scripts for make dist
[lttng-tools.git] / tests / tools / health / Makefile.am
CommitLineData
dff9583f
CB
1AM_CFLAGS = -I. -O2 -g -I../../../include
2AM_LDFLAGS =
3
4if LTTNG_TOOLS_BUILD_WITH_LIBDL
5AM_LDFLAGS += -ldl
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
8AM_LDFLAGS += -lc
9endif
10
347e0f14
CB
11if NO_SHARED
12# Do not build this test if shared libraries support was
13# explicitly disabled.
14else
15# In order to test the health check feature, the libhealth* libs
16# must be built as .so to be able to LD_PRELOAD them.
17FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
18 -rpath $(abs_builddir)
9e32c5c0
CB
19
20# Health thread exit ld_preloaded test lib
21libhealthexit_la_SOURCES=health_exit.c
347e0f14 22libhealthexit_la_LDFLAGS= $(FORCE_SHARED_LIB_OPTIONS)
9e32c5c0 23
5862a19a
CB
24# Health thread stall ld_preloaded test lib
25libhealthstall_la_SOURCES=health_stall.c
347e0f14 26libhealthstall_la_LDFLAGS= $(FORCE_SHARED_LIB_OPTIONS)
5862a19a 27
6b5133f2
CB
28# Health thread fail ld_preloaded test lib
29libhealthtpfail_la_SOURCES=health_fail.c
30libhealthtpfail_la_LDFLAGS= $(FORCE_SHARED_LIB_OPTIONS)
31
dff9583f 32noinst_PROGRAMS = health_check
6b5133f2 33noinst_LTLIBRARIES = libhealthexit.la libhealthstall.la libhealthtpfail.la
dff9583f
CB
34
35health_check_SOURCES = health_check.c $(UTILS)
36health_check_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
37 $(top_builddir)/src/common/libcommon.la
347e0f14 38endif
0a340972
DG
39
40noinst_SCRIPTS = runall
41EXTRA_DIST = runall
This page took 0.034664 seconds and 4 git commands to generate.