ramzswap-objs	:=	ramzswap_drv.o xvmalloc.o xpage_alloc.o

ifeq ($(CONFIG_RAMZSWAP_LZO),y)
ramzswap-objs	+=	lzo_wrapper.o
endif

ifeq ($(CONFIG_RAMZSWAP_LZ4),y)
ramzswap-objs	+=	lz4_wrapper.o lz4.o
endif

ifeq ($(CONFIG_RAMZSWAP_NOCOMP),y)
ramzswap-objs	+=	nocomp_wrapper.o
endif

ifeq ($(CONFIG_ARM),y)
ramzswap-objs	+=	xpage_alloc_arm.o
endif

obj-$(CONFIG_RAMZSWAP)	+=	ramzswap.o
