Whamcloud - gitweb
file loop-sync-2.4.21-suse.patch was initially added on branch b1_2_smallfix.
[fs/lustre-release.git] / lustre / ptlrpc / autoMakefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
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 $(top_srcdir)/ldlm/ldlm_inodebits.c
11
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 pers.c                   \
15     ptlrpc_internal.h $(LDLM_COMM_SOURCES)
16
17 if LIBLUSTRE
18
19 noinst_LIBRARIES = libptlrpc.a
20 libptlrpc_a_SOURCES = $(COMMON_SOURCES)
21 libptlrpc_a_CPPFLAGS = $(LLCPPFLGS)
22 libptlrpc_a_CFLAGS = $(LLCFLAGS)
23
24 endif
25
26 if MODULES
27 modulefs_DATA = ptlrpc$(KMODEXT)
28 endif # MODULES
29
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
32