diff options
author | 2016-10-01 13:50:58 -0400 | |
---|---|---|
committer | 2016-10-01 13:50:58 -0400 | |
commit | 27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c (patch) | |
tree | da675f6056ea3e4dd2386c447c6eca0c072ac252 /src/libx11/Makefile.in | |
parent | potential Gentoo fix (diff) | |
download | firejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.tar.gz firejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.tar.zst firejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.zip |
disable x11 abstract socket for --x11=block
Diffstat (limited to 'src/libx11/Makefile.in')
-rw-r--r-- | src/libx11/Makefile.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libx11/Makefile.in b/src/libx11/Makefile.in new file mode 100644 index 000000000..2dfef8076 --- /dev/null +++ b/src/libx11/Makefile.in | |||
@@ -0,0 +1,25 @@ | |||
1 | PREFIX=@prefix@ | ||
2 | VERSION=@PACKAGE_VERSION@ | ||
3 | NAME=@PACKAGE_NAME@ | ||
4 | HAVE_FATAL_WARNINGS=@HAVE_FATAL_WARNINGS@ | ||
5 | |||
6 | H_FILE_LIST = $(sort $(wildcard *.[h])) | ||
7 | C_FILE_LIST = $(sort $(wildcard *.c)) | ||
8 | OBJS = $(C_FILE_LIST:.c=.o) | ||
9 | BINOBJS = $(foreach file, $(OBJS), $file) | ||
10 | CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIC -Wformat -Wformat-security | ||
11 | LDFLAGS += -pie -Wl,-z,relro -Wl,-z,now | ||
12 | |||
13 | all: libx11.so | ||
14 | |||
15 | %.o : %.c $(H_FILE_LIST) | ||
16 | $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | ||
17 | |||
18 | libx11.so: $(OBJS) | ||
19 | $(CC) $(LDFLAGS) -shared -fPIC -z relro -o $@ $(OBJS) -ldl | ||
20 | |||
21 | |||
22 | clean:; rm -f $(OBJS) libx11.so | ||
23 | |||
24 | distclean: clean | ||
25 | rm -fr Makefile | ||