]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Makefile.am
index 6e6f82d9a672a7e1f34457ab4e5b21d2beab3ae0..88a42a342787e90fb9996ba0ac72194314c8aa82 100644 (file)
@@ -2,11 +2,15 @@ include $(top_srcdir)/config/common.am
 
 SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
 
-DIST_SUBDIRS = controllers xforms qt2 gnome gtk
+DIST_SUBDIRS = controllers xforms qt2 gtk
+
+EXTRA_DIST = pch.h
+
+BUILT_SOURCES = $(PCH_FILE)
 
 noinst_LTLIBRARIES = libfrontends.la
 
-INCLUDES = -I$(srcdir)/..  $(BOOST_INCLUDES)
+AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/..  $(BOOST_INCLUDES)
 
 libfrontends_la_SOURCES = \
        Alert.C \
@@ -25,8 +29,8 @@ libfrontends_la_SOURCES = \
        Painter.h \
        Timeout.C \
        Timeout.h \
-       Toolbar.C \
-       Toolbar.h \
+       Toolbars.C \
+       Toolbars.h \
        WorkArea.h \
        WorkAreaFactory.h \
        font_metrics.h \
@@ -35,5 +39,7 @@ libfrontends_la_SOURCES = \
        key_state.h \
        lyx_gui.h \
        mouse_state.h \
+       nullpainter.C \
+       nullpainter.h \
        screen.C \
        screen.h