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