gpio  1.4.2
General Purpose I/O Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./libgpio/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The \h_gpio libgpio library makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics \h_gpio Package
15 
16 \pkgfile{libgpio/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2015-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_gpio
48 
49 # Distribution Shared Libraries
50 RNMAKE_DIST_SHLIBS = rnr_gpio
51 
52 # Target library subdirectory
53 rnr_gpio.SUBDIR = rnr
54 
55 # Source Files
56 rnr_gpio.SRC.C = gpio.c mmapGpio.c
57 
58 # Libraries to link with
59 rnr_gpio.LIBS = rnr
60 
61 
62 #------------------------------------------------------------------------------
63 # Extras
64 
65 # Subpackage C PreProcessor Flags
66 # -DMMAP_GPIO to enable memory mapped gpio TODO
67 EXTRA_CPPFLAGS = -DLOG -DLOGMOD=\"librnr_gpio\"
68 
69 
70 #------------------------------------------------------------------------------
71 # Include RNMAKE rules makefile(s)
72 
73 # include top-level rules
74 include $(RNMAKE_ROOT)/Rules.mk
75 
76 
77 ifdef RNMAKE_DOXY
78 /*! \endcond RNMAKE_DOXY */
79 endif