summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_backlight.mk
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-07-25 09:46:14 +0100
committerMike Blumenkrantz <zmike@samsung.com>2014-01-14 20:22:01 -0500
commite3c85ec4da64ebcfb29eea0992466730e3e31995 (patch)
treed576c1ecc20985ee46a4a4d75a347890814d80ed /src/modules/Makefile_backlight.mk
parent0bd3f7d13c64686f6aee19547d774438e82ce9d1 (diff)
downloadenlightenment-e3c85ec4da64ebcfb29eea0992466730e3e31995.tar.gz
feature: use non-recursive makefiles for entire build system
this is the correct way to write a build system. one toplevel Makefile.am with the rest of the directories having include Makefile.mk files. additional authors: Iván Briano <ivan.briano@intel.com>
Diffstat (limited to 'src/modules/Makefile_backlight.mk')
-rw-r--r--src/modules/Makefile_backlight.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/modules/Makefile_backlight.mk b/src/modules/Makefile_backlight.mk
new file mode 100644
index 0000000000..b6a24a1543
--- /dev/null
+++ b/src/modules/Makefile_backlight.mk
@@ -0,0 +1,17 @@
+backlightdir = $(MDIR)/backlight
+backlight_DATA = src/modules/backlight/e-module-backlight.edj \
+ src/modules/backlight/module.desktop
+
+EXTRA_DIST += $(backlight_DATA)
+
+backlightpkgdir = $(MDIR)/backlight/$(MODULE_ARCH)
+backlightpkg_LTLIBRARIES = src/modules/backlight/module.la
+
+src_modules_backlight_module_la_LIBADD = $(MOD_LIBS)
+src_modules_backlight_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
+src_modules_backlight_module_la_LDFLAGS = $(MOD_LDFLAGS)
+src_modules_backlight_module_la_SOURCES = src/modules/backlight/e_mod_main.c
+
+PHONIES += backlight install-backlight
+backlight: $(backlightpkg_LTLIBRARIES) $(backlight_DATA)
+install-backlight: install-backlightDATA install-backlightpkgLTLIBRARIES