2001-11-13 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 = 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                         selection.h\
27                         table.h\
28                         text.h\
29                         value.h\
30                         listener.h   \
31                         keystrokelistener.h     \
32                         accessibleeventlistener.h       \
33                         deviceeventcontroller.h \
34                         registry.h         \
35                         keymasks.h      \
36                         Accessibility.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                     selection.c\
77                     selection.h\
78                     table.c\
79                     table.h\
80                     text.c\
81                     text.h\
82                     value.c\
83                     value.h\
84                     listener.c           \
85                     listener.h           \
86                     accessibleeventlistener.c   \
87                     accessibleeventlistener.h   \
88                     registry.c           \
89                     registry.h           \
90                     keymasks.h          \
91                     $(IDL_OUT)
92
93 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
94            -I$(LIBBONOBO_IDL_DIR)         \
95            -I$(top_srcdir)/idl            \
96            --add-imodule
97
98 $(IDL_OUT) Accessibility-imodule.c : $(IDL) $(ORBIT_IDL)
99         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
100
101 orbittypelibdir = $(libdir)/orbit-2.0
102 orbittypelib_LTLIBRARIES = Accessibility_module.la
103
104 Accessibility_module_la_LDFLAGS = \
105         -export-dynamic -module
106 Accessibility_module_la_SOURCES = \
107         Accessibility-imodule.c