From kde-core-devel Thu Aug 22 02:40:09 2002 From: John Firebaugh Date: Thu, 22 Aug 2002 02:40:09 +0000 To: kde-core-devel Subject: am_edit and ui dependencies X-MARC-Message: https://marc.info/?l=kde-core-devel&m=102998412903162 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