Fixed use of setenv () which broke Solaris build.
[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_DEPS = \
40         $(top_srcdir)/idl/Accessibility.idl                     \
41         $(top_srcdir)/idl/Accessibility_Accessible.idl          \
42         $(top_srcdir)/idl/Accessibility_Action.idl              \
43         $(top_srcdir)/idl/Accessibility_Application.idl         \
44         $(top_srcdir)/idl/Accessibility_Component.idl           \
45         $(top_srcdir)/idl/Accessibility_Desktop.idl             \
46         $(top_srcdir)/idl/Accessibility_EditableText.idl        \
47         $(top_srcdir)/idl/Accessibility_Event.idl               \
48         $(top_srcdir)/idl/Accessibility_Hyperlink.idl           \
49         $(top_srcdir)/idl/Accessibility_Hypertext.idl           \
50         $(top_srcdir)/idl/Accessibility_Image.idl               \
51         $(top_srcdir)/idl/Accessibility_Registry.idl            \
52         $(top_srcdir)/idl/Accessibility_Relation.idl            \
53         $(top_srcdir)/idl/Accessibility_Role.idl                \
54         $(top_srcdir)/idl/Accessibility_Selection.idl           \
55         $(top_srcdir)/idl/Accessibility_State.idl               \
56         $(top_srcdir)/idl/Accessibility_StreamableContent.idl   \
57         $(top_srcdir)/idl/Accessibility_Table.idl               \
58         $(top_srcdir)/idl/Accessibility_Text.idl                \
59         $(top_srcdir)/idl/Accessibility_Value.idl
60
61
62
63 BUILT_SOURCES = $(IDL_OUT) Accessibility-imodule.c
64 CLEANFILES+=$(IDL_OUT) Accessibility-imodule.c
65
66 libspi_la_SOURCES = accessible.c         \
67                     accessible.h         \
68                     action.c\
69                     action.h\
70                     application.c        \
71                     application.h        \
72                     base.c               \
73                     component.c          \
74                     component.h          \
75                     desktop.c            \
76                     desktop.h            \
77                     deviceeventcontroller.c \
78                     deviceeventcontroller.h \
79                     editabletext.c\
80                     editabletext.h\
81                     hyperlink.c\
82                     hyperlink.h\
83                     hypertext.c\
84                     hypertext.h\
85                     image.c\
86                     image.h\
87                     keystrokelistener.c\
88                     keystrokelistener.h\
89                     relation.c\
90                     relation.h\
91                     selection.c\
92                     selection.h\
93                     table.c\
94                     table.h\
95                     text.c\
96                     text.h\
97                     value.c\
98                     value.h\
99                     listener.c           \
100                     listener.h           \
101                     eventlistener.c      \
102                     registry.c           \
103                     registry.h           \
104                     keymasks.h          \
105                     $(IDL_OUT)
106
107 IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) \
108            -I$(LIBBONOBO_IDL_DIR)         \
109            -I$(top_srcdir)/idl            \
110            --add-imodule
111
112 $(IDL_OUT) Accessibility-imodule.c : $(IDL_DEPS) $(ORBIT_IDL)
113         $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
114
115 orbittypelibdir = $(libdir)/orbit-2.0
116 orbittypelib_LTLIBRARIES = Accessibility_module.la
117
118 Accessibility_module_la_LDFLAGS = \
119         -export-dynamic -module
120 Accessibility_module_la_SOURCES = \
121         Accessibility-imodule.c