MAINTAINERCLEANFILES =
SUFFIXES =
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
# -DBUILDING_LIBINTL: Change expansion of LIBINTL_SHLIB_EXPORTED macro.
# -DBUILDING_LIBRARY: Change expansion of SHLIB_EXPORTED macro. We're compiling
# a library. Exporting the relevant symbols is desired.
RM = rm -f
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = -Ignulib-lib -I$(srcdir)/gnulib-lib
DEFS = -DIN_LIBASPRINTF @DEFS@
bin_PROGRAMS = gettext ngettext envsubst
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = \
- -I. -I$(srcdir) \
- -I.. \
-I../intl -I$(srcdir)/../intl \
-I../gnulib-lib -I$(srcdir)/../gnulib-lib
DEFS = -DLOCALEDIR=$(localedir_c_make) @DEFS@
pkgdatadir = $(datadir)/gettext
pkgdata_DATA =
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS =
# 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)
+# Needed so that woe32dll/export.h is found.
+AM_CPPFLAGS += -I$(top_srcdir)
# Parametrization of the 'relocatable' module.
AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
nodist_noinst_HEADERS = config.h
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
AM_CPPFLAGS = \
- -I. -I$(srcdir) \
- -I.. -I$(top_srcdir) \
+ -I$(top_srcdir) \
-I../src -I$(top_srcdir)/src \
-I../../gettext-runtime/intl -I$(top_srcdir)/../gettext-runtime/intl
noinst_LIBRARIES =
-AM_CPPFLAGS = -I.. -I../gnulib-lib -I$(top_srcdir)/gnulib-lib -I../../gettext-runtime/intl
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
+AM_CPPFLAGS = \
+ -I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
+ -I../../gettext-runtime/intl
# Enable more warning options in this directory.
AM_CFLAGS = @WARN_CFLAGS@
pkglibdir = $(libdir)/gettext
pkglibexecdir = $(libexecdir)/gettext
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
AM_CPPFLAGS = \
- -I. -I$(srcdir) \
- -I.. -I$(top_srcdir) \
+ -I$(top_srcdir) \
-I$(top_srcdir)/libgrep \
-I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
-I../../gettext-runtime/intl -I$(top_srcdir)/../gettext-runtime/intl
## Makefile for the gettext-tools/system-tests subdirectory of GNU gettext
-## Copyright (C) 1995-2018 Free Software Foundation, Inc.
+## Copyright (C) 1995-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
# It is important that the gnulib-generated *.h files are not visible here,
# except for config.h.
-AM_CPPFLAGS = -I..
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
+AM_CPPFLAGS =
# The USE_SYSTEM_LIBINTL flag distinguishes a compilation in the system-tests/
# directory from a compilation in the tests/ directory.
$(top_srcdir)/src/xgettext.c $(top_srcdir)/src/msgfmt.c
# Auxiliary programs used by the tests.
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = \
- -I.. \
-I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
-I../../gettext-runtime/intl
DEFS = -DLOCALEDIR=$(localedir_c_make) @DEFS@
## Makefile for the adhoc-tests subdirectory of GNU libtextstyle.
-## Copyright (C) 2019 Free Software Foundation, Inc.
+## Copyright (C) 2019-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
# Define the styles.
noinst_DATA = hello-default.css
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = \
- -I. -I$(srcdir) \
- -I.. \
-I../lib -I$(srcdir)/../lib \
-DSRCDIR=\"$(srcdir)/\"
noinst_HEADERS = notinline.h
+# Note that Automake's $(DEFAULT_INCLUDES) already contains
+# -I. -I$(srcdir) -I$(top_builddir).
AM_CPPFLAGS = \
- -I. -I$(srcdir) \
- -I$(top_builddir) \
-Iglib \
-DIN_LIBTEXTSTYLE