diff options
Diffstat (limited to 'src/common.mk')
-rw-r--r-- | src/common.mk | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/common.mk b/src/common.mk deleted file mode 100644 index 07b5e373d..000000000 --- a/src/common.mk +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | # Common definitions for building C programs and non-shared objects. | ||
2 | # | ||
3 | # Note: "ROOT" must be defined before including this file. | ||
4 | |||
5 | -include $(ROOT)/config.mk | ||
6 | |||
7 | H_FILE_LIST = $(sort $(wildcard *.h)) | ||
8 | C_FILE_LIST = $(sort $(wildcard *.c)) | ||
9 | OBJS = $(C_FILE_LIST:.c=.o) | ||
10 | BINOBJS = $(foreach file, $(OBJS), $file) | ||
11 | |||
12 | CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' $(HAVE_GCOV) | ||
13 | CFLAGS += -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' -DLIBDIR='"$(libdir)"' -DBINDIR='"$(bindir)"' -DVARDIR='"/var/lib/firejail"' | ||
14 | CFLAGS += $(MANFLAGS) | ||
15 | CFLAGS += -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIE -Wformat -Wformat-security | ||
16 | LDFLAGS += -pie -fPIE -Wl,-z,relro -Wl,-z,now | ||