aboutsummaryrefslogtreecommitdiffstats
path: root/src/so.mk
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-16 23:55:50 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-24 12:00:55 -0300
commit5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3 (patch)
tree83c0b5d8ba046b4de15e38829c6454b65937c7fe /src/so.mk
parentbuild: remove MOD_SRCS variable (diff)
downloadfirejail-5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3.tar.gz
firejail-5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3.tar.zst
firejail-5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3.zip
build: rename MOD vars to EXTRA vars
To make them less confusing, as they are extra dependencies, not files that are specific to the module. Commands used to search and replace: $ git grep -IFlz -e 'MOD_HDRS' -e 'MOD_OBJS' -- src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \ -e 's/MOD_HDRS/EXTRA_HDRS/g' \ -e 's/MOD_OBJS/EXTRA_OBJS/g' '{}')\" >'{}'" Added on commit f5b1ccaad ("makefiles: move extra deps into new MOD vars", 2022-05-07) / PR #5478.
Diffstat (limited to 'src/so.mk')
-rw-r--r--src/so.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/so.mk b/src/so.mk
index 0ba406c85..446bf1100 100644
--- a/src/so.mk
+++ b/src/so.mk
@@ -3,11 +3,11 @@
3# Note: $(ROOT)/config.mk must be included before this file. 3# Note: $(ROOT)/config.mk must be included before this file.
4# 4#
5# The includer should probably define SO and TARGET and may also want to define 5# The includer should probably define SO and TARGET and may also want to define
6# MOD_HDRS, MOD_OBJS, TOCLEAN and TODISTCLEAN. 6# EXTRA_HDRS, EXTRA_OBJS, TOCLEAN and TODISTCLEAN.
7 7
8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) 8HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS)
9SRCS := $(sort $(wildcard *.c)) 9SRCS := $(sort $(wildcard *.c))
10OBJS := $(SRCS:.c=.o) $(MOD_OBJS) 10OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS)
11 11
12SO_CFLAGS = \ 12SO_CFLAGS = \
13 -ggdb -O2 -DVERSION='"$(VERSION)"' \ 13 -ggdb -O2 -DVERSION='"$(VERSION)"' \