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