summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2013-11-07 23:50:52 +0200
committerUri Lublin <uril@redhat.com>2013-11-13 10:40:17 +0200
commitefea0d654bed290fcb183292ae3d62d0ba8a8b35 (patch)
tree639bfcd330b67fb4e06d222d55234f80f7c9bc9f
parent0a9047384833d05e7c0b16a494730584665b673b (diff)
Makefile.am: add INCLUDES to AM_CPPFLAGS
Fixes the following autoreconf (automake) warning: Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index da0b5a5..749ef56 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,13 +3,15 @@ MAINTAINERCLEANFILES =
DIST_SUBDIRS = spice-protocol
-INCLUDES = \
+AM_CXXFLAGS = -flto -fwhole-program
+AM_CPPFLAGS = \
+ -DUNICODE \
+ -D_UNICODE \
+ -DOLDMSVCRT \
-I$(top_srcdir)/common \
-I$(top_srcdir)/spice-protocol \
$(NULL)
-AM_CXXFLAGS = -flto -fwhole-program
-AM_CPPFLAGS = -DUNICODE -D_UNICODE -DOLDMSVCRT
AM_LDFLAGS = -static
if !ENABLE_DEBUG
AM_LDFLAGS += -s