]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
cecc43e101bbe36d785c411efb91edb23cfdfef7
[lyx.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += config.h libintl.h
4
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
6
7 SUBDIRS = mathed insets graphics support frontends
8
9 LIBS += @LIBS@
10
11 bin_PROGRAMS = lyx
12
13 LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
14         frontends/libfrontends.la \
15         graphics/libgraphics.la \
16         support/libsupport.la
17
18 #lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
19
20 lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(INCLUDED_SIGC) @INTLLIBS@ \
21         $(PSPELL_LIBS) @AIKSAURUS_LIBS@
22
23 #  @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
24
25 #lyx_LDFLAGS=-Wl,-O1
26
27 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
28         Sectioning.h \
29         Sectioning.C \
30         Variables.C \
31         Variables.h \
32         counters.C \
33         counters.h
34
35 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
36 localedir = $(datadir)/locale
37 BUILT_SOURCES = version.C
38 lyx_SOURCES = \
39         BufferView.C \
40         BufferView.h \
41         BufferView2.C \
42         BufferView_pimpl.C \
43         BufferView_pimpl.h \
44         Bullet.C \
45         Bullet.h \
46         Chktex.C \
47         Chktex.h \
48         ColorHandler.C \
49         ColorHandler.h \
50         CutAndPaste.C \
51         CutAndPaste.h \
52         DepTable.C \
53         DepTable.h \
54         FloatList.C \
55         FloatList.h \
56         Floating.C \
57         Floating.h \
58         FontInfo.C \
59         FontInfo.h \
60         FontLoader.C \
61         FontLoader.h \
62         FuncStatus.C \
63         FuncStatus.h \
64         LColor.C \
65         LColor.h \
66         LString.h \
67         LaTeX.C \
68         LaTeX.h \
69         LaTeXFeatures.C \
70         LaTeXFeatures.h \
71         Lsstream.h \
72         LyXAction.C \
73         LyXAction.h \
74         LyXView.C \
75         LyXView.h \
76         MenuBackend.C \
77         MenuBackend.h \
78         Painter.C \
79         Painter.h \
80         PainterBase.C \
81         PainterBase.h \
82         ParagraphParameters.C \
83         ParagraphParameters.h \
84         ParameterStruct.h \
85         PrinterParams.h \
86         ShareContainer.h \
87         Spacing.C \
88         Spacing.h \
89         TextCache.C \
90         TextCache.h \
91         Thesaurus.C \
92         Thesaurus.h \
93         ToolbarDefaults.C \
94         ToolbarDefaults.h \
95         WorkArea.C \
96         WorkArea.h \
97         XFormsView.C \
98         XFormsView.h \
99         box.h \
100         box.C \
101         broken_headers.h \
102         buffer.C \
103         buffer.h \
104         bufferlist.C \
105         bufferlist.h \
106         bufferparams.C \
107         bufferparams.h \
108         bufferview_funcs.C \
109         bufferview_funcs.h \
110         chset.C \
111         chset.h \
112         commandtags.h \
113         config.h.in \
114         converter.C \
115         converter.h \
116         debug.C \
117         debug.h \
118         encoding.C \
119         encoding.h \
120         exporter.C \
121         exporter.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_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         paragraph.C \
189         paragraph.h \
190         paragraph_pimpl.C \
191         paragraph_pimpl.h \
192         screen.C \
193         sp_base.h \
194         sp_spell.C \
195         sp_ispell.h \
196         sp_pspell.h \
197         stl_string_fwd.h \
198         tabular.C \
199         tabular.h \
200         tabular-old.C \
201         tabular_funcs.C \
202         tabular_funcs.h \
203         tex-accent.C \
204         tex-accent.h \
205         tex-strings.C \
206         tex-strings.h \
207         texrow.C \
208         texrow.h \
209         text.C \
210         text2.C \
211         tracer.C \
212         tracer.h \
213         trans.C \
214         trans.h \
215         trans_decl.h \
216         trans_mgr.C \
217         trans_mgr.h \
218         undo.C \
219         undo.h \
220         undo_funcs.C \
221         undo_funcs.h \
222         undostack.C \
223         undostack.h \
224         vc-backend.C \
225         vc-backend.h \
226         version.C \
227         version.h \
228         vspace.C \
229         vspace.h
230
231 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
232         lyxrc.h support/path.h support/filetools.h \
233         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
234         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
235         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
236           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
237
238 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
239         support/os.h frontends/GUIRunTime.h
240         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
241
242 dist-hook:
243         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`