We could(should?) recommend the location for build artifacts *.h *.a *.so so the Makefiles can have some
consistency. To take @miconda's example one step further

misc/vendor/wolfssl/   - vendor root directory
misc/vendor/wolfssl/@wolfssl - the git submodule
misc/vendor/wolfssl/root - the --prefix in autotools build systems

The submodule Makefile can then reference the build artifacts.

# maybe some make system var for ../../../misc/vendor
VENDOR = ../../../misc/vendor

INCLUDES = -I$(VENDOR)/wolfssl/root/include
LIBS = $(VENDOR)/wolfssl/root/lib/libwolfssl.a


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3164/1166290359@github.com>