#
# File: rsbac/adf/reg/Makefile
#
# Makefile for the Linux rsbac REG / registration of decision modules
#
# Author and (c) 1999-2004 Amon Ott
#

ifeq ($(PATCHLEVEL),4)

O_TARGET := reg.o
obj-y  := reg_main.o
export-objs := reg_main.o
ifeq ($(CONFIG_RSBAC_REG_SAMPLES),y)
obj-m    += reg_sample1.o reg_sample3.o kproc_hide.o modules_off.o
endif
include $(TOPDIR)/Rules.make

else
# 2.6.x
obj-y  := reg_main.o
ifeq ($(CONFIG_RSBAC_REG_SAMPLES),y)
obj-m    += reg_sample1.o reg_sample3.o kproc_hide.o modules_off.o root_plug.o
endif

endif

