-SUBDIRS = controllers @FRONTEND@
-
-DIST_SUBDIRS = controllers xforms qt2 gnome
-
-noinst_LTLIBRARIES = libfrontends.la
-
-LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
-
-INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(SIGC_CFLAGS) $(BOOST_INCLUDES)
-libfrontends_la_LIBADD = @FRONTEND_GUILIB@ controllers/*.lo
-
-libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
-
-libfrontends_la_SOURCES = \
- Alert.C \
- Alert.h \
- Alert_pimpl.h \
- Dialogs.C \
- Dialogs.h \
- DialogBase.h \
- FileDialog.h \
- Liason.C \
- Liason.h \
- LyXKeySym.h \
- LyXKeySymFactory.h \
- LyXScreenFactory.h \
- LyXView.C \
- LyXView.h \
- Menubar.C \
- Menubar.h \
- Painter.C \
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
+
+DIST_SUBDIRS = qt4 .
+
+noinst_LIBRARIES = liblyxfrontends.a
+
+AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
+
+liblyxfrontends_a_SOURCES = \
+ alert.h \
+ Application.h \
+ FontLoader.h \
+ FontMetrics.h \
+ Delegates.h \
+ KeyModifier.h \
+ KeySymbol.h \