summaryrefslogtreecommitdiff
path: root/src/Makefile_Eina.am
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2016-08-31 16:17:52 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2016-08-31 16:17:53 +0530
commitd88f08f7e92a06ce114466da41886463be58c8d8 (patch)
treedb1e25816e0eab568561aa0cf78e981560729c52 /src/Makefile_Eina.am
parentf88a4b8308a45889960eb842ff0300ce9079d755 (diff)
eina: module - Add macros for adding module informations
Summary: These macros allow you to define module informations like author/description/version/license e.g. // Use "Name <email id>" or just "Name" EINA_MODULE_AUTHOR("Enlightenment Community"); // Mention license EINA_MODULE_LICENSE("GPL v2"); // What your module does EINA_MODULE_DESCRIPTION("This is what this module does"); // Module version EINA_MODULE_VERSION("0.1"); Now eina_modinfo can show these informations to users $ eina_modinfo module.so version: 0.1 description: Entry test license: GPLv2 author: Enlightenment Community @feature Reviewers: cedric, tasn, raster, jpeg Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D4257
Diffstat (limited to 'src/Makefile_Eina.am')
-rw-r--r--src/Makefile_Eina.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index f2a5762..020052a 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -101,7 +101,8 @@ lib/eina/eina_bezier.h \
101lib/eina/eina_safepointer.h \ 101lib/eina/eina_safepointer.h \
102lib/eina/eina_inline_safepointer.x \ 102lib/eina/eina_inline_safepointer.x \
103lib/eina/eina_slice.h \ 103lib/eina/eina_slice.h \
104lib/eina/eina_inline_slice.x 104lib/eina/eina_inline_slice.x \
105lib/eina/eina_inline_modinfo.x
105 106
106lib_eina_libeina_la_SOURCES = \ 107lib_eina_libeina_la_SOURCES = \
107lib/eina/eina_abi.c \ 108lib/eina/eina_abi.c \
@@ -268,6 +269,17 @@ bin_eina_eina_btlog_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
268bin_eina_eina_btlog_LDADD = @USE_EINA_LIBS@ 269bin_eina_eina_btlog_LDADD = @USE_EINA_LIBS@
269bin_eina_eina_btlog_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ 270bin_eina_eina_btlog_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
270 271
272bin_PROGRAMS += bin/eina/eina_modinfo
273
274bin_eina_eina_modinfo_SOURCES = bin/eina/eina_modinfo.c
275bin_eina_eina_modinfo_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
276-DPACKAGE_BIN_DIR=\"$(bindir)\" \
277-DPACKAGE_LIB_DIR=\"$(libdir)\" \
278-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
279@EINA_CFLAGS@
280
281bin_eina_eina_modinfo_LDADD = @USE_EINA_LIBS@
282
271### Script 283### Script
272 284
273bin_SCRIPTS += scripts/eina/eina-bench-cmp 285bin_SCRIPTS += scripts/eina/eina-bench-cmp