]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
John's Layout Tabular UI improvements and Martins fixes to clearing the
[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         LColor.C \
54         LColor.h \
55         LString.h \
56         LaTeX.C \
57         LaTeX.h \
58         LaTeXFeatures.C \
59         LaTeXFeatures.h \
60         Lsstream.h \
61         LyXAction.C \
62         LyXAction.h \
63         LyXSendto.C \
64         LyXView.C \
65         LyXView.h \
66         Makefile.in \
67         MenuBackend.C \
68         MenuBackend.h \
69         Painter.C \
70         Painter.h \
71         PainterBase.C \
72         PainterBase.h \
73         ParagraphParameters.C \
74         ParagraphParameters.h \
75         ParameterStruct.h \
76         PrinterParams.h \
77         ShareContainer.h \
78         Spacing.C \
79         Spacing.h \
80         TextCache.C \
81         TextCache.h \
82         Thesaurus.C \
83         Thesaurus.h \
84         ToolbarDefaults.C \
85         ToolbarDefaults.h \
86         UpdateInset.C \
87         UpdateInset.h \
88         WorkArea.C \
89         WorkArea.h \
90         XFormsView.C \
91         XFormsView.h \
92         box.h \
93         broken_headers.h \
94         buffer.C \
95         buffer.h \
96         bufferlist.C \
97         bufferlist.h \
98         bufferparams.C \
99         bufferparams.h \
100         bufferview_funcs.C \
101         bufferview_funcs.h \
102         chset.C \
103         chset.h \
104         commandtags.h \
105         config.h.in \
106         converter.C \
107         converter.h \
108         debug.C \
109         debug.h \
110         encoding.C \
111         encoding.h \
112         exporter.C \
113         exporter.h \
114         figure.h \
115         figure_form.C \
116         figure_form.h \
117         figureForm.C \
118         figureForm.h \
119         font.C \
120         font.h \
121         func_status.h \
122         gettext.C \
123         gettext.h \
124         importer.C \
125         importer.h \
126         intl.C \
127         intl.h \
128         iterators.C \
129         iterators.h \
130         kbmap.C \
131         kbmap.h \
132         kbsequence.C \
133         kbsequence.h \
134         language.C \
135         language.h \
136         lastfiles.C \
137         lastfiles.h \
138         layout.h \
139         lengthcommon.C \
140         lengthcommon.h \
141         lyx_cb.C \
142         lyx_cb.h \
143         lyx_gui.C \
144         lyx_gui.h \
145         lyx_gui_misc.C \
146         lyx_gui_misc.h \
147         lyx_main.C \
148         lyx_main.h \
149         lyx_sty.C \
150         lyx_sty.h \
151         lyxcursor.C \
152         lyxcursor.h \
153         lyxfont.C \
154         lyxfont.h \
155         lyxfind.C \
156         lyxfind.h \
157         lyxfunc.C \
158         lyxfunc.h \
159         lyxgluelength.C \
160         lyxgluelength.h \
161         lyxlayout.C \
162         lyxlayout.h \
163         lyxlength.C \
164         lyxlength.h \
165         lyxlex.C \
166         lyxlex.h \
167         lyxlex_pimpl.C \
168         lyxlex_pimpl.h \
169         lyxlookup.C \
170         lyxlookup.h \
171         lyxrc.C \
172         lyxrc.h \
173         lyxrow.C \
174         lyxrow.h \
175         lyxscreen.h \
176         lyxserver.C \
177         lyxserver.h \
178         lyxtext.h \
179         lyxtextclass.C \
180         lyxtextclass.h \
181         lyxtextclasslist.C \
182         lyxtextclasslist.h \
183         lyxvc.C \
184         lyxvc.h \
185         main.C \
186         minibuffer.C \
187         minibuffer.h \
188         nt_defines.h \
189         os2_defines.h \
190         os2_errortable.h \
191         paragraph.C \
192         paragraph.h \
193         paragraph_pimpl.C \
194         paragraph_pimpl.h \
195         print_form.C \
196         print_form.h \
197         screen.C \
198         sp_base.h \
199         sp_spell.C \
200         sp_ispell.h \
201         sp_pspell.h \
202         stl_string_fwd.h \
203         tabular.C \
204         tabular.h \
205         tabular-old.C \
206         tabular_funcs.C \
207         tabular_funcs.h \
208         tex-accent.C \
209         tex-accent.h \
210         tex-strings.C \
211         tex-strings.h \
212         texrow.C \
213         texrow.h \
214         text.C \
215         text2.C \
216         tracer.C \
217         tracer.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         undostack.C \
228         undostack.h \
229         vc-backend.C \
230         vc-backend.h \
231         version.C \
232         version.h \
233         vms_defines.h \
234         vspace.C \
235         vspace.h
236
237 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
238         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
239         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
240         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
241         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
242           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
243
244 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
245         support/os.h frontends/GUIRunTime.h
246         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
247
248 dist-hook:
249         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`