[sr-dev] [kamailio/kamailio] Location for git submodules in the source tree (Issue #3164)

space88man notifications at github.com
Sat Jun 25 15:45:40 CEST 2022


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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3164#issuecomment-1166290359
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3164/1166290359 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220625/ea4ec8e1/attachment.htm>


More information about the sr-dev mailing list