1 # Copyright (C) 2001 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 LDLM_COMM_SOURCES= $(top_srcdir)/ldlm/l_lock.c $(top_srcdir)/ldlm/ldlm_lock.c \
7 $(top_srcdir)/ldlm/ldlm_resource.c $(top_srcdir)/ldlm/ldlm_lib.c \
8 $(top_srcdir)/ldlm/ldlm_plain.c $(top_srcdir)/ldlm/ldlm_extent.c \
9 $(top_srcdir)/ldlm/ldlm_request.c $(top_srcdir)/ldlm/ldlm_lockd.c \
10 $(top_srcdir)/ldlm/ldlm_internal.h
12 COMMON_SOURCES = client.c recover.c connection.c niobuf.c pack_generic.c \
13 events.c ptlrpc_module.c service.c pinger.c recov_thread.c llog_net.c \
14 llog_client.c llog_server.c import.c ptlrpcd.c \
15 ptlrpc_internal.h $(LDLM_COMM_SOURCES)
19 noinst_LIBRARIES = libptlrpc.a
20 libptlrpc_a_SOURCES = $(COMMON_SOURCES)
21 libptlrpc_a_CPPFLAGS = $(LLCPPFLGS)
22 libptlrpc_a_CFLAGS = $(LLCFLAGS)
27 modulefs_DATA = ptlrpc$(KMODEXT)
30 MOSTLYCLEANFILES = *.o *.ko *.mod.c ldlm_*.c l_lock.c
31 DIST_SOURCES = $(filter-out @top_srcdir@/ldlm/%,$(ptlrpc-objs:%.o=%.c)) ptlrpc_internal.h