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