i2c  1.4.2
RoadNarrows Robotics I2C Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./libi2c/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The libi2c library makefile.
10 
11 An rnmake system package specific makefile.
12 
13 \pkgsynopsis
14 RoadNarrows \h_i2c Package
15 
16 \pkgfile{libi2c/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2007-2018,RoadNarrows LLC,http://www.roadnarrows.com}
21 
22 \license{MIT}
23 
24 \EulaBegin
25 \EulaEnd
26 
27  * \cond RNMAKE_DOXY
28  */
29 endif
30 #
31 ################################################################################
32 
33 #------------------------------------------------------------------------------
34 # Required
35 
36 # Package Root Directory
37 RNMAKE_PKG_ROOT = ..
38 
39 # Bootstrap package within RN Make System
40 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
41 
42 
43 #------------------------------------------------------------------------------
44 # Libraries
45 
46 # Distribution Static Libraries
47 RNMAKE_DIST_STLIBS = rnr_i2c
48 
49 # Distribution Shared Libraries
50 RNMAKE_DIST_SHLIBS = rnr_i2c
51 
52 # Target library subdirectory
53 rnr_i2c.SUBDIR = rnr
54 
55 # Source Files
56 rnr_i2c.SRC.C = i2ccom.c smbus.c
57 
58 
59 #------------------------------------------------------------------------------
60 # Extras
61 #
62 
63 # Subpackage C PreProcessor Flags
64 EXTRA_CPPFLAGS = -DLOG -DLOGMOD="\"librnr_i2c\""
65 
66 
67 #------------------------------------------------------------------------------
68 # Include RNMAKE top-level rules makefile
69 
70 include $(RNMAKE_ROOT)/Rules.mk
71 
72 
73 ifdef RNMAKE_DOXY
74 /*! \endcond RNMAKE_DOXY */
75 endif
string RNMAKE_PKG_ROOT
RN Package Root Directory (not python package)
Definition: setup.py:54
Definition: __init__.py:1