diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in index 890ba1b0a..fcaa9c42d 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -10,23 +10,20 @@ VERSION=@PACKAGE_VERSION@ | |||
10 | NAME=@PACKAGE_NAME@ | 10 | NAME=@PACKAGE_NAME@ |
11 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ | 11 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
12 | DOCDIR=@docdir@ | 12 | DOCDIR=@docdir@ |
13 | HAVE_SECCOMP=@HAVE_SECCOMP@ | ||
14 | HAVE_APPARMOR=@HAVE_APPARMOR@ | 13 | HAVE_APPARMOR=@HAVE_APPARMOR@ |
15 | HAVE_CONTRIB_INSTALL=@HAVE_CONTRIB_INSTALL@ | 14 | HAVE_CONTRIB_INSTALL=@HAVE_CONTRIB_INSTALL@ |
16 | BUSYBOX_WORKAROUND=@BUSYBOX_WORKAROUND@ | 15 | BUSYBOX_WORKAROUND=@BUSYBOX_WORKAROUND@ |
17 | HAVE_SUID=@HAVE_SUID@ | 16 | HAVE_SUID=@HAVE_SUID@ |
18 | 17 | ||
19 | all: all_items man filters | 18 | all: all_items man filters |
20 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats | 19 | APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/man/preproc |
21 | SBOX_APPS = src/faudit/faudit src/fbuilder/fbuilder src/ftee/ftee | 20 | SBOX_APPS = src/faudit/faudit src/fbuilder/fbuilder src/ftee/ftee |
22 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter | 21 | SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter |
23 | MYDIRS = src/lib | 22 | MYDIRS = src/lib |
24 | MYLIBS = src/libpostexecseccomp/libpostexecseccomp.so src/libtrace/libtrace.so src/libtracelog/libtracelog.so | 23 | MYLIBS = src/libpostexecseccomp/libpostexecseccomp.so src/libtrace/libtrace.so src/libtracelog/libtracelog.so |
25 | MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 | 24 | MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 |
26 | ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) | ||
27 | SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp | 25 | SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp |
28 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32 | 26 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32 |
29 | endif | ||
30 | ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS) | 27 | ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS) |
31 | 28 | ||
32 | .PHONY: all_items $(ALL_ITEMS) | 29 | .PHONY: all_items $(ALL_ITEMS) |
@@ -39,13 +36,13 @@ mydirs: mydirs $(MYDIRS) | |||
39 | $(MYDIRS): | 36 | $(MYDIRS): |
40 | $(MAKE) -C $@ | 37 | $(MAKE) -C $@ |
41 | 38 | ||
42 | $(MANPAGES): $(wildcard src/man/*.txt) | 39 | |
43 | ./mkman.sh $(VERSION) src/man/$(basename $@).txt $@ | 40 | $(MANPAGES): $(wildcard src/man/*.man) |
41 | ./mkman.sh $(VERSION) src/man/$(basename $@).man $@ | ||
44 | 42 | ||
45 | man: $(MANPAGES) | 43 | man: $(MANPAGES) |
46 | 44 | ||
47 | filters: $(SECCOMP_FILTERS) $(SBOX_APPS_NON_DUMPABLE) | 45 | filters: $(SECCOMP_FILTERS) $(SBOX_APPS_NON_DUMPABLE) |
48 | ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) | ||
49 | seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize | 46 | seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize |
50 | src/fseccomp/fseccomp default seccomp | 47 | src/fseccomp/fseccomp default seccomp |
51 | src/fsec-optimize/fsec-optimize seccomp | 48 | src/fsec-optimize/fsec-optimize seccomp |
@@ -66,7 +63,6 @@ seccomp.mdwx: src/fseccomp/fseccomp | |||
66 | 63 | ||
67 | seccomp.mdwx.32: src/fseccomp/fseccomp | 64 | seccomp.mdwx.32: src/fseccomp/fseccomp |
68 | src/fseccomp/fseccomp memory-deny-write-execute.32 seccomp.mdwx.32 | 65 | src/fseccomp/fseccomp memory-deny-write-execute.32 seccomp.mdwx.32 |
69 | endif | ||
70 | 66 | ||
71 | clean: | 67 | clean: |
72 | for dir in $$(dirname $(ALL_ITEMS)) $(MYDIRS); do \ | 68 | for dir in $$(dirname $(ALL_ITEMS)) $(MYDIRS); do \ |
@@ -248,9 +244,7 @@ test-environment: | |||
248 | cd test/environment; ./environment.sh | grep TESTING | 244 | cd test/environment; ./environment.sh | grep TESTING |
249 | 245 | ||
250 | test-filters: | 246 | test-filters: |
251 | ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) | ||
252 | cd test/filters; ./filters.sh | grep TESTING | 247 | cd test/filters; ./filters.sh | grep TESTING |
253 | endif | ||
254 | 248 | ||
255 | test-arguments: | 249 | test-arguments: |
256 | cd test/arguments; ./arguments.sh | grep TESTING | 250 | cd test/arguments; ./arguments.sh | grep TESTING |