]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Makefile.am
index 4f7bc41e1a2c353dbc6e43b45cc19cd880deee09..88a42a342787e90fb9996ba0ac72194314c8aa82 100644 (file)
@@ -1,18 +1,16 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers @FRONTEND@
+SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
 
-noinst_LTLIBRARIES = libfrontends.la
-
-LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+DIST_SUBDIRS = controllers xforms qt2 gtk
 
-INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+EXTRA_DIST = pch.h
 
-EXTRA_DIST = xforms qt2 gnome
+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 = \
        Alert.C \
@@ -20,26 +18,28 @@ libfrontends_la_SOURCES = \
        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
-
-dist-hook:
-       @cd $(distdir) ; \
-       rm -rf `find qt2 -name \*CVS\*`; \
-       rm -rf `find gnome -name \*CVS\*`
-
-distclean-local:
-       for dir in $(EXTRA_DIST) ; do \
-       if test -f $$dir/Makefile ; then \
-               make -C $$dir distclean ; \
-       fi ; \
-       done
+       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