configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / tests / regression / ust / type-declarations / Makefile.am
CommitLineData
9d16b343
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
343af227 3AM_CPPFLAGS += -I$(srcdir)
10b56aef 4
19708280
MJ
5# Disable some warnings flags to accomodate the tracepoint headers
6AM_CFLAGS += \
7 -Wno-redundant-decls
8
10b56aef
MD
9noinst_PROGRAMS = type-declarations
10type_declarations_SOURCES = type-declarations.c ust_tests_td.h
20dd2de1
MJ
11type_declarations_LDADD = $(UST_LIBS) $(DL_LIBS)
12type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS)
10b56aef
MD
13
14noinst_SCRIPTS = test_type_declarations test_type_declarations.py
15EXTRA_DIST = test_type_declarations test_type_declarations.py
16
17all-local:
18 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
19 for script in $(EXTRA_DIST); do \
20 cp -f $(srcdir)/$$script $(builddir); \
21 done; \
22 fi
23
24clean-local:
25 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
26 for script in $(EXTRA_DIST); do \
27 rm -f $(builddir)/$$script; \
28 done; \
29 fi
This page took 0.037423 seconds and 4 git commands to generate.