dd02937085886ac2d1d1e08dff6f498a7903c6b0
[platform/core/uifw/at-spi2-atk.git] / libspi / Makefile.am
1 lib_LTLIBRARIES = libspi.la
2
3 INCLUDES = -I $(top_srcdir)           \
4            -I $(top_builddir)         \
5            -I $(top_srcdir)/libspi    \
6            -I $(top_builddir)/libspi  \
7            $(LIBSPI_CFLAGS)
8
9 LDFLAGS = $(LIBSPI_LIBS) -lXtst @LT_VERSION_INFO@
10
11 DEBUG_CFLAGS=-DSPI_DEBUG
12
13 CFLAGS += $(DEBUG_CFLAGS)
14
15 libspiincludedir = $(includedir)/at-spi-1.0/libspi
16
17 libspiinclude_HEADERS = accessible.h       \
18                         action.h\
19                         application.h      \
20                         component.h\
21                         desktop.h          \
22                         editabletext.h\
23                         hyperlink.h\
24                         hypertext.h\
25                         image.h\
26                         relation.h\
27                         selection.h\
28                         table.h\
29                         text.h\
30                         value.h\
31                         listener.h   \
32                         keystrokelistener.h     \
33                         accessibleeventlistener.h       \
34                         deviceeventcontroller.h \
35                         registry.h         \
36                         keymasks.h      \
37                         Accessibility.h
38
39 IDL_OUT = Accessibility.h Accessibility-stubs.c Accessibility-skels.c Accessibility-common.c
40
41 IDL = \
42         $(top_srcdir)/idl/Accessibility.idl \
43         $(top_srcdir)/idl/Accessible.idl    \
44         $(top_srcdir)/idl/Application.idl   \
45         $(top_srcdir)/idl/Desktop.idl       \
46         $(top_srcdir)/idl/Event.idl         \
47         $(top_srcdir)/idl/Registry.idl      \
48         $(top_srcdir)/idl/Relation.idl      \
49         $(top_srcdir)/idl/Role.idl          \
50         $(top_srcdir)/idl/State.idl
51
52 BUILT_SOURCES = $(IDL_OUT) Accessibility-imodule.c
53 CLEANFILES+=$(IDL_OUT) Accessibility-imodule.c
54
55 libspi_la_SOURCES = accessible.c         \
56                     accessible.h         \
57                     action.c\
58                     action.h\
59                     application.c        \
60                     application.h        \
61                     component.c          \
62                     component.h          \
63                     desktop.c            \
64                     desktop.h            \
65                     deviceeventcontroller.c \
66                     deviceeventcontroller.h \
67                     editabletext.c\
68                     editabletext.h\
69                     hyperlink.c\
70                     hyperlink.h\
71                     hypertext.c\
72                     hypertext.h\
73                     image.c\
74                     image.h\
75                     keystrokelistener.c\
76                     keystrokelistener.h\
77                     relation.c\
78                     relation.h\
79                     selection.c\
80                     selection.h\
81                     table.c\
82                     table.h\
83                     text.c\
84                     text.h\
85                     value.c\
86                     value.h\
87                     listener.c           \
88                     listener.h           \
89                     accessibleeventlistener.c   \
90                     accessibleeventlistener.h   \
91                     registry.c           \
92                     registry.h           \
93                     keymasks.h          \
94                     $(IDL_OUT)
95
96 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
97            -I$(LIBBONOBO_IDL_DIR)         \
98            -I$(top_srcdir)/idl            \
99            --add-imodule
100
101 $(IDL_OUT) Accessibility-imodule.c : $(IDL) $(ORBIT_IDL)
102         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
103
104 orbittypelibdir = $(libdir)/orbit-2.0
105 orbittypelib_LTLIBRARIES = Accessibility_module.la
106
107 Accessibility_module_la_LDFLAGS = \
108         -export-dynamic -module
109 Accessibility_module_la_SOURCES = \
110         Accessibility-imodule.c