X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fldlm%2FMakefile.am;h=0da12fc3bda6acd947c7be6922f3fdb22eb0a21c;hb=c7e34b11887dc6bdf9b294925462469519ddf1a1;hp=a76ff4a7992a50bc23b5ef563dde9862dab0c8a1;hpb=93acd158c57c4c5d0fc751d46741231490c04707;p=fs%2Flustre-release.git diff --git a/lustre/ldlm/Makefile.am b/lustre/ldlm/Makefile.am index a76ff4a..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_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 -