Started fixing IDL docs.
[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) -lXtst @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                         component.h \
21                         desktop.h \
22                         deviceeventcontroller.h \
23                         editabletext.h\
24                         hyperlink.h\
25                         hypertext.h\
26                         image.h \
27                         keystrokelistener.h \
28                         keymasks.h \
29                         libspi.h \
30                         listener.h \
31                         registry.h \
32                         relation.h \
33                         selection.h \
34                         table.h \
35                         text.h \
36                         value.h
37
38 IDL_OUT = Accessibility.h Accessibility-stubs.c Accessibility-skels.c Accessibility-common.c
39
40 IDL = \
41         $(top_srcdir)/idl/Accessibility.idl \
42         $(top_srcdir)/idl/Accessible.idl    \
43         $(top_srcdir)/idl/Application.idl   \
44         $(top_srcdir)/idl/Desktop.idl       \
45         $(top_srcdir)/idl/Event.idl         \
46         $(top_srcdir)/idl/Registry.idl      \
47         $(top_srcdir)/idl/Relation.idl      \
48         $(top_srcdir)/idl/Role.idl          \
49         $(top_srcdir)/idl/State.idl
50
51 BUILT_SOURCES = $(IDL_OUT) Accessibility-imodule.c
52 CLEANFILES+=$(IDL_OUT) Accessibility-imodule.c
53
54 libspi_la_SOURCES = accessible.c         \
55                     accessible.h         \
56                     action.c\
57                     action.h\
58                     application.c        \
59                     application.h        \
60                     component.c          \
61                     component.h          \
62                     desktop.c            \
63                     desktop.h            \
64                     deviceeventcontroller.c \
65                     deviceeventcontroller.h \
66                     editabletext.c\
67                     editabletext.h\
68                     hyperlink.c\
69                     hyperlink.h\
70                     hypertext.c\
71                     hypertext.h\
72                     image.c\
73                     image.h\
74                     keystrokelistener.c\
75                     keystrokelistener.h\
76                     relation.c\
77                     relation.h\
78                     selection.c\
79                     selection.h\
80                     table.c\
81                     table.h\
82                     text.c\
83                     text.h\
84                     value.c\
85                     value.h\
86                     listener.c           \
87                     listener.h           \
88                     accessibleeventlistener.c   \
89                     accessibleeventlistener.h   \
90                     registry.c           \
91                     registry.h           \
92                     keymasks.h          \
93                     $(IDL_OUT)
94
95 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
96            -I$(LIBBONOBO_IDL_DIR)         \
97            -I$(top_srcdir)/idl            \
98            --add-imodule
99
100 $(IDL_OUT) Accessibility-imodule.c : $(IDL) $(ORBIT_IDL)
101         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
102
103 orbittypelibdir = $(libdir)/orbit-2.0
104 orbittypelib_LTLIBRARIES = Accessibility_module.la
105
106 Accessibility_module_la_LDFLAGS = \
107         -export-dynamic -module
108 Accessibility_module_la_SOURCES = \
109         Accessibility-imodule.c