diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/edje/src/examples/Makefile.am | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/edje/src/examples/Makefile.am')
-rw-r--r-- | libraries/edje/src/examples/Makefile.am | 104 |
1 files changed, 40 insertions, 64 deletions
diff --git a/libraries/edje/src/examples/Makefile.am b/libraries/edje/src/examples/Makefile.am index 20e2c81..579f148 100644 --- a/libraries/edje/src/examples/Makefile.am +++ b/libraries/edje/src/examples/Makefile.am | |||
@@ -1,12 +1,15 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | 1 | MAINTAINERCLEANFILES = Makefile.in |
2 | 2 | ||
3 | pkglibdir = $(datadir)/$(PACKAGE)/examples | 3 | examplesdir = $(datadir)/$(PACKAGE)/examples |
4 | |||
4 | if ENABLE_MULTISENSE | 5 | if ENABLE_MULTISENSE |
5 | MULTISENSE_EDC_FILE = multisense.edc | 6 | MULTISENSE_EDC_FILE = multisense.edc |
6 | SND_DIR = -sd $(srcdir) | 7 | SND_DIR = -sd $(srcdir) |
7 | endif | 8 | endif |
9 | |||
8 | #put here all EDCs one needs to the examples | 10 | #put here all EDCs one needs to the examples |
9 | EDCS = basic.edc \ | 11 | EDCS = \ |
12 | basic.edc \ | ||
10 | swallow.edc \ | 13 | swallow.edc \ |
11 | text.edc \ | 14 | text.edc \ |
12 | table.edc \ | 15 | table.edc \ |
@@ -20,26 +23,48 @@ EDCS = basic.edc \ | |||
20 | sigtest.edc \ | 23 | sigtest.edc \ |
21 | $(MULTISENSE_EDC_FILE) | 24 | $(MULTISENSE_EDC_FILE) |
22 | 25 | ||
26 | .edc.edj: | ||
27 | $(edje_cc) -v -fd $(srcdir) -id $(srcdir) $(SND_DIR) $< $(builddir)/$(@F) | ||
28 | |||
29 | EDJS = $(EDCS:%.edc=%.edj) | ||
30 | |||
23 | filesdir = $(datadir)/$(PACKAGE)/examples | 31 | filesdir = $(datadir)/$(PACKAGE)/examples |
24 | files_DATA = | 32 | files_DATA = \ |
33 | $(EDCS) \ | ||
34 | bubble.png \ | ||
35 | red.png \ | ||
36 | test.png \ | ||
37 | Vera.ttf \ | ||
38 | edje-basic.c \ | ||
39 | edje-swallow.c \ | ||
40 | edje-text.c \ | ||
41 | edje-table.c \ | ||
42 | edje-box.c \ | ||
43 | edje-box2.c \ | ||
44 | edje-drag.c \ | ||
45 | edje-signals-messages.c \ | ||
46 | edje-color-class.c \ | ||
47 | edje-perspective.c \ | ||
48 | edje-animations.c \ | ||
49 | sigtest.c | ||
50 | |||
51 | EXTRA_DIST = $(files_DATA) | ||
25 | 52 | ||
26 | if BUILD_EXAMPLES | 53 | if BUILD_EXAMPLES |
27 | 54 | ||
28 | AM_CPPFLAGS = \ | 55 | AM_CPPFLAGS = \ |
29 | -I. \ | 56 | -I. \ |
30 | -I$(top_srcdir)/src/lib \ | 57 | -I$(top_srcdir)/src/lib \ |
31 | -I$(top_srcdir)/src/lib/include \ | 58 | -I$(top_srcdir)/src/lib/include \ |
32 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | 59 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ |
33 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | 60 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ |
34 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | 61 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
35 | -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" | 62 | -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \ |
36 | 63 | @EDJE_CFLAGS@ | |
37 | pkglib_PROGRAMS = | ||
38 | 64 | ||
39 | #the ones using ecore_evas follow | 65 | files_DATA += $(EDJS) |
40 | AM_CPPFLAGS += @EDJE_CFLAGS@ | ||
41 | 66 | ||
42 | pkglib_PROGRAMS += \ | 67 | examples_PROGRAMS = \ |
43 | edje-basic \ | 68 | edje-basic \ |
44 | edje-swallow \ | 69 | edje-swallow \ |
45 | edje-text \ | 70 | edje-text \ |
@@ -55,53 +80,4 @@ pkglib_PROGRAMS += \ | |||
55 | 80 | ||
56 | LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ | 81 | LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ |
57 | 82 | ||
58 | .edc.edj: | ||
59 | $(edje_cc) -v -id $(srcdir) $(SND_DIR) $< $(builddir)/$(@F) | ||
60 | |||
61 | EDJS = $(EDCS:%.edc=%.edj) | ||
62 | |||
63 | files_DATA += $(EDJS) | ||
64 | |||
65 | endif # if BUILD_EXAMPLES | ||
66 | |||
67 | if INSTALL_EXAMPLES | ||
68 | |||
69 | #put here additional data when installing examples | ||
70 | files_DATA += \ | ||
71 | $(srcdir)/bubble.png \ | ||
72 | $(srcdir)/red.png \ | ||
73 | $(srcdir)/test.png \ | ||
74 | $(srcdir)/Vera.ttf | ||
75 | |||
76 | files_DATA += \ | ||
77 | $(EDCS) \ | ||
78 | $(srcdir)/edje-basic.c \ | ||
79 | $(srcdir)/edje-swallow.c \ | ||
80 | $(srcdir)/edje-text.c \ | ||
81 | $(srcdir)/edje-table.c \ | ||
82 | $(srcdir)/edje-box.c \ | ||
83 | $(srcdir)/edje-box2.c \ | ||
84 | $(srcdir)/edje-drag.c \ | ||
85 | $(srcdir)/edje-signals-messages.c \ | ||
86 | $(srcdir)/edje-color-class.c \ | ||
87 | $(srcdir)/edje-perspective.c \ | ||
88 | $(srcdir)/edje-animations.c \ | ||
89 | $(srcdir)/sigtest.c | ||
90 | endif | 83 | endif |
91 | |||
92 | EXTRA_DIST = $(EDCS) \ | ||
93 | $(srcdir)/bubble.png \ | ||
94 | $(srcdir)/red.png \ | ||
95 | $(srcdir)/test.png \ | ||
96 | $(srcdir)/edje-basic.c \ | ||
97 | $(srcdir)/edje-swallow.c \ | ||
98 | $(srcdir)/edje-text.c \ | ||
99 | $(srcdir)/edje-table.c \ | ||
100 | $(srcdir)/edje-box.c \ | ||
101 | $(srcdir)/edje-box2.c \ | ||
102 | $(srcdir)/edje-drag.c \ | ||
103 | $(srcdir)/edje-signals-messages.c \ | ||
104 | $(srcdir)/edje-color-class.c \ | ||
105 | $(srcdir)/edje-perspective.c \ | ||
106 | $(srcdir)/edje-animations.c \ | ||
107 | $(srcdir)/sigtest.c | ||