2001-12-10 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                         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                         relation.h \
32                         selection.h \
33                         table.h \
34                         text.h \
35                         value.h
36
37 IDL_OUT = Accessibility.h Accessibility-stubs.c Accessibility-skels.c Accessibility-common.c
38
39 IDL = \
40         $(top_srcdir)/idl/Accessibility.idl \
41         $(top_srcdir)/idl/Accessible.idl    \
42         $(top_srcdir)/idl/Application.idl   \
43         $(top_srcdir)/idl/Desktop.idl       \
44         $(top_srcdir)/idl/Event.idl         \
45         $(top_srcdir)/idl/Registry.idl      \
46         $(top_srcdir)/idl/Relation.idl      \
47         $(top_srcdir)/idl/Role.idl          \
48         $(top_srcdir)/idl/State.idl
49
50 BUILT_SOURCES = $(IDL_OUT) Accessibility-imodule.c
51 CLEANFILES+=$(IDL_OUT) Accessibility-imodule.c
52
53 libspi_la_SOURCES = accessible.c         \
54                     accessible.h         \
55                     action.c\
56                     action.h\
57                     application.c        \
58                     application.h        \
59                     base.c               \
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                     eventlistener.c      \
89                     registry.c           \
90                     registry.h           \
91                     keymasks.h          \
92                     $(IDL_OUT)
93
94 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
95            -I$(LIBBONOBO_IDL_DIR)         \
96            -I$(top_srcdir)/idl            \
97            --add-imodule
98
99 $(IDL_OUT) Accessibility-imodule.c : $(IDL) $(ORBIT_IDL)
100         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
101
102 orbittypelibdir = $(libdir)/orbit-2.0
103 orbittypelib_LTLIBRARIES = Accessibility_module.la
104
105 Accessibility_module_la_LDFLAGS = \
106         -export-dynamic -module
107 Accessibility_module_la_SOURCES = \
108         Accessibility-imodule.c