--- src/Makefile.am.orig 2007-05-02 15:28:49.000000000 +0200 +++ src/Makefile.am 2007-05-02 15:28:56.000000000 +0200 @@ -65,16 +65,21 @@ pcre_maketables_stub.c pcre_pcreposix_stub.c pcre_get_stub.c \ pcre_plugin_stub.cpp filescanner_stub.cpp filescanner_plugin_stub.cpp +libyacas_la_LIBADD = @LIBLTDL@ + libcyacas_la_SOURCES = cyacas.cpp +libcyacas_la_LIBADD = libyacasplatform.la libyacasnumbers.la -lstdc++ libyacasplatform_la_SOURCES = platmath.cpp grower.cpp stdstubs.cpp obmalloc.cpp lisphash.cpp \ lispstring.cpp mathutil.cpp yacasbase.cpp debugmem.cpp libyacasplatform_la_DEPENDENCIES= fastprimes.c +libyacasplatform_la_LIBADD = -lm ## The -rpath flag is not added automatically because lib*numbers is listed in EXTRA_LTLIBRARIES, ## so automake does not know in what directory it is installed. libyacasnumbers_la_SOURCES = anumber.cpp yacasnumbers.cpp numbers.cpp libyacasnumbers_la_LDFLAGS = -rpath $(libdir) +libyacasnumbers_la_LIBADD = libyacas.la libgmpnumbers_la_SOURCES = gmpnumbers.cpp numbers.cpp libgmpnumbers_la_LDFLAGS = -rpath $(libdir)