botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./bsModules/bsNull/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief \h_botsense null modules makefile.
10 
11 \h_botsense bsProxy server dll and bs client library for the /dev/null device
12 used for testing.
13 
14 RN Make System Specific Makefile
15 
16 \pkgsynopsis
17 RoadNarrows Robotics \h_botsense Client-Server Proxied Services Framework
18 
19 \pkgfile{bsModules/bsNull/Makefile}
20 
21 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
22 
23 \pkgcopyright{2010-2018,RoadNarrows LLC,http://www.roadnarrows.com}
24 
25 \license{MIT}
26 
27 \EulaBegin
28 \EulaEnd
29 
30  * \cond RNMAKE_DOXY
31  */
32 endif
33 #
34 ################################################################################
35 
36 #------------------------------------------------------------------------------
37 # Required
38 
39 # Package Root Directory
40 RNMAKE_PKG_ROOT = ../..
41 
42 # Bootstrap package within RN Make System
43 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
44 
45 #------------------------------------------------------------------------------
46 # Libraries
47 
48 # Distribution Static Libraries
49 RNMAKE_DIST_STLIBS = bsclient_null
50 
51 # Distribution Shared Libraries
52 RNMAKE_DIST_SHLIBS = bsclient_null
53 
54 # Dynamically Linked Libraries
55 RNMAKE_DIST_DLLIBS = bsserver_null
56 
57 # Target library subdirectory
58 bsclient_null.SUBDIR = botsense/plugins
59 bsserver_null.SUBDIR = botsense/plugins
60 
61 # Source Files
62 bsclient_null.SRC.C = bsNullClient.c bsNullMsgs.c
63 bsserver_null.SRC.C = bsNullServer.c bsNullMsgs.c
64 
65 # Dependencies
66 bsclient_null.LIBS = rnr_netmsgs rnr
67 bsserver_null.LIBS = rnr_netmsgs rnr
68 
69 
70 #------------------------------------------------------------------------------
71 # Interface Headers
72 
73 #
74 # Distribution Header List Tags
75 #
76 # List of tags to lists of header files slated to be distributed and installed.
77 #
78 RNMAKE_DIST_HDRS = bsModNull
79 
80 #
81 # Distribution Headers
82 #
83 # Format: <tag>.HDRS.H = [<subdirs>/]<hdr>.h ...
84 #
85 # Note: Any header file that requires distribution is expected to be in
86 # $(topdir)/include. Otherwise, is it really a deliverable header?
87 #
88 bsModNull.HDRS.H = botsense/bsNull.h \ botsense/bsNullMsgs.h
89 
90 
91 #------------------------------------------------------------------------------
92 # Extras
93 
94 # Subpackage C PreProcessor Flags
95 EXTRA_CPPFLAGS = -DLOG -DLOGMOD="\"bsNull\""
96 
97 EXTRA_TGT_ALL = extra-make
98 EXTRA_TGT_ALL_POST = extra-make-post
99 EXTRA_TGT_DEPS = extra-deps
100 EXTRA_TGT_CLEAN = extra-clean
101 
102 # NetMsgs Variables
103 NETMSGS_XML_FILES = bsNullMsgs.xml
104 NETMSGS_H_DIR = $(RNMAKE_PKG_ROOT)/include/botsense
105 NETMSGS_CFLAGS = --incprefix=botsense
106 NETMSGS_PY_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/BotSense
107 NETMSGS_SHARE_DIR = $(RNMAKE_PKG_ROOT)/share/msgs
108 
109 SWIG_FILES = bsNull.i
110 SWIG_EXTMOD_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/BotSense
111 SWIG_EXTMOD_LIBS = -lbsclient_null -lbotsense -lrnr_netmsgs -lrnr
112 
113 .PHONY: extra-make
114 extra-make: netmsgs-all
115 
116 .PHONY: extra-make-post
117 extra-make-post: swig-all
118 
119 .PHONY: extra-deps
120 extra-deps: netmsgs-all
121 
122 .PHONY: extra-clean
123 extra-clean: netmsgs-clean swig-clean
124 
125 
126 #------------------------------------------------------------------------------
127 # Include RNMAKE rules makefile(s)
128 
129 # include top-level rules
130 include $(RNMAKE_ROOT)/Rules.mk
131 
132 # include netmsgs rules
133 include $(RNMAKE_ROOT)/Rules.netmsgs.mk
134 
135 # include swig rules
136 include $(RNMAKE_ROOT)/Rules.swig.mk
137 
138 
139 ifdef RNMAKE_DOXY
140 /*! \endcond RNMAKE_DOXY */
141 endif
142 
BotSense Client Core.
Definition: __init__.py:1