]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Fix working of the spellchecker dialog with ispell when there are no
[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
7 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
8         graphics/libgraphics.la \
9         frontends/libfrontends.la \
10         support/libsupport.la \
11         @INCLUDED_SIGC@
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13         $(PSPELL_LIBS) @AIKSAURUS_LIBS@
14
15 #lyx_LDFLAGS=-Wl,-O1
16 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version_info.h.in
17 ETAGS_ARGS = --lang=c++
18 BOOST_INCLUDES = -I$(top_srcdir)/boost
19 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
20 localedir = $(datadir)/locale
21 lyx_SOURCES = \
22         BufferView.C \
23         BufferView.h \
24         BufferView2.C \
25         BufferView_pimpl.C \
26         BufferView_pimpl.h \
27         Bullet.C \
28         Bullet.h \
29         Chktex.C \
30         Chktex.h \
31         ColorHandler.C \
32         ColorHandler.h \
33         CutAndPaste.C \
34         CutAndPaste.h \
35         DepTable.C \
36         DepTable.h \
37         FloatList.C \
38         FloatList.h \
39         Floating.C \
40         Floating.h \
41         FontInfo.C \
42         FontInfo.h \
43         FontLoader.C \
44         FontLoader.h \
45         LColor.C \
46         LColor.h \
47         LString.h \
48         LaTeX.C \
49         LaTeX.h \
50         LaTeXFeatures.C \
51         LaTeXFeatures.h \
52         Lsstream.h \
53         LyXAction.C \
54         LyXAction.h \
55         LyXSendto.C \
56         LyXView.C \
57         LyXView.h \
58         Makefile.in \
59         MenuBackend.C \
60         MenuBackend.h \
61         Painter.C \
62         Painter.h \
63         PainterBase.C \
64         PainterBase.h \
65         ParagraphParameters.C \
66         ParagraphParameters.h \
67         ParameterStruct.h \
68         PrinterParams.h \
69         Sectioning.h \
70         Sectioning.C \
71         ShareContainer.h \
72         Spacing.C \
73         Spacing.h \
74         TextCache.C \
75         TextCache.h \
76         Thesaurus.C \
77         Thesaurus.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         XFormsView.C \
87         XFormsView.h \
88         broken_headers.h \
89         buffer.C \
90         buffer.h \
91         bufferlist.C \
92         bufferlist.h \
93         bufferparams.C \
94         bufferparams.h \
95         bufferview_funcs.C \
96         bufferview_funcs.h \
97         chset.C \
98         chset.h \
99         commandtags.h \
100         config.h.in \
101         converter.C \
102         converter.h \
103         counters.C \
104         counters.h \
105         debug.C \
106         debug.h \
107         encoding.C \
108         encoding.h \
109         exporter.C \
110         exporter.h \
111         figure.h \
112         figure_form.C \
113         figure_form.h \
114         figureForm.C \
115         figureForm.h \
116         font.C \
117         font.h \
118         func_status.h \
119         gettext.C \
120         gettext.h \
121         importer.C \
122         importer.h \
123         intl.C \
124         intl.h \
125         iterators.C \
126         iterators.h \
127         kbmap.C \
128         kbmap.h \
129         kbsequence.C \
130         kbsequence.h \
131         language.C \
132         language.h \
133         lastfiles.C \
134         lastfiles.h \
135         layout.C \
136         layout.h \
137         lyx_cb.C \
138         lyx_cb.h \
139         lyx_gui.C \
140         lyx_gui.h \
141         lyx_gui_misc.C \
142         lyx_gui_misc.h \
143         lyx_main.C \
144         lyx_main.h \
145         lyx_sty.C \
146         lyx_sty.h \
147         lyxcursor.C \
148         lyxcursor.h \
149         lyxfont.C \
150         lyxfont.h \
151         lyxfind.C \
152         lyxfind.h \
153         lyxfunc.C \
154         lyxfunc.h \
155         lyxlex.C \
156         lyxlex.h \
157         lyxlex_pimpl.C \
158         lyxlex_pimpl.h \
159         lyxlookup.C \
160         lyxlookup.h \
161         lyxrc.C \
162         lyxrc.h \
163         lyxrow.C \
164         lyxrow.h \
165         lyxscreen.h \
166         lyxserver.C \
167         lyxserver.h \
168         lyxtext.h \
169         lyxvc.C \
170         lyxvc.h \
171         main.C \
172         minibuffer.C \
173         minibuffer.h \
174         nt_defines.h \
175         os2_defines.h \
176         os2_errortable.h \
177         paragraph.C \
178         paragraph.h \
179         paragraph_pimpl.C \
180         paragraph_pimpl.h \
181         print_form.C \
182         print_form.h \
183         screen.C \
184         sp_base.h \
185         sp_spell.C \
186         sp_ispell.h \
187         sp_pspell.h \
188         stl_string_fwd.h \
189         tabular.C \
190         tabular.h \
191         tabular-old.C \
192         tex-accent.C \
193         tex-accent.h \
194         tex-strings.C \
195         tex-strings.h \
196         texrow.C \
197         texrow.h \
198         text.C \
199         text2.C \
200         tracer.C \
201         tracer.h \
202         trans.C \
203         trans.h \
204         trans_decl.h \
205         trans_mgr.C \
206         trans_mgr.h \
207         undo.C \
208         undo.h \
209         undo_funcs.C \
210         undo_funcs.h \
211         undostack.C \
212         undostack.h \
213         vc-backend.C \
214         vc-backend.h \
215         version.h \
216         version_info.h.in \
217         vms_defines.h \
218         vspace.C \
219         vspace.h
220
221 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
222         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
223         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
224         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h \
225         version_info.h.in
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 \
230         support/os.h frontends/GUIRunTime.h
231         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
232
233 dist-hook:
234         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`