summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheppitak Karoonboonyanan <thep@linux.thai.net>2010-05-06 16:28:20 +0800
committerLi Yuan <li.yuan@sun.com>2010-05-06 16:28:20 +0800
commitefbd81a12773e858331af089ddd829d80b839a74 (patch)
tree2e1086618d5af897dc9eef3a4e2371fd7481e2c0
parent1d4b51f235cf85cf14387dbc0744f0cf6abb6157 (diff)
downloadatk-efbd81a12773e858331af089ddd829d80b839a74.tar.gz
Fix build problem with jhbuild.
Bug #617851.
-rw-r--r--atk/Makefile.am18
1 files changed, 13 insertions, 5 deletions
diff --git a/atk/Makefile.am b/atk/Makefile.am
index 0ed5f66..19c2816 100644
--- a/atk/Makefile.am
+++ b/atk/Makefile.am
@@ -30,7 +30,7 @@ libatk_1_0_la_LIBADD = \
$(DEP_LIBS) \
$(INTLLIBS)
-libatk_1_0_la_SOURCES = \
+atk_sources = \
atkaction.c \
atkcomponent.c \
atkdocument.c \
@@ -57,7 +57,10 @@ libatk_1_0_la_SOURCES = \
atktext.c \
atkutil.c \
atkmisc.c \
- atkvalue.c \
+ atkvalue.c
+
+libatk_1_0_la_SOURCES = \
+ $(atk_sources) \
atk-enum-types.c
libatkincludedir=$(includedir)/atk-1.0/atk
@@ -148,14 +151,19 @@ s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
if HAVE_INTROSPECTION
introspection_sources = \
- $(libatkinclude_HEADERS) \
- $(libatk_1_0_la_SOURCES)
+ $(atk_headers) \
+ $(atk_sources)
+introspection_generated_sources = \
+ atk-enum-types.c \
+ atk-enum-types.h
Atk-1.0.gir: libatk-1.0.la
Atk_1_0_gir_INCLUDES = GObject-2.0
Atk_1_0_gir_CFLAGS = $(INCLUDES)
Atk_1_0_gir_LIBS = libatk-1.0.la
-Atk_1_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
+Atk_1_0_gir_FILES = \
+ $(addprefix $(srcdir)/, $(introspection_sources)) \
+ $(introspection_generated_sources)
INTROSPECTION_GIRS += Atk-1.0.gir
girdir = $(datadir)/gir-1.0