From f39abeda9464e033e1176ad9be30b258266b7cae Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 4 Mar 2003 10:00:10 +0000 Subject: [PATCH] fix make rpms, at least for me. - new configure option: --enable-efence: turns on -lefence support for liblustre This option is OFF by default, so rpms will build on a machine that doesn't have efence-devel. - add liblustre to DIST_SUBDIRS --- lustre/liblustre/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/liblustre/Makefile.am b/lustre/liblustre/Makefile.am index c761a22..665295e 100644 --- a/lustre/liblustre/Makefile.am +++ b/lustre/liblustre/Makefile.am @@ -4,14 +4,14 @@ DEFS= CFLAGS:=-g -O2 -I$(top_srcdir)/utils -I$(PORTALS)/include -I$(srcdir)/../include -Wall -L$(PORTALSLIB) KFLAGS:= -CPPFLAGS = $(HAVE_LIBREADLINE) -LIBS= +CPPFLAGS = $(HAVE_EFENCE) +LIBS = $(LIBEFENCE) LLIBS= ../lov/liblov.a ../obdecho/libobdecho.a ../osc/libosc.a ../ldlm/libldlm.a ../ptlrpc/libptlrpc.a ../obdclass/liblustreclass.a libtest_LDADD := $(LIBREADLINE) $(LLIBS) \ $(PORTALS)/user/procbridge/libprocbridge.a $(PORTALS)/user/tcpnal/libtcpnal.a \ - $(PORTALS)/user/util/libtcpnalutil.a $(PORTALS)/user/$(PORTALS)/api/libptlapi.a \ - $(PORTALS)/lib/libptllib.a -lptlctl -lpthread -lefence + $(PORTALS)/user/util/libtcpnalutil.a $(PORTALS)/api/libptlapi.a \ + $(PORTALS)/lib/libptllib.a -lptlctl -lpthread bin_PROGRAMS = libtest libtest_SOURCES = libtest.c -- 1.8.3.1