X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fldlm%2FMakefile.am;h=0da12fc3bda6acd947c7be6922f3fdb22eb0a21c;hb=c7e34b11887dc6bdf9b294925462469519ddf1a1;hp=ed5051a6073d12b4e6028f65c2c652bde7f18226;hpb=560f935c10c1aef980b5717b5882a0e0f2a6c2a5;p=fs%2Flustre-release.git diff --git a/lustre/ldlm/Makefile.am b/lustre/ldlm/Makefile.am index ed5051a..0da12fc 100644 --- a/lustre/ldlm/Makefile.am +++ b/lustre/ldlm/Makefile.am @@ -3,13 +3,17 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution +# +# ldlm is built into ptlrpc +# + DEFS= -MODULE = ldlm -modulefs_DATA = ldlm.o -EXTRA_PROGRAMS = ldlm -ldlm_SOURCES = l_lock.c ldlm_lock.c ldlm_resource.c ldlm_test.c ldlm_lockd.c \ -ldlm_extent.c ldlm_request.c +if LIBLUSTRE +lib_LIBRARIES = libldlm.a +libldlm_a_SOURCES = l_lock.c ldlm_lock.c ldlm_resource.c ldlm_lib.c \ + ldlm_plain.c ldlm_extent.c ldlm_request.c ldlm_lockd.c ldlm_internal.h +libldlm_a_CFLAGS = -fPIC +endif include $(top_srcdir)/Rules -