aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eeze.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Eeze.am')
-rw-r--r--src/Makefile_Eeze.am90
1 files changed, 31 insertions, 59 deletions
diff --git a/src/Makefile_Eeze.am b/src/Makefile_Eeze.am
index 3429b0282c..3c13c7abf4 100644
--- a/src/Makefile_Eeze.am
+++ b/src/Makefile_Eeze.am
@@ -5,30 +5,6 @@ if HAVE_EEZE
lib_LTLIBRARIES += \
lib/eeze/libeeze.la
-EEZE_COMMON_CPPFLAGS = \
--I$(top_srcdir)/src/lib/eina \
--I$(top_builddir)/src/lib/eina \
--I$(top_srcdir)/src/lib/eo \
--I$(top_builddir)/src/lib/eo \
--I$(top_srcdir)/src/lib/ecore \
--I$(top_builddir)/src/lib/ecore \
--I$(top_srcdir)/src/lib/ecore_file \
--I$(top_builddir)/src/lib/ecore_file \
--I$(top_srcdir)/src/lib/ecore_con \
--I$(top_builddir)/src/lib/ecore_con \
--I$(top_srcdir)/src/lib/eet \
--I$(top_builddir)/src/lib/eet \
--I$(top_srcdir)/src/lib/eeze \
--I$(top_builddir)/src/lib/eeze \
-@EFL_COV_CFLAGS@ \
-@EEZE_CFLAGS@
-
-EEZE_COMMON_LDADD = \
-lib/eina/libeina.la \
-lib/eo/libeo.la \
-lib/ecore/libecore.la \
-@EFL_COV_LIBS@
-
installed_eezemainheadersdir = $(includedir)/eeze-@VMAJ@
dist_installed_eezemainheaders_DATA = \
lib/eeze/Eeze.h \
@@ -57,27 +33,16 @@ lib/eeze/eeze_disk_udev.c \
lib/eeze/eeze_disk_mount.c \
lib/eeze/eeze_disk_private.h \
lib/eeze/eeze_disk_libmount_new.c
-
-EEZE_COMMON_LDADD += \
-lib/ecore_file/libecore_file.la \
-lib/ecore_con/libecore_con.la \
-lib/eet/libeet.la
endif
-EEZE_COMMON_LIBADD = $(EEZE_COMMON_LDADD) @EEZE_LIBS@
-EEZE_COMMON_LDADD += @EEZE_LDFLAGS@
-EEZE_COMMON_USER_LIBADD = $(EEZE_COMMON_LIBADD) lib/eeze/libeeze.la
-EEZE_COMMON_USER_LDADD = $(EEZE_COMMON_LDADD) lib/eeze/libeeze.la
-
lib_eeze_libeeze_la_CPPFLAGS = \
-$(EEZE_COMMON_CPPFLAGS) \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/eeze\" \
-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
--DEFL_EEZE_BUILD
-
-lib_eeze_libeeze_la_LIBADD = $(EEZE_COMMON_LIBADD)
+@EEZE_CFLAGS@
+lib_eeze_libeeze_la_LIBADD = @EEZE_LIBS@
+lib_eeze_libeeze_la_DEPENDENCIES = @EEZE_INTERNAL_LIBS@
lib_eeze_libeeze_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
if HAVE_EEZE_TIZEN
@@ -86,20 +51,21 @@ eezemodulesensortizen_LTLIBRARIES = modules/eeze/sensor/tizen/module.la
modules_eeze_sensor_tizen_module_la_SOURCES = \
modules/eeze/sensor/tizen/tizen.c
modules_eeze_sensor_tizen_module_la_CPPFLAGS = \
-$(EEZE_COMMON_CPPFLAGS) \
+@EEZE_CFLAGS@ \
@TIZEN_SENSOR_CFLAGS@
modules_eeze_sensor_tizen_module_la_LIBADD = \
-$(EEZE_COMMON_USER_LIBADD) \
+@USE_EEZE_LIBS@ \
@TIZEN_SENSOR_LIBS@
+modules_eeze_sensor_tizen_module_la_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
modules_eeze_sensor_tizen_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_eeze_sensor_tizen_module_la_LIBTOOLFLAGS = --tag=disable-static
else
eezemodulesensorfakedir = $(libdir)/eeze/modules/sensor/fake/$(MODULE_ARCH)
eezemodulesensorfake_LTLIBRARIES = modules/eeze/sensor/fake/module.la
-modules_eeze_sensor_fake_module_la_SOURCES = \
-modules/eeze/sensor/fake/fake.c
-modules_eeze_sensor_fake_module_la_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-modules_eeze_sensor_fake_module_la_LIBADD = $(EEZE_COMMON_USER_LIBADD)
+modules_eeze_sensor_fake_module_la_SOURCES = modules/eeze/sensor/fake/fake.c
+modules_eeze_sensor_fake_module_la_CPPFLAGS = @EEZE_CFLAGS@
+modules_eeze_sensor_fake_module_la_LIBADD = @USE_EEZE_LIBS@
+modules_eeze_sensor_fake_module_la_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
modules_eeze_sensor_fake_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
modules_eeze_sensor_fake_module_la_LIBTOOLFLAGS = --tag=disable-static
endif
@@ -111,12 +77,14 @@ bin/eeze/eeze_udev_test \
bin/eeze/eeze_sensor_test
bin_eeze_eeze_udev_test_SOURCES = bin/eeze/eeze_udev_test.c
-bin_eeze_eeze_udev_test_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_udev_test_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_udev_test_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_udev_test_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_udev_test_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
bin_eeze_eeze_sensor_test_SOURCES = bin/eeze/eeze_sensor_test.c
-bin_eeze_eeze_sensor_test_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_sensor_test_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_sensor_test_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_sensor_test_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_sensor_test_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
if HAVE_EEZE_MOUNT
bin_PROGRAMS += \
@@ -126,22 +94,26 @@ bin/eeze/eeze_disk_ls \
bin/eeze/eeze_scanner
bin_eeze_eeze_mount_SOURCES = bin/eeze/eeze_mount.c
-bin_eeze_eeze_mount_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_mount_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_mount_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_mount_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_mount_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
bin_eeze_eeze_umount_SOURCES = bin/eeze/eeze_umount.c
-bin_eeze_eeze_umount_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_umount_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_umount_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_umount_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_umount_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
bin_eeze_eeze_disk_ls_SOURCES = bin/eeze/eeze_disk_ls.c
-bin_eeze_eeze_disk_ls_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_disk_ls_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_disk_ls_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_disk_ls_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_disk_ls_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
bin_eeze_eeze_scanner_SOURCES = \
bin/eeze/eeze_scanner.c \
bin/eeze/eeze_scanner.h
-bin_eeze_eeze_scanner_CPPFLAGS = $(EEZE_COMMON_CPPFLAGS)
-bin_eeze_eeze_scanner_LDADD = $(EEZE_COMMON_USER_LDADD)
+bin_eeze_eeze_scanner_CPPFLAGS = @EEZE_CFLAGS@
+bin_eeze_eeze_scanner_LDADD = @USE_EEZE_LIBS@
+bin_eeze_eeze_scanner_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
endif
setuid_root_mode = a=rx,u+xs
@@ -158,9 +130,9 @@ check_PROGRAMS += tests/eeze/eeze_suite
tests_eeze_eeze_suite_SOURCES = tests/eeze/eeze_suite.c
tests_eeze_eeze_suite_CPPFLAGS = \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eeze\" \
-$(EEZE_COMMON_CPPFLAGS) \
+@EEZE_CFLAGS@ \
@CHECK_CFLAGS@
-tests_eeze_eeze_suite_LDADD = $(EEZE_COMMON_USER_LDADD) @CHECK_LIBS@
-
+tests_eeze_eeze_suite_LDADD = @CHECK_LIBS@ @USE_EEZE_LIBS@
+tests_eeze_eeze_suite_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
endif
endif