diff options
Diffstat (limited to 'atspi/Makefile.am')
-rw-r--r-- | atspi/Makefile.am | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/atspi/Makefile.am b/atspi/Makefile.am index 8a264301..28551853 100644 --- a/atspi/Makefile.am +++ b/atspi/Makefile.am @@ -27,6 +27,7 @@ libatspiinclude_HEADERS = \ atspi-device-listener-private.h \ atspi-document.h \ atspi-editabletext.h \ + atspi-enum-types.h \ atspi-event-listener.h \ atspi-event-listener-private.h \ atspi-gmain.c \ @@ -48,6 +49,7 @@ atspi-gmain.h \ atspi-value.h libatspi_la_SOURCES = \ + $(BUILT_SOURCES) \ $(libatspiinclude_HEADERS) \ atspi.h \ atspi-accessible.c \ @@ -102,13 +104,25 @@ libatspi_la_SOURCES = \ atspi-value.c \ atspi-value.h -#BUILT_SOURCES = atspi-constants.h +BUILT_SOURCES = \ + atspi-enum-types.c \ + atspi-enum-types.h #CLEANFILES = atspi-constants.h #atspi-constants.h: $(top_srcdir)/xml/spec.xml $(top_srcdir)/tools/c-constants-gen.py # python $(top_srcdir)/tools/c-constants-gen.py Atspi $(top_srcdir)/xml/spec.xml atspi-constants +ENUM_TYPES = \ + atspi-constants.h \ + atspi-types.h + +atspi-enum-types.h: atspi-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS) + $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template atspi-enum-types.h.template $(ENUM_TYPES)) > $@ + +atspi-enum-types.c: atspi-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS) + $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template atspi-enum-types.c.template $(ENUM_TYPES)) > $@ + if HAVE_INTROSPECTION INTROSPECTION_FILES = $(libatspi_la_SOURCES) |