#
# File: rsbac/adf/jail/Makefile
#
# Makefile for the Linux rsbac jail decision module.
#
# Author and (c) 1999-2002 Amon Ott
#

O_TARGET := jail.o
M_OBJS   :=

ifeq ($(PATCHLEVEL),2)
O_OBJS   := jail_syscalls.o
# decisions only in non-maint mode
ifneq ($(CONFIG_RSBAC_MAINT),y)
O_OBJS   += jail_main.o
endif

else

obj-y   := jail_syscalls.o
# decisions only in non-maint mode
ifneq ($(CONFIG_RSBAC_MAINT),y)
obj-y += jail_main.o
endif

endif

include $(TOPDIR)/Rules.make
