1 ################################################################################ 31 ################################################################################ 33 #------------------------------------------------------------------------------ 36 # Package Root Directory 39 # Bootstrap
package within RN Make System
40 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
43 #------------------------------------------------------------------------------
46 RNMAKE_SUBDIRS= libnetmsgs nmPython
48 #------------------------------------------------------------------------------
49 # Distribution Header List Tags
51 # List of tags to lists of header files slated to be distributed and installed.
53 RNMAKE_DIST_HDRS = netmsgs
56 # Distribution Headers
58 # Format: <tag>.HDRS.H = [<subdirs>/]<hdr>.h ...
60 # Note: Any header file that requires distribution is expected to be in
61 # $(topdir)/include. Otherwise, is it really a deliverable header?
63 netmsgs.HDRS.H = rnr/netmsgs.h
65 #------------------------------------------------------------------------------
68 # Doxygen Configuration File
69 RNMAKE_DOXY_CONF_FILE = $(RNMAKE_PKG_ROOT)/make/doxy.conf
72 #------------------------------------------------------------------------------
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
81 SHARE_FILES = share/netmsgs.dtd
83 # Install botsense configuration and message definition files
85 all-post: show-banner cp-share-files
89 $(call printDirBanner,,all-post)
90 @printf "Pre-install Configuration\n"
92 .PHONY: cp-share-files
94 $(call printGoalDesc,$(@),Copying share files to $(DISTDIR_SHARE))
95 $(call copySrcDirRel,$(SHARE_FILES),$(DISTDIR_SHARE))
97 .PHONY: doc-python clean-python distclean-python
98 doc-python clean-python distclean-python:
99 @$(MAKE) $(EXTRA_MAKE_FLAGS) -C nmPython $(@)
102 #------------------------------------------------------------------------------
103 # Include RNMAKE rules makefile(s)
105 # include top-level rules
106 include $(RNMAKE_ROOT)/Rules.mk
108 # include extras (after top-level)
109 include $(RNMAKE_ROOT)/Extras.mk