]>
Commit | Line | Data |
---|---|---|
54a87cb7 PM |
1 | #### |
2 | # Seccomp Library | |
3 | # | |
4 | ||
5 | # | |
6 | # This library is free software; you can redistribute it and/or modify it | |
7 | # under the terms of version 2.1 of the GNU Lesser General Public License | |
8 | # as published by the Free Software Foundation. | |
9 | # | |
10 | # This library is distributed in the hope that it will be useful, but | |
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | |
13 | # General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU Lesser General Public License | |
16 | # along with this library; if not, see <http://www.gnu.org/licenses>. | |
17 | # | |
c92404d0 JE |
18 | |
19 | ACLOCAL_AMFLAGS = -I m4 | |
fd42fda8 | 20 | SUBDIRS = include src tools tests doc |
c92404d0 JE |
21 | |
22 | pkgconfdir = ${libdir}/pkgconfig | |
23 | pkgconf_DATA = libseccomp.pc | |
0a579bb4 PM |
24 | |
25 | # support silent builds | |
26 | AM_MAKEFLAGS_0 = --quiet --no-print-directory | |
27 | AM_MAKEFLAGS_1 = | |
28 | AM_MAKEFLAGS_ = ${AM_MAKEFLAGS_0} | |
29 | AM_MAKEFLAGS = ${AM_MAKEFLAGS_@AM_V@} | |
b7870b95 | 30 | |
e8a449fb | 31 | check-build: all |
10383c95 | 32 | ${MAKE} ${AM_MAKEFLAGS} -C src check-build |
e8a449fb PM |
33 | ${MAKE} ${AM_MAKEFLAGS} -C tests check-build |
34 | ||
b7870b95 PM |
35 | check-syntax: |
36 | @./tools/check-syntax | |
b61f4065 PM |
37 | |
38 | if COVERITY | |
39 | coverity-build: clean | |
40 | cov-build --dir cov-int ${MAKE} ${AM_MAKEFLAGS} check-build | |
41 | endif | |
42 | ||
43 | if COVERITY | |
44 | coverity-tarball: coverity-build | |
f6c21970 PM |
45 | @if git rev-parse HEAD &> /dev/null; then \ |
46 | rev_full=$$(git rev-parse HEAD); \ | |
47 | rev=$$(echo $$rev_full | cut -c1-8); \ | |
48 | else \ | |
49 | rev_full=$$(date --iso-8601=date); \ | |
50 | rev=$$rev_full; \ | |
51 | fi; \ | |
b61f4065 | 52 | tar czf libseccomp-coverity_$$rev.tar.gz cov-int; \ |
f6c21970 | 53 | echo " HEAD revision: $$rev_full"; \ |
b61f4065 PM |
54 | ls -l libseccomp-coverity_$$rev.tar.gz |
55 | endif | |
56 | ||
57 | clean-local: | |
58 | ${RM} -rf cov-int libseccomp-coverity_*.tar.gz |