Mutual dependency in kio/{kio,misc}

David Faure david at mandrakesoft.com
Fri Apr 19 07:30:43 BST 2002


On Friday 19 April 2002 00:56, Adriaan de Groot wrote:
> I'm having trouble building kdelibs/kio -- admittedly with BSD make and my 
> am_edit patches -- because of the following:
> 
> - kio/misc contains uiserver.h, from which uiserver_skel and _stub are to be 
> made.
> 
> - kio/kio contains observer.h, from which observer_skel and _stub need to be 
> made.
> 
> Thing is, these two need each other:
> 
> bash-2.05$ grep uiserver_ kio/*.cpp
> kio/observer.cpp:#include "uiserver_stub.h"
> 
> bash-2.05$ grep observer_ misc/*.cpp
> misc/uiserver.cpp:#include "observer_stub.h"
> 
> Is this intentional? How does gmake deal with this? 

Making all in kio
/mnt/devel/kde/kdecvs/build/kdelibs/kio/kio
make[1]: Entering directory `/mnt/big/build/kdelibs/kio/kio'
/mnt/devel/kde/kdecvs/qt-copy/bin/moc /mnt/devel/kde/kdecvs/kdelibs/kio/kio/kshred.h -o kshred.moc
../../dcop/dcopidl/dcopidl /mnt/devel/kde/kdecvs/kdelibs/kio/kio/observer.h > observer.kidl || ( rm -f observer.kidl ; /bin/false )
../../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-skel observer.kidl
../../dcop/dcopidl/dcopidl /mnt/devel/kde/kdecvs/kdelibs/kio/kio/kdirnotify.h > kdirnotify.kidl || ( rm -f kdirnotify.kidl ; /bin/false )
../../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-skel kdirnotify.kidl
../../dcop/dcopidl/dcopidl /mnt/devel/kde/kdecvs/kdelibs/kio/misc/uiserver.h > uiserver.kidl || ( rm -f uiserver.kidl ; /bin/false )
../../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-skel uiserver.kidl

One can get _stub.h files for a .h in another directory,
that's what uiserver_DIR = $(top_srcdir)/kio/misc is for.

-- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today






More information about the kde-core-devel mailing list