Compilation with srcdir != builddir
mikelima at cirulla.net
Fri Mar 11 15:31:47 GMT 2005
El Viernes 11 Marzo 2005 16:27, David Faure escribió:
> On Friday 11 March 2005 16:23, Luciano Montanaro wrote:
> > In this case, shouldn't the INCLUDE line in kjs/Makefile.am
> > INCLUDES = -I$(top_srcdir) $(PCRECFLAGS) $(all_includes)
> > read
> > INCLUDES = -I$(top_srcdir) -I$(top_builddir) $(PCRECFLAGS)
> > $(all_includes)
> > instead? Otherwise, the generated global.h file will not be found.
> > I've not tested with kdelibs sources, actually, I noticed this while
> > experimenting with kdenox.
> top_builddir is also known as ".", and -I. is automatically part of
> $(all_includes). This works fine in kdelibs, so this must be a kdenox
Ok, thanks. Yes, it's a problem with kdenox because kjs is a directory two
levels under "." (kdesrc/kjs).
Any sufficiently advanced technology is indistinguishable from a yo-yo
- Enoch Root
More information about the kde-core-devel