]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Fixes to insettabular/text + GNOME patch + KDE patch
[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 support/libsupport.la @INCLUDED_SIGC@
14 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
15         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
16 #lyx_LDFLAGS=-Wl,-O1
17 EXTRA_DIST = config.h.in stamp-h.in cheaders
18 ETAGS_ARGS = --lang=c++
19 INCLUDES = $(SIGC_CFLAGS) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
20 localedir = $(datadir)/locale
21 lyx_SOURCES = \
22         BackStack.h \
23         BufferView.C \
24         BufferView.h \
25         BufferView2.C \
26         BufferView_pimpl.C \
27         BufferView_pimpl.h \
28         Bullet.C \
29         Bullet.h \
30         Chktex.C \
31         Chktex.h \
32         ColorHandler.C \
33         ColorHandler.h \
34         CutAndPaste.C \
35         CutAndPaste.h \
36         DepTable.C \
37         DepTable.h \
38         FloatList.C \
39         FloatList.h \
40         Floating.h \
41         FontInfo.C \
42         FontInfo.h \
43         FontLoader.C \
44         FontLoader.h \
45         ImportLaTeX.C \
46         ImportLaTeX.h \
47         ImportNoweb.C \
48         ImportNoweb.h \
49         LColor.C \
50         LColor.h \
51         LString.h \
52         LaTeX.C \
53         LaTeX.h \
54         LaTeXFeatures.C \
55         LaTeXFeatures.h \
56         LaTeXLog.C \
57         Literate.C \
58         Literate.h \
59         Lsstream.h \
60         LyXAction.C \
61         LyXAction.h \
62         LyXSendto.C \
63         LyXView.C \
64         LyXView.h \
65         Makefile.in \
66         MenuBackend.C \
67         MenuBackend.h \
68         Painter.C \
69         Painter.h \
70         PainterBase.C \
71         PainterBase.h \
72         PaperLayout.C \
73         ParagraphExtra.C \
74         PrinterParams.h \
75         Sectioning.h \
76         Sectioning.C \
77         Spacing.C \
78         Spacing.h \
79         TableLayout.C \
80         TextCache.C \
81         TextCache.h \
82         Timeout.C \
83         Timeout.h \
84         ToolbarDefaults.C \
85         ToolbarDefaults.h \
86         UpdateInset.C \
87         UpdateInset.h \
88         Variables.C \
89         Variables.h \
90         WorkArea.C \
91         WorkArea.h \
92         bibforms.h \
93         bmtable.c \
94         bmtable.h \
95         broken_headers.h \
96         buffer.C \
97         buffer.h \
98         bufferlist.C \
99         bufferlist.h \
100         bufferparams.C \
101         bufferparams.h \
102         bufferview_funcs.C \
103         bufferview_funcs.h \
104         bullet_forms.C \
105         bullet_forms.h \
106         bullet_forms_cb.C \
107         chset.C \
108         chset.h \
109         combox.C \
110         combox.h \
111         commandtags.h \
112         config.h.in \
113         converter.C \
114         converter.h \
115         counters.C \
116         counters.h \
117         credits.C \
118         credits.h \
119         credits_form.C \
120         credits_form.h \
121         debug.C \
122         debug.h \
123         encoding.C \
124         encoding.h \
125         exporter.C \
126         exporter.h \
127         ext_l10n.h \
128         figure.h \
129         filedlg.C \
130         filedlg.h \
131         font.C \
132         font.h \
133         form1.C \
134         form1.h \
135         gettext.h \
136         include_form.h \
137         intl.C \
138         intl.h \
139         kbmap.C \
140         kbmap.h \
141         kbsequence.C \
142         kbsequence.h \
143         language.C \
144         language.h \
145         lastfiles.C \
146         lastfiles.h \
147         layout.C \
148         layout.h \
149         layout_forms.C \
150         layout_forms.h \
151         log_form.C \
152         log_form.h \
153         lyx.C \
154         lyx.h \
155         lyx_cb.C \
156         lyx_cb.h \
157         lyx_gui.C \
158         lyx_gui.h \
159         lyx_gui_misc.C \
160         lyx_gui_misc.h \
161         lyx_main.C \
162         lyx_main.h \
163         lyx_sendfax.C \
164         lyx_sendfax.h \
165         lyx_sendfax_main.C \
166         lyx_sty.C \
167         lyx_sty.h \
168         lyxcursor.C \
169         lyxcursor.h \
170         lyxfont.C \
171         lyxfont.h \
172         lyxfr0.C \
173         lyxfr0.h \
174         lyxfr1.C \
175         lyxfr1.h \
176         lyxfunc.C \
177         lyxfunc.h \
178         lyxlex.C \
179         lyxlex.h \
180         lyxlex_pimpl.C \
181         lyxlex_pimpl.h \
182         lyxlookup.C \
183         lyxlookup.h \
184         lyxparagraph.h \
185         lyxrc.C \
186         lyxrc.h \
187         lyxrow.C \
188         lyxrow.h \
189         lyxscreen.h \
190         lyxserver.C \
191         lyxserver.h \
192         lyxtext.h \
193         lyxvc.C \
194         lyxvc.h \
195         main.C \
196         minibuffer.C \
197         minibuffer.h \
198         nt_defines.h \
199         os2_defines.h \
200         os2_errortable.h \
201         paragraph.C \
202         print_form.C \
203         print_form.h \
204         screen.C \
205         sp_form.C \
206         sp_form.h \
207         spellchecker.C \
208         spellchecker.h \
209         stl_string_fwd.h \
210         table.h \
211         table.C \
212         tabular.C \
213         tabular.h \
214         tex-accent.C \
215         tex-accent.h \
216         tex-defs.h \
217         tex-strings.C \
218         tex-strings.h \
219         texrow.C \
220         texrow.h \
221         text.C \
222         text2.C \
223         tracer.C \
224         tracer.h \
225         trans.C \
226         trans.h \
227         trans_decl.h \
228         trans_mgr.C \
229         trans_mgr.h \
230         undo.C \
231         undo.h \
232         vc-backend.C \
233         vc-backend.h \
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 
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         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
248
249 dist-hook:
250         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`