summaryrefslogtreecommitdiff
path: root/sofort/core/version.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 21:51:33 +0000
committermidipix <writeonce@midipix.org>2021-04-25 12:14:41 +0000
commit092ccd97aabe048cb5730b5799d712332c98a9da (patch)
tree010e0fd7e54ef74f40d450f224c5a08814c8e2bc /sofort/core/version.mk
parent39ac7633040a27354c7343e084f966b5e567be06 (diff)
downloadsbmake-092ccd97aabe048cb5730b5799d712332c98a9da.tar.bz2
sbmake-092ccd97aabe048cb5730b5799d712332c98a9da.tar.xz
build system: created skeleton.
Diffstat (limited to 'sofort/core/version.mk')
-rw-r--r--sofort/core/version.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/sofort/core/version.mk b/sofort/core/version.mk
new file mode 100644
index 0000000..ad693ab
--- /dev/null
+++ b/sofort/core/version.mk
@@ -0,0 +1,10 @@
+# version.mk: handling of shared library versioning schemes.
+# this file is covered by COPYING.SOFORT.
+
+include $(PROJECT_DIR)/project/tagver.mk
+
+CFLAGS_VERSION += -D$(VER_NAMESPACE)_TAG_VER_MAJOR=$(VER_MAJOR)
+CFLAGS_VERSION += -D$(VER_NAMESPACE)_TAG_VER_MINOR=$(VER_MINOR)
+CFLAGS_VERSION += -D$(VER_NAMESPACE)_TAG_VER_PATCH=$(VER_PATCH)
+
+include $(PROJECT_DIR)/sofort/core/_version/version_$(VERSION_OPT).mk