From: zab Date: Thu, 22 May 2003 18:26:20 +0000 (+0000) Subject: get utils/ building X-Git-Tag: v1_7_100~1^90~53 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d7ca0081e7b26c889cb75c6ad4ede9ccaa978ac4;p=fs%2Flustre-release.git get utils/ building - use 2.5's nice shared lib helpers to build libptlctl --- 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@