src/frontends/gtk/gimages/Makefile \
src/frontends/gtk/glade/Makefile \
src/frontends/qt3/Makefile \
- src/frontends/qt3/moc/Makefile \
src/frontends/qt3/ui/Makefile \
src/frontends/qt3/ui/moc/Makefile \
src/frontends/qt4/Makefile \
include $(top_srcdir)/config/common.am
include $(srcdir)/Makefile.dialogs
-SUBDIRS = ui moc
+SUBDIRS = ui
EXTRA_DIST = pch.h Makefile.dialogs
-BUILT_SOURCES = $(PCH_FILE)
+libqt3_la_DEPENDENCIES = $(MOCEDFILES)
+
+MOCEDFILES = $(MOCFILES:.C=_moc.cpp)
+
+%_moc.cpp: %.h
+ $(MOC) -o $@ $<
+
+BUILT_SOURCES = $(PCH_FILE) $(MOCEDFILES)
noinst_LTLIBRARIES = libqt3.la
libqt3_la_LDFLAGS = $(QT_LDFLAGS)
-libqt3_la_LIBADD = $(QT_LIB) ui/*.lo moc/*.lo ui/moc/*.lo
+libqt3_la_LIBADD = $(QT_LIB) ui/*.lo ui/moc/*.lo
AM_CPPFLAGS += \
$(QT_CPPFLAGS) \
+++ /dev/null
-include $(top_srcdir)/config/common.am
-include $(srcdir)/../Makefile.dialogs
-
-DISTCLEANFILES += *.C
-
-EXTRA_DIST = pch.h
-
-BUILT_SOURCES = $(PCH_FILE)
-
-AM_CPPFLAGS += \
- $(QT_CPPFLAGS) -DQT_NO_TRANSLATION \
- $(PCH_FLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/frontends \
- -I$(top_srcdir)/src/frontends/controllers \
- -I$(top_builddir)/src/frontends/qt3 \
- $(QT_INCLUDES) \
- $(BOOST_INCLUDES)
-
-noinst_LTLIBRARIES = libqt3moc.la
-
-nodist_libqt3moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
-# The trick.
-libqt3moc_la_LINK = touch libqt3moc.la ; echo
-
-%_moc.C: $(srcdir)/../%.h
- $(MOC) -o $@ $<
+++ /dev/null
-// -*- C++ -*-
-
-#include <config.h>
-
-#include <boost/array.hpp>
-#include <boost/assert.hpp>
-#include <boost/function.hpp>
-#include <boost/scoped_ptr.hpp>
-#include <boost/shared_ptr.hpp>
-#include <boost/signals/trackable.hpp>
-#include <boost/signal.hpp>
-#include <boost/tuple/tuple.hpp>
-#include <boost/utility.hpp>
-
-#include <algorithm>
-#include <cmath>
-#include <iomanip>
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif
-#include <map>
-#include <sstream>
-#include <stack>
-#include <string>
-#include <utility>
-#include <vector>
-
-// Have I said anything about the braindeadness of QT lately?
-// Just to remind you: signals slot emit as macros, pure lunacy!
-// So we are not able to have any qt headers in the pch.