Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-3382 build: clean unused link dependencies
[fs/lustre-release.git]
/
lustre
/
liblustre
/
Makefile.am
diff --git
a/lustre/liblustre/Makefile.am
b/lustre/liblustre/Makefile.am
index
edf3126
..
6473813
100644
(file)
--- a/
lustre/liblustre/Makefile.am
+++ b/
lustre/liblustre/Makefile.am
@@
-1,7
+1,7
@@
## Liblustre excecutables & libraries Makefile
SUBDIRS = . tests
## Liblustre excecutables & libraries Makefile
SUBDIRS = . tests
-AM_CPPFLAGS = $(HAVE_EFENCE) -I$(SYSIO)/include
-D_LARGEFILE64_SOURCE=1
\
+AM_CPPFLAGS = $(HAVE_EFENCE) -I$(SYSIO)/include \
$(LLCPPFLAGS) -I$(top_srcdir)/lnet/ulnds
AM_CFLAGS = $(LLCFLAGS)
$(LLCPPFLAGS) -I$(top_srcdir)/lnet/ulnds
AM_CFLAGS = $(LLCFLAGS)
@@
-19,24
+19,15
@@
LUSTRE_LIBS = libllite.a \
$(top_builddir)/lustre/mdc/libmdc.a \
$(top_builddir)/lustre/mgc/libmgc.a \
$(top_builddir)/lustre/ptlrpc/libptlrpc.a \
$(top_builddir)/lustre/mdc/libmdc.a \
$(top_builddir)/lustre/mgc/libmgc.a \
$(top_builddir)/lustre/ptlrpc/libptlrpc.a \
- $(top_builddir)/lustre/obdclass/liblustreclass.a \
- $(top_builddir)/lustre/lvfs/liblvfs.a
-
-if LIBLUSTRE
-QUOTA_LIBS = $(top_builddir)/lustre/quota/libquota.a
-endif
+ $(top_builddir)/lustre/obdclass/liblustreclass.a
LND_LIBS =
if BUILD_USOCKLND
LND_LIBS += $(top_builddir)/lnet/ulnds/socklnd/libsocklnd.a
endif
LND_LIBS =
if BUILD_USOCKLND
LND_LIBS += $(top_builddir)/lnet/ulnds/socklnd/libsocklnd.a
endif
-if BUILD_UPTLLND
-LND_LIBS += $(top_builddir)/lnet/ulnds/ptllnd/libptllnd.a
-endif
LNET_LIBS = $(top_builddir)/lnet/utils/libuptlctl.a \
LNET_LIBS = $(top_builddir)/lnet/utils/libuptlctl.a \
- $(top_builddir)/lnet/lnet/liblnet.a \
- $(top_builddir)/libcfs/libcfs/libcfsutil.a
+ $(top_builddir)/lnet/lnet/liblnet.a
SYSIO_LIBS = $(SYSIO)/lib/libsysio.a
SYSIO_LIBS = $(SYSIO)/lib/libsysio.a
@@
-66,8
+57,13
@@
libllite_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c \
liblustre_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c \
llite_lib.h llite_cl.c
liblustre_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c \
llite_lib.h llite_cl.c
-liblustre.a : $(LUSTRE_LIBS) $(LND_LIBS) $(LNET_LIBS) $(SYSIO_LIBS) $(QUOTA_LIBS)
- sh $(srcdir)/genlib.sh "$(SYSIO)" "$(LIBS)" "$(LND_LIBS)" "$(PTHREAD_LIBS)" "$(QUOTA_LIBS)" "$(CAP_LIBS)" "$(ZLIB)"
+export CC
+export LDFLAGS
+export AR
+export RANLIB
+
+liblustre.a : $(LUSTRE_LIBS) $(LND_LIBS) $(LNET_LIBS) $(SYSIO_LIBS)
+ sh $(srcdir)/genlib.sh "$(SYSIO)" "$(LIBS)" "$(LND_LIBS)" "$(PTHREAD_LIBS)" "$(CAP_LIBS)"
EXTRA_DIST = genlib.sh
EXTRA_DIST = genlib.sh