[libcroco] Replace deprecated INCLUDES with CPPFLAGS



commit b1b59df9e127c74e54cae22958292ad1f5450376
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Oct 31 09:41:10 2015 +0100

    Replace deprecated INCLUDES with CPPFLAGS

 csslint/Makefile.am |    9 +++++----
 tests/Makefile.am   |   44 ++++++++++++++++++++++----------------------
 2 files changed, 27 insertions(+), 26 deletions(-)
---
diff --git a/csslint/Makefile.am b/csslint/Makefile.am
index 8209537..3969962 100644
--- a/csslint/Makefile.am
+++ b/csslint/Makefile.am
@@ -3,15 +3,16 @@ bin_PROGRAMS = csslint-0.6
 
 csslint_0_6_SOURCES = csslint.c
 
-croco_lib=$(top_builddir)/src/@CROCO_LIB@
-LDADD=$(croco_lib)
+croco_lib = $(top_builddir)/src/@CROCO_LIB@
 
-INCLUDES=-I$(top_srcdir)/intl \
+csslint_0_6_LDADD = $(croco_lib)
+
+csslint_0_6_CPPFLAGS = \
+       -I$(top_srcdir)/intl \
        -I$(top_srcdir)/src \
        -I$(top_builddir)/src \
        $(CROCO_CFLAGS)
 
 csslint_0_6_LDFLAGS=$(CROCO_LIBS)
-AM_CFLAGS=$(INCLUDES)
 
 #EXTRA_DIST = $(man_MANS)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 54bd099..f8bf6bc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,32 +1,32 @@
-SUBDIRS=test-inputs test-output-refs
-EXTRA_DIST=testctl vg.supp global-vars.sh.in valgrind-version.sh \
+SUBDIRS = test-inputs test-output-refs
+EXTRA_DIST = testctl vg.supp global-vars.sh.in valgrind-version.sh \
 test-prop-ident.sh test-unknown-at-rule.sh test-unknown-at-rule2.sh \
 test-several-media.sh
 
 
 #the list of all possible tests goes here.
 
-EXTRALDFLAGS=$(CROCO_LIBS)
+EXTRALDFLAGS = $(CROCO_LIBS)
 testprogs=test0 test1 test2 test3 test4 test5 test6
-noinst_PROGRAMS=$(testprogs)
-test0_SOURCES=test0-main.c
-test0_LDFLAGS=$(EXTRALDFLAGS)
-test1_SOURCES=test1-main.c
-test1_LDFLAGS=$(EXTRALDFLAGS)
-test2_SOURCES=test2-main.c cr-test-utils.c cr-test-utils.h
-test2_LDFLAGS=$(EXTRALDFLAGS)
-test3_SOURCES=test3-main.c cr-test-utils.c cr-test-utils.h
-test3_LDFLAGS=$(EXTRALDFLAGS)
-test4_SOURCES=test4-main.c cr-test-utils.c cr-test-utils.h
-test4_LDFLAGS=$(EXTRALDFLAGS)
-test5_SOURCES=test5-main.c cr-test-utils.c cr-test-utils.h
-test5_LDFLAGS=$(EXTRALDFLAGS)
-test6_SOURCES=test6-main.c cr-test-utils.c cr-test-utils.h
-test6_LDFLAGS=$(EXTRALDFLAGS)
+noinst_PROGRAMS = $(testprogs)
+test0_SOURCES = test0-main.c
+test0_LDFLAGS = $(EXTRALDFLAGS)
+test1_SOURCES = test1-main.c
+test1_LDFLAGS = $(EXTRALDFLAGS)
+test2_SOURCES = test2-main.c cr-test-utils.c cr-test-utils.h
+test2_LDFLAGS = $(EXTRALDFLAGS)
+test3_SOURCES = test3-main.c cr-test-utils.c cr-test-utils.h
+test3_LDFLAGS = $(EXTRALDFLAGS)
+test4_SOURCES = test4-main.c cr-test-utils.c cr-test-utils.h
+test4_LDFLAGS = $(EXTRALDFLAGS)
+test5_SOURCES = test5-main.c cr-test-utils.c cr-test-utils.h
+test5_LDFLAGS = $(EXTRALDFLAGS)
+test6_SOURCES = test6-main.c cr-test-utils.c cr-test-utils.h
+test6_LDFLAGS = $(EXTRALDFLAGS)
 
-croco_lib=$(top_builddir)/src/@CROCO_LIB@
-LDADD=$(croco_lib)
+croco_lib = $(top_builddir)/src/@CROCO_LIB@
+LDADD = $(croco_lib)
 
-INCLUDES=-I$(top_srcdir)/intl -I$(top_srcdir)/src -I$(top_builddir)/src
+AM_CPPFLAGS = -I$(top_srcdir)/intl -I$(top_srcdir)/src -I$(top_builddir)/src
 
-AM_CFLAGS=-I. $(CROCO_CFLAGS)
+AM_CFLAGS = -I. $(CROCO_CFLAGS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]