]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
more tweaks to version_info stuff
[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 ETAGS_ARGS = --lang=c++
18 BOOST_INCLUDES = -I$(top_srcdir)/boost
19 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
20 localedir = $(datadir)/locale
21 BUILT_SOURCES = version.C
22 lyx_SOURCES = \
23         BufferView.C \
24         BufferView.h \
25         BufferView2.C \
26         BufferView_pimpl.C \
27         BufferView_pimpl.h \
28         Bullet.C \
29         Bullet.h \
30         Chktex.C \
31         Chktex.h \
32         ColorHandler.C \
33         ColorHandler.h \
34         CutAndPaste.C \
35         CutAndPaste.h \
36         DepTable.C \
37         DepTable.h \
38         FloatList.C \
39         FloatList.h \
40         Floating.C \
41         Floating.h \
42         FontInfo.C \
43         FontInfo.h \
44         FontLoader.C \
45         FontLoader.h \
46         LColor.C \
47         LColor.h \
48         LString.h \
49         LaTeX.C \
50         LaTeX.h \
51         LaTeXFeatures.C \
52         LaTeXFeatures.h \
53         Lsstream.h \
54         LyXAction.C \
55         LyXAction.h \
56         LyXSendto.C \
57         LyXView.C \
58         LyXView.h \
59         Makefile.in \
60         MenuBackend.C \
61         MenuBackend.h \
62         Painter.C \
63         Painter.h \
64         PainterBase.C \
65         PainterBase.h \
66         ParagraphParameters.C \
67         ParagraphParameters.h \
68         ParameterStruct.h \
69         PrinterParams.h \
70         Sectioning.h \
71         Sectioning.C \
72         ShareContainer.h \
73         Spacing.C \
74         Spacing.h \
75         TextCache.C \
76         TextCache.h \
77         Thesaurus.C \
78         Thesaurus.h \
79         ToolbarDefaults.C \
80         ToolbarDefaults.h \
81         UpdateInset.C \
82         UpdateInset.h \
83         Variables.C \
84         Variables.h \
85         WorkArea.C \
86         WorkArea.h \
87         XFormsView.C \
88         XFormsView.h \
89         broken_headers.h \
90         buffer.C \
91         buffer.h \
92         bufferlist.C \
93         bufferlist.h \
94         bufferparams.C \
95         bufferparams.h \
96         bufferview_funcs.C \
97         bufferview_funcs.h \
98         chset.C \
99         chset.h \
100         commandtags.h \
101         config.h.in \
102         converter.C \
103         converter.h \
104         counters.C \
105         counters.h \
106         debug.C \
107         debug.h \
108         encoding.C \
109         encoding.h \
110         exporter.C \
111         exporter.h \
112         figure.h \
113         figure_form.C \
114         figure_form.h \
115         figureForm.C \
116         figureForm.h \
117         font.C \
118         font.h \
119         func_status.h \
120         gettext.C \
121         gettext.h \
122         importer.C \
123         importer.h \
124         intl.C \
125         intl.h \
126         iterators.C \
127         iterators.h \
128         kbmap.C \
129         kbmap.h \
130         kbsequence.C \
131         kbsequence.h \
132         language.C \
133         language.h \
134         lastfiles.C \
135         lastfiles.h \
136         layout.C \
137         layout.h \
138         lyx_cb.C \
139         lyx_cb.h \
140         lyx_gui.C \
141         lyx_gui.h \
142         lyx_gui_misc.C \
143         lyx_gui_misc.h \
144         lyx_main.C \
145         lyx_main.h \
146         lyx_sty.C \
147         lyx_sty.h \
148         lyxcursor.C \
149         lyxcursor.h \
150         lyxfont.C \
151         lyxfont.h \
152         lyxfind.C \
153         lyxfind.h \
154         lyxfunc.C \
155         lyxfunc.h \
156         lyxlex.C \
157         lyxlex.h \
158         lyxlex_pimpl.C \
159         lyxlex_pimpl.h \
160         lyxlookup.C \
161         lyxlookup.h \
162         lyxrc.C \
163         lyxrc.h \
164         lyxrow.C \
165         lyxrow.h \
166         lyxscreen.h \
167         lyxserver.C \
168         lyxserver.h \
169         lyxtext.h \
170         lyxvc.C \
171         lyxvc.h \
172         main.C \
173         minibuffer.C \
174         minibuffer.h \
175         nt_defines.h \
176         os2_defines.h \
177         os2_errortable.h \
178         paragraph.C \
179         paragraph.h \
180         paragraph_pimpl.C \
181         paragraph_pimpl.h \
182         print_form.C \
183         print_form.h \
184         screen.C \
185         sp_base.h \
186         sp_spell.C \
187         sp_ispell.h \
188         sp_pspell.h \
189         stl_string_fwd.h \
190         tabular.C \
191         tabular.h \
192         tabular-old.C \
193         tex-accent.C \
194         tex-accent.h \
195         tex-strings.C \
196         tex-strings.h \
197         texrow.C \
198         texrow.h \
199         text.C \
200         text2.C \
201         tracer.C \
202         tracer.h \
203         trans.C \
204         trans.h \
205         trans_decl.h \
206         trans_mgr.C \
207         trans_mgr.h \
208         undo.C \
209         undo.h \
210         undo_funcs.C \
211         undo_funcs.h \
212         undostack.C \
213         undostack.h \
214         vc-backend.C \
215         vc-backend.h \
216         version.C \
217         version.h \
218         vms_defines.h \
219         vspace.C \
220         vspace.h
221
222 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
223         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
224         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
225         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
226         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
227           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
228
229 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
230         support/os.h frontends/GUIRunTime.h
231         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
232
233 dist-hook:
234         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`