d5c2c4f757accc10ec9750a949498c9af6d4c84b
[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            $(LIBSPI_CFLAGS)
6
7 LDFLAGS = $(LIBSPI_LIBS) $(XTST_LIBS) @LT_VERSION_INFO@
8
9 DEBUG_CFLAGS=-DSPI_DEBUG
10
11 CFLAGS += $(DEBUG_CFLAGS)
12
13 libspiincludedir = $(includedir)/at-spi-1.0/libspi
14
15 libspiinclude_HEADERS = Accessibility.h \
16                         accessible.h \
17                         accessibleeventlistener.h \
18                         action.h \
19                         application.h \
20                         base.h \
21                         component.h \
22                         desktop.h \
23                         deviceeventcontroller.h \
24                         editabletext.h\
25                         hyperlink.h\
26                         hypertext.h\
27                         image.h \
28                         keystrokelistener.h \
29                         keymasks.h \
30                         libspi.h \
31                         listener.h \
32                         registry.h \
33                         relation.h \
34                         selection.h \
35                         table.h \
36                         text.h \
37                         value.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