]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Dekels tabular/textinset patches
[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 \
14         frontends/support/libfrontendsupport.la support/libsupport.la \
15         @INCLUDED_SIGC@
16 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
17         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
18 #lyx_LDFLAGS=-Wl,-O1
19 EXTRA_DIST = config.h.in stamp-h.in cheaders
20 ETAGS_ARGS = --lang=c++
21 BOOST_INCLUDES = -I$(top_srcdir)/boost
22 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
23 localedir = $(datadir)/locale
24 lyx_SOURCES = \
25         BackStack.h \
26         BufferView.C \
27         BufferView.h \
28         BufferView2.C \
29         BufferView_pimpl.C \
30         BufferView_pimpl.h \
31         Bullet.C \
32         Bullet.h \
33         Chktex.C \
34         Chktex.h \
35         ColorHandler.C \
36         ColorHandler.h \
37         CutAndPaste.C \
38         CutAndPaste.h \
39         DepTable.C \
40         DepTable.h \
41         FloatList.C \
42         FloatList.h \
43         Floating.C \
44         Floating.h \
45         FontInfo.C \
46         FontInfo.h \
47         FontLoader.C \
48         FontLoader.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         Lsstream.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         PrinterParams.h \
71         Sectioning.h \
72         Sectioning.C \
73         Spacing.C \
74         Spacing.h \
75         TextCache.C \
76         TextCache.h \
77         Timeout.C \
78         Timeout.h \
79         ToolbarDefaults.C \
80         ToolbarDefaults.h \
81         UpdateInset.C \
82         UpdateInset.h \
83         Variables.C \
84         Variables.h \
85         WorkArea.C \
86         WorkArea.h \
87         bibforms.h \
88         bmtable.c \
89         bmtable.h \
90         broken_headers.h \
91         buffer.C \
92         buffer.h \
93         bufferlist.C \
94         bufferlist.h \
95         bufferparams.C \
96         bufferparams.h \
97         bufferview_funcs.C \
98         bufferview_funcs.h \
99         chset.C \
100         chset.h \
101         combox.C \
102         combox.h \
103         commandtags.h \
104         config.h.in \
105         converter.C \
106         converter.h \
107         counters.C \
108         counters.h \
109         credits.C \
110         credits.h \
111         credits_form.C \
112         credits_form.h \
113         debug.C \
114         debug.h \
115         encoding.C \
116         encoding.h \
117         exporter.C \
118         exporter.h \
119         ext_l10n.h \
120         figure.h \
121         filedlg.C \
122         filedlg.h \
123         font.C \
124         font.h \
125         form1.C \
126         form1.h \
127         gettext.C \
128         gettext.h \
129         importer.C \
130         importer.h \
131         include_form.h \
132         intl.C \
133         intl.h \
134         kbmap.C \
135         kbmap.h \
136         kbsequence.C \
137         kbsequence.h \
138         language.C \
139         language.h \
140         lastfiles.C \
141         lastfiles.h \
142         layout.C \
143         layout.h \
144         layout_forms.C \
145         layout_forms.h \
146         log_form.C \
147         log_form.h \
148         lyx.C \
149         lyx.h \
150         lyx_cb.C \
151         lyx_cb.h \
152         lyx_gui.C \
153         lyx_gui.h \
154         lyx_gui_misc.C \
155         lyx_gui_misc.h \
156         lyx_main.C \
157         lyx_main.h \
158         lyx_sty.C \
159         lyx_sty.h \
160         lyxcursor.C \
161         lyxcursor.h \
162         lyxfont.C \
163         lyxfont.h \
164         lyxfr0.C \
165         lyxfr0.h \
166         lyxfr1.C \
167         lyxfr1.h \
168         lyxfunc.C \
169         lyxfunc.h \
170         lyxlex.C \
171         lyxlex.h \
172         lyxlex_pimpl.C \
173         lyxlex_pimpl.h \
174         lyxlookup.C \
175         lyxlookup.h \
176         lyxparagraph.h \
177         lyxrc.C \
178         lyxrc.h \
179         lyxrow.C \
180         lyxrow.h \
181         lyxscreen.h \
182         lyxserver.C \
183         lyxserver.h \
184         lyxtext.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         print_form.C \
195         print_form.h \
196         screen.C \
197         sp_form.C \
198         sp_form.h \
199         spellchecker.C \
200         spellchecker.h \
201         stl_string_fwd.h \
202         tabular.C \
203         tabular.h \
204         tex-accent.C \
205         tex-accent.h \
206         tex-defs.h \
207         tex-strings.C \
208         tex-strings.h \
209         texrow.C \
210         texrow.h \
211         text.C \
212         text2.C \
213         tracer.C \
214         tracer.h \
215         trans.C \
216         trans.h \
217         trans_decl.h \
218         trans_mgr.C \
219         trans_mgr.h \
220         undo.C \
221         undo.h \
222         vc-backend.C \
223         vc-backend.h \
224         version.h \
225         vms_defines.h \
226         vspace.C \
227         vspace.h
228
229 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
230         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
231         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
232         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
233         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
234           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
235
236 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
237         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
238
239 dist-hook:
240         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`