1 ################################################################################ 3 # ./bsModules/bsNull/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
45 #------------------------------------------------------------------------------
48 # Distribution Static Libraries
49 RNMAKE_DIST_STLIBS = bsclient_null
51 # Distribution Shared Libraries
52 RNMAKE_DIST_SHLIBS = bsclient_null
54 # Dynamically Linked Libraries
55 RNMAKE_DIST_DLLIBS = bsserver_null
57 # Target library subdirectory
58 bsclient_null.SUBDIR = botsense/plugins
59 bsserver_null.SUBDIR = botsense/plugins
62 bsclient_null.SRC.C = bsNullClient.c bsNullMsgs.c
63 bsserver_null.SRC.C = bsNullServer.c bsNullMsgs.c
66 bsclient_null.LIBS = rnr_netmsgs rnr
67 bsserver_null.LIBS = 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 = bsModNull
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 bsModNull.HDRS.H = botsense/bsNull.h \
botsense/bsNullMsgs.h
91 #------------------------------------------------------------------------------ 94 # Subpackage C PreProcessor Flags 95 EXTRA_CPPFLAGS = -DLOG -DLOGMOD=
"\"bsNull\"" 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
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
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
114 extra-make: netmsgs-all
116 .PHONY: extra-make-post
117 extra-make-post: swig-all
120 extra-deps: netmsgs-all
123 extra-clean: netmsgs-clean swig-clean
126 #------------------------------------------------------------------------------ 127 # Include RNMAKE rules makefile(s) 129 # include top-level rules 130 include $(RNMAKE_ROOT)/Rules.mk
132 # include netmsgs rules
133 include $(RNMAKE_ROOT)/Rules.netmsgs.mk
136 include $(RNMAKE_ROOT)/Rules.swig.mk