Re: [Anjuta-list] Problem with a library
- From: Naba Kumar <naba kumar gmail com>
- To: Johannes Schmid <johannes schmid gmx de>
- Cc: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] Problem with a library
- Date: Thu, 19 Apr 2007 13:48:04 +0300
On Wed, 2007-04-18 at 12:31 +0200, Johannes Schmid wrote:
> Hi!
>
> There is no automake way to do this (yet) as the "includedir" target
> type is not yet supported by gnome-build.
>
> Please refer to the automake documentation or simply look at an existing
> Makefile.am for some library, it's not really difficult.
>
I think the way it is done is to use the HEADERS primary. So you have
something like:
noinst_HEADERS = a.h b.h (not installed)
or
include_HEADERS = a.h b.h (installs in /usr/include)
or
pkginclude_HEADERS = a.h b.h (installs in /usr/include/<package>)
or
myincludesdir = $(prefix)/include/myprog (installs in custom path)
myincludes_HEADERS = a.h b.h
I am not sure if the variables should be added in EXTRA_DIST also for
distribution.
gnome-build *does* have a support for HEADERS primaries, but the UIs
don't seem to have it. I guess it shouldn't be that difficult to fix
gbf-am-project.c for that.
Thanks.
Regards,
-Naba
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]