1 ################################################################################ 3 # ./bsModules/bsSerial/Makefile 34 ################################################################################ 36 #------------------------------------------------------------------------------ 39 # Package Root Directory 40 RNMAKE_PKG_ROOT = ../..
42 # Bootstrap package within RN Make System 43 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
46 #------------------------------------------------------------------------------
49 # Distribution Static Libraries
50 RNMAKE_DIST_STLIBS = bsclient_serial
52 # Distribution Shared Libraries
53 RNMAKE_DIST_SHLIBS = bsclient_serial
55 # Dynamically Linked Libraries
56 RNMAKE_DIST_DLLIBS = bsserver_serial
58 # Target library subdirectory
59 bsclient_serial.SUBDIR = botsense/plugins
60 bsserver_serial.SUBDIR = botsense/plugins
63 bsclient_serial.SRC.C = bsSerialClient.c bsSerialMsgs.c
64 bsserver_serial.SRC.C = bsSerialServer.c bsSerialMsgs.c
66 bsclient_serial.LIBS = rnr_netmsgs rnr
67 bsserver_serial.LIBS = rnr_serial rnr_netmsgs rnr
70 #------------------------------------------------------------------------------
74 # Distribution Header List Tags
76 # List of tags to lists of header files slated to be distributed and installed.
78 RNMAKE_DIST_HDRS = bsModSerial
81 # Distribution Headers
83 # Format: <tag>.HDRS.H = [<subdirs>/]<hdr>.h ...
85 # Note: Any header file that requires distribution is expected to be in
86 # $(topdir)/include. Otherwise, is it really a deliverable header?
88 bsModSerial.HDRS.H = botsense/bsSerial.h \
botsense/bsSerialMsgs.h
91 #------------------------------------------------------------------------------ 95 # Subpackage C PreProcessor Flags 96 EXTRA_CPPFLAGS = -DLOG -DLOGMOD=
"\"bsSerial\"" 98 EXTRA_TGT_ALL = extra-make
99 EXTRA_TGT_ALL_POST = extra-make-post
100 EXTRA_TGT_DEPS = extra-deps
101 EXTRA_TGT_CLEAN = extra-clean
104 NETMSGS_XML_FILES = bsSerialMsgs.xml
105 NETMSGS_H_DIR = $(RNMAKE_PKG_ROOT)/include/botsense
106 NETMSGS_CFLAGS = --incprefix=botsense
107 NETMSGS_PY_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/
BotSense 108 NETMSGS_SHARE_DIR = $(RNMAKE_PKG_ROOT)/share/msgs
110 SWIG_FILES = bsSerial.i
111 SWIG_EXTMOD_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/
BotSense 112 SWIG_EXTMOD_LIBS = -lbsclient_serial -lbotsense -lrnr_netmsgs -lrnr
115 extra-make: netmsgs-all
117 .PHONY: extra-make-post
118 extra-make-post: swig-all
121 extra-deps: netmsgs-all
124 extra-clean: netmsgs-clean swig-clean
127 #------------------------------------------------------------------------------ 128 # Include RNMAKE rules makefile(s) 130 # include top-level rules 131 include $(RNMAKE_ROOT)/Rules.mk
133 # include netmsgs rules
134 include $(RNMAKE_ROOT)/Rules.netmsgs.mk
137 include $(RNMAKE_ROOT)/Rules.swig.mk