[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to avoid installation of libraries?
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       2000-01-25 11:26:46
[Download RAW message or body]

Am Tue, 25 Jan 2000 schrieb Thorsten Westheider:
> Hi,
> 
> I wonder how to avoid installation of libraries that I
> only build for convenience reasons.
> For example, I have several sub directories each building
> a different binary but all of them having some code in 
> common. The common code is fairly small and in most cases
> only one of the executables is running.
> So I decided to put the common code into an archive
> that each executable is linked with statically.
> The problem arising now is, that this archive (let's call
> it x.la for now) is installed in $KDEDIR/lib which is,
> of course, not my intention.
> 
> My Makefile.am for the library looks like this:
> 
> INCLUDES         = -I$(QTDIR)
> 
> lib_LTLIBRARIES  = x.la

change this to 

noinst_LTLIBRARIES = x.la


That's it.

Ciao,
Michael
 
> x_la_SOURCES     = <lots of .cpp's>
>   
> noinst_HEADERS   = <lots of .h's>
> 
> x_la_LDFLAGS     = -version-info 1:0:0 $(X_LDFLAGS) $(QT_LDFLAGS)
> $(USER_LDFLAGS)
> x_la_LIBADD      =
> 
> Is there any way to avoid installation?
> 	
> 	cu
> 	  Thorsten
> 	
> -- 
> Dipl.-Phys. Thorsten Westheider     / /  (_)__  __ ____  __    
> Im Schlingen 15                    / /__/ / _ \/ // /\ \/ /   
> 32120 Hiddenhausen -- Germany     /____/_/_//_/\_,_/ /_/\_\
>                                                      2.2.14
> mailto:thorsten.westheider@teleos-web.de
-- 
koch@kde.org, m_koch@bigfoot.de
http://heaven.riednet.wh.tu-darmstadt.de/~mkoch

Don't bother Core-developers with bug-mails when you know the right fix ....
But do you know the right fix ?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic