]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
some changes to make some compilers somewhat happier
[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.la insets/libinsets.la \
8         graphics/libgraphics.la \
9         frontends/libfrontends.la \
10         support/libsupport.la \
11         @INCLUDED_SIGC@
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13         $(PSPELL_LIBS) @AIKSAURUS_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         LColor.C \
54         LColor.h \
55         LString.h \
56         LaTeX.C \
57         LaTeX.h \
58         LaTeXFeatures.C \
59         LaTeXFeatures.h \
60         Lsstream.h \
61         LyXAction.C \
62         LyXAction.h \
63         LyXSendto.C \
64         LyXView.C \
65         LyXView.h \
66         Makefile.in \
67         MenuBackend.C \
68         MenuBackend.h \
69         Painter.C \
70         Painter.h \
71         PainterBase.C \
72         PainterBase.h \
73         ParagraphParameters.C \
74         ParagraphParameters.h \
75         ParameterStruct.h \
76         PrinterParams.h \
77         ShareContainer.h \
78         Spacing.C \
79         Spacing.h \
80         TextCache.C \
81         TextCache.h \
82         Thesaurus.C \
83         Thesaurus.h \
84         ToolbarDefaults.C \
85         ToolbarDefaults.h \
86         UpdateInset.C \
87         UpdateInset.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         figure.h \
116         figure_form.C \
117         figure_form.h \
118         figureForm.C \
119         figureForm.h \
120         font.C \
121         font.h \
122         func_status.h \
123         gettext.C \
124         gettext.h \
125         importer.C \
126         importer.h \
127         intl.C \
128         intl.h \
129         iterators.C \
130         iterators.h \
131         kbmap.C \
132         kbmap.h \
133         kbsequence.C \
134         kbsequence.h \
135         language.C \
136         language.h \
137         lastfiles.C \
138         lastfiles.h \
139         layout.h \
140         lengthcommon.C \
141         lengthcommon.h \
142         lyx_cb.C \
143         lyx_cb.h \
144         lyx_gui.C \
145         lyx_gui.h \
146         lyx_gui_misc.C \
147         lyx_gui_misc.h \
148         lyx_main.C \
149         lyx_main.h \
150         lyx_sty.C \
151         lyx_sty.h \
152         lyxcursor.C \
153         lyxcursor.h \
154         lyxfont.C \
155         lyxfont.h \
156         lyxfind.C \
157         lyxfind.h \
158         lyxfunc.C \
159         lyxfunc.h \
160         lyxgluelength.C \
161         lyxgluelength.h \
162         lyxlayout.C \
163         lyxlayout.h \
164         lyxlength.C \
165         lyxlength.h \
166         lyxlex.C \
167         lyxlex.h \
168         lyxlex_pimpl.C \
169         lyxlex_pimpl.h \
170         lyxlookup.C \
171         lyxlookup.h \
172         lyxrc.C \
173         lyxrc.h \
174         lyxrow.C \
175         lyxrow.h \
176         lyxscreen.h \
177         lyxserver.C \
178         lyxserver.h \
179         lyxtext.h \
180         lyxtextclass.C \
181         lyxtextclass.h \
182         lyxtextclasslist.C \
183         lyxtextclasslist.h \
184         lyxvc.C \
185         lyxvc.h \
186         main.C \
187         minibuffer.C \
188         minibuffer.h \
189         nt_defines.h \
190         os2_defines.h \
191         os2_errortable.h \
192         paragraph.C \
193         paragraph.h \
194         paragraph_pimpl.C \
195         paragraph_pimpl.h \
196         print_form.C \
197         print_form.h \
198         screen.C \
199         sp_base.h \
200         sp_spell.C \
201         sp_ispell.h \
202         sp_pspell.h \
203         stl_string_fwd.h \
204         tabular.C \
205         tabular.h \
206         tabular-old.C \
207         tabular_funcs.C \
208         tabular_funcs.h \
209         tex-accent.C \
210         tex-accent.h \
211         tex-strings.C \
212         tex-strings.h \
213         texrow.C \
214         texrow.h \
215         text.C \
216         text2.C \
217         tracer.C \
218         tracer.h \
219         trans.C \
220         trans.h \
221         trans_decl.h \
222         trans_mgr.C \
223         trans_mgr.h \
224         undo.C \
225         undo.h \
226         undo_funcs.C \
227         undo_funcs.h \
228         undostack.C \
229         undostack.h \
230         vc-backend.C \
231         vc-backend.h \
232         version.C \
233         version.h \
234         vms_defines.h \
235         vspace.C \
236         vspace.h
237
238 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
239         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
240         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
241         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
242         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
243           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
244
245 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
246         support/os.h frontends/GUIRunTime.h
247         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
248
249 dist-hook:
250         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`