diff options
author | 2016-10-01 16:25:36 -0400 | |
---|---|---|
committer | 2016-10-01 16:25:36 -0400 | |
commit | 6d2eaf548d092826017d96443b54d656f05676cf (patch) | |
tree | ed9f544c1a7fe03d3d9b2e9caf01c694f4a5e074 /src/libconnect/Makefile.in | |
parent | disable x11 abstract socket for --x11=block (diff) | |
download | firejail-6d2eaf548d092826017d96443b54d656f05676cf.tar.gz firejail-6d2eaf548d092826017d96443b54d656f05676cf.tar.zst firejail-6d2eaf548d092826017d96443b54d656f05676cf.zip |
moved libx11 to libconnect
Diffstat (limited to 'src/libconnect/Makefile.in')
-rw-r--r-- | src/libconnect/Makefile.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libconnect/Makefile.in b/src/libconnect/Makefile.in new file mode 100644 index 000000000..5b7a8d0f1 --- /dev/null +++ b/src/libconnect/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: libconnect.so | ||
14 | |||
15 | %.o : %.c $(H_FILE_LIST) | ||
16 | $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | ||
17 | |||
18 | libconnect.so: $(OBJS) | ||
19 | $(CC) $(LDFLAGS) -shared -fPIC -z relro -o $@ $(OBJS) -ldl | ||
20 | |||
21 | |||
22 | clean:; rm -f $(OBJS) libconnect.so | ||
23 | |||
24 | distclean: clean | ||
25 | rm -fr Makefile | ||