diff options
Diffstat (limited to 'src/firecfg/Makefile.in')
-rw-r--r-- | src/firecfg/Makefile.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/firecfg/Makefile.in b/src/firecfg/Makefile.in new file mode 100644 index 000000000..11f8b1e8d --- /dev/null +++ b/src/firecfg/Makefile.in | |||
@@ -0,0 +1,38 @@ | |||
1 | all: firecfg | ||
2 | |||
3 | prefix=@prefix@ | ||
4 | exec_prefix=@exec_prefix@ | ||
5 | libdir=@libdir@ | ||
6 | sysconfdir=@sysconfdir@ | ||
7 | |||
8 | VERSION=@PACKAGE_VERSION@ | ||
9 | NAME=@PACKAGE_NAME@ | ||
10 | HAVE_SECCOMP_H=@HAVE_SECCOMP_H@ | ||
11 | HAVE_SECCOMP=@HAVE_SECCOMP@ | ||
12 | HAVE_CHROOT=@HAVE_CHROOT@ | ||
13 | HAVE_BIND=@HAVE_BIND@ | ||
14 | HAVE_FATAL_WARNINGS=@HAVE_FATAL_WARNINGS@ | ||
15 | HAVE_NETWORK=@HAVE_NETWORK@ | ||
16 | HAVE_USERNS=@HAVE_USERNS@ | ||
17 | HAVE_X11=@HAVE_X11@ | ||
18 | HAVE_FILE_TRANSFER=@HAVE_FILE_TRANSFER@ | ||
19 | |||
20 | |||
21 | H_FILE_LIST = $(sort $(wildcard *.[h])) | ||
22 | C_FILE_LIST = $(sort $(wildcard *.c)) | ||
23 | OBJS = $(C_FILE_LIST:.c=.o) | ||
24 | BINOBJS = $(foreach file, $(OBJS), $file) | ||
25 | CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' -DLIBDIR='"$(libdir)"' $(HAVE_X11) $(HAVE_SECCOMP) $(HAVE_SECCOMP_H) $(HAVE_CHROOT) $(HAVE_NETWORK) $(HAVE_USERNS) $(HAVE_BIND) $(HAVE_FILE_TRANSFER) -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIE -pie -Wformat -Wformat-security | ||
26 | LDFLAGS += -pie -Wl,-z,relro -Wl,-z,now -lpthread | ||
27 | |||
28 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/euid_common.h ../include/libnetlink.h ../include/pid.h | ||
29 | $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | ||
30 | |||
31 | firecfg: $(OBJS) ../lib/common.o | ||
32 | $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o $(LIBS) | ||
33 | |||
34 | clean:; rm -f *.o firecfg firecfg.1 firecfg.1.gz | ||
35 | |||
36 | distclean: clean | ||
37 | rm -fr Makefile | ||
38 | |||