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