]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/Makefile.am
move LaTeXHighlighte
[lyx.git] / src / frontends / controllers / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES)
4
5 EXTRA_DIST = tests/regfiles/biblio
6
7 noinst_LTLIBRARIES = liblyxcontrollers.la
8
9 SOURCEFILES = \
10         Dialog.cpp \
11         ButtonPolicy.cpp \
12         ControlCommand.cpp \
13         ControlCommandBuffer.cpp \
14         ControlDocument.cpp \
15         ControlExternal.cpp \
16         ControlGraphics.cpp \
17         ControlMath.cpp \
18         ControlParagraph.cpp \
19         ControlPrefs.cpp \
20         ControlPrint.cpp \
21         ControlSearch.cpp \
22         ControlSendto.cpp \
23         ControlSpellchecker.cpp \
24         ControlThesaurus.cpp \
25         ControlToc.cpp \
26         frontend_helpers.cpp 
27
28 HEADERFILES = \
29         ButtonPolicy.h \
30         ControlCommand.h \
31         ControlCommandBuffer.h \
32         ControlDocument.h \
33         ControlExternal.h \
34         ControlGraphics.h \
35         ControlMath.h \
36         ControlParagraph.h \
37         ControlPrefs.h \
38         ControlPrint.h \
39         ControlSearch.h \
40         ControlSendto.h \
41         ControlSpellchecker.h \
42         ControlThesaurus.h \
43         ControlToc.h \
44         frontend_helpers.h
45
46 if MONOLITHIC_CONTROLLERS
47
48 lyxcontrollers.cpp:
49         @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
50
51 BUILT_SOURCES = lyxcontrollers.cpp
52
53 liblyxcontrollers_la_SOURCES = lyxcontrollers.cpp $(HEADERFILES) 
54
55 else
56
57 EXTRA_DIST += pch.h
58 BUILT_SOURCES = $(PCH_FILE)
59 AM_CPPFLAGS += $(PCH_FLAGS)
60
61 liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES)
62
63 endif
64
65
66 ################################# Tests ################################
67
68 EXTRA_DIST += tests/test_biblio
69
70 TESTS = \
71         test_biblio
72
73 check_PROGRAMS = \
74         biblio
75
76 biblio_LDADD = $(BOOST_REGEX)
77 biblio_SOURCES = \
78         tests/biblio.cpp \
79         tests/boost.cpp
80
81 makeregfiles: ${check_PROGRAMS}
82         for all in ${check_PROGRAMS} ; do \
83                 ./$$all > ${srcdir}/regfiles/$$all ; \
84         done