summaryrefslogtreecommitdiff
path: root/src/modules/prefs
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2014-08-29 19:32:33 +0200
committerTom Hacohen <tom@stosb.com>2014-09-02 10:29:50 +0100
commitb19ee318d451bb9337d11f4bc93c9d249a05cc07 (patch)
treef1e30eef9a5c6f60d55efd924c91a08a17503702 /src/modules/prefs
parent2a1bc688a94583af71ce44a3db0b1d403590b23d (diff)
Makefiles: ELEMENTARY_BUILD is only defined on windows, no need to check.
Use ELEMENTARY_BUILD in CPP flags as it will be used only on Windows anyway.
Diffstat (limited to 'src/modules/prefs')
-rw-r--r--src/modules/prefs/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/prefs/Makefile.am b/src/modules/prefs/Makefile.am
index d53f1d2e7..49239c38c 100644
--- a/src/modules/prefs/Makefile.am
+++ b/src/modules/prefs/Makefile.am
@@ -22,6 +22,7 @@ AM_CPPFLAGS = \
22-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \ 22-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
23-DLOCALE_DIR=\"$(localedir)\" \ 23-DLOCALE_DIR=\"$(localedir)\" \
24-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 24-DPACKAGE_LIB_DIR=\"$(libdir)\" \
25-DELEMENTARY_BUILD \
25@ELEMENTARY_CFLAGS@ \ 26@ELEMENTARY_CFLAGS@ \
26@ELEMENTARY_X_CFLAGS@ \ 27@ELEMENTARY_X_CFLAGS@ \
27@ELEMENTARY_FB_CFLAGS@ \ 28@ELEMENTARY_FB_CFLAGS@ \
@@ -32,10 +33,6 @@ AM_CPPFLAGS = \
32@ELEMENTARY_EMAP_CFLAGS@ \ 33@ELEMENTARY_EMAP_CFLAGS@ \
33@ELEMENTARY_WAYLAND_CFLAGS@ 34@ELEMENTARY_WAYLAND_CFLAGS@
34 35
35if ELEMENTARY_WINDOWS_BUILD
36AM_CPPFLAGS += -DELEMENTARY_BUILD
37endif
38
39pkgdir = $(libdir)/elementary/modules/prefs/$(MODULE_ARCH) 36pkgdir = $(libdir)/elementary/modules/prefs/$(MODULE_ARCH)
40pkg_LTLIBRARIES = module.la 37pkg_LTLIBRARIES = module.la
41 38