]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
get rid of LYX_LIBS
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets graphics support frontends
3 DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
4 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
5 bin_PROGRAMS = lyx
6
7 lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
8         graphics/libgraphics.o \
9         frontends/libfrontends.o \
10         support/libsupport.o \
11         @INCLUDED_SIGC@
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13         $(PSPELL_LIBS) @AIKSAURUS_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
14
15 #lyx_LDFLAGS=-Wl,-O1
16 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
17         Sectioning.h \
18         Sectioning.C \
19         Variables.C \
20         Variables.h \
21         counters.C \
22         counters.h
23  
24 ETAGS_ARGS = --lang=c++
25 BOOST_INCLUDES = -I$(top_srcdir)/boost
26 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
27 localedir = $(datadir)/locale
28 BUILT_SOURCES = version.C
29 lyx_SOURCES = \
30         BufferView.C \
31         BufferView.h \
32         BufferView2.C \
33         BufferView_pimpl.C \
34         BufferView_pimpl.h \
35         Bullet.C \
36         Bullet.h \
37         Chktex.C \
38         Chktex.h \
39         ColorHandler.C \
40         ColorHandler.h \
41         CutAndPaste.C \
42         CutAndPaste.h \
43         DepTable.C \
44         DepTable.h \
45         FloatList.C \
46         FloatList.h \
47         Floating.C \
48         Floating.h \
49         FontInfo.C \
50         FontInfo.h \
51         FontLoader.C \
52         FontLoader.h \
53         FuncStatus.C \
54         FuncStatus.h \
55         LColor.C \
56         LColor.h \
57         LString.h \
58         LaTeX.C \
59         LaTeX.h \
60         LaTeXFeatures.C \
61         LaTeXFeatures.h \
62         Lsstream.h \
63         LyXAction.C \
64         LyXAction.h \
65         LyXSendto.C \
66         LyXView.C \
67         LyXView.h \
68         Makefile.in \
69         MenuBackend.C \
70         MenuBackend.h \
71         Painter.C \
72         Painter.h \
73         PainterBase.C \
74         PainterBase.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         WorkArea.C \
89         WorkArea.h \
90         XFormsView.C \
91         XFormsView.h \
92         box.h \
93         box.C \
94         broken_headers.h \
95         buffer.C \
96         buffer.h \
97         bufferlist.C \
98         bufferlist.h \
99         bufferparams.C \
100         bufferparams.h \
101         bufferview_funcs.C \
102         bufferview_funcs.h \
103         chset.C \
104         chset.h \
105         commandtags.h \
106         config.h.in \
107         converter.C \
108         converter.h \
109         debug.C \
110         debug.h \
111         encoding.C \
112         encoding.h \
113         exporter.C \
114         exporter.h \
115         font.C \
116         font.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_gui_misc.C \
141         lyx_gui_misc.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         lyxlookup.C \
165         lyxlookup.h \
166         lyxrc.C \
167         lyxrc.h \
168         lyxrow.C \
169         lyxrow.h \
170         lyxscreen.h \
171         lyxserver.C \
172         lyxserver.h \
173         lyxtext.h \
174         lyxtextclass.C \
175         lyxtextclass.h \
176         lyxtextclasslist.C \
177         lyxtextclasslist.h \
178         lyxvc.C \
179         lyxvc.h \
180         main.C \
181         minibuffer.C \
182         minibuffer.h \
183         paragraph.C \
184         paragraph.h \
185         paragraph_pimpl.C \
186         paragraph_pimpl.h \
187         print_form.C \
188         print_form.h \
189         screen.C \
190         sp_base.h \
191         sp_spell.C \
192         sp_ispell.h \
193         sp_pspell.h \
194         stl_string_fwd.h \
195         tabular.C \
196         tabular.h \
197         tabular-old.C \
198         tabular_funcs.C \
199         tabular_funcs.h \
200         tex-accent.C \
201         tex-accent.h \
202         tex-strings.C \
203         tex-strings.h \
204         texrow.C \
205         texrow.h \
206         text.C \
207         text2.C \
208         tracer.C \
209         tracer.h \
210         trans.C \
211         trans.h \
212         trans_decl.h \
213         trans_mgr.C \
214         trans_mgr.h \
215         undo.C \
216         undo.h \
217         undo_funcs.C \
218         undo_funcs.h \
219         undostack.C \
220         undostack.h \
221         vc-backend.C \
222         vc-backend.h \
223         version.C \
224         version.h \
225         vspace.C \
226         vspace.h
227
228 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
229         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
230         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
231         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
232         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
233           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
234
235 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
236         support/os.h frontends/GUIRunTime.h
237         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
238
239 dist-hook:
240         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`