summaryrefslogtreecommitdiff
path: root/include/Module.mk
diff options
context:
space:
mode:
authorGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 18:44:07 -0800
committerGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 18:44:07 -0800
commitb19d79bf9028f58e3e4226bd9410b59f19fe3c8d (patch)
treea84dec919322f3d19c7c0cf3050c8c134a0d4fc6 /include/Module.mk
downloadi2c-tools-tizen_3.0.2014.q4_common.tar.gz
i2c-tools-tizen_3.0.2014.q4_common.tar.bz2
i2c-tools-tizen_3.0.2014.q4_common.zip
Diffstat (limited to 'include/Module.mk')
-rw-r--r--include/Module.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/Module.mk b/include/Module.mk
new file mode 100644
index 0000000..7312a98
--- /dev/null
+++ b/include/Module.mk
@@ -0,0 +1,26 @@
+# Linux I2C header files
+#
+# Copyright (C) 2007 Jean Delvare <khali@linux-fr.org>
+#
+# Licensed under the GNU General Public License.
+
+INCLUDE_DIR := include
+
+INCLUDE_TARGETS := linux/i2c-dev.h
+
+#
+# Commands
+#
+
+install-include: $(addprefix $(INCLUDE_DIR)/,$(INCLUDE_TARGETS))
+ $(INSTALL_DIR) $(DESTDIR)$(incdir)/linux
+ for file in $(INCLUDE_TARGETS) ; do \
+ $(INSTALL_DATA) $(INCLUDE_DIR)/$$file $(DESTDIR)$(incdir)/$$file ; done
+
+uninstall-include:
+ for file in $(INCLUDE_TARGETS) ; do \
+ $(RM) $(DESTDIR)$(incdir)/$$file ; done
+
+install: install-include
+
+uninstall: uninstall-include