2001-12-11 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            $(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                         eventlistener.h \
18                         action.h \
19                         application.h \
20                         base.h \
21                         component.h \
22                         editabletext.h\
23                         hyperlink.h\
24                         hypertext.h\
25                         image.h \
26                         keystrokelistener.h \
27                         keymasks.h \
28                         libspi.h \
29                         listener.h \
30                         relation.h \
31                         selection.h \
32                         table.h \
33                         text.h \
34                         value.h
35
36 IDL_OUT = Accessibility.h Accessibility-stubs.c Accessibility-skels.c Accessibility-common.c
37
38 IDL_DEPS = \
39         $(top_srcdir)/idl/Accessibility.idl                     \
40         $(top_srcdir)/idl/Accessibility_Accessible.idl          \
41         $(top_srcdir)/idl/Accessibility_Action.idl              \
42         $(top_srcdir)/idl/Accessibility_Application.idl         \
43         $(top_srcdir)/idl/Accessibility_Component.idl           \
44         $(top_srcdir)/idl/Accessibility_Desktop.idl             \
45         $(top_srcdir)/idl/Accessibility_EditableText.idl        \
46         $(top_srcdir)/idl/Accessibility_Event.idl               \
47         $(top_srcdir)/idl/Accessibility_Hyperlink.idl           \
48         $(top_srcdir)/idl/Accessibility_Hypertext.idl           \
49         $(top_srcdir)/idl/Accessibility_Image.idl               \
50         $(top_srcdir)/idl/Accessibility_Registry.idl            \
51         $(top_srcdir)/idl/Accessibility_Relation.idl            \
52         $(top_srcdir)/idl/Accessibility_Role.idl                \
53         $(top_srcdir)/idl/Accessibility_Selection.idl           \
54         $(top_srcdir)/idl/Accessibility_State.idl               \
55         $(top_srcdir)/idl/Accessibility_StreamableContent.idl   \
56         $(top_srcdir)/idl/Accessibility_Table.idl               \
57         $(top_srcdir)/idl/Accessibility_Text.idl                \
58         $(top_srcdir)/idl/Accessibility_Value.idl
59
60
61
62 BUILT_SOURCES = $(IDL_OUT) Accessibility-imodule.c
63 CLEANFILES+=$(IDL_OUT) Accessibility-imodule.c
64
65 libspi_la_SOURCES = accessible.c         \
66                     accessible.h         \
67                     action.c\
68                     action.h\
69                     application.c        \
70                     application.h        \
71                     base.c               \
72                     component.c          \
73                     component.h          \
74                     editabletext.c\
75                     editabletext.h\
76                     hyperlink.c\
77                     hyperlink.h\
78                     hypertext.c\
79                     hypertext.h\
80                     image.c\
81                     image.h\
82                     keystrokelistener.c\
83                     keystrokelistener.h\
84                     relation.c\
85                     relation.h\
86                     selection.c\
87                     selection.h\
88                     table.c\
89                     table.h\
90                     text.c\
91                     text.h\
92                     value.c\
93                     value.h\
94                     listener.c           \
95                     listener.h           \
96                     eventlistener.c      \
97                     keymasks.h          \
98                     $(IDL_OUT)
99
100 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
101            -I$(LIBBONOBO_IDL_DIR)         \
102            -I$(top_srcdir)/idl            \
103            --add-imodule
104
105 $(IDL_OUT) Accessibility-imodule.c : $(IDL_DEPS) $(ORBIT_IDL)
106         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
107
108 orbittypelibdir = $(libdir)/orbit-2.0
109 orbittypelib_LTLIBRARIES = Accessibility_module.la
110
111 Accessibility_module_la_LDFLAGS = \
112         -export-dynamic -module
113 Accessibility_module_la_SOURCES = \
114         Accessibility-imodule.c