]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/Makefile.am
Move the setting of the Qt preprocessor flags out of the Makefiles and into qt.m4
[features.git] / src / frontends / qt2 / Makefile.am
index ced80b9fd912d5ea96b91822d98ecfc3c076249f..36298be8cae6b9744d3a0c0d471f7b0bbc6bfe73 100644 (file)
@@ -1,63 +1,85 @@
 include $(top_srcdir)/config/common.am
+include $(srcdir)/Makefile.dialogs
 
-SUBDIRS = xforms ui moc
+SUBDIRS = ui moc
 
-EXTRA_DIST = Makefile.dialogs QDocument.C QDocument.h \
-       QDocumentDialog.C QDocumentDialog.h QParagraph.h QParagraph.C \
-       QParagraphDialog.h QParagraphDialog.C
+EXTRA_DIST = Makefile.dialogs
 
 noinst_LTLIBRARIES = libqt2.la
 
-INCLUDES = -I$(top_srcdir)/src/ -I$(top_srcdir)/src/frontends/ \
-       $(SIGC_CFLAGS) -I$(top_srcdir)/images \
-       $(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
-       -I$(top_srcdir)/src/frontends/controllers
-
-AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
+libqt2_la_LDFLAGS = $(QT_LDFLAGS)
+libqt2_la_LIBADD = $(QT_LIB) ui/*.lo moc/*.lo ui/moc/*.lo
 
-include $(srcdir)/Makefile.dialogs
+AM_CPPFLAGS = \
+       $(QT_CPPFLAGS) \
+       $(PCH_FLAGS) \
+       -I$(top_srcdir)/src \
+       -I$(top_srcdir)/src/frontends \
+       -I$(top_srcdir)/images \
+       $(QT_INCLUDES) $(BOOST_INCLUDES) \
+       -I$(top_srcdir)/src/frontends/controllers
 
 libqt2_la_SOURCES = \
-       $(DIALOGSOURCES) \
+       QDialogView.C \
+       QDialogView.h \
        Alert_pimpl.C \
        Dialogs.C \
        FileDialog.C \
-       FileDialog_private.C \
+       LyXKeySymFactory.C \
        LyXScreenFactory.C \
-       Menubar_pimpl.C \
-       Menubar_pimpl.h \
-       Timeout_pimpl.C \
-       Timeout_pimpl.h \
-       Toolbar_pimpl.C \
-       Toolbar_pimpl.h \
-       QContentPane.C \
-       QContentPane.h \
-       QLPainter.C \
-       QLPainter.h \
-       QLyXKeySym.C \
-       QLyXKeySym.h \
-       Qt2Base.C \
-       Qt2Base.h \
-       Qt2BC.C \
-       Qt2BC.h \
-       QtView.h \
-       QtView.C \
-       QWorkArea.h \
-       QWorkArea.C \
+       QLMenubar.C QLMenubar.h \
+       qtTimeout.C qtTimeout.h \
+       QAbout.C QAbout.h \
+       QBibitem.C QBibitem.h \
+       QBibtex.C QBibtex.h \
+       QBox.C QBox.h \
+       QBranch.C QBranch.h \
+       QChanges.C QChanges.h \
+       QCharacter.C QCharacter.h \
+       QCitation.C QCitation.h \
+       QDocument.C QDocument.h \
+       QErrorList.C QErrorList.h \
+       QERT.C QERT.h \
+       QExternal.C QExternal.h \
+       QFloat.C QFloat.h \
+       QGraphics.C QGraphics.h \
+       QInclude.C QInclude.h \
+       QIndex.C QIndex.h \
+       QLImage.C QLImage.h \
+       QLog.C QLog.h \
+       QLPainter.C QLPainter.h \
+       QLyXKeySym.C QLyXKeySym.h \
+       QMath.C QMath.h \
+       QNote.C QNote.h \
+       QParagraph.C QParagraph.h \
+       QPrefs.C QPrefs.h \
+       QPrint.C QPrint.h \
+       QRef.C QRef.h \
+       QSearch.C QSearch.h \
+       QSendto.C QSendto.h \
+       QShowFile.C QShowFile.h \
+       QSpellchecker.C QSpellchecker.h \
+       QTabular.C QTabular.h \
+       QTabularCreate.C QTabularCreate.h \
+       QTexinfo.C QTexinfo.h \
+       QThesaurus.C QThesaurus.h \
+       QToc.C QToc.h \
+       QURL.C QURL.h \
+       QVSpace.C QVSpace.h \
+       QWorkArea.h QWorkArea.C \
+       QWrap.C QWrap.h \
+       Qt2BC.C Qt2BC.h \
+       QtLyXView.h \
        WorkAreaFactory.C \
-       emptytable.C \
-       emptytable.h \
-       guiapi.C \
-       lengthcombo.C \
-       lengthcombo.h \
+       checkedwidgets.C checkedwidgets.h \
        lyx_gui.C \
-       qfont_loader.h \
-       qfont_loader.C \
+       lcolorcache.h lcolorcache.C \
+       panelstack.h panelstack.C \
+       qcoloritem.h qcoloritem.C \
+       qfontexample.h qfontexample.C \
+       qfont_loader.h qfont_loader.C \
        qfont_metrics.C \
        qlkey.h \
-       qscreen.h \
-       qscreen.C \
-       qttableview.h \
-       qttableview.C
-
-libqt2.la: $(libqt2_la_OBJECTS) $(libqt2_la_DEPENDENCIES)
+       qscreen.h qscreen.C \
+       qt_helpers.h qt_helpers.C \
+       $(MOCFILES)