From d10c2ef36618f84f4055faecea891c806ca6a9cb Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 9 Mar 2023 17:37:21 +0700 Subject: [PATCH] tests/*/Makefile.am: move -I to AM_CPPFLAGS Change-Id: I654053e11b0cc824c198f68e4ff0a0fcb295efb0 --- tests/auc/Makefile.am | 2 +- tests/db/Makefile.am | 5 ++++- tests/gsup/Makefile.am | 2 +- tests/mslookup/Makefile.am | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/auc/Makefile.am b/tests/auc/Makefile.am index b196dbc3..9d0f7263 100644 --- a/tests/auc/Makefile.am +++ b/tests/auc/Makefile.am @@ -2,12 +2,12 @@ SUBDIRS = gen_ts_55_205_test_sets AM_CPPFLAGS = \ $(all_includes) \ + -I$(top_srcdir)/include \ $(NULL) AM_CFLAGS = \ -Wall \ -ggdb3 \ - -I$(top_srcdir)/include \ $(LIBOSMOCORE_CFLAGS) \ $(LIBOSMOGSM_CFLAGS) \ $(NULL) diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am index ece34d3f..b07460e3 100644 --- a/tests/db/Makefile.am +++ b/tests/db/Makefile.am @@ -1,7 +1,10 @@ -AM_CFLAGS = \ +AM_CPPFLAGS = \ $(all_includes) \ -I$(top_srcdir)/include \ -I$(top_builddir)/include \ + $(NULL) + +AM_CFLAGS = \ -Wall \ -ggdb3 \ $(LIBOSMOCORE_CFLAGS) \ diff --git a/tests/gsup/Makefile.am b/tests/gsup/Makefile.am index 9a10597a..04bc51a2 100644 --- a/tests/gsup/Makefile.am +++ b/tests/gsup/Makefile.am @@ -1,9 +1,9 @@ AM_CPPFLAGS = \ $(all_includes) \ + -I$(top_srcdir)/include \ $(NULL) AM_CFLAGS = \ - -I$(top_srcdir)/include \ $(LIBOSMOCORE_CFLAGS) \ $(LIBOSMOGSM_CFLAGS) \ $(NULL) diff --git a/tests/mslookup/Makefile.am b/tests/mslookup/Makefile.am index 04778e84..5c53a023 100644 --- a/tests/mslookup/Makefile.am +++ b/tests/mslookup/Makefile.am @@ -1,11 +1,11 @@ AM_CPPFLAGS = \ $(all_includes) \ + -I$(top_srcdir)/include \ $(NULL) AM_CFLAGS = \ -Wall \ -ggdb3 \ - -I$(top_srcdir)/include \ $(LIBOSMOCORE_CFLAGS) \ $(LIBOSMOGSM_CFLAGS) \ $(LIBOSMOABIS_CFLAGS) \