include $(top_srcdir)/config/common.am
-SUBDIRS = controllers @FRONTEND@
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
-DIST_SUBDIRS = controllers xforms qt2 gnome
+DIST_SUBDIRS = qt4 .
-noinst_LTLIBRARIES = libfrontends.la
+noinst_LTLIBRARIES = liblyxfrontends.la
-LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
-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 \
+liblyxfrontends_la_SOURCES = \
+ alert.h \
+ Application.h \
+ NoGuiFontLoader.h \
+ NoGuiFontMetrics.h \
FileDialog.h \
- Liason.C \
- Liason.h \
- LyXKeySym.h \
- LyXKeySymFactory.h \
- LyXScreenFactory.h \
- LyXView.C \
+ FontLoader.h \
+ FontMetrics.h \
+ KeyModifier.h \
+ KeySymbol.h \
LyXView.h \
- Menubar.C \
- Menubar.h \
- Painter.C \
Painter.h \
- Timeout.C \
- Timeout.h \
- Toolbar.C \
- Toolbar.h \
- WorkArea.C \
+ Clipboard.h \
+ Selection.h \
WorkArea.h \
- WorkAreaFactory.h \
- font_metrics.h \
- guiapi.h \
- key_state.h \
- lyx_gui.h \
- mouse_state.h \
- screen.C \
- screen.h
+ WorkAreaManager.cpp \
+ WorkAreaManager.h \
+ mouse_state.h
+
+################################# Tests ################################
+
+EXTRA_DIST = tests/test_biblio
+
+TESTS = \
+ test_biblio
+
+check_PROGRAMS = \
+ biblio
+
+biblio_LDADD = $(BOOST_REGEX)
+biblio_SOURCES = \
+ tests/biblio.cpp \
+ tests/boost.cpp
+
+makeregfiles: ${check_PROGRAMS}
+ for all in ${check_PROGRAMS} ; do \
+ ./$$all > ${srcdir}/regfiles/$$all ; \
+ done