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

List:       kde-devel
Subject:    Re: Updating a Makefile.am
From:       Alexander Dymo <adymo () kdevelop ! org>
Date:       2004-10-29 21:44:56
Message-ID: 200410300044.57001.adymo () kdevelop ! org
[Download RAW message or body]

On Friday 29 October 2004 19:40, David Faure wrote:
> > a) KDevelop, when adding a new class, adds the source file to _SOURCES,
> > of course, but the header is added in noinst_HEADERS. Both the howto, and
> > the manual, say that they should be added to AM_CPPFLAGS (indeed, they
> > are because $(all_includes) ). It's a minor bug in KDevelop, or it acts
> > this way because a justified reason?
> You're confusing headers that you wrote yourself, and headers that you use.
> Headers that you wrote yourself can go in noinst_HEADERS, or you can omit
> them completely. For headers that you want to use, you need a -I directive
> in AM_CPPFLAGS indeed.
KDevelop must have headers included somewhere in makefile.ams in order
to parse them. Any header file not already in noinst_HEADERS will be added
there automatically by KDevelop automake manager (it doesn't write to
Makefile.am, just adds headers in GUI).

-- 
Alexander Dymo
ICST Department, National University of Shipbuilding, Mykolayiv, Ukraine
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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