You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
586 B
26 lines
586 B
# 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
|