automake
[Top][All Lists]
Advanced

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

Re: Makefile.am assistance


From: Ralf Wildenhues
Subject: Re: Makefile.am assistance
Date: Fri, 19 Oct 2007 20:33:12 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

* NightStrike wrote on Tue, Oct 16, 2007 at 10:42:55PM CEST:
> I am trying to build a Makefile.am file "correctly".  This is what I
> have so far:
> 
> http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/experimental/buildsystem/Makefile.am?revision=137&view=markup
> 
> Some issues that I've noted include installing all libraries as
> executables instead of 644 (due to using _SCRIPTS for more than its
> intended purpose) and the install target runs ranlib again for some
> reason.  Does anyone have any suggestions on how to make this a
> "better" Makefile.am?

| # These targets require special handling that automake can't
| # yet support (or that I don't know how to do properly)
| crtdir=$(prefix)/$(target)/lib
| crt_SCRIPTS = \
|   crt1.o crt2.

There is nothing inherently wrong with defining ones own directories.
You can even use crt_DATA here, to have mode 644.  Note that shared
libraries should in general be executable though.

Cheers,
Ralf




reply via email to

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