]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Rob's latest and greatest dialog tweaking.
[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         BufferView_pimpl.C \
44         BufferView_pimpl.h \
45         Bullet.C \
46         Bullet.h \
47         Chktex.C \
48         Chktex.h \
49         CutAndPaste.C \
50         CutAndPaste.h \
51         DepTable.C \
52         DepTable.h \
53         FloatList.C \
54         FloatList.h \
55         Floating.C \
56         Floating.h \
57         FuncStatus.C \
58         FuncStatus.h \
59         InsetList.C \
60         InsetList.h \
61         LColor.C \
62         LColor.h \
63         LString.h \
64         LaTeX.C \
65         LaTeX.h \
66         LaTeXFeatures.C \
67         LaTeXFeatures.h \
68         Lsstream.h \
69         LyXAction.C \
70         LyXAction.h \
71         MenuBackend.C \
72         MenuBackend.h \
73         paragraph_funcs.C \
74         paragraph_funcs.h \
75         ParagraphList.C \
76         ParagraphList.h \
77         ParagraphParameters.C \
78         ParagraphParameters.h \
79         ParameterStruct.h \
80         PrinterParams.h \
81         ShareContainer.h \
82         Spacing.C \
83         Spacing.h \
84         TextCache.C \
85         TextCache.h \
86         Thesaurus.C \
87         Thesaurus.h \
88         ToolbarDefaults.C \
89         ToolbarDefaults.h \
90         WordLangTuple.h \
91         boost.C \
92         box.h \
93         box.C \
94         broken_headers.h \
95         buffer.C \
96         buffer.h \
97         bufferlist.C \
98         bufferlist.h \
99         bufferparams.C \
100         bufferparams.h \
101         bufferview_funcs.C \
102         bufferview_funcs.h \
103         chset.C \
104         chset.h \
105         commandtags.h \
106         config.h.in \
107         converter.C \
108         converter.h \
109         counters.C \
110         counters.h \
111         debug.C \
112         debug.h \
113         encoding.C \
114         encoding.h \
115         exporter.C \
116         exporter.h \
117         gettext.C \
118         gettext.h \
119         factory.h \
120         factory.C \
121         funcrequest.h \
122         funcrequest.C \
123         importer.C \
124         importer.h \
125         intl.C \
126         intl.h \
127         iterators.C \
128         iterators.h \
129         kbmap.C \
130         kbmap.h \
131         kbsequence.C \
132         kbsequence.h \
133         language.C \
134         language.h \
135         lastfiles.C \
136         lastfiles.h \
137         layout.h \
138         lengthcommon.C \
139         lengthcommon.h \
140         lyx_cb.C \
141         lyx_cb.h \
142         lyx_main.C \
143         lyx_main.h \
144         lyx_sty.C \
145         lyx_sty.h \
146         lyxcursor.C \
147         lyxcursor.h \
148         lyxfont.C \
149         lyxfont.h \
150         lyxfind.C \
151         lyxfind.h \
152         lyxfunc.C \
153         lyxfunc.h \
154         lyxgluelength.C \
155         lyxgluelength.h \
156         lyxlayout.C \
157         lyxlayout.h \
158         lyxlayout_ptr_fwd.h \
159         lyxlength.C \
160         lyxlength.h \
161         lyxlex.C \
162         lyxlex.h \
163         lyxlex_pimpl.C \
164         lyxlex_pimpl.h \
165         lyxrc.C \
166         lyxrc.h \
167         lyxrow.C \
168         lyxrow.h \
169         lyxserver.C \
170         lyxserver.h \
171         lyxtext.h \
172         lyxtextclass.C \
173         lyxtextclass.h \
174         lyxtextclasslist.C \
175         lyxtextclasslist.h \
176         lyxvc.C \
177         lyxvc.h \
178         main.C \
179         paragraph.C \
180         paragraph.h \
181         paragraph_pimpl.C \
182         paragraph_pimpl.h \
183         SpellBase.h \
184         ispell.C \
185         ispell.h \
186         pspell.C \
187         pspell.h \
188         sgml.C \
189         sgml.h \
190         tabular.C \
191         tabular.h \
192         tabular-old.C \
193         tabular_funcs.C \
194         tabular_funcs.h \
195         tex-accent.C \
196         tex-accent.h \
197         tex-strings.C \
198         tex-strings.h \
199         texrow.C \
200         texrow.h \
201         text.C \
202         text2.C \
203         text3.C \
204         toc.C \
205         toc.h \
206         trans.C \
207         trans.h \
208         trans_decl.h \
209         trans_mgr.C \
210         trans_mgr.h \
211         undo.C \
212         undo.h \
213         undo_funcs.C \
214         undo_funcs.h \
215         vc-backend.C \
216         vc-backend.h \
217         version.C \
218         version.h \
219         vspace.C \
220         vspace.h
221
222 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
223         lyxrc.h support/path.h support/filetools.h \
224         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
225         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
226         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
227           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
228
229 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
230         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
231
232 dist-hook:
233         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`