]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
Simplify logic.
[lyx.git] / src / frontends / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 SUBDIRS = $(FRONTENDS_SUBDIRS) .
4
5 DIST_SUBDIRS = qt4 .
6
7 noinst_LIBRARIES = liblyxfrontends.a
8
9 AM_CPPFLAGS += -I$(srcdir)/..  $(BOOST_INCLUDES)
10
11 liblyxfrontends_a_SOURCES = \
12         alert.h \
13         Application.h \
14         FontLoader.h \
15         FontMetrics.h \
16         Delegates.h \
17         KeyModifier.h \
18         KeySymbol.h \
19         Painter.h \
20         Clipboard.h \
21         Selection.h \
22         WorkArea.h \
23         WorkAreaManager.cpp \
24         WorkAreaManager.h \
25         mouse_state.h
26
27 ################################# Tests ################################
28
29 EXTRA_DIST = \
30         CMakeLists.txt \
31         tests/CMakeLists.txt \
32         tests/test_biblio.cmake \
33         tests/test_biblio \
34         tests/regfiles/biblio
35
36 TESTS = \
37         tests/test_biblio
38
39 check_PROGRAMS = \
40         biblio
41
42 biblio_LDADD = $(BOOST_LIBS)
43 biblio_SOURCES = \
44         tests/biblio.cpp \
45         tests/boost.cpp
46
47 makeregfiles: ${check_PROGRAMS}
48         for all in ${check_PROGRAMS} ; do \
49                 ./$$all > ${srcdir}/tests/regfiles/$$all ; \
50         done