]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
more guii moving around.
[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         font.C \
118         font.h \
119         gettext.C \
120         gettext.h \
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_gui.C \
141         lyx_gui.h \
142         lyx_main.C \
143         lyx_main.h \
144         lyx_sty.C \
145         lyx_sty.h \
146         lyxcursor.C \
147         lyxcursor.h \
148         lyxfont.C \
149         lyxfont.h \
150         lyxfind.C \
151         lyxfind.h \
152         lyxfunc.C \
153         lyxfunc.h \
154         lyxgluelength.C \
155         lyxgluelength.h \
156         lyxlayout.C \
157         lyxlayout.h \
158         lyxlength.C \
159         lyxlength.h \
160         lyxlex.C \
161         lyxlex.h \
162         lyxlex_pimpl.C \
163         lyxlex_pimpl.h \
164         lyxrc.C \
165         lyxrc.h \
166         lyxrow.C \
167         lyxrow.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         sp_base.h \
185         sp_spell.C \
186         sp_ispell.h \
187         sp_pspell.h \
188         stl_string_fwd.h \
189         tabular.C \
190         tabular.h \
191         tabular-old.C \
192         tabular_funcs.C \
193         tabular_funcs.h \
194         tex-accent.C \
195         tex-accent.h \
196         tex-strings.C \
197         tex-strings.h \
198         texrow.C \
199         texrow.h \
200         text.C \
201         text2.C \
202         trans.C \
203         trans.h \
204         trans_decl.h \
205         trans_mgr.C \
206         trans_mgr.h \
207         undo.C \
208         undo.h \
209         undo_funcs.C \
210         undo_funcs.h \
211         undostack.C \
212         undostack.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 lyx_gui.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 \
228         support/os.h frontends/GUIRunTime.h
229         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
230
231 dist-hook:
232         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`