make.tmpl: %build_module_* support for local include/lib directories
When building 'port' applications that make their own libraries,
it is useful to be able to have the MetaMake system put the resulting
includes and linklibs in an application specified area, instead of
the default AROS:Development/ paths.
For example:
MYAPP_DIR := $(AROSDIR)/Application/MyApp
%build_module mmake=myapp-libs-superfont-library \
modname=superfont modtype=library \
files="$(SUPERFONT_FILES)" \
moduledir="$(MYAPP_DIR)/Libs" \
includedir="$(MYAPP_DIR)/SDK/include" \
libdir="$(MYAPP_DIR)/SDK/lib"
This would put the 'superfont.library' in the application's
Libs subdirectory, and the SDK/include/ and SDK/lib/ directories
would contain the protos and linklibs, respectively.
Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50769 fb15a70f-31f2-0310-bbcc-cdcc74a49acc