Ignore:
Timestamp:
Apr 14, 2009, 12:33:37 AM (13 years ago)
Author:
Peter
Message:

Removed dependency to cblas in libyat. There are three new make
variables: YAT_LIBS, YAT_LIBS_WITHOUT_CLAS and YAT_CBLAS_LIB.

  • The variable YAT_LIBS is created as follows: First the LIBS provided

by user is saved (most often empty). Then when detecting libs, they
are added to the variable LIBS and in the end of the configure run
YAT_LIBS is created as the difference between LIBS and the original
LIBS.

  • YAT_CLAS_LIB is detected as before.
  • YAT_LIBS_WITHOUT_CLAS is copied from YAT_LIBS but ignoring YAT_CLAS_LIB

I also changed the name of some variables to make the code clearer (I
hope). The prefix INTERNAL_ is used for flags that should only be used
when building yat and not needed for a user building against
yat. Flags that should be propagated have no prefix, for example,
CPPFLAGS.

In the end of configure these flags are used to create YAT_CPPFLAGS
using the same mechanism as when creating YAT_LIBS.

In the last step variables such as AM_CPPFLAGS is created as the
'union' of YAT_CPPFLAGS and INTERNAL_CPPFLAGS and these are propagated
to the Makefiles where they are used by Automake generated rules.

refs #518

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r1878 r1892  
    8282EXTRA_DIST = $(DISTRIBUTED_TESTS)
    8383
    84 LDADD = $(top_builddir)/$(YAT_LIB_LOCATION)/libyat.la libyattest.la
     84LDADD = $(top_builddir)/$(YAT_LIB_LOCATION)/libyat.la libyattest.la $(YAT_LIBS)
    8585
    8686libyattest_la_SOURCES = Suite.cc
Note: See TracChangeset for help on using the changeset viewer.