1 lib_LTLIBRARIES = libatspi.la
3 libatspi_la_LDFLAGS = @LDFLAGS@ @LT_VERSION_INFO@ @LIBTOOL_EXPORT_OPTIONS@ -no-undefined
5 libatspi_la_CFLAGS = $(DBUS_GLIB_CFLAGS) \
9 libatspi_la_LIBADD = $(DBUS_GLIB_LIBS) \
11 $(top_builddir)/dbind/libdbind.la
13 libatspidir = $(includedir)/at-spi-1.0/atspi
15 libatspi_la_SOURCES = \
28 atspi-device-listener.c \
29 atspi-device-listener.h \
30 atspi-device-listener-private.h \
33 atspi-editabletext.c \
34 atspi-editabletext.h \
35 atspi-event-listener.c \
36 atspi-event-listener.h \
37 atspi-event-listener-private.h \
46 atspi-matchrule-private.h \
49 atspi-misc-private.h \
69 #BUILT_SOURCES = atspi-constants.h
71 #CLEANFILES = atspi-constants.h
73 #atspi-constants.h: $(top_srcdir)/xml/spec.xml $(top_srcdir)/tools/c-constants-gen.py
74 # python $(top_srcdir)/tools/c-constants-gen.py Atspi $(top_srcdir)/xml/spec.xml atspi-constants
77 INTROSPECTION_FILES = $(libatspi_la_SOURCES)
79 Atspi-2.0.gir: $(INTROSPECTION_SCANNER) \
81 $(INTROSPECTION_FILES)
82 $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
88 --include=GObject-2.0 \
89 --libtool="$(top_builddir)/libtool" \
90 --library=libatspi.la \
91 --library=$(top_builddir)/dbind/libdbind.la \
95 $(addprefix $(srcdir)/, $(INTROSPECTION_FILES))
97 girdir = $(datadir)/gir-1.0
98 gir_DATA = Atspi-2.0.gir
100 %.typelib: %.gir $(INTROSPECTION_COMPILER)
101 $(AM_V_GEN)$(top_builddir)/libtool --mode=execute \
102 $(INTROSPECTION_COMPILER) \
103 --includedir=$(srcdir) \
105 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
107 typelibsdir = $(libdir)/girepository-1.0/
108 typelibs_DATA = $(gir_DATA:.gir=.typelib)