aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/software_x11/Makefile.am
blob: 5a2e345847f687831484bfad92dfa19db9a0a5ed (plain)
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

MAINTAINERCLEANFILES = Makefile.in

if BUILD_ENGINE_SOFTWARE_X11

SOFTWARE_X11_SOURCES = evas_engine.c

if BUILD_ENGINE_SOFTWARE_XLIB

AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib/include \
-I$(top_srcdir)/src/modules/engines \
@FREETYPE_CFLAGS@ \
@PIXMAN_CFLAGS@ \
@EINA_CFLAGS@ \
@evas_engine_software_xlib_cflags@

SOFTWARE_X11_SOURCES += \
evas_xlib_outbuf.c \
evas_xlib_buffer.c \
evas_xlib_color.c \
evas_xlib_main.c

SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @EINA_LIBS@ @evas_engine_software_xlib_libs@

endif

if BUILD_ENGINE_SOFTWARE_XCB

AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib/include \
-I$(top_srcdir)/src/modules/engines \
@FREETYPE_CFLAGS@ \
@PIXMAN_CFLAGS@ \
@EINA_CFLAGS@ \
@evas_engine_software_xcb_cflags@

SOFTWARE_X11_SOURCES += \
evas_xcb_xdefaults.c \
evas_xcb_outbuf.c \
evas_xcb_buffer.c \
evas_xcb_color.c \
evas_xcb_main.c

SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EINA_LIBS@ @evas_engine_software_xcb_libs@

endif

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

if !EVAS_STATIC_BUILD_SOFTWARE_X11

pkgdir = $(libdir)/evas/modules/engines/software_x11/$(MODULE_ARCH)
pkg_LTLIBRARIES	= module.la

module_la_SOURCES = $(SOFTWARE_X11_SOURCES)
module_la_LIBADD = $(top_builddir)/src/lib/libevas.la $(SOFTWARE_X11_LIBADD)
module_la_LDFLAGS = -no-undefined -module -avoid-version
module_la_LIBTOOLFLAGS = --tag=disable-static

else

noinst_LTLIBRARIES = libevas_engine_software_x11.la

libevas_engine_software_x11_la_SOURCES = $(SOFTWARE_X11_SOURCES)
libevas_engine_software_x11_la_LIBADD = $(SOFTWARE_X11_LIBADD)

endif
endif

EXTRA_DIST = \
evas_engine.h \
evas_xlib_outbuf.h \
evas_xlib_buffer.h \
evas_xlib_color.h \
evas_xcb_outbuf.h \
evas_xcb_buffer.h \
evas_xcb_color.h \
evas_xcb_xdefaults.h