]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Baruch's graphics-patch + minipage-support in tabular-cells.
[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         @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
16 EXTRA_DIST = config.h.in stamp-h.in cheaders
17 ETAGS_ARGS = --lang=c++
18 INCLUDES = $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
19 localedir = $(datadir)/locale
20 lyx_SOURCES = \
21         BackStack.h \
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.h \
40         FontInfo.C \
41         FontInfo.h \
42         FontLoader.C \
43         FontLoader.h \
44         ImportLaTeX.C \
45         ImportLaTeX.h \
46         ImportNoweb.C \
47         ImportNoweb.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         Literate.C \
57         Literate.h \
58         LyXAction.C \
59         LyXAction.h \
60         LyXSendto.C \
61         LyXView.C \
62         LyXView.h \
63         Makefile.in \
64         MenuBackend.C \
65         MenuBackend.h \
66         Painter.C \
67         Painter.h \
68         PainterBase.C \
69         PainterBase.h \
70         PaperLayout.C \
71         ParagraphExtra.C \
72         PrinterParams.h \
73         Sectioning.h \
74         Sectioning.C \
75         Spacing.C \
76         Spacing.h \
77         TableLayout.C \
78         TextCache.C \
79         TextCache.h \
80         Timeout.C \
81         Timeout.h \
82         ToolbarDefaults.C \
83         ToolbarDefaults.h \
84         UpdateInset.C \
85         UpdateInset.h \
86         Variables.C \
87         Variables.h \
88         WorkArea.C \
89         WorkArea.h \
90         bibforms.h \
91         bmtable.c \
92         bmtable.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         bullet_forms.C \
103         bullet_forms.h \
104         bullet_forms_cb.C \
105         chset.C \
106         chset.h \
107         combox.C \
108         combox.h \
109         commandtags.h \
110         config.h.in \
111         counters.C \
112         counters.h \
113         credits.C \
114         credits.h \
115         credits_form.C \
116         credits_form.h \
117         debug.C \
118         debug.h \
119         encoding.C \
120         encoding.h \
121         ext_l10n.h \
122         figure.h \
123         filedlg.C \
124         filedlg.h \
125         font.C \
126         font.h \
127         form1.C \
128         form1.h \
129         gettext.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_sendfax.C \
158         lyx_sendfax.h \
159         lyx_sendfax_main.C \
160         lyx_sty.C \
161         lyx_sty.h \
162         lyxcursor.C \
163         lyxcursor.h \
164         lyxfont.C \
165         lyxfont.h \
166         lyxfr0.C \
167         lyxfr0.h \
168         lyxfr1.C \
169         lyxfr1.h \
170         lyxfunc.C \
171         lyxfunc.h \
172         lyxlex.C \
173         lyxlex.h \
174         lyxlex_pimpl.C \
175         lyxlex_pimpl.h \
176         lyxlookup.C \
177         lyxlookup.h \
178         lyxparagraph.h \
179         lyxrc.C \
180         lyxrc.h \
181         lyxrow.C \
182         lyxrow.h \
183         lyxscreen.h \
184         lyxserver.C \
185         lyxserver.h \
186         lyxtext.h \
187         lyxvc.C \
188         lyxvc.h \
189         main.C \
190         menus.C \
191         menus.h \
192         minibuffer.C \
193         minibuffer.h \
194         nt_defines.h \
195         os2_defines.h \
196         os2_errortable.h \
197         paragraph.C \
198         print_form.C \
199         print_form.h \
200         screen.C \
201         sp_form.C \
202         sp_form.h \
203         spellchecker.C \
204         spellchecker.h \
205         stl_string_fwd.h \
206         table.C \
207         table.h \
208         tabular.C \
209         tabular.h \
210         tex-accent.C \
211         tex-accent.h \
212         tex-defs.h \
213         tex-strings.C \
214         tex-strings.h \
215         texrow.C \
216         texrow.h \
217         text.C \
218         text2.C \
219         tracer.C \
220         tracer.h \
221         trans.C \
222         trans.h \
223         trans_decl.h \
224         trans_mgr.C \
225         trans_mgr.h \
226         undo.C \
227         undo.h \
228         vc-backend.C \
229         vc-backend.h \
230         version.h \
231         vms_defines.h \
232         vspace.C \
233         vspace.h
234
235 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
236         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
237         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
238         lyxserver.h layout.h gettext.h kbmap.h 
239         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
240           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
241
242 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
243         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
244
245 dist-hook:
246         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`