#
# SUSE specific makefile for the subfs kernel module (2.6 kernels)
# Adrian Schroeter, SUSE, January 2004
#

KVERSION := $(shell uname -r)
KERNEL_SOURCE ?= /lib/modules/$(KVERSION)/build

obj-m	:= subfs.o

# Set to something different to install somewhere else:
# MOD_DIR := extra

.PHONY: modules install clean modules_add

install : modules_add
modules modules_add clean:
	$(MAKE) -C $(KERNEL_SOURCE) $@ SUBDIRS=$(CURDIR)
