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