]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
move some selection related stuff over to textcursor.C
[lyx.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += config.h libintl.h
4
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
6
7 SUBDIRS = mathed insets graphics support frontends tex2lyx
8
9 EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
10         Sectioning.h \
11         Sectioning.C \
12         Variables.C \
13         Variables.h \
14         tracer.C \
15         tracer.h
16
17 bin_PROGRAMS = lyx
18
19 LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
20         frontends/libfrontends.la \
21         $(FRONTEND_GUILIB) \
22         frontends/controllers/libcontrollers.la \
23         graphics/libgraphics.la \
24         support/libsupport.la
25
26 if USE_INCLUDED_BOOST
27 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
28         ../boost/libs/signals/src/libboostsignals.la
29 else
30 BOOST_LIBS = -lboost_regex -lboost_signals
31 endif
32
33 lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
34         $(AIKSAURUS_LIBS) @LIBS@
35
36 lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS)
37
38 #lyx_LDFLAGS=-Wl,-O1
39
40 INCLUDES = $(BOOST_INCLUDES)
41
42 localedir = $(datadir)/locale
43
44 BUILT_SOURCES = version.C
45
46 lyx_SOURCES = \
47         BufferView.C \
48         BufferView.h \
49         BufferView_pimpl.C \
50         BufferView_pimpl.h \
51         Bullet.C \
52         Bullet.h \
53         Chktex.C \
54         Chktex.h \
55         CutAndPaste.C \
56         CutAndPaste.h \
57         DepTable.C \
58         DepTable.h \
59         FloatList.C \
60         FloatList.h \
61         Floating.C \
62         Floating.h \
63         FuncStatus.C \
64         FuncStatus.h \
65         InsetList.C \
66         InsetList.h \
67         LColor.C \
68         LColor.h \
69         LString.h \
70         LaTeX.C \
71         LaTeX.h \
72         LaTeXFeatures.C \
73         LaTeXFeatures.h \
74         latexrunparams.h \
75         Lsstream.h \
76         LyXAction.C \
77         LyXAction.h \
78         MenuBackend.C \
79         MenuBackend.h \
80         paragraph_funcs.C \
81         paragraph_funcs.h \
82         ParagraphList.h \
83         ParagraphParameters.C \
84         ParagraphParameters.h \
85         ParameterStruct.h \
86         PrinterParams.h \
87         RowList.h \
88         ShareContainer.h \
89         Spacing.C \
90         Spacing.h \
91         TextCache.C \
92         TextCache.h \
93         Thesaurus.C \
94         Thesaurus.h \
95         ToolbarBackend.C \
96         ToolbarBackend.h \
97         WordLangTuple.h \
98         aspell.C \
99         aspell_local.h \
100         author.C \
101         author.h \
102         boost.C \
103         box.h \
104         box.C \
105         broken_headers.h \
106         buffer.C \
107         buffer.h \
108         buffer_funcs.C \
109         buffer_funcs.h \
110         bufferlist.C \
111         bufferlist.h \
112         bufferparams.C \
113         bufferparams.h \
114         bufferview_funcs.C \
115         bufferview_funcs.h \
116         changes.C \
117         changes.h \
118         chset.C \
119         chset.h \
120         lfuns.h \
121         config.h.in \
122         converter.C \
123         converter.h \
124         counters.C \
125         counters.h \
126         debug.C \
127         debug.h \
128         dimension.C \
129         dimension.h \
130         encoding.C \
131         encoding.h \
132         errorlist.C \
133         errorlist.h \
134         exporter.C \
135         exporter.h \
136         gettext.C \
137         gettext.h \
138         factory.h \
139         factory.C \
140         format.C \
141         format.h \
142         funcrequest.h \
143         funcrequest.C \
144         graph.C \
145         graph.h \
146         importer.C \
147         importer.h \
148         intl.C \
149         intl.h \
150         iterators.C \
151         iterators.h \
152         kbmap.C \
153         kbmap.h \
154         kbsequence.C \
155         kbsequence.h \
156         language.C \
157         language.h \
158         lastfiles.C \
159         lastfiles.h \
160         layout.h \
161         lengthcommon.C \
162         lengthcommon.h \
163         lyx_cb.C \
164         lyx_cb.h \
165         lyx_main.C \
166         lyx_main.h \
167         lyx_sty.C \
168         lyx_sty.h \
169         lyxcursor.C \
170         lyxcursor.h \
171         lyxfont.C \
172         lyxfont.h \
173         lyxfind.C \
174         lyxfind.h \
175         lyxfunc.C \
176         lyxfunc.h \
177         lyxgluelength.C \
178         lyxgluelength.h \
179         lyxlayout.C \
180         lyxlayout.h \
181         lyxlayout_ptr_fwd.h \
182         lyxlength.C \
183         lyxlength.h \
184         lyxlex.C \
185         lyxlex.h \
186         lyxlex_pimpl.C \
187         lyxlex_pimpl.h \
188         lyxrc.C \
189         lyxrc.h \
190         lyxrow.C \
191         lyxrow.h \
192         lyxrow_funcs.C \
193         lyxrow_funcs.h \
194         lyxserver.C \
195         lyxserver.h \
196         lyxtext.h \
197         lyxtextclass.C \
198         lyxtextclass.h \
199         lyxtextclasslist.C \
200         lyxtextclasslist.h \
201         lyxvc.C \
202         lyxvc.h \
203         main.C \
204         messages.C \
205         messages.h \
206         metricsinfo.C \
207         metricsinfo.h \
208         paragraph.C \
209         paragraph.h \
210         paragraph_pimpl.C \
211         paragraph_pimpl.h \
212         SpellBase.h \
213         ispell.C \
214         ispell.h \
215         pspell.C \
216         pspell.h \
217         rowpainter.C \
218         rowpainter.h \
219         sgml.C \
220         sgml.h \
221         tabular.C \
222         tabular.h \
223         tabular_funcs.C \
224         tabular_funcs.h \
225         tex-accent.C \
226         tex-accent.h \
227         tex-strings.C \
228         tex-strings.h \
229         texrow.C \
230         texrow.h \
231         text.C \
232         text2.C \
233         text3.C \
234         textcursor.C \
235         textcursor.h \
236         text_funcs.C \
237         text_funcs.h \
238         toc.C \
239         toc.h \
240         trans.C \
241         trans.h \
242         trans_decl.h \
243         trans_mgr.C \
244         trans_mgr.h \
245         undo.C \
246         undo.h \
247         undo_funcs.C \
248         undo_funcs.h \
249         vc-backend.C \
250         vc-backend.h \
251         version.C \
252         version.h \
253         vspace.C \
254         vspace.h
255
256 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
257         lyxrc.h support/path.h support/filetools.h \
258         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
259         lyxserver.h layout.h gettext.h kbmap.h lfuns.h language.h
260         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
261           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
262
263 messages.o: messages.C messages.h config.h LString.h support/filetools.h
264         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/messages.C
265
266 dist-hook:
267         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`