Hi all, I have a little problem that maybe some of you already faced. I'm developing a test suite for my library and I wrote some libtool test modules which I wish to build with automake. The problem is that using check_LTLIBRARIES or noinst_LTLIBRARIES dynamic modules are not built, but only static libraries instead (while with any other prefix it works). How can I overcome this?
Here the Makefile.am: MODFLAGS = "-module" INCLUDES = -I$(top_srcdir)/include @INCLTDL@ AM_CPPFLAGS = -DTESTSDIR=\"`pwd`\" TESTS = lists dynarrays dl check_PROGRAMS = $(TESTS) lists_LDADD = ../lib/libnasprocore.la dynarrays_LDADD = ../lib/libnasprocore.la dl_LDADD = ../lib/libnasprocore.la @LIBLTDL@ noinst_LTLIBRARIES = famod1.la goodmod.la famod1_la_SOURCES = famod1.c famod1_la_LDFLAGS = $(MODFLAGS) goodmod_la_SOURCES = goodmod.c goodmod_la_LDFLAGS = $(MODFLAGS) Thanks in advance, Stefano