1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
#
# SPDX-License-Identifier: LGPL-2.1-only
AM_CPPFLAGS += -I$(srcdir)
noinst_PROGRAMS = hello hello-compatapi1
hello_SOURCES = hello.c tp.c ust_tests_hello.h
hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
hello_LDADD = \
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
# Compile without API0 compat macros
hello_compatapi1_SOURCES = hello.c tp.c ust_tests_hello.h
hello_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS)
hello_compatapi1_LDADD = \
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
EXTRA_DIST = \
Makefile.example.bsd \
Makefile.example.linux \
README.md
|