From d7ca0081e7b26c889cb75c6ad4ede9ccaa978ac4 Mon Sep 17 00:00:00 2001 From: zab Date: Thu, 22 May 2003 18:26:20 +0000 Subject: [PATCH] get utils/ building - use 2.5's nice shared lib helpers to build libptlctl --- lnet/Kernelenv.in | 1 + lustre/Makefile.mk | 3 +++ lustre/portals/Kernelenv.in | 1 + 3 files changed, 5 insertions(+) diff --git a/lnet/Kernelenv.in b/lnet/Kernelenv.in index c47702f..0be4a5b 100644 --- a/lnet/Kernelenv.in +++ b/lnet/Kernelenv.in @@ -1,2 +1,3 @@ EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include HOSTCFLAGS := $(EXTRA_CFLAGS) +LIBREADLINE := @LIBREADLINE@ diff --git a/lustre/Makefile.mk b/lustre/Makefile.mk index 729bdf9..502c5ec 100644 --- a/lustre/Makefile.mk +++ b/lustre/Makefile.mk @@ -8,3 +8,6 @@ obj-y += obdclass/ obj-y += obdecho/ obj-y += mds/ obj-y += lib/ + +# portals needs to be before utils/, which links against -lptlctl +obj-m += utils/ diff --git a/lustre/portals/Kernelenv.in b/lustre/portals/Kernelenv.in index c47702f..0be4a5b 100644 --- a/lustre/portals/Kernelenv.in +++ b/lustre/portals/Kernelenv.in @@ -1,2 +1,3 @@ EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include HOSTCFLAGS := $(EXTRA_CFLAGS) +LIBREADLINE := @LIBREADLINE@ -- 1.8.3.1