]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
fix some C++ parsing bugs
[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         RowList.C \
81         RowList.h \
82         ShareContainer.h \
83         Spacing.C \
84         Spacing.h \
85         TextCache.C \
86         TextCache.h \
87         Thesaurus.C \
88         Thesaurus.h \
89         ToolbarDefaults.C \
90         ToolbarDefaults.h \
91         WordLangTuple.h \
92         aspell.C \
93         aspell_local.h \
94         author.C \
95         author.h \
96         boost.C \
97         boost-inst.C \
98         box.h \
99         box.C \
100         broken_headers.h \
101         buffer.C \
102         buffer.h \
103         bufferlist.C \
104         bufferlist.h \
105         bufferparams.C \
106         bufferparams.h \
107         bufferview_funcs.C \
108         bufferview_funcs.h \
109         changes.C \
110         changes.h \
111         chset.C \
112         chset.h \
113         lfuns.h \
114         config.h.in \
115         converter.C \
116         converter.h \
117         counters.C \
118         counters.h \
119         debug.C \
120         debug.h \
121         encoding.C \
122         encoding.h \
123         exporter.C \
124         exporter.h \
125         gettext.C \
126         gettext.h \
127         factory.h \
128         factory.C \
129         funcrequest.h \
130         funcrequest.C \
131         importer.C \
132         importer.h \
133         intl.C \
134         intl.h \
135         iterators.C \
136         iterators.h \
137         kbmap.C \
138         kbmap.h \
139         kbsequence.C \
140         kbsequence.h \
141         language.C \
142         language.h \
143         lastfiles.C \
144         lastfiles.h \
145         layout.h \
146         lengthcommon.C \
147         lengthcommon.h \
148         lyx_cb.C \
149         lyx_cb.h \
150         lyx_main.C \
151         lyx_main.h \
152         lyx_sty.C \
153         lyx_sty.h \
154         lyxcursor.C \
155         lyxcursor.h \
156         lyxfont.C \
157         lyxfont.h \
158         lyxfind.C \
159         lyxfind.h \
160         lyxfunc.C \
161         lyxfunc.h \
162         lyxgluelength.C \
163         lyxgluelength.h \
164         lyxlayout.C \
165         lyxlayout.h \
166         lyxlayout_ptr_fwd.h \
167         lyxlength.C \
168         lyxlength.h \
169         lyxlex.C \
170         lyxlex.h \
171         lyxlex_pimpl.C \
172         lyxlex_pimpl.h \
173         lyxrc.C \
174         lyxrc.h \
175         lyxrow.C \
176         lyxrow.h \
177         lyxserver.C \
178         lyxserver.h \
179         lyxtext.h \
180         lyxtextclass.C \
181         lyxtextclass.h \
182         lyxtextclasslist.C \
183         lyxtextclasslist.h \
184         lyxvc.C \
185         lyxvc.h \
186         main.C \
187         metricsinfo.C \
188         metricsinfo.h \
189         paragraph.C \
190         paragraph.h \
191         paragraph_pimpl.C \
192         paragraph_pimpl.h \
193         SpellBase.h \
194         ispell.C \
195         ispell.h \
196         pspell.C \
197         pspell.h \
198         rowpainter.C \
199         rowpainter.h \
200         sgml.C \
201         sgml.h \
202         tabular.C \
203         tabular.h \
204         tabular-old.C \
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         toc.C \
217         toc.h \
218         trans.C \
219         trans.h \
220         trans_decl.h \
221         trans_mgr.C \
222         trans_mgr.h \
223         undo.C \
224         undo.h \
225         undo_funcs.C \
226         undo_funcs.h \
227         vc-backend.C \
228         vc-backend.h \
229         version.C \
230         version.h \
231         vspace.C \
232         vspace.h \
233         graph.C \
234         graph.h \
235         format.C \
236         format.h
237
238 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
239         lyxrc.h support/path.h support/filetools.h \
240         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
241         lyxserver.h layout.h gettext.h kbmap.h lfuns.h language.h
242         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
243           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
244
245 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
246         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
247
248 dist-hook:
249         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`