/
githubmirror
/
libseccomp
Обзор
Документация
Войти
/
githubmirror
/
libseccomp
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.0.1
tests/Makefile
77 строк
1 KB
Paul Moore
arch: add support for syscall name resolution
13 ноя 2012, 00:45
13 ноя 2012, 00:45
7c122ab
Код
Авторство
О чём код?
# # Enhanced Seccomp Library Makefile # # Copyright (c) 2012 Red Hat <pmoore@redhat.com> # Author: Paul Moore <pmoore@redhat.com> # # # 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>. # # # macros # include ../macros.mk # # configuration # include $(TOPDIR)/version_info.mk include $(TOPDIR)/configure.mk OBJS = util.o LDFLAGS := ../src/libseccomp.a $(OBJS) TESTS = 01-allow \ 02-basic \ 03-basic-chains \ 04-multilevel-chains \ 05-long-jumps \ 06-actions \ 07-db-bug-looping \ 08-subtree-checks \ 09-syscall-priority-pre \ 10-syscall-priority-post \ 11-basic-errors \ 12-basic-masked-ops \ 13-attrs \ 14-reset \ 15-resolver DEPS_OBJS = $(OBJS:%.o=%.d) DEPS_TESTS = $(TESTS:%=%.d) # # targets # .PHONY: clean all: $(TESTS) $(OBJS) -include $(DEPS_TESTS) $(DEPS_OBJS) $(DEPS_TESTS): $(MAKEDEP_EXEC) $(ADDDEP) $@ ../src/libseccomp.a $(ADDDEP) $@ $(OBJS) $(TESTS): $(COMPILE_EXEC) clean: $(RM) $(DEPS_TESTS) $(DEPS_OBJS) $(TESTS) $(OBJS)