1 lib_LTLIBRARIES = libatspi.la
3 libatspi_la_LDFLAGS = @LDFLAGS@ @LT_VERSION_INFO@ @LIBTOOL_EXPORT_OPTIONS@ -no-undefined
5 libatspi_la_CFLAGS = $(DBUS_CFLAGS) \
8 -I$(top_srcdir)/registryd \
9 -I$(top_builddir)/registryd \
13 libatspi_la_LIBADD = $(DBUS_LIBS) \
16 $(top_builddir)/dbind/libdbind.la
18 libatspiincludedir = $(includedir)/at-spi-2.0/atspi
20 libatspiinclude_HEADERS = \
28 atspi-device-listener.h \
29 atspi-device-listener-private.h \
31 atspi-editabletext.h \
33 atspi-event-listener.h \
34 atspi-event-listener-private.h \
54 libatspi_la_SOURCES = \
56 $(libatspiinclude_HEADERS) \
60 atspi-accessible-private.h \
70 atspi-device-listener.c \
71 atspi-device-listener.h \
72 atspi-device-listener-private.h \
75 atspi-editabletext.c \
76 atspi-editabletext.h \
77 atspi-event-listener.c \
78 atspi-event-listener.h \
79 atspi-event-listener-private.h \
88 atspi-matchrule-private.h \
91 atspi-misc-private.h \
116 #CLEANFILES = atspi-constants.h
118 #atspi-constants.h: $(top_srcdir)/xml/spec.xml $(top_srcdir)/tools/c-constants-gen.py
119 # python $(top_srcdir)/tools/c-constants-gen.py Atspi $(top_srcdir)/xml/spec.xml atspi-constants
125 atspi-enum-types.h: atspi-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS)
126 $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template atspi-enum-types.h.template $(ENUM_TYPES)) > $@
128 atspi-enum-types.c: atspi-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
129 $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template atspi-enum-types.c.template $(ENUM_TYPES)) > $@
131 -include $(INTROSPECTION_MAKEFILE)
133 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
134 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
137 atspi-enum-types.c.template \
138 atspi-enum-types.h.template
140 if HAVE_INTROSPECTION
141 Atspi-2.0.gir: libatspi.la
142 Atspi_2_0_gir_INCLUDES = GLib-2.0 GObject-2.0
143 Atspi_2_0_gir_PACKAGES = dbus-1
144 Atspi_2_0_gir_EXPORT_PACKAGES = atspi-2
145 Atspi_2_0_gir_CFLAGS = -I$(top_builddir) -I$(top_srcdir)
146 Atspi_2_0_gir_LIBS = libatspi.la $(top_builddir)/dbind/libdbind.la
147 Atspi_2_0_gir_FILES = $(libatspi_la_SOURCES)
148 Atspi_2_0_gir_SCANNERFLAGS = --namespace Atspi --nsversion=2.0
149 INTROSPECTION_SCANNER_ARGS += --c-include='atspi/atspi.h'
150 INTROSPECTION_GIRS += Atspi-2.0.gir
152 girdir = $(datadir)/gir-1.0
153 gir_DATA = $(INTROSPECTION_GIRS)
155 typelibdir = $(libdir)/girepository-1.0
156 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
164 -include $(top_srcdir)/git.mk