# grsecurity's ACL system was originally written in 2001 by Michael Dalton
# during 2001, 2002, and 2003 it has been completely redesigned by
# Brad Spengler
#
# All code in this directory and various hooks inserted throughout the kernel
# are copyright Brad Spengler, and released under the GPL, unless otherwise
# noted (as in obsd_rand.c)

O_TARGET := grsec.o

obj-y = grsec_chdir.o grsec_chroot.o grsec_exec.o grsec_fifo.o grsec_fork.o \
	grsec_mount.o grsec_rand.o grsec_sig.o grsec_sock.o grsec_sysctl.o \
	grsec_time.o grsec_tpe.o grsec_ipc.o grsec_link.o

ifeq ($(CONFIG_GRKERNSEC),y)
obj-y += grsec_init.o grsum.o gracl.o gracl_ip.o gracl_segv.o obsd_rand.o \
	gracl_cap.o gracl_alloc.o gracl_shm.o grsec_mem.o gracl_fs.o \
	grsec_textrel.o
obj-$(CONFIG_GRKERNSEC_RESLOG) += gracl_res.o
else
obj-y += grsec_disabled.o
endif

include $(TOPDIR)/Rules.make
