EXTRA_DIST = Rules.linux archdep.m4 MCP
DIST_SUBDIRS = libcfs portals knals unals utils tests doc router
+if LIBLUSTRE
+SUBDIRS = portals unals utils
+else
SUBDIRS = libcfs portals knals unals utils tests doc router
+endif
AC_MSG_RESULT($host_cpu)
KCFLAGS='-g -Wall '
KCPPFLAGS='-D__arch_lib__ '
+ AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
+ libdir='${exec_prefix}/lib/lustre'
MOD_LINK=elf_i386
;;
um )
CPPFLAGS="$KINCFLAGS $KCPPFLAGS $MFLAGS "
AC_SUBST(MOD_LINK)
-AC_SUBST(LINUX25)
\ No newline at end of file
+AC_SUBST(LINUX25)
AC_SUBST(LIBEFENCE)
AC_SUBST(HAVE_LIBEFENCE)
-AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
-AC_MSG_CHECKING(if you are building lib lustre)
-if test "$host_cpu" = "lib"; then
- AC_MSG_RESULT(yes)
- libdir='${exec_prefix}/lib/lustre'
-else
- AC_MSG_RESULT(no)
-fi
-
# end -------- Kernel build environment. -----------------
EXTRA_DIST = Rules.linux archdep.m4 MCP
DIST_SUBDIRS = libcfs portals knals unals utils tests doc router
+if LIBLUSTRE
+SUBDIRS = portals unals utils
+else
SUBDIRS = libcfs portals knals unals utils tests doc router
+endif
AC_MSG_RESULT($host_cpu)
KCFLAGS='-g -Wall '
KCPPFLAGS='-D__arch_lib__ '
+ AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
+ libdir='${exec_prefix}/lib/lustre'
MOD_LINK=elf_i386
;;
um )
CPPFLAGS="$KINCFLAGS $KCPPFLAGS $MFLAGS "
AC_SUBST(MOD_LINK)
-AC_SUBST(LINUX25)
\ No newline at end of file
+AC_SUBST(LINUX25)
AC_SUBST(LIBEFENCE)
AC_SUBST(HAVE_LIBEFENCE)
-AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
-AC_MSG_CHECKING(if you are building lib lustre)
-if test "$host_cpu" = "lib"; then
- AC_MSG_RESULT(yes)
- libdir='${exec_prefix}/lib/lustre'
-else
- AC_MSG_RESULT(no)
-fi
-
# end -------- Kernel build environment. -----------------