]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
ascii export of paragraphs, fix small compile problem.
[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
7 lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
8         graphics/libgraphics.o \
9         frontends/libfrontends.o \
10         support/libsupport.o \
11         @INCLUDED_SIGC@
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13         $(PSPELL_LIBS) @AIKSAURUS_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
14
15 #lyx_LDFLAGS=-Wl,-O1
16 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
17         Sectioning.h \
18         Sectioning.C \
19         Variables.C \
20         Variables.h \
21         counters.C \
22         counters.h
23  
24 ETAGS_ARGS = --lang=c++
25 BOOST_INCLUDES = -I$(top_srcdir)/boost
26 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
27 localedir = $(datadir)/locale
28 BUILT_SOURCES = version.C
29 lyx_SOURCES = \
30         BufferView.C \
31         BufferView.h \
32         BufferView2.C \
33         BufferView_pimpl.C \
34         BufferView_pimpl.h \
35         Bullet.C \
36         Bullet.h \
37         Chktex.C \
38         Chktex.h \
39         ColorHandler.C \
40         ColorHandler.h \
41         CutAndPaste.C \
42         CutAndPaste.h \
43         DepTable.C \
44         DepTable.h \
45         FloatList.C \
46         FloatList.h \
47         Floating.C \
48         Floating.h \
49         FontInfo.C \
50         FontInfo.h \
51         FontLoader.C \
52         FontLoader.h \
53         FuncStatus.C \
54         FuncStatus.h \
55         LColor.C \
56         LColor.h \
57         LString.h \
58         LaTeX.C \
59         LaTeX.h \
60         LaTeXFeatures.C \
61         LaTeXFeatures.h \
62         Lsstream.h \
63         LyXAction.C \
64         LyXAction.h \
65         LyXView.C \
66         LyXView.h \
67         Makefile.in \
68         MenuBackend.C \
69         MenuBackend.h \
70         Painter.C \
71         Painter.h \
72         PainterBase.C \
73         PainterBase.h \
74         ParagraphParameters.C \
75         ParagraphParameters.h \
76         ParameterStruct.h \
77         PrinterParams.h \
78         ShareContainer.h \
79         Spacing.C \
80         Spacing.h \
81         TextCache.C \
82         TextCache.h \
83         Thesaurus.C \
84         Thesaurus.h \
85         ToolbarDefaults.C \
86         ToolbarDefaults.h \
87         WorkArea.C \
88         WorkArea.h \
89         XFormsView.C \
90         XFormsView.h \
91         box.h \
92         box.C \
93         broken_headers.h \
94         buffer.C \
95         buffer.h \
96         bufferlist.C \
97         bufferlist.h \
98         bufferparams.C \
99         bufferparams.h \
100         bufferview_funcs.C \
101         bufferview_funcs.h \
102         chset.C \
103         chset.h \
104         commandtags.h \
105         config.h.in \
106         converter.C \
107         converter.h \
108         debug.C \
109         debug.h \
110         encoding.C \
111         encoding.h \
112         exporter.C \
113         exporter.h \
114         font.C \
115         font.h \
116         gettext.C \
117         gettext.h \
118         importer.C \
119         importer.h \
120         intl.C \
121         intl.h \
122         iterators.C \
123         iterators.h \
124         kbmap.C \
125         kbmap.h \
126         kbsequence.C \
127         kbsequence.h \
128         language.C \
129         language.h \
130         lastfiles.C \
131         lastfiles.h \
132         layout.h \
133         lengthcommon.C \
134         lengthcommon.h \
135         lyx_cb.C \
136         lyx_cb.h \
137         lyx_gui.C \
138         lyx_gui.h \
139         lyx_main.C \
140         lyx_main.h \
141         lyx_sty.C \
142         lyx_sty.h \
143         lyxcursor.C \
144         lyxcursor.h \
145         lyxfont.C \
146         lyxfont.h \
147         lyxfind.C \
148         lyxfind.h \
149         lyxfunc.C \
150         lyxfunc.h \
151         lyxgluelength.C \
152         lyxgluelength.h \
153         lyxlayout.C \
154         lyxlayout.h \
155         lyxlength.C \
156         lyxlength.h \
157         lyxlex.C \
158         lyxlex.h \
159         lyxlex_pimpl.C \
160         lyxlex_pimpl.h \
161         lyxlookup.C \
162         lyxlookup.h \
163         lyxrc.C \
164         lyxrc.h \
165         lyxrow.C \
166         lyxrow.h \
167         lyxscreen.h \
168         lyxserver.C \
169         lyxserver.h \
170         lyxtext.h \
171         lyxtextclass.C \
172         lyxtextclass.h \
173         lyxtextclasslist.C \
174         lyxtextclasslist.h \
175         lyxvc.C \
176         lyxvc.h \
177         main.C \
178         minibuffer.C \
179         minibuffer.h \
180         paragraph.C \
181         paragraph.h \
182         paragraph_pimpl.C \
183         paragraph_pimpl.h \
184         screen.C \
185         sp_base.h \
186         sp_spell.C \
187         sp_ispell.h \
188         sp_pspell.h \
189         stl_string_fwd.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         tracer.C \
204         tracer.h \
205         trans.C \
206         trans.h \
207         trans_decl.h \
208         trans_mgr.C \
209         trans_mgr.h \
210         undo.C \
211         undo.h \
212         undo_funcs.C \
213         undo_funcs.h \
214         undostack.C \
215         undostack.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 lyx_gui.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 \
231         support/os.h frontends/GUIRunTime.h
232         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
233
234 dist-hook:
235         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`