1include $(top_srcdir)/config/common.am
2
3SUBDIRS = $(FRONTENDS_SUBDIRS) .
4
5DIST_SUBDIRS = qt4 .
6
7noinst_LIBRARIES = liblyxfrontends.a
8
9AM_CPPFLAGS += -I$(srcdir)/.. \
10	$(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
11
12liblyxfrontends_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
31EXTRA_DIST = \
32	CMakeLists.txt \
33	tests/CMakeLists.txt \
34	tests/test_biblio.cmake \
35	tests/test_biblio \
36	tests/regfiles/biblio
37
38TESTS = \
39	tests/test_biblio
40
41check_PROGRAMS = \
42	biblio
43
44biblio_LDADD = $(BOOST_LIBS) $(ICONV_LIBS) $(ZLIB_LIBS)
45biblio_SOURCES = \
46	tests/biblio.cpp \
47	tests/boost.cpp
48
49makeregfiles: ${check_PROGRAMS}
50	for all in ${check_PROGRAMS} ; do \
51		./$$all > ${srcdir}/tests/regfiles/$$all ; \
52	done
53