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