]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
"Inter-word Space"
[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         bufferlist.C \
109         bufferlist.h \
110         bufferparams.C \
111         bufferparams.h \
112         bufferview_funcs.C \
113         bufferview_funcs.h \
114         changes.C \
115         changes.h \
116         chset.C \
117         chset.h \
118         lfuns.h \
119         config.h.in \
120         converter.C \
121         converter.h \
122         counters.C \
123         counters.h \
124         debug.C \
125         debug.h \
126         dimension.C \
127         dimension.h \
128         encoding.C \
129         encoding.h \
130         errorlist.C \
131         errorlist.h \
132         exporter.C \
133         exporter.h \
134         gettext.C \
135         gettext.h \
136         factory.h \
137         factory.C \
138         format.C \
139         format.h \
140         funcrequest.h \
141         funcrequest.C \
142         graph.C \
143         graph.h \
144         importer.C \
145         importer.h \
146         intl.C \
147         intl.h \
148         iterators.C \
149         iterators.h \
150         kbmap.C \
151         kbmap.h \
152         kbsequence.C \
153         kbsequence.h \
154         language.C \
155         language.h \
156         lastfiles.C \
157         lastfiles.h \
158         layout.h \
159         lengthcommon.C \
160         lengthcommon.h \
161         lyx_cb.C \
162         lyx_cb.h \
163         lyx_main.C \
164         lyx_main.h \
165         lyx_sty.C \
166         lyx_sty.h \
167         lyxcursor.C \
168         lyxcursor.h \
169         lyxfont.C \
170         lyxfont.h \
171         lyxfind.C \
172         lyxfind.h \
173         lyxfunc.C \
174         lyxfunc.h \
175         lyxgluelength.C \
176         lyxgluelength.h \
177         lyxlayout.C \
178         lyxlayout.h \
179         lyxlayout_ptr_fwd.h \
180         lyxlength.C \
181         lyxlength.h \
182         lyxlex.C \
183         lyxlex.h \
184         lyxlex_pimpl.C \
185         lyxlex_pimpl.h \
186         lyxrc.C \
187         lyxrc.h \
188         lyxrow.C \
189         lyxrow.h \
190         lyxrow_funcs.C \
191         lyxrow_funcs.h \
192         lyxserver.C \
193         lyxserver.h \
194         lyxtext.h \
195         lyxtextclass.C \
196         lyxtextclass.h \
197         lyxtextclasslist.C \
198         lyxtextclasslist.h \
199         lyxvc.C \
200         lyxvc.h \
201         main.C \
202         messages.C \
203         messages.h \
204         metricsinfo.C \
205         metricsinfo.h \
206         paragraph.C \
207         paragraph.h \
208         paragraph_pimpl.C \
209         paragraph_pimpl.h \
210         SpellBase.h \
211         ispell.C \
212         ispell.h \
213         pspell.C \
214         pspell.h \
215         rowpainter.C \
216         rowpainter.h \
217         sgml.C \
218         sgml.h \
219         tabular.C \
220         tabular.h \
221         tabular_funcs.C \
222         tabular_funcs.h \
223         tex-accent.C \
224         tex-accent.h \
225         tex-strings.C \
226         tex-strings.h \
227         texrow.C \
228         texrow.h \
229         text.C \
230         text2.C \
231         text3.C \
232         text_funcs.C \
233         text_funcs.h \
234         toc.C \
235         toc.h \
236         trans.C \
237         trans.h \
238         trans_decl.h \
239         trans_mgr.C \
240         trans_mgr.h \
241         undo.C \
242         undo.h \
243         undo_funcs.C \
244         undo_funcs.h \
245         vc-backend.C \
246         vc-backend.h \
247         version.C \
248         version.h \
249         vspace.C \
250         vspace.h
251
252 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
253         lyxrc.h support/path.h support/filetools.h \
254         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
255         lyxserver.h layout.h gettext.h kbmap.h lfuns.h language.h
256         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
257           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
258
259 messages.o: messages.C messages.h config.h LString.h support/filetools.h
260         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/messages.C
261
262 dist-hook:
263         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`