[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool compilation of files

From: Ognyan Kulev
Subject: libtool compilation of files
Date: Wed, 22 Oct 2003 22:33:31 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031020 Debian/1.5-1


I'm using automake 1.7.8 and libtool 1.5. My (somewhat long) is:

(In short, memory_objectServer.c and notifyServer.c are generated files that must not be distributed, i.e. put in _SOURCES.)


libe3pager_la_SOURCES = \
        data-request.c data-return.c data-unlock.c pager-port.c \
        inhibit-term.c lock-completed.c lock-object.c mark-error.c \
        no-senders.c object-init.c object-terminate.c pagemap.c \
        pager-create.c pager-flush.c pager-shutdown.c pager-sync.c \
        stubs.c seqnos.c demuxer.c chg-compl.c pager-attr.c clean.c \
        dropweak.c notify-stubs.c get-upi.c pager-memcpy.c pager-return.c \
        offer-page.c \
include_HEADERS = e3pager.h
libe3pager_la_LDFLAGS = -version-info 0:0:0
libe3pager_la_LIBADD = memory_objectServer.o notifyServer.o
BUILT_SOURCES = memory_object_S.h notify_S.h

MIGCOM = $(MIG) -cc cat - /dev/null
MIGCOMSFLAGS = -prefix _pager_

%_S.h %Server.c: %.sdefsi
                    -sheader $*_S.h -server $*Server.c \
                    -user /dev/null -header /dev/null < $<

%.sdefsi: %.defs
        $(CPP) -x c $(CPPFLAGS) $(MIGSFLAGS) -DSERVERPREFIX=S_ $< -o $@
%.udefsi: %.defs
        $(CPP) -x c $(CPPFLAGS) $(MIGUFLAGS) $< -o $@
%_U.h %User.c: %.udefsi
                  -user $*User.c -server /dev/null -header $*_U.h

vpath %.defs /include/mach

My problem is that the following message is generated during linking:

*** Warning: Linking the shared library against the non-libtool
*** objects  memory_objectServer.o notifyServer.o is not portable!

How can I avoid it?

Ognyan Kulev <address@hidden,,}>
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782

reply via email to

[Prev in Thread] Current Thread [Next in Thread]