Whamcloud - gitweb
b=2421
[fs/lustre-release.git] / lnet / configure.in
1 # This version is here to make autoconf happy; the name is a file which is
2 # "unique" to this directory so that configure knows where it should run.
3 AC_INIT(knals/Makefile.am, 3.0)
4 AC_CANONICAL_SYSTEM
5 # Copyright (C) 2001  Cluster File Systems, Inc.
6 #
7 # This code is issued under the GNU General Public License.
8 # See the file COPYING in this distribution
9
10 # Automake variables.  Steal the version number from packaging/intersync.spec
11 AM_INIT_AUTOMAKE(portals, builtin([esyscmd], [sed -ne '/.*define IVERSION /{ s/.*IVERSION //; p; }' libcfs/module.c]))
12 # AM_MAINTAINER_MODE
13
14 sinclude(build.m4)
15 sinclude(archdep.m4)
16
17 if test x$enable_inkernel = xyes ; then
18 cp Kernelenv.mk Kernelenv.in
19 cp Makefile.mk Makefile.in
20 cp libcfs/Makefile.mk libcfs/Makefile.in
21 cp portals/Makefile.mk portals/Makefile.in
22 cp knals/Makefile.mk knals/Makefile.in
23 cp knals/socknal/Makefile.mk knals/socknal/Makefile.in
24 cp router/Makefile.mk router/Makefile.in
25 fi
26
27 AM_CONFIG_HEADER(include/config.h)
28
29 AC_OUTPUT([Makefile Kernelenv libcfs/Makefile portals/Makefile \
30           unals/Makefile knals/Makefile router/Makefile \
31           knals/socknal/Makefile knals/gmnal/Makefile knals/qswnal/Makefile \
32           knals/scimacnal/Makefile knals/ibnal/Makefile\
33           utils/Makefile tests/Makefile doc/Makefile ])
34