]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
Merge remote-tracking branch 'features/properpaint'
[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)/.. \
10         $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
11
12 liblyxfrontends_a_SOURCES = \
13         alert.h \
14         Application.h \
15         FontLoader.h \
16         FontMetrics.h \
17         Delegates.h \
18         KeyModifier.h \
19         KeySymbol.h \
20         NullPainter.h \
21         Painter.h \
22         Clipboard.h \
23         Selection.h \
24         WorkArea.h \
25         WorkAreaManager.cpp \
26         WorkAreaManager.h \
27         mouse_state.h
28
29 ################################# Tests ################################
30
31 EXTRA_DIST = \
32         CMakeLists.txt \
33         tests/CMakeLists.txt \
34         tests/test_biblio.cmake \
35         tests/test_biblio \
36         tests/regfiles/biblio
37
38 TESTS = \
39         tests/test_biblio
40
41 check_PROGRAMS = \
42         biblio
43
44 biblio_LDADD = $(BOOST_LIBS) $(ICONV_LIBS) $(ZLIB_LIBS)
45 biblio_SOURCES = \
46         tests/biblio.cpp \
47         tests/boost.cpp
48
49 makeregfiles: ${check_PROGRAMS}
50         for all in ${check_PROGRAMS} ; do \
51                 ./$$all > ${srcdir}/tests/regfiles/$$all ; \
52         done