"Fossies" - the Fresh Open Source Software Archive

Member "i2c-tools-4.3/include/Module.mk" (22 Jul 2021, 783 Bytes) of package /linux/misc/i2c-tools-4.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Module.mk": 3.1.2_vs_4.0.

    1 # Linux I2C header files
    2 #
    3 # Copyright (C) 2007, 2012  Jean Delvare <jdelvare@suse.de>
    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 
   10 INCLUDE_DIR := include
   11 
   12 INCLUDE_TARGETS := i2c/smbus.h
   13 
   14 #
   15 # Commands
   16 #
   17 
   18 install-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 
   23 uninstall-include:
   24     for file in $(INCLUDE_TARGETS) ; do \
   25     $(RM) $(DESTDIR)$(incdir)/$$file ; done
   26 
   27 install: install-include
   28 
   29 uninstall: uninstall-include