[babl] fix building in separate directory
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] fix building in separate directory
- Date: Wed, 2 Mar 2011 10:45:03 +0000 (UTC)
commit 96637b39d10db0d7e90eced5fe1e09de77bd7b8a
Author: Nils Philippsen <nils redhat com>
Date: Wed Mar 2 11:42:37 2011 +0100
fix building in separate directory
babl/Makefile.am | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/babl/Makefile.am b/babl/Makefile.am
index 6abf148..490779b 100644
--- a/babl/Makefile.am
+++ b/babl/Makefile.am
@@ -61,11 +61,14 @@ h_sources = \
babl-util.h
library_includedir=$(includedir)/babl-$(BABL_API_VERSION)/babl
-library_include_HEADERS = \
- babl-macros.h \
- babl-types.h \
- babl-version.h \
+libinc_hdrs = \
+ babl-macros.h \
+ babl-types.h \
babl.h
+libinc_generated_hdrs = \
+ babl-version.h
+library_include_HEADERS = \
+ $(libinc_hdrs) $(libinc_generated_hdrs)
AM_CPPFLAGS = \
-DLIBDIR=\""$(libdir)"\" \
@@ -99,7 +102,8 @@ Babl-$(BABL_API_VERSION).gir: $(G_IR_SCANNER) $(library_include_HEADERS) $(c_sou
-DBABL_IS_BEING_COMPILED \
-I$(top_srcdir) \
-I$(top_builddir) \
- $(addprefix $(srcdir)/, $(library_include_HEADERS)) \
+ $(addprefix $(srcdir)/, $(libinc_hdrs)) \
+ $(addprefix $(builddir)/, $(libinc_generated_hdrs)) \
$(addprefix $(srcdir)/, $(c_sources))
girdir = $(datadir)/gir-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]