From 5fe9c9cbc9bee3718441b310cbccc30d548010cb Mon Sep 17 00:00:00 2001 From: Romain Chantereay Date: Tue, 7 Sep 2004 14:29:40 +0000 Subject: Another way to test, ugly, but safe. --- java/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'java') diff --git a/java/Makefile.am b/java/Makefile.am index 512ebc8e..0e746b30 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -7,16 +7,21 @@ javalibdir = $(prefix)/lib/java javasharedir = $(prefix)/share/java # Shared library. +if MINGW javalib_LTLIBRARIES = jlasso.la +else +javalib_LTLIBRARIES = libjlasso.la +endif jlasso_la_SOURCES = lasso_wrap.c jlasso_la_CFLAGS = $(JDK_INCLUDES) $(LASSO_CFLAGS) -I$(top_srcdir) jlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) -if MINGW jlasso_la_LDFLAGS = -no-undefined -avoid-version -module -else -jlasso_la_LDFLAGS = -no-undefined -avoid-version -endif + +libjlasso_la_SOURCES = lasso_wrap.c +libjlasso_la_CFLAGS = $(JDK_INCLUDES) $(LASSO_CFLAGS) -I$(top_srcdir) +libjlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) +libjlasso_la_LDFLAGS = -no-undefined -avoid-version -module javashare_DATA = lasso.jar -- cgit