]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
update no.po
[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
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         $(PSPELL_LIBS) $(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) $(PSPELL_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         boost.C \
91         boost-inst.C \
92         box.h \
93         box.C \
94         broken_headers.h \
95         buffer.C \
96         buffer.h \
97         bufferlist.C \
98         bufferlist.h \
99         bufferparams.C \
100         bufferparams.h \
101         bufferview_funcs.C \
102         bufferview_funcs.h \
103         chset.C \
104         chset.h \
105         commandtags.h \
106         config.h.in \
107         converter.C \
108         converter.h \
109         counters.C \
110         counters.h \
111         debug.C \
112         debug.h \
113         encoding.C \
114         encoding.h \
115         exporter.C \
116         exporter.h \
117         gettext.C \
118         gettext.h \
119         factory.h \
120         factory.C \
121         funcrequest.h \
122         funcrequest.C \
123         importer.C \
124         importer.h \
125         intl.C \
126         intl.h \
127         iterators.C \
128         iterators.h \
129         kbmap.C \
130         kbmap.h \
131         kbsequence.C \
132         kbsequence.h \
133         language.C \
134         language.h \
135         lastfiles.C \
136         lastfiles.h \
137         layout.h \
138         lengthcommon.C \
139         lengthcommon.h \
140         lyx_cb.C \
141         lyx_cb.h \
142         lyx_main.C \
143         lyx_main.h \
144         lyx_sty.C \
145         lyx_sty.h \
146         lyxcursor.C \
147         lyxcursor.h \
148         lyxfont.C \
149         lyxfont.h \
150         lyxfind.C \
151         lyxfind.h \
152         lyxfunc.C \
153         lyxfunc.h \
154         lyxgluelength.C \
155         lyxgluelength.h \
156         lyxlayout.C \
157         lyxlayout.h \
158         lyxlayout_ptr_fwd.h \
159         lyxlength.C \
160         lyxlength.h \
161         lyxlex.C \
162         lyxlex.h \
163         lyxlex_pimpl.C \
164         lyxlex_pimpl.h \
165         lyxrc.C \
166         lyxrc.h \
167         lyxrow.C \
168         lyxrow.h \
169         lyxserver.C \
170         lyxserver.h \
171         lyxtext.h \
172         lyxtextclass.C \
173         lyxtextclass.h \
174         lyxtextclasslist.C \
175         lyxtextclasslist.h \
176         lyxvc.C \
177         lyxvc.h \
178         main.C \
179         paragraph.C \
180         paragraph.h \
181         paragraph_pimpl.C \
182         paragraph_pimpl.h \
183         SpellBase.h \
184         ispell.C \
185         ispell.h \
186         pspell.C \
187         pspell.h \
188         sgml.C \
189         sgml.h \
190         tabular.C \
191         tabular.h \
192         tabular-old.C \
193         tabular_funcs.C \
194         tabular_funcs.h \
195         tex-accent.C \
196         tex-accent.h \
197         tex-strings.C \
198         tex-strings.h \
199         texrow.C \
200         texrow.h \
201         text.C \
202         text2.C \
203         text3.C \
204         toc.C \
205         toc.h \
206         trans.C \
207         trans.h \
208         trans_decl.h \
209         trans_mgr.C \
210         trans_mgr.h \
211         undo.C \
212         undo.h \
213         undo_funcs.C \
214         undo_funcs.h \
215         vc-backend.C \
216         vc-backend.h \
217         version.C \
218         version.h \
219         vspace.C \
220         vspace.h
221
222 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
223         lyxrc.h support/path.h support/filetools.h \
224         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
225         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
226         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
227           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
228
229 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
230         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
231
232 dist-hook:
233         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`