#
# SUSE specific makefile for the km_drbd
#

EXTRA_CFLAGS += -I$(src)

CFLAGS_drbd_sizeof_sanity_check.o = -Wpadded

obj-m	:= drbd.o
drbd-objs  :=   drbd_sizeof_sanity_check.o \
                drbd_buildtag.o drbd_bitmap.o drbd_fs.o drbd_proc.o \
                drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o \
                lru_cache.o drbd_main.o drbd_strings.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)
