]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Makefile.am
index 71d76b3edeeccb112027ba0258f5f8c72983abfb..88a42a342787e90fb9996ba0ac72194314c8aa82 100644 (file)
@@ -1,17 +1,16 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers @FRONTEND@
+SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
 
-DIST_SUBDIRS = controllers xforms qt2 gnome
+DIST_SUBDIRS = controllers xforms qt2 gtk
 
-noinst_LTLIBRARIES = libfrontends.la
+EXTRA_DIST = pch.h
 
-LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+BUILT_SOURCES = $(PCH_FILE)
 
-INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
-libfrontends_la_LIBADD = @FRONTEND_GUILIB@ controllers/*.lo
+noinst_LTLIBRARIES = libfrontends.la
 
-libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
+AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/..  $(BOOST_INCLUDES)
 
 libfrontends_la_SOURCES = \
        Alert.C \
@@ -19,33 +18,28 @@ libfrontends_la_SOURCES = \
        Alert_pimpl.h \
        Dialogs.C \
        Dialogs.h \
-       DialogBase.h \
        FileDialog.h \
-       Liason.C \
-       Liason.h \
        LyXKeySym.h \
        LyXKeySymFactory.h \
        LyXScreenFactory.h \
        LyXView.C \
        LyXView.h \
-       Menubar.C \
        Menubar.h \
-       MiniBuffer.C \
-       MiniBuffer.h \
        Painter.C \
        Painter.h \
        Timeout.C \
        Timeout.h \
-       Toolbar.C \
-       Toolbar.h \
-       WorkArea.C \
+       Toolbars.C \
+       Toolbars.h \
        WorkArea.h \
        WorkAreaFactory.h \
-       font_loader.h \
        font_metrics.h \
        guiapi.h \
+       guiapi.C \
        key_state.h \
        lyx_gui.h \
        mouse_state.h \
+       nullpainter.C \
+       nullpainter.h \
        screen.C \
        screen.h