summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: c8a9c208a2181e0f3c64889e50ac81637e9918ef (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST =
CLEANFILES =

########################################################################
# Embryo
embryofilesdir = $(datadir)/embryo/include
embryofiles_DATA = embryo/default.inc
EXTRA_DIST += $(embryofiles_DATA)

########################################################################
# Evas
evasfilesdir = $(datadir)/evas
evasfiles_DATA = evas/checkme
EXTRA_DIST += $(evasfiles_DATA)

########################################################################
# Eeze
eezefilesdir = $(datadir)/eeze
eezefiles_DATA = eeze/checkme
EXTRA_DIST += $(eezefiles_DATA)

########################################################################
# Ecore
ecorefilesdir = $(datadir)/ecore
ecorefiles_DATA = ecore/checkme
EXTRA_DIST += $(ecorefiles_DATA)

########################################################################
# Ecore_X
ecore_xfilesdir = $(datadir)/ecore_x
ecore_xfiles_DATA = ecore_x/checkme
EXTRA_DIST += $(ecore_xfiles_DATA)

########################################################################
# Ecore_Imf
ecoreimffilesdir = $(datadir)/ecore_imf
ecoreimffiles_DATA = ecore_imf/checkme
EXTRA_DIST += $(ecoreimffiles_DATA)

########################################################################
# Efreet
efreetfilesdir = $(datadir)/efreet
efreetfiles_DATA = efreet/checkme
EXTRA_DIST += $(efreetfiles_DATA)

########################################################################
# Eo
eogdbdir = $(datadir)/eo/gdb
eogdb_DATA = eo/eo_gdb.py
EXTRA_DIST += $(eogdb_DATA)

# Borrowed from gobject
libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in
	$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py

eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir)
eogdbload_DATA = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
EXTRA_DIST += $(eogdbload_DATA)

CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py

EXTRA_DIST += $(eogdb_SCRIPTS) eo/libeo-gdb.py.in

########################################################################
# Edje
edjefilesdir = $(datadir)/edje/include
edjefiles_DATA = edje/include/edje.inc
EXTRA_DIST += $(edjefiles_DATA)

mimedir = $(datadir)/mime/packages
mime_DATA = edje/edje.xml
EXTRA_DIST += $(mime_DATA)

# Helper for people using EDJ
include ../src/Makefile_Edje_Helper.am

########################################################################
# Emotion
emotionfilesdir = $(datadir)/emotion
emotionfiles_DATA = emotion/checkme
EXTRA_DIST += $(emotionfiles_DATA)

########################################################################
# Ethumb
ethumbfilesdir = $(datadir)/ethumb
ethumbfiles_DATA = ethumb/checkme
EXTRA_DIST += $(ethumbfiles_DATA)

ethumbframesdir = $(datadir)/ethumb/frames
ethumbframes_DATA = ethumb/frames/default.edj
CLEANFILES += ethumb/frames/default.edj

ethumb/frames/default.edj: ethumb/frames/default.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) ethumb/frames/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/ethumb/frames/ $< $@


EXTRA_DIST += \
ethumb/frames/default.edc \
ethumb/frames/border-0.jpg

########################################################################
# Ethumb_Client
ethumb_clientfilesdir = $(datadir)/ethumb_client
ethumb_clientfiles_DATA = ethumb_client/checkme
EXTRA_DIST += $(ethumb_clientfiles_DATA)

########################################################################
# Elua
eluafilesdir = $(datadir)/elua
eluafiles_DATA = elua/checkme
EXTRA_DIST += $(eluafiles_DATA)

#######################################################################
# Elementary

# themes

include elementary/themes/dark/Makefile.am

# desktop files

elementarydesktopdir = $(datadir)/applications
elementarydesktop_DATA = elementary/desktop/elementary_test.desktop elementary/desktop/elementary_config.desktop

elementaryicondir = $(datadir)/icons
elementaryicon_DATA = elementary/desktop/elementary.png

EXTRA_DIST += $(elementarydesktop_DATA) $(elementaryicon_DATA)

# edje_externals

elementaryedje_externalsdir = $(datadir)/elementary/edje_externals
elementaryedje_externals_DATA = elementary/edje_externals/icons.edj
CLEANFILES += $(elementaryedje_externals_DATA)

include elementary/edje_externals/Makefile.am

elementary/edje_externals/icons.edj: elementary/edje_externals/icons.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/edje_externals/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

# images

include elementary/images/Makefile.am

elementaryimagesdir = $(datadir)/elementary/images
elementaryimages_DATA = $(elementary_images_files)

elementaryimages_glayerdir = $(datadir)/elementary/images/g_layer
elementaryimages_glayer_DATA = $(elementary_images_glayer_files)

EXTRA_DIST += $(elementary_images_files) $(elementary_images_glayer_files)

# objects

include ../Makefile_Elm_Helpers.am

elementaryobjectsdir = $(datadir)/elementary/objects
elementaryobjects_DATA = \
elementary/objects/test.edj \
elementary/objects/test_external.edj \
elementary/objects/test_masking.edj \
elementary/objects/multip.edj \
elementary/objects/cursors.edj \
elementary/objects/font_preview.edj \
elementary/objects/postit_ent.edj \
elementary/objects/multibuttonentry.edj \
elementary/objects/test_prefs.edj \
elementary/objects/test_prefs.epb \
elementary/objects/test_focus_style.edj \
elementary/objects/test_tooltip.edj \
$(NULL)

CLEANFILES += $(elementaryobjects_DATA)

include elementary/objects/Makefile.am

elementary/objects/test.edj: elementary/objects/test.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/test_external.edj: elementary/objects/test_external.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/test_masking.edj: elementary/objects/test_masking.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/multip.edj: elementary/objects/multip.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/cursors.edj: elementary/objects/cursors.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/font_preview.edj: elementary/objects/font_preview.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/postit_ent.edj: elementary/objects/postit_ent.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/multibuttonentry.edj: elementary/objects/multibuttonentry.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/test_prefs.edj: elementary/objects/test_prefs.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@

elementary/objects/test_focus_style.edj: elementary/objects/test_focus_style.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(top_srcdir)/data/elementary/themes/dark/img $< $@

elementary/objects/test_tooltip.edj: elementary/objects/test_tooltip.edc
	$(AM_V_EDJ) \
	$(MKDIR_P) elementary/objects/; \
	$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(top_srcdir)/data/elementary/themes/dark/img $< $@

elementary/objects/test_prefs.epb: elementary/objects/test_prefs.epc
	$(AM_V_EPB) \
	$(MKDIR_P) elementary/objects/; \
	$(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) $< $@

install-data-local:
	(cd ${datadir}/elementary/themes; $(LN_S) -f dark.edj default.edj)

uninstall-local:
	(cd ${datadir}/elementary/themes; rm -f default.edj)