diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/Makefile.in b/Makefile.in index cbcf252df..c09b1cd4c 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,6 +1,6 @@ | |||
1 | all: apps man filters | 1 | all: apps man filters |
2 | MYLIBS = src/lib | 2 | MYLIBS = src/lib |
3 | APPS = src/firejail src/firemon src/fsec-print src/fsec-optimize src/firecfg src/fnetfilter src/libtrace src/libtracelog src/ftee src/faudit src/fnet src/fseccomp src/fbuilder src/fcopy src/fldd src/libpostexecseccomp | 3 | APPS = src/firejail src/firemon src/fsec-print src/fsec-optimize src/firecfg src/fnetfilter src/libtrace src/libtracelog src/ftee src/fnet src/fseccomp src/fcopy src/libpostexecseccomp |
4 | MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 | 4 | MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 |
5 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx | 5 | SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx |
6 | 6 | ||
@@ -93,12 +93,9 @@ endif | |||
93 | install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(libdir)/firejail/. | 93 | install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(libdir)/firejail/. |
94 | 94 | ||
95 | install -c -m 0644 src/firecfg/firecfg.config $(DESTDIR)/$(libdir)/firejail/. | 95 | install -c -m 0644 src/firecfg/firecfg.config $(DESTDIR)/$(libdir)/firejail/. |
96 | install -c -m 0755 src/faudit/faudit $(DESTDIR)/$(libdir)/firejail/. | ||
97 | install -c -m 0755 src/fnet/fnet $(DESTDIR)/$(libdir)/firejail/. | 96 | install -c -m 0755 src/fnet/fnet $(DESTDIR)/$(libdir)/firejail/. |
98 | install -c -m 0755 src/fnetfilter/fnetfilter $(DESTDIR)/$(libdir)/firejail/. | 97 | install -c -m 0755 src/fnetfilter/fnetfilter $(DESTDIR)/$(libdir)/firejail/. |
99 | install -c -m 0755 src/fcopy/fcopy $(DESTDIR)/$(libdir)/firejail/. | 98 | install -c -m 0755 src/fcopy/fcopy $(DESTDIR)/$(libdir)/firejail/. |
100 | install -c -m 0755 src/fldd/fldd $(DESTDIR)/$(libdir)/firejail/. | ||
101 | install -c -m 0755 src/fbuilder/fbuilder $(DESTDIR)/$(libdir)/firejail/. | ||
102 | ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) | 99 | ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) |
103 | install -c -m 0755 src/fsec-print/fsec-print $(DESTDIR)/$(libdir)/firejail/. | 100 | install -c -m 0755 src/fsec-print/fsec-print $(DESTDIR)/$(libdir)/firejail/. |
104 | install -c -m 0755 src/fsec-optimize/fsec-optimize $(DESTDIR)/$(libdir)/firejail/. | 101 | install -c -m 0755 src/fsec-optimize/fsec-optimize $(DESTDIR)/$(libdir)/firejail/. |
@@ -109,13 +106,6 @@ ifeq ($(HAVE_SECCOMP),-DHAVE_SECCOMP) | |||
109 | install -c -m 0644 seccomp.block_secondary $(DESTDIR)/$(libdir)/firejail/. | 106 | install -c -m 0644 seccomp.block_secondary $(DESTDIR)/$(libdir)/firejail/. |
110 | install -c -m 0644 seccomp.mdwx $(DESTDIR)/$(libdir)/firejail/. | 107 | install -c -m 0644 seccomp.mdwx $(DESTDIR)/$(libdir)/firejail/. |
111 | endif | 108 | endif |
112 | ifeq ($(HAVE_CONTRIB_INSTALL),yes) | ||
113 | install -c -m 0755 contrib/fix_private-bin.py $(DESTDIR)/$(libdir)/firejail/. | ||
114 | install -c -m 0755 contrib/fjclip.py $(DESTDIR)/$(libdir)/firejail/. | ||
115 | install -c -m 0755 contrib/fjdisplay.py $(DESTDIR)/$(libdir)/firejail/. | ||
116 | install -c -m 0755 contrib/fjresize.py $(DESTDIR)/$(libdir)/firejail/. | ||
117 | install -c -m 0755 contrib/fj-mkdeb.py $(DESTDIR)/$(libdir)/firejail/. | ||
118 | endif | ||
119 | # documents | 109 | # documents |
120 | install -m 0755 -d $(DESTDIR)/$(DOCDIR) | 110 | install -m 0755 -d $(DESTDIR)/$(DOCDIR) |
121 | install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/. | 111 | install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/. |
@@ -165,15 +155,12 @@ install-strip: all | |||
165 | strip src/libtracelog/libtracelog.so | 155 | strip src/libtracelog/libtracelog.so |
166 | strip src/libpostexecseccomp/libpostexecseccomp.so | 156 | strip src/libpostexecseccomp/libpostexecseccomp.so |
167 | strip src/ftee/ftee | 157 | strip src/ftee/ftee |
168 | strip src/faudit/faudit | ||
169 | strip src/fnet/fnet | 158 | strip src/fnet/fnet |
170 | strip src/fnetfilter/fnetfilter | 159 | strip src/fnetfilter/fnetfilter |
171 | strip src/fseccomp/fseccomp | 160 | strip src/fseccomp/fseccomp |
172 | strip src/fsec-print/fsec-print | 161 | strip src/fsec-print/fsec-print |
173 | strip src/fsec-optimize/fsec-optimize | 162 | strip src/fsec-optimize/fsec-optimize |
174 | strip src/fcopy/fcopy | 163 | strip src/fcopy/fcopy |
175 | strip src/fldd/fldd | ||
176 | strip src/fbuilder/fbuilder | ||
177 | $(MAKE) realinstall | 164 | $(MAKE) realinstall |
178 | 165 | ||
179 | uninstall: | 166 | uninstall: |
@@ -190,7 +177,7 @@ uninstall: | |||
190 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon | 177 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon |
191 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg | 178 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg |
192 | 179 | ||
193 | DISTFILES = "src etc platform contrib configure configure.ac dummy.c Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh COPYING README RELNOTES" | 180 | DISTFILES = "src etc platform configure configure.ac dummy.c Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh COPYING README RELNOTES" |
194 | DISTFILES_TEST = "test/apps test/apps-x11 test/apps-x11-xorg test/root test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/arguments test/fs test/sysutils test/chroot" | 181 | DISTFILES_TEST = "test/apps test/apps-x11 test/apps-x11-xorg test/root test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/arguments test/fs test/sysutils test/chroot" |
195 | 182 | ||
196 | dist: | 183 | dist: |
@@ -214,9 +201,6 @@ deb: dist | |||
214 | snap: all | 201 | snap: all |
215 | cd platform/snap; ./snap.sh | 202 | cd platform/snap; ./snap.sh |
216 | 203 | ||
217 | install-snap: snap | ||
218 | sudo snap remove faudit; sudo snap install faudit*.snap | ||
219 | |||
220 | test-compile: dist | 204 | test-compile: dist |
221 | cd test/compile; ./compile.sh $(NAME)-$(VERSION) | 205 | cd test/compile; ./compile.sh $(NAME)-$(VERSION) |
222 | 206 | ||
@@ -242,18 +226,9 @@ scan-build: clean | |||
242 | test-profiles: | 226 | test-profiles: |
243 | cd test/profiles; ./profiles.sh | grep TESTING | 227 | cd test/profiles; ./profiles.sh | grep TESTING |
244 | 228 | ||
245 | test-private-lib: | ||
246 | cd test/private-lib; ./private-lib.sh | grep TESTING | ||
247 | |||
248 | test-apps: | 229 | test-apps: |
249 | cd test/apps; ./apps.sh | grep TESTING | 230 | cd test/apps; ./apps.sh | grep TESTING |
250 | 231 | ||
251 | test-apps-x11: | ||
252 | cd test/apps-x11; ./apps-x11.sh | grep TESTING | ||
253 | |||
254 | test-apps-x11-xorg: | ||
255 | cd test/apps-x11-xorg; ./apps-x11-xorg.sh | grep TESTING | ||
256 | |||
257 | test-sysutils: | 232 | test-sysutils: |
258 | cd test/sysutils; ./sysutils.sh | grep TESTING | 233 | cd test/sysutils; ./sysutils.sh | grep TESTING |
259 | 234 | ||
@@ -280,7 +255,7 @@ test-fcopy: | |||
280 | test-fnetfilter: | 255 | test-fnetfilter: |
281 | cd test/fnetfilter; ./fnetfilter.sh | grep TESTING | 256 | cd test/fnetfilter; ./fnetfilter.sh | grep TESTING |
282 | 257 | ||
283 | test: test-profiles test-private-lib test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters test-arguments | 258 | test: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-filters test-arguments |
284 | echo "TEST COMPLETE" | 259 | echo "TEST COMPLETE" |
285 | 260 | ||
286 | test-travis: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-filters test-arguments | 261 | test-travis: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-filters test-arguments |
@@ -296,10 +271,6 @@ test-travis: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sy | |||
296 | test-ssh: | 271 | test-ssh: |
297 | cd test/ssh; ./ssh.sh | grep TESTING | 272 | cd test/ssh; ./ssh.sh | grep TESTING |
298 | 273 | ||
299 | # requires root access | ||
300 | test-chroot: | ||
301 | cd test/chroot; ./chroot.sh | grep testing | ||
302 | |||
303 | # Huge appimage files, not included in "make dist" archive | 274 | # Huge appimage files, not included in "make dist" archive |
304 | test-appimage: | 275 | test-appimage: |
305 | cd test/appimage; ./appimage.sh | grep TESTING | 276 | cd test/appimage; ./appimage.sh | grep TESTING |
@@ -317,10 +288,6 @@ test-stress: | |||
317 | test-root: | 288 | test-root: |
318 | cd test/root; su -c ./root.sh | grep TESTING | 289 | cd test/root; su -c ./root.sh | grep TESTING |
319 | 290 | ||
320 | # OverlayFS is not available on all platforms | ||
321 | test-overlay: | ||
322 | cd test/overlay; ./overlay.sh | grep TESTING | ||
323 | |||
324 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" | 291 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" |
325 | 292 | ||
326 | test-all: test-root test-chroot test-network test-appimage test-overlay | 293 | test-all: test-root test-chroot test-network test-appimage test-overlay |