summaryrefslogtreecommitdiff
path: root/src/Makefile_Ethumb.am
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:53 +0200
commit4f8e15c16c4f68b6fae8708b177ce672daefc59c (patch)
tree8c1bf8d808e0939bbd83291855961512ee42e70c /src/Makefile_Ethumb.am
parente8c69667b01e2795c1e4ead0536652f935ffa674 (diff)
Revert "autotools: REMOVAL!"
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
Diffstat (limited to 'src/Makefile_Ethumb.am')
-rw-r--r--src/Makefile_Ethumb.am88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/Makefile_Ethumb.am b/src/Makefile_Ethumb.am
new file mode 100644
index 0000000..6d9f0cb
--- /dev/null
+++ b/src/Makefile_Ethumb.am
@@ -0,0 +1,88 @@
1### Library
2
3lib_LTLIBRARIES += \
4lib/ethumb/libethumb.la
5
6installed_ethumbmainheadersdir = $(includedir)/ethumb-@VMAJ@
7dist_installed_ethumbmainheaders_DATA = \
8lib/ethumb/Ethumb.h
9
10lib_ethumb_libethumb_la_SOURCES = \
11lib/ethumb/Ethumb_Plugin.h \
12lib/ethumb/ethumb_private.h \
13lib/ethumb/md5.h \
14lib/ethumb/ethumb.c \
15lib/ethumb/md5.c \
16static_libs/buildsystem/buildsystem.h \
17static_libs/buildsystem/buildsystem_autotools.c
18
19lib_ethumb_libethumb_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
20-DPACKAGE_BIN_DIR=\"$(bindir)\" \
21-DPACKAGE_LIB_DIR=\"$(libdir)\" \
22-DPACKAGE_DATA_DIR=\"$(datadir)/ethumb\" \
23-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
24-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
25-DEFL_BUILD \
26@ETHUMB_CFLAGS@
27lib_ethumb_libethumb_la_LIBADD = @ETHUMB_LIBS@
28lib_ethumb_libethumb_la_DEPENDENCIES = @ETHUMB_INTERNAL_LIBS@
29lib_ethumb_libethumb_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
30
31## Modules
32
33# Emotion
34if BUILD_LOADER_PNG
35ethumbmoduleemotiondir = $(libdir)/ethumb/modules/emotion/$(MODULE_ARCH)
36ethumbmoduleemotion_LTLIBRARIES = modules/ethumb/emotion/module.la
37
38# Workaround for broken parallel install support in automake (relink issue)
39# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
40install_ethumbmoduleemotionLTLIBRARIES = install-ethumbmoduleemotionLTLIBRARIES
41$(install_ethumbmoduleemotionLTLIBRARIES): install-libLTLIBRARIES
42
43modules_ethumb_emotion_module_la_SOURCES = \
44modules/ethumb/emotion/emotion.c
45modules_ethumb_emotion_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
46-DPACKAGE_BIN_DIR=\"$(bindir)\" \
47-DPACKAGE_LIB_DIR=\"$(libdir)\" \
48-DPACKAGE_DATA_DIR=\"$(datadir)/ethumb\" \
49-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
50-DEFL_BUILD \
51@EMOTION_CFLAGS@ \
52@ETHUMB_CFLAGS@
53modules_ethumb_emotion_module_la_LIBADD = \
54@USE_EMOTION_LIBS@ \
55@USE_ETHUMB_LIBS@
56modules_ethumb_emotion_module_la_DEPENDENCIES = \
57@USE_EMOTION_INTERNAL_LIBS@ \
58@USE_ETHUMB_INTERNAL_LIBS@
59modules_ethumb_emotion_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
60modules_ethumb_emotion_module_la_LIBTOOLFLAGS = --tag=disable-static
61
62modules/ethumb/emotion/template.edj: modules/ethumb/emotion/template.edc modules/ethumb/emotion/placeholder.png bin/edje/edje_cc${EXEEXT}
63 $(AM_V_EDJ) \
64 $(MKDIR_P) modules/ethumb/emotion; \
65 $(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/modules/ethumb/emotion $< $@
66
67ethumbmoduleemotion_DATA = modules/ethumb/emotion/template.edj
68CLEANFILES += modules/ethumb/emotion/template.edj
69endif
70
71EXTRA_DIST2 += \
72modules/ethumb/emotion/template.edc \
73modules/ethumb/emotion/placeholder.png
74
75
76### Binary
77
78bin_PROGRAMS += \
79bin/ethumb/ethumb
80
81bin_ethumb_ethumb_SOURCES = bin/ethumb/ethumb.c
82bin_ethumb_ethumb_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ETHUMB_CFLAGS@
83if HAVE_WIN32
84bin_ethumb_ethumb_LDADD = -L$(top_builddir)/src/lib/evil @USE_ETHUMB_LIBS@
85else
86bin_ethumb_ethumb_LDADD = @USE_ETHUMB_LIBS@
87endif
88bin_ethumb_ethumb_DEPENDENCIES = @USE_ETHUMB_INTERNAL_LIBS@