Whamcloud - gitweb
* Compiles after merging b1_4
[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)/lustre/ldlm/l_lock.c   \
7         $(top_srcdir)/lustre/ldlm/ldlm_lock.c           \
8         $(top_srcdir)/lustre/ldlm/ldlm_resource.c       \
9         $(top_srcdir)/lustre/ldlm/ldlm_lib.c            \
10         $(top_srcdir)/lustre/ldlm/ldlm_plain.c          \
11         $(top_srcdir)/lustre/ldlm/ldlm_extent.c         \
12         $(top_srcdir)/lustre/ldlm/ldlm_request.c        \
13         $(top_srcdir)/lustre/ldlm/ldlm_lockd.c          \
14         $(top_srcdir)/lustre/ldlm/ldlm_internal.h       \
15         $(top_srcdir)/lustre/ldlm/ldlm_flock.c
16
17 COMMON_SOURCES =  client.c recover.c connection.c niobuf.c pack_generic.c   \
18     events.c ptlrpc_module.c service.c pinger.c recov_thread.c llog_net.c   \
19     llog_client.c llog_server.c import.c ptlrpcd.c pers.c                   \
20     ptlrpc_internal.h $(LDLM_COMM_SOURCES)
21
22 if LIBLUSTRE
23
24 noinst_LIBRARIES = libptlrpc.a
25 libptlrpc_a_SOURCES = $(COMMON_SOURCES)
26 libptlrpc_a_CPPFLAGS = $(LLCPPFLGS)
27 libptlrpc_a_CFLAGS = $(LLCFLAGS)
28
29 endif
30
31 if MODULES
32 modulefs_DATA = ptlrpc$(KMODEXT)
33 endif # MODULES
34
35 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@  ldlm_*.c l_lock.c
36 DIST_SOURCES = $(ptlrpc_objs:.o=.c) ptlrpc_internal.h