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)/lustre/ldlm/l_lock.c \
7 $(top_srcdir)/lustre/ldlm/ldlm_lock.c \
8 $(top_srcdir)/lustre/ldlm/interval_tree.c \
9 $(top_srcdir)/lustre/ldlm/ldlm_resource.c \
10 $(top_srcdir)/lustre/ldlm/ldlm_lib.c \
11 $(top_srcdir)/lustre/ldlm/ldlm_plain.c \
12 $(top_srcdir)/lustre/ldlm/ldlm_extent.c \
13 $(top_srcdir)/lustre/ldlm/ldlm_request.c \
14 $(top_srcdir)/lustre/ldlm/ldlm_lockd.c \
15 $(top_srcdir)/lustre/ldlm/ldlm_internal.h \
16 $(top_srcdir)/lustre/ldlm/ldlm_inodebits.c \
17 $(top_srcdir)/lustre/ldlm/ldlm_flock.c \
18 $(top_srcdir)/lustre/ldlm/ldlm_pool.c
20 COMMON_SOURCES = client.c recover.c connection.c niobuf.c pack_generic.c \
21 events.c ptlrpc_module.c service.c pinger.c recov_thread.c llog_net.c \
22 llog_client.c llog_server.c import.c ptlrpcd.c pers.c wiretest.c \
23 ptlrpc_internal.h layout.c sec.c sec_bulk.c sec_gc.c sec_config.c \
24 sec_lproc.c sec_null.c sec_plain.c lproc_ptlrpc.c $(LDLM_COMM_SOURCES)
28 noinst_LIBRARIES = libptlrpc.a
29 libptlrpc_a_SOURCES = $(COMMON_SOURCES)
30 libptlrpc_a_CPPFLAGS = $(LLCPPFLAGS)
31 libptlrpc_a_CFLAGS = $(LLCFLAGS)
38 modulefs_DATA = ptlrpc$(KMODEXT)
42 macos_PROGRAMS := ptlrpc
72 ptlrpc_CFLAGS := $(EXTRA_KCFLAGS)
73 ptlrpc_LDFLAGS := $(EXTRA_KLDFLAGS)
74 ptlrpc_LDADD := $(EXTRA_KLIBS)
76 plist_DATA := Info.plist
78 install_data_hook := fix-kext-ownership
88 install-data-hook: $(install_data_hook)
89 DIST_SOURCES = $(ptlrpc_objs:.o=.c) ptlrpc_internal.h
90 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ ldlm_*.c l_lock.c interval_tree.c