13d14c5d2SYehuda Sadeh# 23d14c5d2SYehuda Sadeh# Makefile for CEPH filesystem. 33d14c5d2SYehuda Sadeh# 43d14c5d2SYehuda Sadeh 53d14c5d2SYehuda Sadehifneq ($(KERNELRELEASE),) 63d14c5d2SYehuda Sadeh 73d14c5d2SYehuda Sadehobj-$(CONFIG_CEPH_LIB) += libceph.o 83d14c5d2SYehuda Sadeh 9*fa13bc3dSTracey Dentlibceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \ 103d14c5d2SYehuda Sadeh mon_client.o \ 113d14c5d2SYehuda Sadeh osd_client.o osdmap.o crush/crush.o crush/mapper.o crush/hash.o \ 123d14c5d2SYehuda Sadeh debugfs.o \ 133d14c5d2SYehuda Sadeh auth.o auth_none.o \ 143d14c5d2SYehuda Sadeh crypto.o armor.o \ 153d14c5d2SYehuda Sadeh auth_x.o \ 163d14c5d2SYehuda Sadeh ceph_fs.o ceph_strings.o ceph_hash.o \ 173d14c5d2SYehuda Sadeh pagevec.o 183d14c5d2SYehuda Sadeh 193d14c5d2SYehuda Sadehelse 203d14c5d2SYehuda Sadeh#Otherwise we were called directly from the command 213d14c5d2SYehuda Sadeh# line; invoke the kernel build system. 223d14c5d2SYehuda Sadeh 233d14c5d2SYehuda SadehKERNELDIR ?= /lib/modules/$(shell uname -r)/build 243d14c5d2SYehuda SadehPWD := $(shell pwd) 253d14c5d2SYehuda Sadeh 263d14c5d2SYehuda Sadehdefault: all 273d14c5d2SYehuda Sadeh 283d14c5d2SYehuda Sadehall: 293d14c5d2SYehuda Sadeh $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_LIB=m modules 303d14c5d2SYehuda Sadeh 313d14c5d2SYehuda Sadehmodules_install: 323d14c5d2SYehuda Sadeh $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_LIB=m modules_install 333d14c5d2SYehuda Sadeh 343d14c5d2SYehuda Sadehclean: 353d14c5d2SYehuda Sadeh $(MAKE) -C $(KERNELDIR) M=$(PWD) clean 363d14c5d2SYehuda Sadeh 373d14c5d2SYehuda Sadehendif 38