1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux lock manager stuff
4#
5
6ccflags-y += -I$(src)			# needed for trace events
7
8obj-$(CONFIG_LOCKD) += lockd.o
9
10lockd-objs-y += clntlock.o clntproc.o clntxdr.o host.o svc.o svclock.o \
11	        svcshare.o svcproc.o svcsubs.o mon.o trace.o xdr.o
12lockd-objs-$(CONFIG_LOCKD_V4) += clnt4xdr.o xdr4.o svc4proc.o
13lockd-objs-$(CONFIG_PROC_FS) += procfs.o
14lockd-objs		      := $(lockd-objs-y)
15