]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Makefile.am
index 803e0f7d0fb02b29085a811d946ca2dbd5e35747..88a42a342787e90fb9996ba0ac72194314c8aa82 100644 (file)
@@ -1,12 +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
+
+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,9 +29,8 @@ libfrontends_la_SOURCES = \
        Painter.h \
        Timeout.C \
        Timeout.h \
-       Toolbar.C \
-       Toolbar.h \
-       WorkArea.C \
+       Toolbars.C \
+       Toolbars.h \
        WorkArea.h \
        WorkAreaFactory.h \
        font_metrics.h \
@@ -36,5 +39,7 @@ libfrontends_la_SOURCES = \
        key_state.h \
        lyx_gui.h \
        mouse_state.h \
+       nullpainter.C \
+       nullpainter.h \
        screen.C \
        screen.h