ust comm: Receive second FD even if 1st receive failed
[lttng-ust.git] / tests / demo / Makefile.am
... / ...
CommitLineData
1# -Wsystem-headers is needed to print warnings in the tracepoint
2# description file.
3AM_CPPFLAGS = -I$(top_srcdir)/include -Wsystem-headers
4
5# Force the shared flag on the noinst libraries since they are
6# only build static by default
7FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
8 -rpath $(abs_builddir)
9
10noinst_LTLIBRARIES = liblttng-ust-provider-ust-tests-demo.la \
11 liblttng-ust-provider-ust-tests-demo3.la
12
13#contains ust_tests_demo.h and ust_tests_demo2.h provider probes
14liblttng_ust_provider_ust_tests_demo_la_SOURCES = \
15 tp.c ust_tests_demo.h \
16 tp2.c ust_tests_demo2.h
17liblttng_ust_provider_ust_tests_demo_la_LIBADD = \
18 $(top_builddir)/liblttng-ust/liblttng-ust.la
19liblttng_ust_provider_ust_tests_demo_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
20
21#contains ust_tests_demo3.h provider probes
22liblttng_ust_provider_ust_tests_demo3_la_SOURCES = \
23 tp3.c ust_tests_demo3.h
24liblttng_ust_provider_ust_tests_demo3_la_LIBADD = \
25 $(top_builddir)/liblttng-ust/liblttng-ust.la
26liblttng_ust_provider_ust_tests_demo3_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
27
28noinst_PROGRAMS = demo
29demo_SOURCES = demo.c ust_tests_demo.h
30# The demo program only depends on libdl.
31demo_LIBS = -ldl
This page took 0.0233 seconds and 4 git commands to generate.