aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 261de04e0..d7e2eb209 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ endif
12 12
13COMPLETIONDIRS = src/zsh_completion src/bash_completion 13COMPLETIONDIRS = src/zsh_completion src/bash_completion
14 14
15APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck 15APPS = src/firecfg/firecfg src/firejail/firejail src/firemon/firemon src/profstats/profstats src/jailcheck/jailcheck src/etc-cleanup/etc-cleanup
16SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids 16SBOX_APPS = src/fbuilder/fbuilder src/ftee/ftee src/fids/fids
17SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity 17SBOX_APPS_NON_DUMPABLE = src/fcopy/fcopy src/fldd/fldd src/fnet/fnet src/fnetfilter/fnetfilter src/fzenity/fzenity
18SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp 18SBOX_APPS_NON_DUMPABLE += src/fsec-optimize/fsec-optimize src/fsec-print/fsec-print src/fseccomp/fseccomp
@@ -200,6 +200,7 @@ endif
200 install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS) 200 install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS)
201 install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS) 201 install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS)
202 install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats 202 install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats
203 install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/etc-cleanup/etc-cleanup
203 # plugins w/o read permission (non-dumpable) 204 # plugins w/o read permission (non-dumpable)
204 install -m 0711 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS_NON_DUMPABLE) 205 install -m 0711 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS_NON_DUMPABLE)
205 install -m 0711 -t $(DESTDIR)$(libdir)/firejail src/fshaper/fshaper.sh 206 install -m 0711 -t $(DESTDIR)$(libdir)/firejail src/fshaper/fshaper.sh
@@ -363,7 +364,7 @@ scan-build: clean
363# make test 364# make test
364# 365#
365 366
366TESTS=profiles apps apps-x11 apps-x11-xorg sysutils utils environment filters fs fcopy fnetfilter 367TESTS=profiles apps apps-x11 apps-x11-xorg sysutils utils environment filters fs fcopy fnetfilter private-etc
367TEST_TARGETS=$(patsubst %,test-%,$(TESTS)) 368TEST_TARGETS=$(patsubst %,test-%,$(TESTS))
368 369
369$(TEST_TARGETS): 370$(TEST_TARGETS):
@@ -371,9 +372,9 @@ $(TEST_TARGETS):
371 372
372 373
373# extract some data about the testing setup: kernel, network connectivity, user 374# extract some data about the testing setup: kernel, network connectivity, user
374lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts 375lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc
375 376
376test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters 377test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters
377 echo "TEST COMPLETE" 378 echo "TEST COMPLETE"
378 379
379test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters 380test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters