diff options
author | 2023-06-16 23:55:50 -0300 | |
---|---|---|
committer | 2023-06-24 12:00:55 -0300 | |
commit | 5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3 (patch) | |
tree | 83c0b5d8ba046b4de15e38829c6454b65937c7fe /src/so.mk | |
parent | build: remove MOD_SRCS variable (diff) | |
download | firejail-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.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
8 | HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) | 8 | HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS) |
9 | SRCS := $(sort $(wildcard *.c)) | 9 | SRCS := $(sort $(wildcard *.c)) |
10 | OBJS := $(SRCS:.c=.o) $(MOD_OBJS) | 10 | OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) |
11 | 11 | ||
12 | SO_CFLAGS = \ | 12 | SO_CFLAGS = \ |
13 | -ggdb -O2 -DVERSION='"$(VERSION)"' \ | 13 | -ggdb -O2 -DVERSION='"$(VERSION)"' \ |