From 2edd7468b1faeb9137c50da0a62f84b8fffa612c Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 16 Nov 2013 01:23:30 +0100 Subject: Add local include directories using top_srcdir instead of .. --- ui/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/Makefile.am') diff --git a/ui/Makefile.am b/ui/Makefile.am index 82d3113..80151bd 100644 --- a/ui/Makefile.am +++ b/ui/Makefile.am @@ -16,7 +16,7 @@ librccgtk_la_SOURCES = librccui.c \ gtk.c librccgtk_la_LIBADD = ../src/librcc.la @GTK1_LIBS@ @XML_LIBS@ librccgtk_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk_la_CPPFLAGS = -I../src @XML_INCLUDES@ @GTK1_INCLUDES@ +librccgtk_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK1_INCLUDES@ endif if HAVE_GTK2 @@ -28,7 +28,7 @@ librccgtk2_la_SOURCES = librccui.c \ gtk.c librccgtk2_la_LIBADD = ../src/librcc.la @GTK2_LIBS@ @XML_LIBS@ librccgtk2_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk2_la_CPPFLAGS = -I../src @XML_INCLUDES@ @GTK2_CFLAGS@ +librccgtk2_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK2_CFLAGS@ endif if HAVE_GTK3 @@ -40,8 +40,8 @@ librccgtk3_la_SOURCES = librccui.c \ gtk.c librccgtk3_la_LIBADD = ../src/librcc.la @GTK3_LIBS@ @XML_LIBS@ librccgtk3_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk3_la_CPPFLAGS = -I../src @XML_INCLUDES@ @GTK3_CFLAGS@ +librccgtk3_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK3_CFLAGS@ endif -AM_CPPFLAGS = -I../src @XML_INCLUDES@ +AM_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ include_HEADERS = librccui.h -- cgit v1.2.3