]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
fix typo and and ukrainian
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets graphics support frontends
3 DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
4 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
5 bin_PROGRAMS = lyx
6 ## libfrontends is given twice on the link line because it needs stuff
7 ## from FRONTEND_GUILIB and inversely. If you do not like it, feel
8 ## free to provide another solution... Maybe signals would solve that
9 ## magically, but I do not understand them much (JMarc)
10 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
11         graphics/libgraphics.la \
12         frontends/libfrontends.la @FRONTEND_GUILIB@ \
13         frontends/libfrontends.la \
14         frontends/support/libfrontendsupport.la support/libsupport.la \
15         @INCLUDED_SIGC@
16 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
17         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
18 #lyx_LDFLAGS=-Wl,-O1
19 EXTRA_DIST = config.h.in stamp-h.in cheaders
20 ETAGS_ARGS = --lang=c++
21 BOOST_INCLUDES = -I$(top_srcdir)/boost
22 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
23 localedir = $(datadir)/locale
24 lyx_SOURCES = \
25         BackStack.h \
26         BufferView.C \
27         BufferView.h \
28         BufferView2.C \
29         BufferView_pimpl.C \
30         BufferView_pimpl.h \
31         Bullet.C \
32         Bullet.h \
33         Chktex.C \
34         Chktex.h \
35         ColorHandler.C \
36         ColorHandler.h \
37         CutAndPaste.C \
38         CutAndPaste.h \
39         DepTable.C \
40         DepTable.h \
41         FloatList.C \
42         FloatList.h \
43         Floating.h \
44         FontInfo.C \
45         FontInfo.h \
46         FontLoader.C \
47         FontLoader.h \
48         LColor.C \
49         LColor.h \
50         LString.h \
51         LaTeX.C \
52         LaTeX.h \
53         LaTeXFeatures.C \
54         LaTeXFeatures.h \
55         LaTeXLog.C \
56         Lsstream.h \
57         LyXAction.C \
58         LyXAction.h \
59         LyXSendto.C \
60         LyXView.C \
61         LyXView.h \
62         Makefile.in \
63         MenuBackend.C \
64         MenuBackend.h \
65         Painter.C \
66         Painter.h \
67         PainterBase.C \
68         PainterBase.h \
69         PrinterParams.h \
70         Sectioning.h \
71         Sectioning.C \
72         Spacing.C \
73         Spacing.h \
74         TextCache.C \
75         TextCache.h \
76         Timeout.C \
77         Timeout.h \
78         ToolbarDefaults.C \
79         ToolbarDefaults.h \
80         UpdateInset.C \
81         UpdateInset.h \
82         Variables.C \
83         Variables.h \
84         WorkArea.C \
85         WorkArea.h \
86         bibforms.h \
87         bmtable.c \
88         bmtable.h \
89         broken_headers.h \
90         buffer.C \
91         buffer.h \
92         bufferlist.C \
93         bufferlist.h \
94         bufferparams.C \
95         bufferparams.h \
96         bufferview_funcs.C \
97         bufferview_funcs.h \
98         chset.C \
99         chset.h \
100         combox.C \
101         combox.h \
102         commandtags.h \
103         config.h.in \
104         converter.C \
105         converter.h \
106         counters.C \
107         counters.h \
108         credits.C \
109         credits.h \
110         credits_form.C \
111         credits_form.h \
112         debug.C \
113         debug.h \
114         encoding.C \
115         encoding.h \
116         exporter.C \
117         exporter.h \
118         ext_l10n.h \
119         figure.h \
120         filedlg.C \
121         filedlg.h \
122         font.C \
123         font.h \
124         form1.C \
125         form1.h \
126         gettext.C \
127         gettext.h \
128         importer.C \
129         importer.h \
130         include_form.h \
131         intl.C \
132         intl.h \
133         kbmap.C \
134         kbmap.h \
135         kbsequence.C \
136         kbsequence.h \
137         language.C \
138         language.h \
139         lastfiles.C \
140         lastfiles.h \
141         layout.C \
142         layout.h \
143         layout_forms.C \
144         layout_forms.h \
145         log_form.C \
146         log_form.h \
147         lyx.C \
148         lyx.h \
149         lyx_cb.C \
150         lyx_cb.h \
151         lyx_gui.C \
152         lyx_gui.h \
153         lyx_gui_misc.C \
154         lyx_gui_misc.h \
155         lyx_main.C \
156         lyx_main.h \
157         lyx_sty.C \
158         lyx_sty.h \
159         lyxcursor.C \
160         lyxcursor.h \
161         lyxfont.C \
162         lyxfont.h \
163         lyxfr0.C \
164         lyxfr0.h \
165         lyxfr1.C \
166         lyxfr1.h \
167         lyxfunc.C \
168         lyxfunc.h \
169         lyxlex.C \
170         lyxlex.h \
171         lyxlex_pimpl.C \
172         lyxlex_pimpl.h \
173         lyxlookup.C \
174         lyxlookup.h \
175         lyxparagraph.h \
176         lyxrc.C \
177         lyxrc.h \
178         lyxrow.C \
179         lyxrow.h \
180         lyxscreen.h \
181         lyxserver.C \
182         lyxserver.h \
183         lyxtext.h \
184         lyxvc.C \
185         lyxvc.h \
186         main.C \
187         minibuffer.C \
188         minibuffer.h \
189         nt_defines.h \
190         os2_defines.h \
191         os2_errortable.h \
192         paragraph.C \
193         print_form.C \
194         print_form.h \
195         screen.C \
196         sp_form.C \
197         sp_form.h \
198         spellchecker.C \
199         spellchecker.h \
200         stl_string_fwd.h \
201         tabular.C \
202         tabular.h \
203         tex-accent.C \
204         tex-accent.h \
205         tex-defs.h \
206         tex-strings.C \
207         tex-strings.h \
208         texrow.C \
209         texrow.h \
210         text.C \
211         text2.C \
212         tracer.C \
213         tracer.h \
214         trans.C \
215         trans.h \
216         trans_decl.h \
217         trans_mgr.C \
218         trans_mgr.h \
219         undo.C \
220         undo.h \
221         vc-backend.C \
222         vc-backend.h \
223         version.h \
224         vms_defines.h \
225         vspace.C \
226         vspace.h
227
228 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
229         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
230         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
231         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
232         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
233           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
234
235 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
236         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
237
238 dist-hook:
239         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`