1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(srcdir)
5 noinst_PROGRAMS = daemon
6 daemon_SOURCES = daemon.c ust_tests_daemon.h
7 daemon_LDADD = $(UST_LIBS) -llttng-ust-fork $(DL_LIBS)
9 noinst_SCRIPTS = test_daemon test_daemon.py
10 EXTRA_DIST = test_daemon test_daemon.py
13 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
14 for script in $(EXTRA_DIST); do \
15 cp -f $(srcdir)/$$script $(builddir); \
20 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
21 for script in $(EXTRA_DIST); do \
22 rm -f $(builddir)/$$script; \