Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./bsMsgs/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief Dynamixel BotSense messages makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics \h_dynamixel Package
15 
16 \pkgfile{bsMsgs/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2011-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 # Extras
45 
46 EXTRA_TGT_ALL = extra-make
47 EXTRA_TGT_ALL_POST = extra-make-post
48 EXTRA_TGT_DEPS = extra-deps
49 EXTRA_TGT_CLEAN = extra-clean
50 
51 # NetMsgs Variables
52 NETMSGS_XML_FILES = bsDynaMsgs.xml
53 NETMSGS_H_DIR = $(RNMAKE_PKG_ROOT)/include/botsense
54 NETMSGS_CFLAGS = --incprefix=botsense
55 NETMSGS_PY_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/BotSense/Dynamixel
56 NETMSGS_SHARE_DIR = $(RNMAKE_PKG_ROOT)/share/msgs
57 
58 SWIG_FILES = bsDynaCore.i
59 SWIG_EXTMOD_DIR = $(RNMAKE_PKG_ROOT)/bsPython/modules/BotSense/Dynamixel
60 SWIG_EXTMOD_LIBS = -lbotsense -lrnr_netmsgs -lrnr
61 
62 .PHONY: extra-make
63 extra-make: netmsgs-all
64 
65 .PHONY: extra-make-post
66 extra-make-post: swig-all
67 
68 .PHONY: extra-deps
69 extra-deps: netmsgs-all
70  @touch $(DEPSFILE)
71 
72 .PHONY: extra-clean
73 extra-clean: netmsgs-clean swig-clean
74 
75 
76 #------------------------------------------------------------------------------
77 # Include RNMAKE rules makefile(s)
78 
79 # include top-level rules
80 include $(RNMAKE_ROOT)/Rules.mk
81 
82 # include netmsgs rules
83 include $(RNMAKE_ROOT)/Rules.netmsgs.mk
84 
85 # include swig rules
86 include $(RNMAKE_ROOT)/Rules.swig.mk
87 
88 
89 ifdef RNMAKE_DOXY
90 /*! \endcond RNMAKE_DOXY */
91 endif