1 ## Liblustre excecutables & libraries Makefile
4 AM_CPPFLAGS = $(HAVE_EFENCE) -I$(SYSIO)/include -D_LARGEFILE64_SOURCE=1 \
5 $(LLCPPFLAGS) -I$(top_srcdir)/portals/unals
6 AM_CFLAGS = $(LLCFLAGS)
10 LUSTRE_LIBS = liblutils.a libllite.a \
11 $(top_builddir)/lustre/lov/liblov.a \
12 $(top_builddir)/lustre/obdecho/libobdecho.a \
13 $(top_builddir)/lustre/osc/libosc.a \
14 $(top_builddir)/lustre/mdc/libmdc.a \
15 $(top_builddir)/lustre/ptlrpc/libptlrpc.a \
16 $(top_builddir)/lustre/obdclass/liblustreclass.a \
17 $(top_builddir)/lustre/lvfs/liblvfs.a
20 PTL_LIBS = $(top_builddir)/portals/utils/libuptlctl.a \
21 $(top_builddir)/portals/unals/libtcpnal.a \
22 $(top_builddir)/portals/portals/libportals.a
24 PTL_LIBS = $(top_builddir)/portals/utils/libuptlctl.a \
25 $(CRAY_PORTALS_PATH)/lib_TV/snos64/libportals.a
28 SYSIO_LIBS = $(SYSIO)/lib/libsysio.a
31 lib_LIBRARIES = liblustre.a
32 noinst_LIBRARIES = liblutils.a libllite.a
34 install-exec-hook: liblustre.so
36 $(mkinstalldirs) $(DESTDIR)$(libdir)
37 @list=$< ; for p in $$list; do \
38 if test -f $$p; then \
39 f="`echo $$p | sed -e 's|^.*/||'`"; \
40 echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \
41 $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \
48 liblutils_a_SOURCES = lutil.c lutil.h
50 libllite_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c \
53 # for make rpms -- need cleanup
54 liblustre_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c
56 liblustre.a : $(LUSTRE_LIBS) $(PTL_LIBS) $(SYSIO_LIBS)
57 sh $(srcdir)/genlib.sh $(SYSIO) $(CRAY_PORTALS_PATH)
59 EXTRA_DIST = genlib.sh
61 CLEANFILES := liblsupport.a liblustre.so