]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
Add accelerators
[lyx.git] / src / frontends / Makefile.am
index 7fb67b402b41e33707334c067cb5a0bedb710f4a..a8f233e25a74f6367f7765556653d95a2cdf8632 100644 (file)
@@ -1,48 +1,53 @@
 include $(top_srcdir)/config/common.am
 
-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 \
-       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 = qt .
+
+noinst_LIBRARIES = liblyxfrontends.a
+
+AM_CPPFLAGS += -I$(srcdir)/.. \
+       $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES) $(NOD_INCLUDES)
+
+liblyxfrontends_a_SOURCES = \
+       alert.h \
+       Application.h \
+       CaretGeometry.h \
+       FontLoader.h \
+       FontMetrics.h \
+       Delegates.h \
+       KeyModifier.h \
+       KeySymbol.h \
+       NullPainter.h \
        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 \
-       guiapi.C \
-       key_state.h \
-       lyx_gui.h \
-       mouse_state.h \
-       screen.C \
-       screen.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