root/i2c-tools/trunk/include/Module.mk

Revision 6048, 0.8 KB (checked in by khali, 3 weeks ago)

i2c-dev: Move SMBus helper functions to include/i2c/smbus.h

Line 
1# Linux I2C header files
2#
3# Copyright (C) 2007, 2012  Jean Delvare <khali@linux-fr.org>
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9
10INCLUDE_DIR     := include
11
12INCLUDE_TARGETS := i2c/smbus.h
13
14#
15# Commands
16#
17
18install-include: $(addprefix $(INCLUDE_DIR)/,$(INCLUDE_TARGETS))
19        $(INSTALL_DIR) $(DESTDIR)$(incdir)/i2c
20        for file in $(INCLUDE_TARGETS) ; do \
21        $(INSTALL_DATA) $(INCLUDE_DIR)/$$file $(DESTDIR)$(incdir)/$$file ; done
22
23uninstall-include:
24        for file in $(INCLUDE_TARGETS) ; do \
25        $(RM) $(DESTDIR)$(incdir)/$$file ; done
26
27install: install-include
28
29uninstall: uninstall-include
Note: See TracBrowser for help on using the browser.