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