]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
func_status cleanup from Martin; fix small configure bug
[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.C.in \
17         Sectioning.h \
18         Sectioning.C \
19         Variables.C \
20         Variables.h \
21         counters.C \
22         counters.h
23  
24 ETAGS_ARGS = --lang=c++
25 BOOST_INCLUDES = -I$(top_srcdir)/boost
26 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
27 localedir = $(datadir)/locale
28 BUILT_SOURCES = version.C
29 lyx_SOURCES = \
30         BufferView.C \
31         BufferView.h \
32         BufferView2.C \
33         BufferView_pimpl.C \
34         BufferView_pimpl.h \
35         Bullet.C \
36         Bullet.h \
37         Chktex.C \
38         Chktex.h \
39         ColorHandler.C \
40         ColorHandler.h \
41         CutAndPaste.C \
42         CutAndPaste.h \
43         DepTable.C \
44         DepTable.h \
45         FloatList.C \
46         FloatList.h \
47         Floating.C \
48         Floating.h \
49         FontInfo.C \
50         FontInfo.h \
51         FontLoader.C \
52         FontLoader.h \
53         FuncStatus.C \
54         FuncStatus.h \
55         LColor.C \
56         LColor.h \
57         LString.h \
58         LaTeX.C \
59         LaTeX.h \
60         LaTeXFeatures.C \
61         LaTeXFeatures.h \
62         Lsstream.h \
63         LyXAction.C \
64         LyXAction.h \
65         LyXSendto.C \
66         LyXView.C \
67         LyXView.h \
68         Makefile.in \
69         MenuBackend.C \
70         MenuBackend.h \
71         Painter.C \
72         Painter.h \
73         PainterBase.C \
74         PainterBase.h \
75         ParagraphParameters.C \
76         ParagraphParameters.h \
77         ParameterStruct.h \
78         PrinterParams.h \
79         ShareContainer.h \
80         Spacing.C \
81         Spacing.h \
82         TextCache.C \
83         TextCache.h \
84         Thesaurus.C \
85         Thesaurus.h \
86         ToolbarDefaults.C \
87         ToolbarDefaults.h \
88         UpdateInset.C \
89         UpdateInset.h \
90         WorkArea.C \
91         WorkArea.h \
92         XFormsView.C \
93         XFormsView.h \
94         box.h \
95         box.C \
96         broken_headers.h \
97         buffer.C \
98         buffer.h \
99         bufferlist.C \
100         bufferlist.h \
101         bufferparams.C \
102         bufferparams.h \
103         bufferview_funcs.C \
104         bufferview_funcs.h \
105         chset.C \
106         chset.h \
107         commandtags.h \
108         config.h.in \
109         converter.C \
110         converter.h \
111         debug.C \
112         debug.h \
113         encoding.C \
114         encoding.h \
115         exporter.C \
116         exporter.h \
117         figure.h \
118         figure_form.C \
119         figure_form.h \
120         figureForm.C \
121         figureForm.h \
122         font.C \
123         font.h \
124         gettext.C \
125         gettext.h \
126         importer.C \
127         importer.h \
128         intl.C \
129         intl.h \
130         iterators.C \
131         iterators.h \
132         kbmap.C \
133         kbmap.h \
134         kbsequence.C \
135         kbsequence.h \
136         language.C \
137         language.h \
138         lastfiles.C \
139         lastfiles.h \
140         layout.h \
141         lengthcommon.C \
142         lengthcommon.h \
143         lyx_cb.C \
144         lyx_cb.h \
145         lyx_gui.C \
146         lyx_gui.h \
147         lyx_gui_misc.C \
148         lyx_gui_misc.h \
149         lyx_main.C \
150         lyx_main.h \
151         lyx_sty.C \
152         lyx_sty.h \
153         lyxcursor.C \
154         lyxcursor.h \
155         lyxfont.C \
156         lyxfont.h \
157         lyxfind.C \
158         lyxfind.h \
159         lyxfunc.C \
160         lyxfunc.h \
161         lyxgluelength.C \
162         lyxgluelength.h \
163         lyxlayout.C \
164         lyxlayout.h \
165         lyxlength.C \
166         lyxlength.h \
167         lyxlex.C \
168         lyxlex.h \
169         lyxlex_pimpl.C \
170         lyxlex_pimpl.h \
171         lyxlookup.C \
172         lyxlookup.h \
173         lyxrc.C \
174         lyxrc.h \
175         lyxrow.C \
176         lyxrow.h \
177         lyxscreen.h \
178         lyxserver.C \
179         lyxserver.h \
180         lyxtext.h \
181         lyxtextclass.C \
182         lyxtextclass.h \
183         lyxtextclasslist.C \
184         lyxtextclasslist.h \
185         lyxvc.C \
186         lyxvc.h \
187         main.C \
188         minibuffer.C \
189         minibuffer.h \
190         nt_defines.h \
191         os2_defines.h \
192         os2_errortable.h \
193         paragraph.C \
194         paragraph.h \
195         paragraph_pimpl.C \
196         paragraph_pimpl.h \
197         print_form.C \
198         print_form.h \
199         screen.C \
200         sp_base.h \
201         sp_spell.C \
202         sp_ispell.h \
203         sp_pspell.h \
204         stl_string_fwd.h \
205         tabular.C \
206         tabular.h \
207         tabular-old.C \
208         tabular_funcs.C \
209         tabular_funcs.h \
210         tex-accent.C \
211         tex-accent.h \
212         tex-strings.C \
213         tex-strings.h \
214         texrow.C \
215         texrow.h \
216         text.C \
217         text2.C \
218         tracer.C \
219         tracer.h \
220         trans.C \
221         trans.h \
222         trans_decl.h \
223         trans_mgr.C \
224         trans_mgr.h \
225         undo.C \
226         undo.h \
227         undo_funcs.C \
228         undo_funcs.h \
229         undostack.C \
230         undostack.h \
231         vc-backend.C \
232         vc-backend.h \
233         version.C \
234         version.h \
235         vms_defines.h \
236         vspace.C \
237         vspace.h
238
239 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
240         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
241         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
242         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
243         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
244           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
245
246 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
247         support/os.h frontends/GUIRunTime.h
248         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
249
250 dist-hook:
251         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`