am_edit and ui dependencies
John Firebaugh
jfirebaugh at kde.org
Thu Aug 22 03:40:09 BST 2002
I have trouble lately compiling files which include ui-generated header files:
make[1]: Entering directory `/home/john/src/kde/kdebase/kcontrol/background'
source='backgnd.cpp' object='backgnd.lo' libtool=yes \
depfile='.deps/backgnd.Plo' tmpdepfile='.deps/backgnd.TPlo' \
depmode=gcc /bin/sh /home/john/src/kde/kdebase/admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I/ho
me/john/src/kde/kdebase/kcontrol/background -I../.. -I/opt/kde-cvs-b/include
-I/home/
john/src/kde/qt-copy/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall
-pedantic -W -W
pointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_S
OURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPA
CE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o backgnd.lo `test -f
backgnd
.cpp || echo '/home/john/src/kde/kdebase/kcontrol/background/'`backgnd.cpp
backgnd.cpp:61: bgadvanced.h: No such file or directory
backgnd.cpp:63: backgndbase.h: No such file or directory
It appears that am_edit generates the wrong dependencies. This is what
Makefile.in gets:
backgnd.lo: backgnd.moc
$(srcdir)/backgnd.cpp: backgndbase.h bgadvanced.h
I think it should rather be just:
backgnd.lo: backgnd.moc backgndbase.h bgadvanced.h
Doesn't anyone else have this problem?
-John
More information about the kde-core-devel
mailing list