]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Fixed cut&paste bugs and added freespacing for ERT Insets.
[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         ShareContainer.h \
71         Spacing.C \
72         Spacing.h \
73         TextCache.C \
74         TextCache.h \
75         Thesaurus.C \
76         Thesaurus.h \
77         ToolbarDefaults.C \
78         ToolbarDefaults.h \
79         UpdateInset.C \
80         UpdateInset.h \
81         Variables.C \
82         Variables.h \
83         WorkArea.C \
84         WorkArea.h \
85         XFormsView.C \
86         XFormsView.h \
87         broken_headers.h \
88         buffer.C \
89         buffer.h \
90         bufferlist.C \
91         bufferlist.h \
92         bufferparams.C \
93         bufferparams.h \
94         bufferview_funcs.C \
95         bufferview_funcs.h \
96         chset.C \
97         chset.h \
98         commandtags.h \
99         config.h.in \
100         converter.C \
101         converter.h \
102         counters.C \
103         counters.h \
104         debug.C \
105         debug.h \
106         encoding.C \
107         encoding.h \
108         exporter.C \
109         exporter.h \
110         figure.h \
111         figure_form.C \
112         figure_form.h \
113         figureForm.C \
114         figureForm.h \
115         font.C \
116         font.h \
117         func_status.h \
118         gettext.C \
119         gettext.h \
120         importer.C \
121         importer.h \
122         intl.C \
123         intl.h \
124         iterators.C \
125         iterators.h \
126         kbmap.C \
127         kbmap.h \
128         kbsequence.C \
129         kbsequence.h \
130         language.C \
131         language.h \
132         lastfiles.C \
133         lastfiles.h \
134         layout.C \
135         layout.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         lyxlex.C \
155         lyxlex.h \
156         lyxlex_pimpl.C \
157         lyxlex_pimpl.h \
158         lyxlookup.C \
159         lyxlookup.h \
160         lyxrc.C \
161         lyxrc.h \
162         lyxrow.C \
163         lyxrow.h \
164         lyxscreen.h \
165         lyxserver.C \
166         lyxserver.h \
167         lyxtext.h \
168         lyxvc.C \
169         lyxvc.h \
170         main.C \
171         minibuffer.C \
172         minibuffer.h \
173         nt_defines.h \
174         os2_defines.h \
175         os2_errortable.h \
176         paragraph.C \
177         paragraph.h \
178         paragraph_pimpl.C \
179         paragraph_pimpl.h \
180         print_form.C \
181         print_form.h \
182         screen.C \
183         sp_base.h \
184         sp_spell.C \
185         sp_ispell.h \
186         sp_pspell.h \
187         stl_string_fwd.h \
188         tabular.C \
189         tabular.h \
190         tabular-old.C \
191         tex-accent.C \
192         tex-accent.h \
193         tex-strings.C \
194         tex-strings.h \
195         texrow.C \
196         texrow.h \
197         text.C \
198         text2.C \
199         tracer.C \
200         tracer.h \
201         trans.C \
202         trans.h \
203         trans_decl.h \
204         trans_mgr.C \
205         trans_mgr.h \
206         undo.C \
207         undo.h \
208         undo_funcs.C \
209         undo_funcs.h \
210         undostack.C \
211         undostack.h \
212         vc-backend.C \
213         vc-backend.h \
214         version.C \
215         version.h \
216         vms_defines.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         lyx_gui_misc.h 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\*`