summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-09-04 16:43:12 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-04 17:33:05 +0200
commit4664b183e3babe46917f48870069cb5958df2f76 (patch)
tree173aa412027e5633b52f874db948bb61ecc3a462 /src/modules
parentad9aa4a41697c9ea1ef394b5315f983a74bee34f (diff)
autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4 and also compilation flags. Less code to read and maintain.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/access_output/Makefile.am6
-rw-r--r--src/modules/datetime_input_ctxpopup/Makefile.am6
-rw-r--r--src/modules/prefs/Makefile.am5
-rw-r--r--src/modules/test_entry/Makefile.am6
-rw-r--r--src/modules/test_map/Makefile.am6
5 files changed, 5 insertions, 24 deletions
diff --git a/src/modules/access_output/Makefile.am b/src/modules/access_output/Makefile.am
index bfda49a0b..941348ea3 100644
--- a/src/modules/access_output/Makefile.am
+++ b/src/modules/access_output/Makefile.am
@@ -10,11 +10,7 @@ AM_CPPFLAGS = \
10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \ 10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DELEMENTARY_BUILD \ 12-DELEMENTARY_BUILD \
13@ELEMENTARY_CFLAGS@ \ 13@ELEMENTARY_CFLAGS@
14@ELEMENTARY_ELOCATION_CFLAGS@ \
15@ELEMENTARY_EWEATHER_CFLAGS@ \
16@ELEMENTARY_WEB_CFLAGS@ \
17@ELEMENTARY_EMAP_CFLAGS@
18 14
19pkgdir = $(pkglibdir)/modules/access_output/$(MODULE_ARCH) 15pkgdir = $(pkglibdir)/modules/access_output/$(MODULE_ARCH)
20pkg_LTLIBRARIES = module.la 16pkg_LTLIBRARIES = module.la
diff --git a/src/modules/datetime_input_ctxpopup/Makefile.am b/src/modules/datetime_input_ctxpopup/Makefile.am
index f44cd714a..3f1350eb0 100644
--- a/src/modules/datetime_input_ctxpopup/Makefile.am
+++ b/src/modules/datetime_input_ctxpopup/Makefile.am
@@ -11,11 +11,7 @@ AM_CPPFLAGS = \
11-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \ 11-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
12-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 12-DPACKAGE_LIB_DIR=\"$(libdir)\" \
13-DELEMENTARY_BUILD \ 13-DELEMENTARY_BUILD \
14@ELEMENTARY_CFLAGS@ \ 14@ELEMENTARY_CFLAGS@
15@ELEMENTARY_ELOCATION_CFLAGS@ \
16@ELEMENTARY_EWEATHER_CFLAGS@ \
17@ELEMENTARY_WEB_CFLAGS@ \
18@ELEMENTARY_EMAP_CFLAGS@
19 15
20pkgdir = $(pkglibdir)/modules/datetime_input_ctxpopup/$(MODULE_ARCH) 16pkgdir = $(pkglibdir)/modules/datetime_input_ctxpopup/$(MODULE_ARCH)
21pkg_LTLIBRARIES = module.la 17pkg_LTLIBRARIES = module.la
diff --git a/src/modules/prefs/Makefile.am b/src/modules/prefs/Makefile.am
index b3991127e..c7b475951 100644
--- a/src/modules/prefs/Makefile.am
+++ b/src/modules/prefs/Makefile.am
@@ -23,10 +23,7 @@ AM_CPPFLAGS = \
23-DLOCALE_DIR=\"$(localedir)\" \ 23-DLOCALE_DIR=\"$(localedir)\" \
24-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 24-DPACKAGE_LIB_DIR=\"$(libdir)\" \
25-DELEMENTARY_BUILD \ 25-DELEMENTARY_BUILD \
26@ELEMENTARY_CFLAGS@ \ 26@ELEMENTARY_CFLAGS@
27@ELEMENTARY_ELOCATION_CFLAGS@ \
28@ELEMENTARY_WEB_CFLAGS@ \
29@ELEMENTARY_EMAP_CFLAGS@
30 27
31pkgdir = $(pkglibdir)/modules/prefs/$(MODULE_ARCH) 28pkgdir = $(pkglibdir)/modules/prefs/$(MODULE_ARCH)
32pkg_LTLIBRARIES = module.la 29pkg_LTLIBRARIES = module.la
diff --git a/src/modules/test_entry/Makefile.am b/src/modules/test_entry/Makefile.am
index 7b8b40568..7393f976f 100644
--- a/src/modules/test_entry/Makefile.am
+++ b/src/modules/test_entry/Makefile.am
@@ -10,11 +10,7 @@ AM_CPPFLAGS = \
10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \ 10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DELEMENTARY_BUILD \ 12-DELEMENTARY_BUILD \
13@ELEMENTARY_CFLAGS@ \ 13@ELEMENTARY_CFLAGS@
14@ELEMENTARY_ELOCATION_CFLAGS@ \
15@ELEMENTARY_EWEATHER_CFLAGS@ \
16@ELEMENTARY_WEB_CFLAGS@ \
17@ELEMENTARY_EMAP_CFLAGS@
18 14
19pkgdir = $(pkglibdir)/modules/test_entry/$(MODULE_ARCH) 15pkgdir = $(pkglibdir)/modules/test_entry/$(MODULE_ARCH)
20pkg_LTLIBRARIES = module.la 16pkg_LTLIBRARIES = module.la
diff --git a/src/modules/test_map/Makefile.am b/src/modules/test_map/Makefile.am
index 15299c5e0..cf52653aa 100644
--- a/src/modules/test_map/Makefile.am
+++ b/src/modules/test_map/Makefile.am
@@ -10,11 +10,7 @@ AM_CPPFLAGS = \
10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \ 10-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DELEMENTARY_BUILD \ 12-DELEMENTARY_BUILD \
13@ELEMENTARY_CFLAGS@ \ 13@ELEMENTARY_CFLAGS@
14@ELEMENTARY_ELOCATION_CFLAGS@ \
15@ELEMENTARY_EWEATHER_CFLAGS@ \
16@ELEMENTARY_WEB_CFLAGS@ \
17@ELEMENTARY_EMAP_CFLAGS@
18 14
19pkgdir = $(pkglibdir)/modules/test_map/$(MODULE_ARCH) 15pkgdir = $(pkglibdir)/modules/test_map/$(MODULE_ARCH)
20pkg_LTLIBRARIES = module.la 16pkg_LTLIBRARIES = module.la