From b19d79bf9028f58e3e4226bd9410b59f19fe3c8d Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Thu, 31 Jan 2013 18:44:07 -0800 Subject: Initial commit --- include/Module.mk | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/Module.mk (limited to 'include/Module.mk') 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 +# +# 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 -- cgit v1.2.3