219803b019470128604119e077fdbd25d93fade5
[framework/uifw/evas.git] / src / modules / loaders / xpm / Makefile.am
1
2 MAINTAINERCLEANFILES = Makefile.in
3
4 AM_CPPFLAGS = \
5 -I. \
6 -I$(top_srcdir)/src/lib \
7 -I$(top_srcdir)/src/lib/include \
8 @FREETYPE_CFLAGS@ \
9 @PIXMAN_CFLAGS@ \
10 @EINA_CFLAGS@ \
11 @FRIBIDI_CFLAGS@ \
12 @evas_image_loader_xpm_cflags@ \
13 @EVIL_CFLAGS@
14
15 if BUILD_LOADER_XPM
16 if !EVAS_STATIC_BUILD_XPM
17 pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
18
19 pkg_LTLIBRARIES = module.la
20
21 module_la_SOURCES = evas_image_load_xpm.c
22
23 module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ @evas_image_loader_xpm_libs@ $(top_builddir)/src/lib/libevas.la
24 module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
25 module_la_LIBTOOLFLAGS = --tag=disable-static
26
27 else
28
29 noinst_LTLIBRARIES = libevas_loader_xpm.la
30
31 libevas_loader_xpm_la_SOURCES = evas_image_load_xpm.c
32 libevas_loader_xpm_la_LIBADD = @evas_image_loader_xpm_libs@
33
34 endif
35 endif