From c160c6553cb50768285b002a7d1a8721c63a786a Mon Sep 17 00:00:00 2001 From: zab Date: Fri, 19 Mar 2004 18:42:43 +0000 Subject: [PATCH] - get liblustre building with automake-recent --- lustre/liblustre/Makefile.am | 8 ++++---- lustre/liblustre/tests/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/liblustre/Makefile.am b/lustre/liblustre/Makefile.am index 66d7bf5..b87f90b 100644 --- a/lustre/liblustre/Makefile.am +++ b/lustre/liblustre/Makefile.am @@ -3,8 +3,8 @@ DEFS= SUBDIRS = . tests -CFLAGS := -g -Wall -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include \ - -I$(top_srcdir)/portals/unals -I$(SYSIO)/include +LL_CFLAGS = -g -Wall -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include \ + -I$(top_srcdir)/portals/unals -I$(SYSIO)/include -fPIC CPPFLAGS = $(HAVE_EFENCE) -D_LARGEFILE64_SOURCE=1 LIBS = $(LIBEFENCE) @@ -31,11 +31,11 @@ lib_LIBRARIES = liblustre.a noinst_LIBRARIES = libllite.a libllite_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c -libllite_a_CFLAGS = -fPIC +libllite_a_CFLAGS = $(LL_CFLAGS) # for make rpms -- need cleanup liblustre_a_SOURCES = llite_lib.c super.c namei.c rw.c file.c dir.c -liblustre_a_CFLAGS = -fPIC +liblustre_a_CFLAGS = $(LL_CFLAGS) liblustre.a : $(LUSTRE_LIBS) $(PTL_LIBS) $(SYSIO_LIBS) $(shell ./genlib.sh $(SYSIO) $(AR) $(LINK)) diff --git a/lustre/liblustre/tests/Makefile.am b/lustre/liblustre/tests/Makefile.am index 150678a..77d62b2 100644 --- a/lustre/liblustre/tests/Makefile.am +++ b/lustre/liblustre/tests/Makefile.am @@ -1,7 +1,7 @@ ## Liblustre excecutables & libraries Makefile DEFS= -CFLAGS := -g -Wall -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include \ +AM_CFLAGS := -g -Wall -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include \ -I$(top_srcdir)/portals/unals -I$(SYSIO)/include \ -I/opt/lam/include -L/opt/lam/lib -- 1.8.3.1