summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
blob: 92543a118c3ca8d0d4b895ec5e96a1618398b5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
####
# Seccomp Library Utility Tools
#

#
# This library is free software; you can redistribute it and/or modify it
# under the terms of version 2.1 of the GNU Lesser General Public License
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library; if not, see <http://www.gnu.org/licenses>.
#

noinst_LTLIBRARIES = util.la
util_la_SOURCES = util.c util.h bpf.h
util_la_LDFLAGS = -module

bin_PROGRAMS = \
	scmp_sys_resolver
noinst_PROGRAMS = \
	scmp_arch_detect \
	scmp_bpf_disasm \
	scmp_bpf_sim \
	scmp_api_level

EXTRA_DIST = check-syntax scmp_app_inspector

scmp_bpf_disasm_SOURCES = scmp_bpf_disasm.c bpf.h util.h
scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h
scmp_api_level_SOURCES = scmp_api_level.c

scmp_sys_resolver_LDADD = ../src/libseccomp.la
scmp_arch_detect_LDADD = ../src/libseccomp.la
scmp_bpf_disasm_LDADD = util.la
scmp_bpf_sim_LDADD = util.la
scmp_api_level_LDADD = ../src/libseccomp.la