diff options
author | 2022-10-12 23:51:24 -0300 | |
---|---|---|
committer | 2022-11-21 17:11:23 -0300 | |
commit | 87db1072092f388a3ff260736e77d168164bd398 (patch) | |
tree | aabf15c5eb21a981c459e681f4a55b737dfce268 /src/fcopy | |
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/fcopy')
-rw-r--r-- | src/fcopy/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcopy/Makefile b/src/fcopy/Makefile index a4c4a293c..11d47c739 100644 --- a/src/fcopy/Makefile +++ b/src/fcopy/Makefile | |||
@@ -6,7 +6,7 @@ all: fcopy | |||
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/syscall.h $(ROOT)/config.mk | 9 | %.o : %.c $(HDRS) ../include/common.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 | fcopy: $(OBJS) ../lib/common.o $(ROOT)/config.mk | 12 | fcopy: $(OBJS) ../lib/common.o $(ROOT)/config.mk |