Fix: missing scripts for make dist
[lttng-tools.git] / tests / ust / overlap / demo / Makefile.am
CommitLineData
26b53d3b
DG
1AM_CFLAGS=-I$(srcdir)
2
3FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
4 -rpath $(abs_builddir)
5
6#contains ust_tests_demo.h and ust_tests_demo2.h provider probes
7liblttng_ust_provider_ust_tests_demo_la_SOURCES = \
8 tp.c ust_tests_demo.h \
9 tp2.c ust_tests_demo2.h
10liblttng_ust_provider_ust_tests_demo_la_LIBADD = -llttng-ust
11liblttng_ust_provider_ust_tests_demo_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
12
13#contains ust_tests_demo3.h provider probes
14liblttng_ust_provider_ust_tests_demo3_la_SOURCES = tp3.c ust_tests_demo3.h
15liblttng_ust_provider_ust_tests_demo3_la_LIBADD = -llttng-ust
16liblttng_ust_provider_ust_tests_demo3_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
17
18noinst_LTLIBRARIES = liblttng-ust-provider-ust-tests-demo.la \
19 liblttng-ust-provider-ust-tests-demo3.la
20
21noinst_PROGRAMS = demo
22demo_SOURCES = demo.c ust_tests_demo.h
23# The demo program only depends on libdl/libc for dlopen().
24if LTTNG_TOOLS_BUILD_WITH_LIBDL
25demo_LDADD = -ldl
26endif
27if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
28demo_LDADD = -lc
29endif
0a340972
DG
30
31noinst_SCRIPTS = demo-trace
32EXTRA_DIST = demo-trace
This page took 0.032953 seconds and 4 git commands to generate.