libserial  1.6.2
RoadNarrows Roboitics Serial Library
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief Top-level \h_libserial makefile.
10 
11 An rnmake system package specific makefile.
12 
13 \pkgsynopsis
14 RoadNarrows RS-232 Serial Library Package
15 
16 \pkgfile{Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2008-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_serial
48 
49 # Distribution Shared Libraries
50 RNMAKE_DIST_SHLIBS = rnr_serial
51 
52 # Target subdirectory
53 rnr_serial.SUBDIR = rnr
54 
55 # Source Files
56 rnr_serial.SRC.C = serdev.c
57 
58 # Libraries to link with
59 rnr_serial.LIBS = rnr
60 
61 
62 #------------------------------------------------------------------------------
63 # Interface Headers
64 
65 #
66 # Distribution Header List Tags
67 #
68 # List of tags to lists of header files slated to be distributed and installed.
69 #
70 RNMAKE_DIST_HDRS = rnr
71 
72 #
73 # Distribution Headers
74 #
75 # Format: <tag>.HDRS.H = [<subdirs>/]<hdr>.h ...
76 #
77 # Note: Any header file that requires distribution is expected to be in
78 # $(topdir)/include. Otherwise, is it really a deliverable header?
79 #
80 rnr.HDRS.H = rnr/serdev.h
81 
82 
83 #------------------------------------------------------------------------------
84 # Documents
85 
86 # Doxygen Configuration File
87 RNMAKE_DOXY_CONF_FILE = $(RNMAKE_PKG_ROOT)/make/doxy.conf
88 
89 
90 #------------------------------------------------------------------------------
91 # Extras
92 
93 # Subpackage C PreProcessor Flags
94 EXTRA_CPPFLAGS = -DLOG -DLOGMOD=\"librnr_serial\"
95 
96 
97 #------------------------------------------------------------------------------
98 # Include RNMAKE top-level rules makefile
99 
100 include $(RNMAKE_ROOT)/Rules.mk
101 
102 
103 ifdef RNMAKE_DOXY
104 /*! \endcond RNMAKE_DOXY */
105 endif