aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/Makefile.am
blob: fe44f3dcb0480612dde49c31a2d4143676611c80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
MAINTAINERCLEANFILES = Makefile.in

SUBDIRS = canvas cache cache2 cserve cserve2 file engines include
EVAS_STATIC_MODULE =
EVAS_STATIC_LIBADD =

if EVAS_STATIC_BUILD_SOFTWARE_GENERIC
SUBDIRS += ../modules/engines/software_generic/
EVAS_STATIC_MODULE += ../modules/engines/software_generic/libevas_engine_software_generic.la
endif
if EVAS_STATIC_BUILD_BUFFER
SUBDIRS += ../modules/engines/buffer/
EVAS_STATIC_MODULE += ../modules/engines/buffer/libevas_engine_buffer.la
endif
if EVAS_STATIC_BUILD_DIRECT3D
SUBDIRS += ../modules/engines/direct3d/
EVAS_STATIC_MODULE += ../modules/engines/direct3d/libevas_engine_direct3d.la
EVAS_STATIC_LIBADD += @evas_engine_direct3d_libs@
endif
if EVAS_STATIC_BUILD_DIRECTFB
SUBDIRS += ../modules/engines/directfb/
EVAS_STATIC_MODULE += ../modules/engines/directfb/libevas_engine_directfb.la
EVAS_STATIC_LIBADD += @evas_engine_directfb_libs@
endif
if EVAS_STATIC_BUILD_FB
SUBDIRS += ../modules/engines/fb/
EVAS_STATIC_MODULE += ../modules/engines/fb/libevas_engine_fb.la
EVAS_STATIC_LIBADD += @evas_engine_fb_libs@
endif
if EVAS_STATIC_BUILD_GL_X11
SUBDIRS += \
	../modules/engines/gl_common \
	../modules/engines/gl_x11
EVAS_STATIC_MODULE += \
	../modules/engines/gl_x11/libevas_engine_gl_x11.la
EVAS_STATIC_LIBADD += @evas_engine_gl_common_libs@ @evas_engine_gl_xlib_libs@
endif
if EVAS_STATIC_BUILD_GL_SDL
SUBDIRS += \
	../modules/engines/gl_common \
	../modules/engines/gl_sdl
EVAS_STATIC_MODULE += \
	../modules/engines/gl_sdl/libevas_engine_gl_sdl.la
EVAS_STATIC_LIBADD += @evas_engine_gl_common_libs@ @evas_engine_gl_sdl_libs@
endif
if EVAS_STATIC_BUILD_PSL1GHT
SUBDIRS += ../modules/engines/psl1ght/
EVAS_STATIC_MODULE += ../modules/engines/psl1ght/libevas_engine_psl1ght.la
EVAS_STATIC_LIBADD += @evas_engine_psl1ght_libs@
endif
if EVAS_STATIC_BUILD_SOFTWARE_8
SUBDIRS += ../modules/engines/software_8/
EVAS_STATIC_MODULE += ../modules/engines/software_8/libevas_engine_software_8.la
endif
if EVAS_STATIC_BUILD_SOFTWARE_8_X11
SUBDIRS += ../modules/engines/software_8_x11/
EVAS_STATIC_MODULE += ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la
EVAS_STATIC_LIBADD += @evas_engine_software_8_x11_libs@
endif
if EVAS_STATIC_BUILD_SOFTWARE_DDRAW
SUBDIRS += ../modules/engines/software_ddraw/
EVAS_STATIC_MODULE += ../modules/engines/software_ddraw/libevas_engine_software_ddraw.la
EVAS_STATIC_LIBADD += @evas_engine_software_ddraw_libs@
endif
if EVAS_STATIC_BUILD_SOFTWARE_GDI
SUBDIRS += ../modules/engines/software_gdi/
EVAS_STATIC_MODULE += ../modules/engines/software_gdi/libevas_engine_software_gdi.la
EVAS_STATIC_LIBADD += @evas_engine_software_gdi_libs@
endif
if EVAS_STATIC_BUILD_SOFTWARE_X11
SUBDIRS += ../modules/engines/software_x11/
EVAS_STATIC_MODULE += ../modules/engines/software_x11/libevas_engine_software_x11.la
EVAS_STATIC_LIBADD += @evas_engine_software_xlib_libs@ @evas_engine_software_xcb_libs@
endif
if EVAS_STATIC_BUILD_WAYLAND_SHM
SUBDIRS += ../modules/engines/wayland_shm/
EVAS_STATIC_MODULE += ../modules/engines/wayland_shm/libevas_engine_wayland_shm.la
EVAS_STATIC_LIBADD += @evas_engine_wayland_shm_libs@
endif
if EVAS_STATIC_BUILD_BMP
SUBDIRS += ../modules/loaders/bmp
EVAS_STATIC_MODULE += ../modules/loaders/bmp/libevas_loader_bmp.la
EVAS_STATIC_LIBADD += @evas_image_loader_bmp_libs@
endif
if EVAS_STATIC_BUILD_EDB
SUBDIRS += ../modules/savers/edb ../modules/loaders/edb
EVAS_STATIC_MODULE += ../modules/savers/edb/libevas_saver_edb.la ../modules/loaders/edb/libevas_loader_edb.la
EVAS_STATIC_LIBADD += @evas_image_loader_edb_libs@
endif
if EVAS_STATIC_BUILD_EET
SUBDIRS += ../modules/savers/eet ../modules/loaders/eet
EVAS_STATIC_MODULE += ../modules/savers/eet/libevas_saver_eet.la ../modules/loaders/eet/libevas_loader_eet.la
EVAS_STATIC_LIBADD += @evas_image_loader_eet_libs@
endif
if EVAS_STATIC_BUILD_GENERIC
SUBDIRS += ../modules/loaders/generic
EVAS_STATIC_MODULE += ../modules/loaders/generic/libevas_loader_generic.la
EVAS_STATIC_LIBADD += @evas_image_loader_generic_libs@
endif
if EVAS_STATIC_BUILD_GIF
SUBDIRS += ../modules/loaders/gif
EVAS_STATIC_MODULE += ../modules/loaders/gif/libevas_loader_gif.la
EVAS_STATIC_LIBADD += @evas_image_loader_gif_libs@
endif
if EVAS_STATIC_BUILD_ICO
SUBDIRS += ../modules/loaders/ico
EVAS_STATIC_MODULE += ../modules/loaders/ico/libevas_loader_ico.la
EVAS_STATIC_LIBADD += @evas_image_loader_ico_libs@
endif
if EVAS_STATIC_BUILD_JPEG
SUBDIRS += ../modules/loaders/jpeg
EVAS_STATIC_MODULE += ../modules/loaders/jpeg/libevas_loader_jpeg.la
if BUILD_SAVER_JPEG
SUBDIRS += ../modules/savers/jpeg
EVAS_STATIC_MODULE += ../modules/savers/jpeg/libevas_saver_jpeg.la
endif
EVAS_STATIC_LIBADD += @evas_image_loader_jpeg_libs@
endif
if EVAS_STATIC_BUILD_PMAPS
SUBDIRS += ../modules/loaders/pmaps
EVAS_STATIC_MODULE += ../modules/loaders/pmaps/libevas_loader_pmaps.la
EVAS_STATIC_LIBADD += @evas_image_loader_pmaps_libs@
endif
if EVAS_STATIC_BUILD_PNG
SUBDIRS += ../modules/savers/png ../modules/loaders/png
EVAS_STATIC_MODULE += ../modules/savers/png/libevas_saver_png.la ../modules/loaders/png/libevas_loader_png.la
EVAS_STATIC_LIBADD += @evas_image_loader_png_libs@
endif
if EVAS_STATIC_BUILD_PSD
SUBDIRS += ../modules/loaders/psd
EVAS_STATIC_MODULE += ../modules/loaders/psd/libevas_loader_psd.la
EVAS_STATIC_LIBADD += @evas_image_loader_psd_libs@
endif
if EVAS_STATIC_BUILD_SVG
SUBDIRS += ../modules/loaders/svg
EVAS_STATIC_MODULE += ../modules/loaders/svg/libevas_loader_svg.la
EVAS_STATIC_LIBADD += @evas_image_loader_svg_libs@
endif
if EVAS_STATIC_BUILD_TGA
SUBDIRS += ../modules/loaders/tga
EVAS_STATIC_MODULE += ../modules/loaders/tga/libevas_loader_tga.la
EVAS_STATIC_LIBADD += @evas_image_loader_tga_libs@
endif
if EVAS_STATIC_BUILD_TIFF
SUBDIRS += ../modules/savers/tiff ../modules/loaders/tiff
EVAS_STATIC_MODULE += ../modules/savers/tiff/libevas_saver_tiff.la ../modules/loaders/tiff/libevas_loader_tiff.la
EVAS_STATIC_LIBADD += @evas_image_loader_tiff_libs@
endif
if EVAS_STATIC_BUILD_WBMP
SUBDIRS += ../modules/loaders/wbmp
EVAS_STATIC_MODULE += ../modules/loaders/wbmp/libevas_loader_wbmp.la
EVAS_STATIC_LIBADD += @evas_image_loader_wbmp_libs@
endif
if EVAS_STATIC_BUILD_XPM
SUBDIRS += ../modules/loaders/xpm
EVAS_STATIC_MODULE += ../modules/loaders/xpm/libevas_loader_xpm.la
EVAS_STATIC_LIBADD += @evas_image_loader_xpm_libs@
endif

AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib/include \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EVAS_GENERAL_CFLAGS@ \
@FREETYPE_CFLAGS@ \
@FRIBIDI_CFLAGS@ \
@HARFBUZZ_CFLAGS@ \
@EET_CFLAGS@ \
@FONTCONFIG_CFLAGS@ \
@pthread_cflags@ \
@EO_CFLAGS@ \
@PIXMAN_CFLAGS@

lib_LTLIBRARIES = libevas.la

includes_HEADERS = Evas.h Evas_GL.h
includesdir = $(includedir)/evas-@VMAJ@

libevas_la_SOURCES = main.c

if EVAS_CSERVE

libevas_cserve_la = cserve/libevas_cserve.la

endif

if EVAS_CSERVE2

libevas_cserve2_la = cserve2/libevas_cserve2.la

endif

libevas_la_LIBADD = \
canvas/libevas_canvas.la \
file/libevas_file.la \
cache/libevas_cache.la \
$(libevas_cserve_la) \
$(libevas_cserve2_la) \
engines/common/libevas_engine_common.la \
@FREETYPE_LIBS@ \
@FRIBIDI_LIBS@ \
@HARFBUZZ_LIBS@ \
@EET_LIBS@ \
@FONTCONFIG_LIBS@ \
@pthread_libs@ \
@EVAS_GENERAL_LIBS@ \
$(EVAS_STATIC_MODULE) \
$(EVAS_STATIC_LIBADD) \
@PIXMAN_LIBS@ \
@EO_LIBS@ \
-lm

libevas_la_DEPENDENCIES = \
canvas/libevas_canvas.la \
file/libevas_file.la \
cache/libevas_cache.la \
$(libevas_cserve_la) \
$(libevas_cserve2_la) \
engines/common/libevas_engine_common.la \
$(EVAS_STATIC_MODULE)

if EVAS_CSERVE2

libevas_la_LIBADD += \
cache2/libevas_cache2.la

libevas_la_DEPENDENCIES += \
cache2/libevas_cache2.la

endif

if BUILD_ENGINE_SOFTWARE_8

libevas_la_LIBADD += engines/common_8/libevas_engine_common_8.la
libevas_la_DEPENDENCIES += engines/common_8/libevas_engine_common_8.la

endif

libevas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@

### Evas_GL we are still using it in our code, so just don't install it.
EXTRA_DIST=Evas_GL.h

DIST_SUBDIRS = canvas cache cache2 cserve cserve2 file engines include