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 \
11 libatspi_la_LIBADD = $(DBUS_LIBS) \
14 $(top_builddir)/dbind/libdbind.la
16 libatspiincludedir = $(includedir)/at-spi-2.0/atspi
18 libatspiinclude_HEADERS = \
26 atspi-device-listener.h \
27 atspi-device-listener-private.h \
29 atspi-editabletext.h \
30 atspi-event-listener.h \
31 atspi-event-listener-private.h \
50 libatspi_la_SOURCES = \
51 $(libatspiinclude_HEADERS) \
64 atspi-device-listener.c \
65 atspi-device-listener.h \
66 atspi-device-listener-private.h \
69 atspi-editabletext.c \
70 atspi-editabletext.h \
71 atspi-event-listener.c \
72 atspi-event-listener.h \
73 atspi-event-listener-private.h \
82 atspi-matchrule-private.h \
85 atspi-misc-private.h \
105 #BUILT_SOURCES = atspi-constants.h
107 #CLEANFILES = atspi-constants.h
109 #atspi-constants.h: $(top_srcdir)/xml/spec.xml $(top_srcdir)/tools/c-constants-gen.py
110 # python $(top_srcdir)/tools/c-constants-gen.py Atspi $(top_srcdir)/xml/spec.xml atspi-constants
112 if HAVE_INTROSPECTION
113 INTROSPECTION_FILES = $(libatspi_la_SOURCES)
115 Atspi-2.0.gir: $(INTROSPECTION_SCANNER) \
117 $(INTROSPECTION_FILES)
118 $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
124 --include=GObject-2.0 \
125 --libtool="$(top_builddir)/libtool" \
126 --library=libatspi.la \
127 --library=$(top_builddir)/dbind/libdbind.la \
129 --pkg-export atspi-2 \
130 --c-include "atspi/atspi.h" \
133 $(addprefix $(srcdir)/, $(INTROSPECTION_FILES))
135 girdir = $(datadir)/gir-1.0
136 gir_DATA = Atspi-2.0.gir
138 %.typelib: %.gir $(INTROSPECTION_COMPILER)
139 $(AM_V_GEN)$(top_builddir)/libtool --mode=execute \
140 $(INTROSPECTION_COMPILER) \
141 --includedir=$(srcdir) \
143 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
145 typelibsdir = $(libdir)/girepository-1.0/
146 typelibs_DATA = $(gir_DATA:.gir=.typelib)