Permalink
Browse files

review of infrastructure

  • Loading branch information...
1 parent dd3e4ce commit 0e3f113c1cc39cc4f1796baa971a4cf0c3e71b6c @marcomaggi committed Dec 27, 2011
Showing with 9 additions and 4 deletions.
  1. +3 −2 configure.ac
  2. +2 −2 lapack/Makefile.am
  3. +4 −0 lapacke/Makefile.am
View
@@ -3,8 +3,6 @@ AC_PREREQ(2.68)
AC_INIT([atlapack],[0.1.0],[marco.maggi-ipsu@poste.it])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
-LT_PREREQ([2.2])
-LT_INIT
AC_CONFIG_SRCDIR([lapack/])
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
@@ -18,6 +16,9 @@ AC_ARG_ENABLE([xblas],
esac],[USEXBLAS=false])
AM_CONDITIONAL([USEXBLAS],[test X$USEXBLAS = xtrue])
+LT_PREREQ([2.2])
+LT_INIT
+LT_LANG([Fortran 77])
AC_LANG([Fortran 77])
dnl Checks for programs.
View
@@ -684,9 +684,9 @@ lib_LTLIBRARIES = liblapack.la
liblapack_la_LDFLAGS = -version-info 1:0:0
if USEXBLAS
-liblapack_la_SOURCES = $(ALLOBJ)
-else
liblapack_la_SOURCES = $(ALLOBJ) $(ALLXOBJ)
+else
+liblapack_la_SOURCES = $(ALLOBJ)
endif
# .o.f:
View
@@ -2222,6 +2222,10 @@ XBLAS_SRC_SOURCES = \
lib_LTLIBRARIES = liblapacke.la
liblapacke_la_LDFLAGS = -version-info 1:0:0
liblapacke_la_LIBADD = ../lapack/liblapack.la
+if USEXBLAS
+liblapacke_la_SOURCES = $(SRC_SOURCES) $(UTILS_SOURCES) $(XBLAS_SRC_SOURCES)
+else
liblapacke_la_SOURCES = $(SRC_SOURCES) $(UTILS_SOURCES)
+endif
### end of file

0 comments on commit 0e3f113

Please sign in to comment.