aboutsummaryrefslogtreecommitdiffstats
path: root/src/so.mk
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-07-23 06:37:57 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-21 17:37:17 -0300
commitf9381496c7abbe16961d7dd00e23e147fbe0b817 (patch)
tree39e9114fb84f9ad0e75c60d04e8aa6716267fa52 /src/so.mk
parentmakefiles: add TOCLEAN and TODISTCLEAN variables (diff)
downloadfirejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.tar.gz
firejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.tar.zst
firejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.zip
makefiles: mention variables intended to be used by includers
On src/prog.mk and src/so.mk.
Diffstat (limited to 'src/so.mk')
-rw-r--r--src/so.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/so.mk b/src/so.mk
index c1221a10a..6a1497ff6 100644
--- a/src/so.mk
+++ b/src/so.mk
@@ -1,6 +1,9 @@
1# Common definitions for making shared objects. 1# Common definitions for making shared objects.
2# 2#
3# Note: $(ROOT)/config.mk must be included before this file. 3# Note: $(ROOT)/config.mk must be included before this file.
4#
5# The includer should probably define SO and TARGET and may also want to define
6# MOD_HDRS, MOD_SRCS, MOD_OBJS, TOCLEAN and TODISTCLEAN.
4 7
5HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) 8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS)
6SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) 9SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS)