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