configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / tests / regression / ust / type-declarations / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 AM_CPPFLAGS += -I$(srcdir)
4
5 # Disable some warnings flags to accomodate the tracepoint headers
6 AM_CFLAGS += \
7 -Wno-redundant-decls
8
9 noinst_PROGRAMS = type-declarations
10 type_declarations_SOURCES = type-declarations.c ust_tests_td.h
11 type_declarations_LDADD = $(UST_LIBS) $(DL_LIBS)
12 type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS)
13
14 noinst_SCRIPTS = test_type_declarations test_type_declarations.py
15 EXTRA_DIST = test_type_declarations test_type_declarations.py
16
17 all-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
24 clean-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.029589 seconds and 4 git commands to generate.