diff --git a/pango/Makefile.am b/pango/Makefile.am
index 37510fa..0aff5dd 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -66,7 +66,7 @@ endif
 pango-win32-res.o: pango.rc
 	$(AM_V_GEN) $(WINDRES) $< $@
 
-libpango_1_0_la_SOURCES =			\
+pango_sources =					\
 	break.c					\
 	ellipsize.c				\
 	fonts.c					\
@@ -99,8 +99,11 @@ libpango_1_0_la_SOURCES =			\
 	pango-tabs.c				\
 	pango-utils.c				\
 	reorder-items.c				\
-	shape.c					\
-	pango-enum-types.c			\
+	shape.c
+
+libpango_1_0_la_SOURCES =	\
+	$(pango_sources)	\
+	pango-enum-types.c	\
 	module-defs-lang.c
 
 pango_headers =		   \
@@ -162,16 +165,21 @@ pango-features.h:
 	$(AM_V_GEN) cd $(top_builddir) && ./config.status pango/pango-features.h
 
 pango_introspection_files = \
-        $(libpango_1_0_la_SOURCES) \
-	    $(pango_headers) \
-	    pango-enum-types.h
+        $(pango_sources) \
+	    $(pango_headers)
+pango_introspection_generated_files =	\
+	pango-enum-types.h		\
+	pango-enum-types.c		\
+	module-defs-lang.c
 Pango-1.0.gir: libpango-1.0.la
 
 Pango_1_0_gir_PACKAGES = gobject-2.0 cairo freetype2
 Pango_1_0_gir_INCLUDES = GObject-2.0 cairo-1.0
 Pango_1_0_gir_LIBS = libpango-1.0.la
 Pango_1_0_gir_CFLAGS = -I$(top_srcdir) $(PANGO_CFLAGS)
-Pango_1_0_gir_FILES = $(addprefix $(srcdir)/,$(pango_introspection_files))
+Pango_1_0_gir_FILES = \
+	$(addprefix $(srcdir)/,$(pango_introspection_files)) \
+	$(pango_introspection_generated_files)
 
 # ------------------- libpangox -------------------
 
