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

MAINTAINERCLEANFILES = Makefile.in

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_directfb_cflags@

AM_CFLAGS = @WIN32_CFLAGS@

if BUILD_ENGINE_DIRECTFB

DIRECTFB_SOURCES = evas_engine.c polygon.c
DIRECTFB_LIBADD = @evas_engine_directfb_libs@


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

if !EVAS_STATIC_BUILD_DIRECTFB

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

module_la_SOURCES  = $(DIRECTFB_SOURCES)

module_la_LIBADD = @EINA_LIBS@ $(DIRECTFB_LIBADD) $(top_builddir)/src/lib/libevas.la
module_la_LDFLAGS = -module -avoid-version
module_la_LIBTOOLFLAGS = --tag=disable-static

else

noinst_LTLIBRARIES = libevas_engine_directfb.la

libevas_engine_directfb_la_SOURCES = $(DIRECTFB_SOURCES)
libevas_engine_directfb_la_LIBADD = $(DIRECTFB_LIBADD)

endif
endif

EXTRA_DIST = evas_engine.h