aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-01-19 17:47:34 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-01-19 17:47:34 +0200
commit1dc8df0731f977da79b9b91f2d9bb6f4f5c50fe2 (patch)
tree854e1cd1885b7084addff5b98a979eb4f47c0bbe
parent32255759a59fac277526a597ac8a3a2da5416d7a (diff)
downloadeclat-1dc8df0731f977da79b9b91f2d9bb6f4f5c50fe2.tar.gz
eclat-1dc8df0731f977da79b9b91f2d9bb6f4f5c50fe2.tar.bz2
Use AM_CPPFLAGS instead of the obsolete INCLUDES.
* lib/Makefile.am: Update. * src/Makefile.am: Update. * tests/Makefile.am: Update.
-rw-r--r--lib/Makefile.am4
-rw-r--r--src/Makefile.am4
-rw-r--r--tests/Makefile.am4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 8bd147c..62f58b9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Eclat
-# Copyright (C) 2012 Sergey Poznyakoff
+# Copyright (C) 2012, 2013 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@ libeclat_a_SOURCES=\
$(maps)
AM_LDFLAGS = $(CURL_LIBS)
-INCLUDES = -I$(top_srcdir)/grecs/src/ $(CURL_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/grecs/src/ $(CURL_CFLAGS)
forlanlex.c: forlangrm.h
forlangrm.c forlangrm.h: forlangrm.y
diff --git a/src/Makefile.am b/src/Makefile.am
index 9cd48cd..0eba189 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,8 +50,8 @@ eclat_SOURCES=\
util.c
LDADD=../lib/libeclat.a @LIBOBJS@ ../grecs/src/libgrecs.a $(CURL_LIBS) @MAPLIBS@
-INCLUDES = -I$(top_srcdir)/grecs/src/ -I$(top_srcdir)/lib $(CURL_CFLAGS)
-AM_CPPFLAGS= \
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/grecs/src/ -I$(top_srcdir)/lib $(CURL_CFLAGS)\
-DSYSCONFDIR=\"$(sysconfdir)\"\
-DDEFAULT_VERSION_INCLUDE_DIR=\"$(incdir)\"\
-DDEFAULT_INCLUDE_DIR=\"$(pkgdatadir)/include\"\
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0a302a6..80b5a4f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Eclat
-# Copyright (C) 2012 Sergey Poznyakoff
+# Copyright (C) 2012, 2013 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -118,7 +118,7 @@ noinst_PROGRAMS = \
txml
LDADD = ../lib/libeclat.a ../grecs/src/libgrecs.a
-INCLUDES = -I$(top_srcdir)/grecs/src/ -I$(top_srcdir)/lib
+AM_CPPFLAGS = -I$(top_srcdir)/grecs/src/ -I$(top_srcdir)/lib
gdbmload_LDADD=../lib/libeclat.a ../grecs/src/libgrecs.a @MAPLIBS@

Return to:

Send suggestions and report system problems to the System administrator.