Whamcloud - gitweb
remove unecessary debugging
[fs/lustre-release.git] / lustre / mdc / Makefile.am
index b412741..0200532 100644 (file)
@@ -3,19 +3,18 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:=
+DEFS=
 
+if LIBLUSTRE
+noinst_LIBRARIES = libmdc.a
+libmdc_a_SOURCES = mdc_request.c mdc_reint.c mdc_lib.c mdc_internal.h mdc_locks.c
+libmdc_a_CFLAGS = -fPIC
+else
 MODULE = mdc
 modulefs_DATA = mdc.o
 EXTRA_PROGRAMS = mdc
 
-LINX=mds_updates.c ll_pack.c
-mdc_SOURCES =  mdc_request.c mdc_reint.c $(LINX)
-ll_pack.c: 
-       test -e ll_pack.c || ln -sf $(top_srcdir)/lib/ll_pack.c .
-
-mds_updates.c: 
-       test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c .
-
+mdc_SOURCES = mdc_request.c mdc_reint.c lproc_mdc.c mdc_lib.c mdc_locks.c mdc_internal.h
+endif
 
 include $(top_srcdir)/Rules