summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-09 06:51:00 +0000
committermidipix <writeonce@midipix.org>2020-01-09 06:51:50 +0000
commitab4e0554a16b2573be3d3e61ff3f8f5fac2bc2b3 (patch)
tree14a1e34fbe4f5f9cceec30e35d393b6ba260624b /sofort
parente2008a7c58bcb6749688e0ec072bf0965c102fe2 (diff)
downloadbfirm-ab4e0554a16b2573be3d3e61ff3f8f5fac2bc2b3.tar.bz2
bfirm-ab4e0554a16b2573be3d3e61ff3f8f5fac2bc2b3.tar.xz
build system: added file annotations.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/ccenv/ccenv.sh2
-rw-r--r--sofort/core/flavor.mk3
-rw-r--r--sofort/core/pkgconf.mk3
-rw-r--r--sofort/core/version.mk3
-rw-r--r--sofort/exrules/default.mk3
-rw-r--r--sofort/exrules/pe-common.mk3
-rw-r--r--sofort/exrules/pe-dlltool.mk3
-rw-r--r--sofort/exrules/pe-mdso.mk3
-rw-r--r--sofort/exrules/pe-version.mk3
-rwxr-xr-xsofort/tools/pkgconf.sh3
-rwxr-xr-xsofort/tools/version.sh3
11 files changed, 32 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 2f61736..a376eb7 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -1,6 +1,8 @@
# ccenv.sh: sofort's tool-finding bits,
# invoked from within the project-agnostic configure script.
+# this file is covered by COPYING.SOFORT.
+
# invocation and names of binary tools:
# agnostic names (ar, nm, objdump, ...);
# target-prefixed agnostic names (x86_64-nt64-midipix-ar, ...);
diff --git a/sofort/core/flavor.mk b/sofort/core/flavor.mk
index bd9ab06..85c41a2 100644
--- a/sofort/core/flavor.mk
+++ b/sofort/core/flavor.mk
@@ -1,3 +1,6 @@
+# flavor.mk: top-level handling of build flavors.
+# this file is covered by COPYING.SOFORT.
+
ifneq ($(OS_DSO_EXRULES),)
include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk
endif
diff --git a/sofort/core/pkgconf.mk b/sofort/core/pkgconf.mk
index f266b9f..4f6c865 100644
--- a/sofort/core/pkgconf.mk
+++ b/sofort/core/pkgconf.mk
@@ -1,3 +1,6 @@
+# pkgconf.mk: rules for pkgconf manifest generation.
+# this file is covered by COPYING.SOFORT.
+
ifeq ($(PKGCONF),no)
install-pkgconf:
diff --git a/sofort/core/version.mk b/sofort/core/version.mk
index 5ef0ee2..eb6c2f2 100644
--- a/sofort/core/version.mk
+++ b/sofort/core/version.mk
@@ -1,3 +1,6 @@
+# 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)
diff --git a/sofort/exrules/default.mk b/sofort/exrules/default.mk
index ad1c11c..b830cd0 100644
--- a/sofort/exrules/default.mk
+++ b/sofort/exrules/default.mk
@@ -1,3 +1,6 @@
+# default.mk: default shared library rules.
+# this file is covered by COPYING.SOFORT.
+
DSO_REF_VER = $(SHARED_LIB)
DSO_REF_SONAME = $(SHARED_SONAME)
DSO_REF_SOLINK = $(SHARED_SOLINK)
diff --git a/sofort/exrules/pe-common.mk b/sofort/exrules/pe-common.mk
index be19ab3..3e132a9 100644
--- a/sofort/exrules/pe-common.mk
+++ b/sofort/exrules/pe-common.mk
@@ -1,3 +1,6 @@
+# pe-common.mk: common PE shared library rules.
+# this file is covered by COPYING.SOFORT.
+
DSO_REF_VER = $(IMPLIB_VER)
DSO_REF_SONAME = $(IMPLIB_SONAME)
DSO_REF_SOLINK = $(IMPLIB_SOLINK)
diff --git a/sofort/exrules/pe-dlltool.mk b/sofort/exrules/pe-dlltool.mk
index 6694ed5..0fc1adf 100644
--- a/sofort/exrules/pe-dlltool.mk
+++ b/sofort/exrules/pe-dlltool.mk
@@ -1,3 +1,6 @@
+# pe-dlltool.mk: PE shared library rules for targets using dlltool.
+# this file is covered by COPYING.SOFORT.
+
include $(PROJECT_DIR)/sofort/exrules/pe-common.mk
$(IMPLIB_VER): $(IMPLIB_DEF)
diff --git a/sofort/exrules/pe-mdso.mk b/sofort/exrules/pe-mdso.mk
index b5e2dba..9a3b941 100644
--- a/sofort/exrules/pe-mdso.mk
+++ b/sofort/exrules/pe-mdso.mk
@@ -1,3 +1,6 @@
+# pe-mdso.mk: PE shared library rules for targets using mdso.
+# this file is covered by COPYING.SOFORT.
+
include $(PROJECT_DIR)/sofort/exrules/pe-common.mk
$(IMPLIB_VER): $(IMPLIB_DEF)
diff --git a/sofort/exrules/pe-version.mk b/sofort/exrules/pe-version.mk
index 38714b4..97ad4ca 100644
--- a/sofort/exrules/pe-version.mk
+++ b/sofort/exrules/pe-version.mk
@@ -1,3 +1,6 @@
+# pe-version.mk: handling of PE shared library versioning schemes.
+# this file is covered by COPYING.SOFORT.
+
ifeq ($(AVOID_VERSION),yes)
package-implib-soname:
diff --git a/sofort/tools/pkgconf.sh b/sofort/tools/pkgconf.sh
index e14517f..bcde970 100755
--- a/sofort/tools/pkgconf.sh
+++ b/sofort/tools/pkgconf.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+# pkgconf.sh: generate a pkgconf manifest file.
+# this file is covered by COPYING.SOFORT.
+
set -eu
# prefix, exec_prefix
diff --git a/sofort/tools/version.sh b/sofort/tools/version.sh
index 41e120a..8c49cb3 100755
--- a/sofort/tools/version.sh
+++ b/sofort/tools/version.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+# version.sh: detect git repository info, output defs as a C header.
+# this file is covered by COPYING.SOFORT.
+
set -eu
usage()