summaryrefslogtreecommitdiff
path: root/data/themes/Makefile.am
blob: caf3e6cfd5f10a8be0b5a27db91e5968c0b8ab04 (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
MAINTAINERCLEANFILES = Makefile.in

EDJE_CC = @EDJE_CC_PATH@
EDJE_FLAGS_VERBOSE_ =
EDJE_FLAGS_VERBOSE_0 =
EDJE_FLAGS_VERBOSE_1 = -v
EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V))

filesdir = $(pkgdatadir)
files_DATA = default_600.edj \
	     default_720.edj \
	     default_1080.edj

DEFAULT_FILES = default/default.edc \
		default/ignorekeys.txt \
		default/fonts/SourceSansPro-Regular.ttf \
		default/fonts/SourceSansPro-Semibold.ttf \
		default/images/key-hint-bg.png \
		default/images/icon-language.png \
		default/images/icon-backspace.png \
		default/images/key-special.png \
		default/images/icon-space.png \
		default/images/key-hint.png \
		default/images/icon-shift.png \
		default/images/icon-shift-active.png \
		default/images/icon-enter.png \
		default/images/key-special-pressed.png \
		default/images/key-default.png \
		default/images/key-default-pressed.png

EXTRA_DIST = $(DEFAULT_FILES) \
	     default/default_600.edc \
	     default/default_720.edc \
	     default/default_1080.edc

default_600.edj: Makefile default/default_600.edc $(DEFAULT_FILES)
	$(EDJE_CC) $(EDJE_FLAGS) \
	    -dd $(top_srcdir)/data/themes/default \
	    -id $(top_srcdir)/data/themes/default/images \
	    -fd $(top_srcdir)/data/themes/default/fonts \
	    $(top_srcdir)/data/themes/default/default_600.edc \
	    $(top_builddir)/data/themes/default_600.edj

default_720.edj: Makefile default/default_720.edc $(DEFAULT_FILES)
	$(EDJE_CC) $(EDJE_FLAGS) \
	    -dd $(top_srcdir)/data/themes/default \
	    -id $(top_srcdir)/data/themes/default/images \
	    -fd $(top_srcdir)/data/themes/default/fonts \
	    $(top_srcdir)/data/themes/default/default_720.edc \
	    $(top_builddir)/data/themes/default_720.edj

default_1080.edj: Makefile default/default_1080.edc $(DEFAULT_FILES)
	$(EDJE_CC) $(EDJE_FLAGS) \
	    -dd $(top_srcdir)/data/themes/default \
	    -id $(top_srcdir)/data/themes/default/images \
	    -fd $(top_srcdir)/data/themes/default/fonts \
	    $(top_srcdir)/data/themes/default/default_1080.edc \
	    $(top_builddir)/data/themes/default_1080.edj

clean-local:
	rm -f $(top_builddir)/data/themes/*.edj