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