]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/Makefile.am
fix typo
[lyx.git] / src / frontends / controllers / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = BCView.tmpl
4
5 AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES)
6
7 pkglib_LTLIBRARIES = liblyxcontrollers.la
8
9 SOURCEFILES = \
10         Dialog.cpp \
11         Kernel.cpp \
12         BCView.cpp \
13         ButtonController.cpp \
14         ButtonPolicy.cpp \
15         ControlAboutlyx.cpp \
16         ControlBibtex.cpp \
17         ControlBox.cpp \
18         ControlBranch.cpp \
19         ControlCharacter.cpp \
20         ControlChanges.cpp \
21         ControlCitation.cpp \
22         ControlCommand.cpp \
23         ControlCommandBuffer.cpp \
24         ControlDocument.cpp \
25         ControlEmbeddedFiles.cpp \
26         ControlErrorList.cpp \
27         ControlERT.cpp \
28         ControlExternal.cpp \
29         ControlFloat.cpp \
30         ControlGraphics.cpp \
31         ControlInclude.cpp \
32         ControlListings.cpp \
33         ControlLog.cpp \
34         ControlViewSource.cpp \
35         ControlMath.cpp \
36         ControlNote.cpp \
37         ControlParagraph.cpp \
38         ControlPrefs.cpp \
39         ControlPrint.cpp \
40         ControlRef.cpp \
41         ControlSearch.cpp \
42         ControlSendto.cpp \
43         ControlShowFile.cpp \
44         ControlSpellchecker.cpp \
45         ControlTabular.cpp \
46         ControlTabularCreate.cpp \
47         ControlTexinfo.cpp \
48         ControlThesaurus.cpp \
49         ControlToc.cpp \
50         ControlVSpace.cpp \
51         ControlWrap.cpp \
52         frontend_helpers.cpp 
53
54 HEADERFILES = \
55         Kernel.h \
56         ButtonController.h \
57         ButtonPolicy.h \
58         ControlAboutlyx.h \
59         ControlBibtex.h \
60         ControlBox.h \
61         ControlBranch.h \
62         ControlCharacter.h \
63         ControlChanges.h \
64         ControlCitation.h \
65         ControlCommand.h \
66         ControlCommandBuffer.h \
67         ControlDocument.h \
68         ControlErrorList.h \
69         ControlERT.h \
70         ControlEmbeddedFiles.h \
71         ControlExternal.h \
72         ControlFloat.h \
73         ControlGraphics.h \
74         ControlListings.h \
75         ControlInclude.h \
76         ControlLog.h \
77         ControlViewSource.h \
78         ControlMath.h \
79         ControlNote.h \
80         ControlParagraph.h \
81         ControlPrefs.h \
82         ControlPrint.h \
83         ControlRef.h \
84         ControlSearch.h \
85         ControlSendto.h \
86         ControlShowFile.h \
87         ControlSpellchecker.h \
88         ControlTabular.h \
89         ControlTabularCreate.h \
90         ControlTexinfo.h \
91         ControlThesaurus.h \
92         ControlToc.h \
93         ControlVSpace.h \
94         ControlWrap.h \
95         frontend_helpers.h
96
97 if MONOLITHIC_CONTROLLERS
98
99 lyxcontrollers.cpp:
100         @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
101
102 BUILT_SOURCES = lyxcontrollers.cpp
103
104 liblyxcontrollers_la_SOURCES = lyxcontrollers.cpp $(HEADERFILES) 
105
106 else
107
108 EXTRA_DIST += pch.h
109 BUILT_SOURCES = $(PCH_FILE)
110 AM_CPPFLAGS += $(PCH_FLAGS)
111
112 liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES)
113
114 endif
115
116
117 ################################# Tests ################################
118
119 EXTRA_DIST += tests/test_biblio
120
121 TESTS = \
122         test_biblio
123
124 check_PROGRAMS = \
125         biblio
126
127 biblio_LDADD = $(BOOST_REGEX)
128 biblio_SOURCES = \
129         tests/biblio.cpp \
130         tests/boost.cpp
131
132 makeregfiles: ${check_PROGRAMS}
133         for all in ${check_PROGRAMS} ; do \
134                 ./$$all > ${srcdir}/regfiles/$$all ; \
135         done