hello test: fail on old style definition
[lttng-ust.git] / tests / hello / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include -Wsystem-headers
2
3 noinst_PROGRAMS = hello
4 hello_SOURCES = hello.c tp.c ust_tests_hello.h
5 hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la
6 hello_CFLAGS = -Werror=old-style-definition
7
8 if LTTNG_UST_BUILD_WITH_LIBDL
9 hello_LDADD += -ldl
10 endif
11 if LTTNG_UST_BUILD_WITH_LIBC_DL
12 hello_LDADD += -lc
13 endif
14
15 noinst_SCRIPTS = run
16 EXTRA_DIST = run
This page took 0.031336 seconds and 5 git commands to generate.