]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
move breakParagraph and breakParagraphConservative out of Paragraph
[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         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         funcrequest.h \
120         funcrequest.C \
121         importer.C \
122         importer.h \
123         intl.C \
124         intl.h \
125         iterators.C \
126         iterators.h \
127         kbmap.C \
128         kbmap.h \
129         kbsequence.C \
130         kbsequence.h \
131         language.C \
132         language.h \
133         lastfiles.C \
134         lastfiles.h \
135         layout.h \
136         lengthcommon.C \
137         lengthcommon.h \
138         lyx_cb.C \
139         lyx_cb.h \
140         lyx_main.C \
141         lyx_main.h \
142         lyx_sty.C \
143         lyx_sty.h \
144         lyxcursor.C \
145         lyxcursor.h \
146         lyxfont.C \
147         lyxfont.h \
148         lyxfind.C \
149         lyxfind.h \
150         lyxfunc.C \
151         lyxfunc.h \
152         lyxgluelength.C \
153         lyxgluelength.h \
154         lyxlayout.C \
155         lyxlayout.h \
156         lyxlayout_ptr_fwd.h \
157         lyxlength.C \
158         lyxlength.h \
159         lyxlex.C \
160         lyxlex.h \
161         lyxlex_pimpl.C \
162         lyxlex_pimpl.h \
163         lyxrc.C \
164         lyxrc.h \
165         lyxrow.C \
166         lyxrow.h \
167         lyxserver.C \
168         lyxserver.h \
169         lyxtext.h \
170         lyxtextclass.C \
171         lyxtextclass.h \
172         lyxtextclasslist.C \
173         lyxtextclasslist.h \
174         lyxvc.C \
175         lyxvc.h \
176         main.C \
177         paragraph.C \
178         paragraph.h \
179         paragraph_pimpl.C \
180         paragraph_pimpl.h \
181         SpellBase.h \
182         ispell.C \
183         ispell.h \
184         pspell.C \
185         pspell.h \
186         sgml.C \
187         sgml.h \
188         tabular.C \
189         tabular.h \
190         tabular-old.C \
191         tabular_funcs.C \
192         tabular_funcs.h \
193         tex-accent.C \
194         tex-accent.h \
195         tex-strings.C \
196         tex-strings.h \
197         texrow.C \
198         texrow.h \
199         text.C \
200         text2.C \
201         text3.C \
202         toc.C \
203         toc.h \
204         trans.C \
205         trans.h \
206         trans_decl.h \
207         trans_mgr.C \
208         trans_mgr.h \
209         undo.C \
210         undo.h \
211         undo_funcs.C \
212         undo_funcs.h \
213         vc-backend.C \
214         vc-backend.h \
215         version.C \
216         version.h \
217         vspace.C \
218         vspace.h
219
220 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
221         lyxrc.h support/path.h support/filetools.h \
222         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
223         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
224         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
225           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
226
227 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
228         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
229
230 dist-hook:
231         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`