summaryrefslogtreecommitdiffabout
path: root/gint.mk
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-18 10:39:51 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-12-18 10:39:51 (GMT)
commita0b07275561bb40167e1359f9d32a07e67d31b77 (patch) (side-by-side diff)
tree62492889d31c5afc23d9a49d983d1082596f518d /gint.mk
parentb39efd37a7fbf478072c72f82b4310c8620a4cea (diff)
downloadgint-a0b07275561bb40167e1359f9d32a07e67d31b77.tar.gz
gint-a0b07275561bb40167e1359f9d32a07e67d31b77.tar.bz2
Use AM_CPPFLAGS instead of INCLUDES
Diffstat (limited to 'gint.mk') (more/less context) (ignore whitespace changes)
-rw-r--r--gint.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/gint.mk b/gint.mk
index b8d03f3..250121d 100644
--- a/gint.mk
+++ b/gint.mk
@@ -1,8 +1,8 @@
# This file is part of Gint
-# Copyright (C) 2010 Sergey Poznyakoff
+# Copyright (C) 2010, 2013 Sergey Poznyakoff
#
# 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
@@ -12,13 +12,13 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if GINT_COND_GUILE_OK
-INCLUDES += @GUILE_INCLUDES@
+AM_CPPFLAGS += @GUILE_INCLUDES@
if GINT_COND_DOC_DISTRIB
EXTRA_DIST += $(DOT_X_FILES)
MAINTAINERCLEANFILES += $(DOT_X_FILES)
else
DISTCLEANFILES += $(DOT_X_FILES)
@@ -84,9 +84,9 @@ CLEANFILES += *.inc
.doc.inc:
$(AM_V_GEN)$(top_srcdir)/$(GINT_MODULE_DIR)/extract-exports -o $@ $<
endif
## Add -MG to make the .x magic work with auto-dep code.
-MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
endif

Return to:

Send suggestions and report system problems to the System administrator.