include $(top_srcdir)/config/common.am
-SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
-DIST_SUBDIRS = controllers qt3 gtk qt4
+DIST_SUBDIRS = qt4 .
-EXTRA_DIST = pch.h
+noinst_LTLIBRARIES = liblyxfrontends.la
-BUILT_SOURCES = $(PCH_FILE)
+AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
-noinst_LTLIBRARIES = libfrontends.la
-
-AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
-
-libfrontends_la_SOURCES = \
- Alert.C \
- Alert.h \
- Alert_pimpl.h \
- Application.C \
+liblyxfrontends_la_SOURCES = \
+ alert.h \
Application.h \
- Dialogs.C \
- Dialogs.h \
+ NoGuiFontLoader.h \
+ NoGuiFontMetrics.h \
FileDialog.h \
FontLoader.h \
- LyXKeySym.h \
- LyXKeySymFactory.h \
- LyXView.C \
+ FontMetrics.h \
+ KeyModifier.h \
+ KeySymbol.h \
LyXView.h \
- Menubar.h \
- Painter.C \
Painter.h \
- Timeout.C \
- Timeout.h \
- Toolbars.C \
- Toolbars.h \
Clipboard.h \
- Gui.h \
Selection.h \
- WorkArea.C \
WorkArea.h \
- font_metrics.h \
- guiapi.h \
- guiapi.C \
- key_state.h \
- lyx_gui.C \
- lyx_gui.h \
- mouse_state.h \
- nullpainter.C \
- nullpainter.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