## Makefile for the gettext-runtime/tests subdirectory of GNU gettext
-## Copyright (C) 2005-2006, 2008-2009, 2014-2015, 2019 Free Software Foundation, Inc.
+## Copyright (C) 2005-2023 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
TESTS =
-AM_CPPFLAGS = \
- -I.. \
- -I$(srcdir)/../intl
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
+AM_CPPFLAGS =
check_PROGRAMS =
AM_CPPFLAGS =
-# Hmm... is this still necessary?
-AM_CPPFLAGS += -I$(top_builddir)/../gettext-runtime/intl -I$(top_srcdir)/../gettext-runtime/intl
+# Needed for the gnulib source code that does '#include "gettext.h"'.
+AM_CPPFLAGS += -I../../gettext-runtime/intl
# Needed so that config.h and woe32dll/export.h are found.
AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
## Makefile for the gettext-tools/gnulib-tests subdirectory of GNU gettext
-## Copyright (C) 2007, 2009-2010, 2019, 2021 Free Software Foundation, Inc.
+## Copyright (C) 2007-2023 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
AUTOMAKE_OPTIONS += 1.11 color-tests
-# Ensure that test-quotearg.c finds libintl.h.
+# Ensure that copy-acl.c, set-acl.c find libintl.h.
AM_CPPFLAGS += -I../../gettext-runtime/intl
nodist_noinst_HEADERS = config.h
+# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
AM_CPPFLAGS = \
-I. -I$(srcdir) \
-I.. -I$(top_srcdir) \
pkglibdir = $(libdir)/gettext
pkglibexecdir = $(libexecdir)/gettext
+# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
AM_CPPFLAGS = \
-I. -I$(srcdir) \
-I.. -I$(top_srcdir) \
Makefile.am:
AUTOMAKE_OPTIONS += no-dependencies
-# Hmm... is this still necessary?
-AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
+# Needed for the gnulib source code that does '#include "gettext.h"'.
+AM_CPPFLAGS += -I$(top_builddir)/intl
# Parametrization of the 'relocatable' module.
AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
AM_CPPFLAGS = \
-I. -I$(srcdir) \
- -I$(top_builddir) -I$(top_srcdir) \
+ -I$(top_builddir) \
-Iglib \
-DIN_LIBTEXTSTYLE