summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_time.mk
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-03 09:42:11 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-04 14:23:44 -0500
commitdad9160ffa748bdf69a45ee7f1f2dfdd23225f4a (patch)
tree37de480175ebeeac16a183c61e9ecfdfdb412d1b /src/modules/Makefile_time.mk
parent24fe43d735b26895025f2aa7706819d4a6663104 (diff)
downloadenlightenment-dad9160ffa748bdf69a45ee7f1f2dfdd23225f4a.tar.gz
add new time module with clock gadgets
this is the successor to the clock module/gadget. it uses separate config files and theme groups from the "clock" module.
Diffstat (limited to 'src/modules/Makefile_time.mk')
-rw-r--r--src/modules/Makefile_time.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/modules/Makefile_time.mk b/src/modules/Makefile_time.mk
new file mode 100644
index 0000000000..14477c1b52
--- /dev/null
+++ b/src/modules/Makefile_time.mk
@@ -0,0 +1,25 @@
+EXTRA_DIST += src/modules/time/module.desktop.in \
+src/modules/time/e-module-time.edj
+if USE_MODULE_TIME
+timedir = $(MDIR)/time
+time_DATA = src/modules/time/e-module-time.edj \
+ src/modules/time/module.desktop
+
+
+timepkgdir = $(MDIR)/time/$(MODULE_ARCH)
+timepkg_LTLIBRARIES = src/modules/time/module.la
+
+src_modules_time_module_la_LIBADD = $(MOD_LIBS)
+src_modules_time_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
+src_modules_time_module_la_LDFLAGS = $(MOD_LDFLAGS)
+src_modules_time_module_la_SOURCES = \
+src/modules/time/clock.c \
+src/modules/time/clock.h \
+src/modules/time/config.c \
+src/modules/time/mod.c \
+src/modules/time/time.c
+
+PHONIES += time install-time
+time: $(timepkg_LTLIBRARIES) $(time_DATA)
+install-time: install-timeDATA install-timepkgLTLIBRARIES
+endif