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