Re: configure --disable-static?

Kaz Sasayama (Kaz.Sasayama@hypercore.co.jp)
08 May 1998 15:59:02 +0900

How about this, or making shared libsanei?

>>>>> On Tue, 5 May 1998 21:18:39 -0700, David Mosberger-Tang <David.Mosberger@acm.org> said:

DM> This really is a problem with libtool. It currently does not provide
DM> a means to _force_ generating both .o and .lo files, which is
DM> necessary for SANE as some files are used both as shared objects (in
DM> libsane*.so) and as normal objects (in the frontends).

DM> If libtool gets fixed, it would be easy to make SANE work with
DM> --disable-static.

--- sanei/Makefile.in 1998-05-08 15:38:53+09 1.1
+++ sanei/Makefile.in 1998-05-08 15:43:57+09
@@ -51,12 +51,14 @@
sanei_save_values.lo sanei_load_values.lo \
sanei_scsi.lo sanei_config.lo sanei_pio.lo

-TARGETS = libsanei.a
+TARGETS = $(LIBSANEI_LTOBJS) libsanei.a
TESTPROGRAMS = test_wire

.SUFFIXES:
-.SUFFIXES: .c .o
+.SUFFIXES: .c .lo .o
.c.o:
+ $(COMPILE) $<
+.c.lo:
@$(LIBTOOL) $(MCOMP) $(COMPILE) $<

all: $(TARGETS)

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com