]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Look for mathed xpms. Doesn't do anything yet due to lack of workable XPMs
[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 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
19         ../boost/libs/signals/src/libboostsignals.la
20
21 lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
22         $(PSPELL_LIBS) $(AIKSAURUS_LIBS)
23
24 #lyx_LDFLAGS=-Wl,-O1
25
26 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
27         Sectioning.h \
28         Sectioning.C \
29         Variables.C \
30         Variables.h \
31         tracer.C \
32         tracer.h
33
34 INCLUDES = $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
35
36 localedir = $(datadir)/locale
37
38 BUILT_SOURCES = version.C
39
40 lyx_SOURCES = \
41         BufferView.C \
42         BufferView.h \
43         BufferView2.C \
44         BufferView_pimpl.C \
45         BufferView_pimpl.h \
46         Bullet.C \
47         Bullet.h \
48         Chktex.C \
49         Chktex.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         FuncStatus.C \
59         FuncStatus.h \
60         InsetList.C \
61         InsetList.h \
62         LColor.C \
63         LColor.h \
64         LString.h \
65         LaTeX.C \
66         LaTeX.h \
67         LaTeXFeatures.C \
68         LaTeXFeatures.h \
69         Lsstream.h \
70         LyXAction.C \
71         LyXAction.h \
72         MenuBackend.C \
73         MenuBackend.h \
74         paragraph_funcs.C \
75         paragraph_funcs.h \
76         ParagraphList.C \
77         ParagraphList.h \
78         ParagraphParameters.C \
79         ParagraphParameters.h \
80         ParameterStruct.h \
81         PrinterParams.h \
82         ShareContainer.h \
83         Spacing.C \
84         Spacing.h \
85         TextCache.C \
86         TextCache.h \
87         Thesaurus.C \
88         Thesaurus.h \
89         ToolbarDefaults.C \
90         ToolbarDefaults.h \
91         WordLangTuple.h \
92         boost.C \
93         box.h \
94         box.C \
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         chset.C \
105         chset.h \
106         commandtags.h \
107         config.h.in \
108         converter.C \
109         converter.h \
110         counters.C \
111         counters.h \
112         debug.C \
113         debug.h \
114         encoding.C \
115         encoding.h \
116         exporter.C \
117         exporter.h \
118         gettext.C \
119         gettext.h \
120         factory.h \
121         factory.C \
122         funcrequest.h \
123         funcrequest.C \
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_main.C \
144         lyx_main.h \
145         lyx_sty.C \
146         lyx_sty.h \
147         lyxcursor.C \
148         lyxcursor.h \
149         lyxfont.C \
150         lyxfont.h \
151         lyxfind.C \
152         lyxfind.h \
153         lyxfunc.C \
154         lyxfunc.h \
155         lyxgluelength.C \
156         lyxgluelength.h \
157         lyxlayout.C \
158         lyxlayout.h \
159         lyxlayout_ptr_fwd.h \
160         lyxlength.C \
161         lyxlength.h \
162         lyxlex.C \
163         lyxlex.h \
164         lyxlex_pimpl.C \
165         lyxlex_pimpl.h \
166         lyxrc.C \
167         lyxrc.h \
168         lyxrow.C \
169         lyxrow.h \
170         lyxserver.C \
171         lyxserver.h \
172         lyxtext.h \
173         lyxtextclass.C \
174         lyxtextclass.h \
175         lyxtextclasslist.C \
176         lyxtextclasslist.h \
177         lyxvc.C \
178         lyxvc.h \
179         main.C \
180         paragraph.C \
181         paragraph.h \
182         paragraph_pimpl.C \
183         paragraph_pimpl.h \
184         SpellBase.h \
185         ispell.C \
186         ispell.h \
187         pspell.C \
188         pspell.h \
189         sgml.C \
190         sgml.h \
191         tabular.C \
192         tabular.h \
193         tabular-old.C \
194         tabular_funcs.C \
195         tabular_funcs.h \
196         tex-accent.C \
197         tex-accent.h \
198         tex-strings.C \
199         tex-strings.h \
200         texrow.C \
201         texrow.h \
202         text.C \
203         text2.C \
204         text3.C \
205         toc.C \
206         toc.h \
207         trans.C \
208         trans.h \
209         trans_decl.h \
210         trans_mgr.C \
211         trans_mgr.h \
212         undo.C \
213         undo.h \
214         undo_funcs.C \
215         undo_funcs.h \
216         vc-backend.C \
217         vc-backend.h \
218         version.C \
219         version.h \
220         vspace.C \
221         vspace.h
222
223 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
224         lyxrc.h support/path.h support/filetools.h \
225         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
226         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
227         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
228           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
229
230 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
231         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
232
233 dist-hook:
234         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`