]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
Add accelerators
[lyx.git] / src / frontends / Makefile.am
index 4ca77284f3eaf28059241e69171ff820e0e8a86d..a8f233e25a74f6367f7765556653d95a2cdf8632 100644 (file)
@@ -1,48 +1,53 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
 
-DIST_SUBDIRS = controllers qt3 gtk qt4
+DIST_SUBDIRS = qt .
 
-EXTRA_DIST = pch.h
+noinst_LIBRARIES = liblyxfrontends.a
 
-BUILT_SOURCES = $(PCH_FILE)
+AM_CPPFLAGS += -I$(srcdir)/.. \
+       $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES) $(NOD_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_a_SOURCES = \
+       alert.h \
        Application.h \
-       Dialogs.C \
-       Dialogs.h \
-       FileDialog.h \
-       LyXKeySym.h \
-       LyXKeySymFactory.h \
-       LyXView.C \
-       LyXView.h \
-       Menubar.h \
-       Painter.C \
+       CaretGeometry.h \
+       FontLoader.h \
+       FontMetrics.h \
+       Delegates.h \
+       KeyModifier.h \
+       KeySymbol.h \
+       NullPainter.h \
        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 = \
+       CMakeLists.txt \
+       tests/CMakeLists.txt \
+       tests/test_biblio.cmake \
+       tests/test_biblio \
+       tests/regfiles/biblio
+
+TESTS = \
+       tests/test_biblio
+
+check_PROGRAMS = \
+       biblio
+
+biblio_LDADD = $(ICONV_LIBS) $(ZLIB_LIBS)
+biblio_SOURCES = \
+       tests/biblio.cpp \
+       tests/boost.cpp
+
+makeregfiles: ${check_PROGRAMS}
+       for all in ${check_PROGRAMS} ; do \
+               ./$$all > ${srcdir}/tests/regfiles/$$all ; \
+       done