2014-02-27 16:23:35 -08:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Copyright (c) 1999, 2004-2009 NOVELL (All rights reserved)
|
|
|
|
# Copyright (c) 2010-2014 Canonical Ltd.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
|
|
# License published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# This program 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 General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, contact Novell, Inc.
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
NAME = apparmor-utils
|
|
|
|
all:
|
|
|
|
COMMONDIR=../../common/
|
|
|
|
|
|
|
|
include common/Make.rules
|
|
|
|
|
|
|
|
COMMONDIR_EXISTS=$(strip $(shell [ -d ${COMMONDIR} ] && echo true))
|
|
|
|
ifeq ($(COMMONDIR_EXISTS), true)
|
|
|
|
common/Make.rules: $(COMMONDIR)/Make.rules
|
|
|
|
ln -sf $(COMMONDIR) .
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
ifndef VERBOSE
|
|
|
|
.SILENT: clean
|
|
|
|
endif
|
|
|
|
clean: _clean
|
2014-02-27 16:47:06 -08:00
|
|
|
rm -rf __pycache__/ common
|
2014-02-27 16:23:35 -08:00
|
|
|
|
|
|
|
.PHONY: check
|
|
|
|
ifndef VERBOSE
|
|
|
|
.SILENT: check
|
|
|
|
endif
|
|
|
|
check:
|
2014-03-07 09:58:54 -08:00
|
|
|
export PYTHONPATH=.. ; $(foreach test, $(wildcard test-*.py), $(call pyalldo, $(test)))
|