summaryrefslogtreecommitdiff
path: root/src/Makefile_Efreet.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-29 23:04:40 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-29 23:04:40 +0000
commit4bc0210bd31ed1de6554441562bd93ea863ee9d9 (patch)
tree5d83be12538f8c8d3816bbf65916ce383d050c2e /src/Makefile_Efreet.am
parent727ddbeaf0c53f31cd62c254fdebe26823d537eb (diff)
efl: merge efreet.
seems to be fine, pass distcheck and friends. please report. changes: - documentation hierarchy fixes - replaced __UNUSED__ with EINA_UNUSED - replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet" SVN revision: 81889
Diffstat (limited to 'src/Makefile_Efreet.am')
-rw-r--r--src/Makefile_Efreet.am222
1 files changed, 222 insertions, 0 deletions
diff --git a/src/Makefile_Efreet.am b/src/Makefile_Efreet.am
new file mode 100644
index 0000000000..dd7bca988b
--- /dev/null
+++ b/src/Makefile_Efreet.am
@@ -0,0 +1,222 @@
1
2### Library
3
4lib_LTLIBRARIES += \
5lib/efreet/libefreet.la \
6lib/efreet/libefreet_mime.la \
7lib/efreet/libefreet_trash.la
8
9EFREET_COMMON_CPPFLAGS = \
10-I$(top_srcdir)/src/lib/eina \
11-I$(top_builddir)/src/lib/eina \
12-I$(top_srcdir)/src/lib/eo \
13-I$(top_builddir)/src/lib/eo \
14-I$(top_srcdir)/src/lib/ecore \
15-I$(top_builddir)/src/lib/ecore \
16-I$(top_srcdir)/src/lib/ecore_file \
17-I$(top_builddir)/src/lib/ecore_file \
18-I$(top_srcdir)/src/lib/eet \
19-I$(top_builddir)/src/lib/eet \
20-I$(top_srcdir)/src/lib/edbus \
21-I$(top_builddir)/src/lib/edbus \
22-I$(top_srcdir)/src/lib/efreet \
23-I$(top_builddir)/src/lib/efreet \
24-DPACKAGE_LIB_DIR=\"$(libdir)\" \
25-DPACKAGE_DATA_DIR=\"$(datadir)\" \
26-DLOCALE_DIR=\"@LOCALE_DIR@\" \
27-DEFL_EFREET_BUILD \
28@EFL_CFLAGS@ \
29@EFL_COV_CFLAGS@ \
30@EFREET_CFLAGS@ \
31@USE_EVIL_CFLAGS@
32
33EFREET_COMMON_LIBADD = \
34lib/eina/libeina.la \
35lib/eo/libeo.la \
36lib/ecore/libecore.la \
37lib/ecore_file/libecore_file.la \
38lib/eet/libeet.la \
39lib/edbus/libedbus2.la \
40@USE_EVIL_LIBS@ \
41@EFREET_LIBS@ \
42@EFL_COV_LIBS@
43
44EFREET_COMMON_USER_LIBADD = $(EFREET_COMMON_LIBADD) lib/efreet/libefreet.la
45
46EFREET_COMMON_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
47
48installed_efreetmainheadersdir = $(includedir)/efreet-@VMAJ@
49dist_installed_efreetmainheaders_DATA = \
50lib/efreet/Efreet.h \
51lib/efreet/efreet_base.h \
52lib/efreet/efreet_desktop.h \
53lib/efreet/efreet_icon.h \
54lib/efreet/efreet_ini.h \
55lib/efreet/efreet_menu.h \
56lib/efreet/efreet_utils.h \
57lib/efreet/efreet_uri.h \
58lib/efreet/Efreet_Mime.h \
59lib/efreet/Efreet_Trash.h
60
61# libefreet.la
62lib_efreet_libefreet_la_SOURCES = \
63lib/efreet/efreet.c \
64lib/efreet/efreet_base.c \
65lib/efreet/efreet_icon.c \
66lib/efreet/efreet_xml.c \
67lib/efreet/efreet_ini.c \
68lib/efreet/efreet_desktop.c \
69lib/efreet/efreet_desktop_command.c \
70lib/efreet/efreet_menu.c \
71lib/efreet/efreet_utils.c \
72lib/efreet/efreet_uri.c \
73lib/efreet/efreet_cache.c \
74lib/efreet/efreet_private.h \
75lib/efreet/efreet_xml.h \
76lib/efreet/efreet_cache_private.h \
77lib/efreet/efreet_alloca.h
78
79lib_efreet_libefreet_la_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
80lib_efreet_libefreet_la_LIBADD = $(EFREET_COMMON_LIBADD)
81lib_efreet_libefreet_la_LDFLAGS = $(EFREET_COMMON_LDFLAGS)
82
83# libefreet_mime.la
84lib_efreet_libefreet_mime_la_SOURCES = lib/efreet/efreet_mime.c
85lib_efreet_libefreet_mime_la_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
86lib_efreet_libefreet_mime_la_LIBADD = $(EFREET_COMMON_USER_LIBADD)
87lib_efreet_libefreet_mime_la_LDFLAGS = $(EFREET_COMMON_LDFLAGS)
88
89# libefreet_trash.la
90lib_efreet_libefreet_trash_la_SOURCES = lib/efreet/efreet_trash.c
91lib_efreet_libefreet_trash_la_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
92lib_efreet_libefreet_trash_la_LIBADD = $(EFREET_COMMON_USER_LIBADD)
93lib_efreet_libefreet_trash_la_LDFLAGS = $(EFREET_COMMON_LDFLAGS)
94
95
96### Binary
97
98bin_PROGRAMS += bin/efreet/efreetd
99
100bin_efreet_efreetd_SOURCES = \
101bin/efreet/efreetd.c \
102bin/efreet/efreetd.h \
103bin/efreet/efreetd_dbus.h \
104bin/efreet/efreetd_dbus.c \
105bin/efreet/efreetd_cache.h \
106bin/efreet/efreetd_cache.c
107
108bin_efreet_efreetd_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
109bin_efreet_efreetd_LDADD = $(EFREET_COMMON_USER_LIBADD)
110
111efreetinternal_bindir=$(libdir)/efreet
112efreetinternal_bin_PROGRAMS = \
113bin/efreet/efreet_desktop_cache_create \
114bin/efreet/efreet_icon_cache_create
115
116bin_efreet_efreet_desktop_cache_create_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
117bin_efreet_efreet_desktop_cache_create_LDADD = $(EFREET_COMMON_USER_LIBADD)
118bin_efreet_efreet_desktop_cache_create_SOURCES = \
119bin/efreet/efreet_desktop_cache_create.c
120
121bin_efreet_efreet_icon_cache_create_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
122bin_efreet_efreet_icon_cache_create_LDADD = $(EFREET_COMMON_USER_LIBADD)
123bin_efreet_efreet_icon_cache_create_SOURCES = \
124bin/efreet/efreet_icon_cache_create.c
125
126### Unit tests
127
128if EFL_ENABLE_TESTS
129
130noinst_PROGRAMS += \
131tests/efreet/efreet_test \
132tests/efreet/efreet_spec_test \
133tests/efreet/efreet_cache_test \
134tests/efreet/efreet_icon_cache_dump \
135tests/efreet/efreet_user_dir \
136tests/efreet/compare/efreet_alloc \
137tests/efreet/compare/efreet_menu_alloc
138
139
140# efreet_test
141tests_efreet_efreet_test_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
142tests_efreet_efreet_test_LDADD = \
143$(EFREET_COMMON_USER_LIBADD) \
144lib/efreet/libefreet_mime.la
145
146tests_efreet_efreet_test_SOURCES = \
147tests/efreet/ef_test.h \
148tests/efreet/ef_data_dirs.c \
149tests/efreet/ef_icon_theme.c \
150tests/efreet/ef_ini.c \
151tests/efreet/ef_utils.c \
152tests/efreet/ef_desktop.c \
153tests/efreet/ef_menu.c \
154tests/efreet/ef_mime.c \
155tests/efreet/main.c
156
157# efreet_spec_test
158tests_efreet_efreet_spec_test_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
159tests_efreet_efreet_spec_test_LDADD = $(EFREET_COMMON_USER_LIBADD)
160tests_efreet_efreet_spec_test_SOURCES = \
161tests/efreet/efreet_spec_test.c
162
163# efreet_cache_test
164tests_efreet_efreet_cache_test_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
165tests_efreet_efreet_cache_test_LDADD = $(EFREET_COMMON_USER_LIBADD)
166tests_efreet_efreet_cache_test_SOURCES = \
167tests/efreet/ef_cache.c
168
169# efreet_icon_cache_dump
170tests_efreet_efreet_icon_cache_dump_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
171tests_efreet_efreet_icon_cache_dump_LDADD = $(EFREET_COMMON_USER_LIBADD)
172tests_efreet_efreet_icon_cache_dump_SOURCES = \
173tests/efreet/efreet_icon_cache_dump.c
174
175# efreet_user_dir
176tests_efreet_efreet_user_dir_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
177tests_efreet_efreet_user_dir_LDADD = $(EFREET_COMMON_USER_LIBADD)
178tests_efreet_efreet_user_dir_SOURCES = \
179tests/efreet/efreet_user_dir.c
180
181# efreet_alloc
182tests_efreet_compare_efreet_alloc_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
183tests_efreet_compare_efreet_alloc_LDADD = $(EFREET_COMMON_USER_LIBADD)
184tests_efreet_compare_efreet_alloc_SOURCES = \
185tests/efreet/compare/efreet_alloc.c \
186tests/efreet/compare/comp.h
187
188# efreet_menu_alloc
189tests_efreet_compare_efreet_menu_alloc_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
190tests_efreet_compare_efreet_menu_alloc_LDADD = $(EFREET_COMMON_USER_LIBADD)
191tests_efreet_compare_efreet_menu_alloc_SOURCES = \
192tests/efreet/compare/efreet_menu_alloc.c \
193tests/efreet/compare/comp.h
194
195efreettestdir = $(datadir)/efreet/test
196efreettest_DATA = \
197tests/efreet/data/test.ini \
198tests/efreet/data/long.ini \
199tests/efreet/data/test.desktop \
200tests/efreet/data/test_type.desktop \
201tests/efreet/data/test.menu \
202tests/efreet/data/test_menu_slash_bad.menu \
203tests/efreet/data/entry.png \
204tests/efreet/data/entry \
205tests/efreet/data/preferences.menu \
206tests/efreet/data/test_garbage
207
208efreettestsubdir = $(datadir)/efreet/test/sub
209efreettestsub_DATA = \
210tests/efreet/data/sub/test.desktop
211
212check_PROGRAMS += tests/efreet/efreet_suite
213
214tests_efreet_efreet_suite_SOURCES = \
215tests/efreet/efreet_suite.c \
216tests/efreet/efreet_test_efreet.c \
217tests/efreet/efreet_test_efreet_cache.c
218
219tests_efreet_efreet_suite_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS) @CHECK_CFLAGS@
220tests_efreet_efreet_suite_LDADD = $(EFREET_COMMON_USER_LIBADD) @CHECK_LIBS@
221
222endif