From 195da67d13427dfccc7c280cc79c89bfd66d3593 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 14 Dec 2008 08:38:58 +0000 Subject: [PATCH] added -no-undefined to makefile.am - libtool, without -no-undefined, doesn't not build a shared library on win32. --- ase/lib/awk/makefile.am | 8 ++++---- ase/lib/awk/makefile.in | 8 ++++---- ase/lib/cmn/makefile.am | 2 +- ase/lib/cmn/makefile.in | 2 +- ase/lib/lsp/makefile.am | 2 +- ase/lib/lsp/makefile.in | 2 +- ase/lib/tgp/makefile.am | 2 +- ase/lib/tgp/makefile.in | 2 +- ase/lib/utl/makefile.am | 3 ++- ase/lib/utl/makefile.in | 5 +++-- 10 files changed, 19 insertions(+), 17 deletions(-) diff --git a/ase/lib/awk/makefile.am b/ase/lib/awk/makefile.am index be259b39..a217f7da 100644 --- a/ase/lib/awk/makefile.am +++ b/ase/lib/awk/makefile.am @@ -5,12 +5,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libaseawk.la libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h -libaseawk_la_LDFLAGS= -L../cmn -version-info 1:0:0 -libaseawk_la_LIBADD= -lasecmn +libaseawk_la_LDFLAGS= -L../cmn -L../utl -version-info 1:0:0 -no-undefined +libaseawk_la_LIBADD= -lasecmn -laseutl if ENABLE_CXX lib_LTLIBRARIES += libaseawk++.la libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp -libaseawk___la_LDFLAGS = -L. -version-info 1:0:0 -libaseawk___la_LIBADD = -laseawk +libaseawk___la_LDFLAGS = -L. -L../cmn -L../utl -version-info 1:0:0 -no-undefined +libaseawk___la_LIBADD = -laseawk -lasecmn -laseutl endif diff --git a/ase/lib/awk/makefile.in b/ase/lib/awk/makefile.in index 7f6d451d..05336543 100644 --- a/ase/lib/awk/makefile.in +++ b/ase/lib/awk/makefile.in @@ -219,11 +219,11 @@ AUTOMAKE_OPTIONS = nostdinc AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libaseawk.la $(am__append_1) libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h -libaseawk_la_LDFLAGS = -L../cmn -version-info 1:0:0 -libaseawk_la_LIBADD = -lasecmn +libaseawk_la_LDFLAGS = -L../cmn -L../utl -version-info 1:0:0 -no-undefined +libaseawk_la_LIBADD = -lasecmn -laseutl @ENABLE_CXX_TRUE@libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp -@ENABLE_CXX_TRUE@libaseawk___la_LDFLAGS = -L. -version-info 1:0:0 -@ENABLE_CXX_TRUE@libaseawk___la_LIBADD = -laseawk +@ENABLE_CXX_TRUE@libaseawk___la_LDFLAGS = -L. -L../cmn -L../utl -version-info 1:0:0 -no-undefined +@ENABLE_CXX_TRUE@libaseawk___la_LIBADD = -laseawk -lasecmn -laseutl all: all-am .SUFFIXES: diff --git a/ase/lib/cmn/makefile.am b/ase/lib/cmn/makefile.am index 1201ba50..06e6f7b0 100644 --- a/ase/lib/cmn/makefile.am +++ b/ase/lib/cmn/makefile.am @@ -8,5 +8,5 @@ libasecmn_la_SOURCES = mem.h chr.h \ lda.c map.c sll.c dll.c opt.c \ fio.c sio.c tio.c tio_get.c tio_put.c \ misc.c -libasecmn_la_LDFLAGS = -version-info 1:0:0 +libasecmn_la_LDFLAGS = -version-info 1:0:0 -no-undefined diff --git a/ase/lib/cmn/makefile.in b/ase/lib/cmn/makefile.in index afdb1f2a..586300a3 100644 --- a/ase/lib/cmn/makefile.in +++ b/ase/lib/cmn/makefile.in @@ -206,7 +206,7 @@ libasecmn_la_SOURCES = mem.h chr.h \ fio.c sio.c tio.c tio_get.c tio_put.c \ misc.c -libasecmn_la_LDFLAGS = -version-info 1:0:0 +libasecmn_la_LDFLAGS = -version-info 1:0:0 -no-undefined all: all-am .SUFFIXES: diff --git a/ase/lib/lsp/makefile.am b/ase/lib/lsp/makefile.am index b7c7e766..47852e13 100644 --- a/ase/lib/lsp/makefile.am +++ b/ase/lib/lsp/makefile.am @@ -6,5 +6,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libaselsp.la libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h -libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 +libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined libaselsp_la_LIBADD = -lasecmn diff --git a/ase/lib/lsp/makefile.in b/ase/lib/lsp/makefile.in index 651461fd..4ed61f0b 100644 --- a/ase/lib/lsp/makefile.in +++ b/ase/lib/lsp/makefile.in @@ -201,7 +201,7 @@ AUTOMAKE_OPTIONS = nostdinc AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libaselsp.la libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h -libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 +libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined libaselsp_la_LIBADD = -lasecmn all: all-am diff --git a/ase/lib/tgp/makefile.am b/ase/lib/tgp/makefile.am index 84d4c223..cdf8a21f 100644 --- a/ase/lib/tgp/makefile.am +++ b/ase/lib/tgp/makefile.am @@ -6,5 +6,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libasetgp.la libasetgp_la_SOURCES = tgp.c -libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 +libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined libasetgp_la_LIBADD = -lasecmn diff --git a/ase/lib/tgp/makefile.in b/ase/lib/tgp/makefile.in index b03f0fd4..b77290a9 100644 --- a/ase/lib/tgp/makefile.in +++ b/ase/lib/tgp/makefile.in @@ -199,7 +199,7 @@ AUTOMAKE_OPTIONS = nostdinc AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libasetgp.la libasetgp_la_SOURCES = tgp.c -libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 +libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined libasetgp_la_LIBADD = -lasecmn all: all-am diff --git a/ase/lib/utl/makefile.am b/ase/lib/utl/makefile.am index 86dbf0c2..807fb030 100644 --- a/ase/lib/utl/makefile.am +++ b/ase/lib/utl/makefile.am @@ -3,4 +3,5 @@ AM_CFLAGS = -I$(top_builddir)/include lib_LTLIBRARIES = libaseutl.la libaseutl_la_SOURCES = assert.c http.c main.c stdio.c -libaseutl_la_LDFLAGS = -version-info 1:0:0 +libaseutl_la_LDFLAGS = -version-info 1:0:0 -no-undefined -L../cmn +libaseutl_la_LIBADD = -lasecmn diff --git a/ase/lib/utl/makefile.in b/ase/lib/utl/makefile.in index 761738f5..13ab948a 100644 --- a/ase/lib/utl/makefile.in +++ b/ase/lib/utl/makefile.in @@ -50,7 +50,7 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) -libaseutl_la_LIBADD = +libaseutl_la_DEPENDENCIES = am_libaseutl_la_OBJECTS = assert.lo http.lo main.lo stdio.lo libaseutl_la_OBJECTS = $(am_libaseutl_la_OBJECTS) libaseutl_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ @@ -198,7 +198,8 @@ top_srcdir = @top_srcdir@ AM_CFLAGS = -I$(top_builddir)/include lib_LTLIBRARIES = libaseutl.la libaseutl_la_SOURCES = assert.c http.c main.c stdio.c -libaseutl_la_LDFLAGS = -version-info 1:0:0 +libaseutl_la_LDFLAGS = -version-info 1:0:0 -no-undefined -L../cmn +libaseutl_la_LIBADD = -lasecmn all: all-am .SUFFIXES: