diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-10-12 23:51:24 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-21 17:11:23 -0300 |
commit | 87db1072092f388a3ff260736e77d168164bd398 (patch) | |
tree | aabf15c5eb21a981c459e681f4a55b737dfce268 /src/fsec-print | |
parent | makefiles: equalize object dependencies in program targets (diff) | |
download | firejail-87db1072092f388a3ff260736e77d168164bd398.tar.gz firejail-87db1072092f388a3ff260736e77d168164bd398.tar.zst firejail-87db1072092f388a3ff260736e77d168164bd398.zip |
makefiles: rename H_FILE_LIST and C_FILE_LIST
To HDRS and SRCS, respectively.
To be more consistent with the OBJS variable.
Misc: These names also appear to be more common from the makefiles that
I've seen.
Commands used to search and replace:
git grep -IFlz -e H_FILE_LIST -e C_FILE_LIST -- src |
xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \
-e 's/^H_FILE_LIST *=/HDRS =/' \
-e 's/\$(H_FILE_LIST)/\$(HDRS)/g' \
-e 's/^C_FILE_LIST *=/SRCS =/' \
-e 's/\$(C_FILE_LIST:/\$(SRCS:/g' \
'{}')\" >'{}'"
Diffstat (limited to 'src/fsec-print')
-rw-r--r-- | src/fsec-print/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsec-print/Makefile b/src/fsec-print/Makefile index a83dcca3d..cb56433f0 100644 --- a/src/fsec-print/Makefile +++ b/src/fsec-print/Makefile | |||
@@ -6,7 +6,7 @@ all: fsec-print | |||
6 | 6 | ||
7 | include $(ROOT)/src/common.mk | 7 | include $(ROOT)/src/common.mk |
8 | 8 | ||
9 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/seccomp.h ../include/syscall.h $(ROOT)/config.mk | 9 | %.o : %.c $(HDRS) ../include/common.h ../include/seccomp.h ../include/syscall.h $(ROOT)/config.mk |
10 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | 10 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ |
11 | 11 | ||
12 | fsec-print: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk | 12 | fsec-print: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk |