]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
remove unused code
[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 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
19         ../boost/libs/signals/src/libboostsignals.la
20
21 #lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
22
23 lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
24         $(PSPELL_LIBS) $(AIKSAURUS_LIBS)
25
26 #lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(BOOST_LIBS) $(INCLUDED_SIGC) $(INTLLIBS) \
27 #       $(PSPELL_LIBS) $(AIKSAURUS_LIBS)
28
29 #  $(FRONTEND_LDFLAGS) $(FRONTEND_LIBS)
30
31 #lyx_LDFLAGS=-Wl,-O1
32
33 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
34         Sectioning.h \
35         Sectioning.C \
36         Variables.C \
37         Variables.h \
38         tracer.C \
39         tracer.h
40
41 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
42 #INCLUDES = $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
43
44 localedir = $(datadir)/locale
45
46 BUILT_SOURCES = version.C
47
48 lyx_SOURCES = \
49         BufferView.C \
50         BufferView.h \
51         BufferView2.C \
52         BufferView_pimpl.C \
53         BufferView_pimpl.h \
54         Bullet.C \
55         Bullet.h \
56         Chktex.C \
57         Chktex.h \
58         CutAndPaste.C \
59         CutAndPaste.h \
60         DepTable.C \
61         DepTable.h \
62         FloatList.C \
63         FloatList.h \
64         Floating.C \
65         Floating.h \
66         FuncStatus.C \
67         FuncStatus.h \
68         InsetList.C \
69         InsetList.h \
70         LColor.C \
71         LColor.h \
72         LString.h \
73         LaTeX.C \
74         LaTeX.h \
75         LaTeXFeatures.C \
76         LaTeXFeatures.h \
77         Lsstream.h \
78         LyXAction.C \
79         LyXAction.h \
80         MenuBackend.C \
81         MenuBackend.h \
82         ParagraphList.C \
83         ParagraphList.h \
84         ParagraphParameters.C \
85         ParagraphParameters.h \
86         ParameterStruct.h \
87         PrinterParams.h \
88         ShareContainer.h \
89         Spacing.C \
90         Spacing.h \
91         TextCache.C \
92         TextCache.h \
93         Thesaurus.C \
94         Thesaurus.h \
95         ToolbarDefaults.C \
96         ToolbarDefaults.h \
97         WordLangTuple.h \
98         box.h \
99         box.C \
100         broken_headers.h \
101         buffer.C \
102         buffer.h \
103         bufferlist.C \
104         bufferlist.h \
105         bufferparams.C \
106         bufferparams.h \
107         bufferview_funcs.C \
108         bufferview_funcs.h \
109         chset.C \
110         chset.h \
111         commandtags.h \
112         config.h.in \
113         converter.C \
114         converter.h \
115         counters.C \
116         counters.h \
117         debug.C \
118         debug.h \
119         encoding.C \
120         encoding.h \
121         exporter.C \
122         exporter.h \
123         gettext.C \
124         gettext.h \
125         funcrequest.h \
126         funcrequest.C \
127         importer.C \
128         importer.h \
129         intl.C \
130         intl.h \
131         iterators.C \
132         iterators.h \
133         kbmap.C \
134         kbmap.h \
135         kbsequence.C \
136         kbsequence.h \
137         language.C \
138         language.h \
139         lastfiles.C \
140         lastfiles.h \
141         layout.h \
142         lengthcommon.C \
143         lengthcommon.h \
144         lyx_cb.C \
145         lyx_cb.h \
146         lyx_main.C \
147         lyx_main.h \
148         lyx_sty.C \
149         lyx_sty.h \
150         lyxcursor.C \
151         lyxcursor.h \
152         lyxfont.C \
153         lyxfont.h \
154         lyxfind.C \
155         lyxfind.h \
156         lyxfunc.C \
157         lyxfunc.h \
158         lyxgluelength.C \
159         lyxgluelength.h \
160         lyxlayout.C \
161         lyxlayout.h \
162         lyxlayout_ptr_fwd.h \
163         lyxlength.C \
164         lyxlength.h \
165         lyxlex.C \
166         lyxlex.h \
167         lyxlex_pimpl.C \
168         lyxlex_pimpl.h \
169         lyxrc.C \
170         lyxrc.h \
171         lyxrow.C \
172         lyxrow.h \
173         lyxserver.C \
174         lyxserver.h \
175         lyxtext.h \
176         lyxtextclass.C \
177         lyxtextclass.h \
178         lyxtextclasslist.C \
179         lyxtextclasslist.h \
180         lyxvc.C \
181         lyxvc.h \
182         main.C \
183         paragraph.C \
184         paragraph.h \
185         paragraph_pimpl.C \
186         paragraph_pimpl.h \
187         SpellBase.h \
188         ispell.C \
189         ispell.h \
190         pspell.C \
191         pspell.h \
192         sgml.C \
193         sgml.h \
194         tabular.C \
195         tabular.h \
196         tabular-old.C \
197         tabular_funcs.C \
198         tabular_funcs.h \
199         tex-accent.C \
200         tex-accent.h \
201         tex-strings.C \
202         tex-strings.h \
203         texrow.C \
204         texrow.h \
205         text.C \
206         text2.C \
207         toc.C \
208         toc.h \
209         trans.C \
210         trans.h \
211         trans_decl.h \
212         trans_mgr.C \
213         trans_mgr.h \
214         undo.C \
215         undo.h \
216         undo_funcs.C \
217         undo_funcs.h \
218         vc-backend.C \
219         vc-backend.h \
220         version.C \
221         version.h \
222         vspace.C \
223         vspace.h
224
225 lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
226         lyxrc.h support/path.h support/filetools.h \
227         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
228         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
229         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
230           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
231
232 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
233         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
234
235 dist-hook:
236         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`