diff options
author | 2022-05-04 21:16:14 -0300 | |
---|---|---|
committer | 2022-06-12 16:08:47 -0300 | |
commit | 4e8244fb81e17840cf1e0c2410683992c25867a9 (patch) | |
tree | 4ac5c0a92292e607bb3b12afa06e6f9bf9da8e69 /src/libtrace | |
parent | makefiles: define root dir and include relative to it (diff) | |
download | firejail-4e8244fb81e17840cf1e0c2410683992c25867a9.tar.gz firejail-4e8244fb81e17840cf1e0c2410683992c25867a9.tar.zst firejail-4e8244fb81e17840cf1e0c2410683992c25867a9.zip |
makefiles: deduplicate configure-time vars into new config.mk.in
Currently, the configure-time variables (that is, the ones that assign
to placeholders, such as "@HAVE_MAN@", which are set/replaced at
configure-time) are defined on multiple files (such as on Makefile.in
and on common.mk.in).
To avoid duplication, centralize these variables on a single file
(config.mk.in) and replace all of the other definitions of them with an
include of config.mk.
Diffstat (limited to 'src/libtrace')
-rw-r--r-- | src/libtrace/Makefile.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libtrace/Makefile.in b/src/libtrace/Makefile.in index 804671ee2..ced036865 100644 --- a/src/libtrace/Makefile.in +++ b/src/libtrace/Makefile.in | |||
@@ -1,8 +1,5 @@ | |||
1 | CC=@CC@ | 1 | ROOT = ../.. |
2 | PREFIX=@prefix@ | 2 | include $(ROOT)/config.mk |
3 | VERSION=@PACKAGE_VERSION@ | ||
4 | NAME=@PACKAGE_NAME@ | ||
5 | HAVE_FATAL_WARNINGS=@HAVE_FATAL_WARNINGS@ | ||
6 | 3 | ||
7 | H_FILE_LIST = $(sort $(wildcard *.h)) | 4 | H_FILE_LIST = $(sort $(wildcard *.h)) |
8 | C_FILE_LIST = $(sort $(wildcard *.c)) | 5 | C_FILE_LIST = $(sort $(wildcard *.c)) |