botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief \h_botsense package top-level makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics \h_botsense Client-Server Proxied Services Framework
15 
16 \pkgfile{Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2007-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 # Subdirectories
45 
46 RNMAKE_SUBDIRS = libbotsense bsProxy bsModules bsPython examples
47 
48 
49 #------------------------------------------------------------------------------
50 # Interface Headers
51 
52 #
53 # Distribution Header List Tags
54 #
55 # List of tags to lists of header files slated to be distributed and installed.
56 #
57 RNMAKE_DIST_HDRS = botsense libbotsense
58 
59 #
60 # Distribution Headers
61 #
62 # Format: <tag>.HDRS.H = [<subdirs>/]<hdr>.h ...
63 #
64 # Note: Any header file that requires distribution is expected to be in
65 # $(topdir)/include. Otherwise, is it really a deliverable header?
66 #
67 botsense.HDRS.H = botsense/BotSense.h \
68  botsense/libBotSense.h \
69  botsense/bsProxyModIF.h
70 
71 libbotsense.HDRS.H = botsense/bsProxyMsgs.h
72 
73 
74 #------------------------------------------------------------------------------
75 # Documentation
76 
77 # Doxygen Configuration File
78 RNMAKE_DOXY_CONF_FILE = $(RNMAKE_PKG_ROOT)/make/doxy.conf
79 
80 
81 #------------------------------------------------------------------------------
82 # Extras
83 #
84 
85 EXTRA_TGT_DOC = doc-python
86 EXTRA_TGT_ALL_POST = all-post
87 EXTRA_TGT_CLEAN = clean-python
88 EXTRA_TGT_DISTCLEAN = distclean-python
89 
90 SHARE_FILES = share/*.xml share/*.dtd share/msgs/*.xml share/msgs/*.md
91 
92 # Post 'all' make target
93 .PHONY: all-post
94 all-post: show-banner cp-share-files
95 
96 .PHONY: show-banner
97 show-banner:
98  $(call printDirBanner,,all-post)
99  @printf "Pre-install Configuration\n"
100 
101 .PHONY: cp-share-files
102 cp-share-files:
103  $(call printGoalDesc,$(@),Copying share files to $(DISTDIR_SHARE))
104  $(call copySrcDirRel,$(SHARE_FILES),$(DISTDIR_SHARE),share)
105 
106 .PHONY: doc-python clean-python distclean-python
107 doc-python clean-python distclean-python:
108  @$(MAKE) $(EXTRA_MAKE_FLAGS) -C bsPython $(@)
109 
110 
111 #------------------------------------------------------------------------------
112 # Include RNMAKE rules makefile(s)
113 
114 # include top-level rules
115 include $(RNMAKE_ROOT)/Rules.mk
116 
117 # include extras
118 include $(RNMAKE_ROOT)/Extras.mk
119 
120 
121 ifdef RNMAKE_DOXY
122 /*! \endcond RNMAKE_DOXY */
123 endif