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