[gnome-builder] build: fix paths when srcdir != builddir



commit 29afe54afcec1d8226ec82d5774aae7b55ff6532
Author: Christian Hergert <christian hergert me>
Date:   Sun Apr 24 18:58:33 2016 -0700

    build: fix paths when srcdir != builddir

 libidemm/tools/Makefile.am |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/libidemm/tools/Makefile.am b/libidemm/tools/Makefile.am
index c8a5a6a..3ceae82 100644
--- a/libidemm/tools/Makefile.am
+++ b/libidemm/tools/Makefile.am
@@ -6,8 +6,18 @@ noinst_PROGRAMS = extra_defs_gen/generate_defs_libide
 
 extra_defs_gen_generate_defs_libide_SOURCES = extra_defs_gen/generate_defs_libide.cc
 extra_defs_gen_generate_defs_libide_LDADD = \
-       $(IDEMM_LIBS) $(LIBIDE_LIBS) -lglibmm_generate_extra_defs-2.4 -L../../libide -lide-1.0
+       $(IDEMM_LIBS) \
+       $(LIBIDE_LIBS) \
+       -lglibmm_generate_extra_defs-2.4 \
+       -L$(top_builddir)/libide \
+       -lide-1.0
 
-AM_CPPFLAGS = -I$(top_builddir) $(LIBIDE_CFLAGS) $(IDEMM_CFLAGS) -I../../libide -I../../contrib/pnl
+AM_CPPFLAGS = \
+       -I$(top_builddir) \
+       $(LIBIDE_CFLAGS) \
+       $(IDEMM_CFLAGS) \
+       -I$(top_srcdir)/libide \
+       -I$(top_builddir)/libide \
+       -I$(top_srcdir)/contrib/pnl
 
 endif


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