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 gnome gtk
-INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+noinst_LTLIBRARIES = libfrontends.la
-libfrontends_la_LIBADD= @FRONTEND_GUILIB@ \
- controllers/*.lo
+INCLUDES = -I$(srcdir)/.. $(BOOST_INCLUDES)
-libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
+AM_CXXFLAGS = $(PCH_FLAGS)
-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
-
-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