| 1 | #### |
| 2 | # Seccomp Library Utility Tools |
| 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 | # |
| 18 | |
| 19 | AM_CPPFLAGS = -I${top_builddir}/include |
| 20 | |
| 21 | noinst_LTLIBRARIES = util.la |
| 22 | util_la_SOURCES = util.c util.h bpf.h |
| 23 | util_la_LDFLAGS = -module |
| 24 | |
| 25 | bin_PROGRAMS = \ |
| 26 | scmp_sys_resolver |
| 27 | noinst_PROGRAMS = \ |
| 28 | scmp_arch_detect \ |
| 29 | scmp_bpf_disasm \ |
| 30 | scmp_bpf_sim |
| 31 | |
| 32 | EXTRA_DIST = check-syntax scmp_app_inspector |
| 33 | |
| 34 | scmp_bpf_disasm_SOURCES = scmp_bpf_disasm.c bpf.h util.h |
| 35 | scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h |
| 36 | |
| 37 | scmp_sys_resolver_LDADD = ../src/libseccomp.la |
| 38 | scmp_sys_resolver_LDFLAGS = -static |
| 39 | scmp_arch_detect_LDADD = ../src/libseccomp.la |
| 40 | scmp_arch_detect_LDFLAGS = -static |
| 41 | scmp_bpf_disasm_LDADD = util.la |
| 42 | scmp_bpf_sim_LDADD = util.la |