]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Makefile.am
index 1d0b1bdca45fd10a71178fe56608c1b6d0e5e879..88a42a342787e90fb9996ba0ac72194314c8aa82 100644 (file)
@@ -1,44 +1,45 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers @FRONTEND@
+SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
 
-noinst_LTLIBRARIES = libfrontends.la
+DIST_SUBDIRS = controllers xforms qt2 gtk
+
+EXTRA_DIST = pch.h
 
-INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+BUILT_SOURCES = $(PCH_FILE)
 
-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=\
+libfrontends_la_SOURCES = \
        Alert.C \
        Alert.h \
        Alert_pimpl.h \
        Dialogs.C \
        Dialogs.h \
-       DialogBase.h \
        FileDialog.h \
-       GUIRunTime.h \
-       Liason.C \
-       Liason.h \
-       Menubar.C \
+       LyXKeySym.h \
+       LyXKeySymFactory.h \
+       LyXScreenFactory.h \
+       LyXView.C \
+       LyXView.h \
        Menubar.h \
+       Painter.C \
+       Painter.h \
        Timeout.C \
        Timeout.h \
-       Toolbar.C \
-       Toolbar.h
-
-if USE_LD_R
-libfrontends.la: libfrontends.o
-
-libfrontends.o: $(libfrontends_la_OBJECTS) $(libfrontends_la_DEPENDENCIES)
-       $(CXXLINK) $(libfrontends_la_OBJECTS) $(libfrontends_la_LIBADD)
-endif
-
-EXTRA_DIST = xforms qt2 gnome
-
-dist-hook:
-       @cd $(distdir) ; \
-       rm -rf `find qt2 -name \*CVS\*`; \
-       rm -rf `find gnome -name \*CVS\*`
+       Toolbars.C \
+       Toolbars.h \
+       WorkArea.h \
+       WorkAreaFactory.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