summaryrefslogtreecommitdiff
path: root/legacy/ethumb/src/plugins/emotion/Makefile.am
blob: 495a9a3790ebde1261c01d1bc578e4289a3c77d5 (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

MAINTAINERCLEANFILES = Makefile.in

EDJE_CC = ${edje_cc}
EDJE_FLAGS = -v

pluginsdir = $(libdir)/ethumb/plugins
filesdir = $(pluginsdir)/data
files_DATA = emotion_template.edj

EXTRA_DIST= \
      template.edc

AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/plugins/emotion \
-DPLUGINSDIR=\"$(pluginsdir)\" \
@EFL_ETHUMB_BUILD@ \
@EVAS_CFLAGS@ \
@EINA_CFLAGS@ \
@EMOTION_CFLAGS@ \
@ECORE_FILE_CFLAGS@ \
@EDJE_CFLAGS@

pkgdir = $(pluginsdir)
pkg_LTLIBRARIES = emotion.la
emotion_la_SOURCES = emotion.c
emotion_la_LIBADD = \
$(top_builddir)/src/lib/libethumb.la \
@EMOTION_LIBS@ \
@EDJE_LIBS@ \
@ECORE_FILE_LIBS@ \
@EVAS_LIBS@ \
@EINA_LIBS@
emotion_la_LDFLAGS = -module -avoid-version
emotion_la_LIBTOOLFLAGS = --tag=disable-static


emotion_template.edj: Makefile $(EXTRADIST)
	$(EDJE_CC) $(EDJE_FLAGS) \
		$(top_srcdir)/src/plugins/emotion/template.edc \
		$(top_builddir)/src/plugins/emotion/emotion_template.edj

clean-local:
	rm -f *.edj