]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Stripped out FD_form_figure code into figureXXX.[Ch] files.
[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 ## libfrontends is given twice on the link line because it needs stuff
7 ## from FRONTEND_GUILIB and inversely. If you do not like it, feel
8 ## free to provide another solution... Maybe signals would solve that
9 ## magically, but I do not understand them much (JMarc)
10 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
11         graphics/libgraphics.la \
12         frontends/libfrontends.la @FRONTEND_GUILIB@ \
13         frontends/libfrontends.la \
14         frontends/controllers/libcontrollers.la \
15         frontends/support/libfrontendsupport.la support/libsupport.la \
16         @INCLUDED_SIGC@
17 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
18         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
19 #lyx_LDFLAGS=-Wl,-O1
20 EXTRA_DIST = config.h.in stamp-h.in cheaders
21 ETAGS_ARGS = --lang=c++
22 BOOST_INCLUDES = -I$(top_srcdir)/boost
23 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
24 localedir = $(datadir)/locale
25 lyx_SOURCES = \
26         BufferView.C \
27         BufferView.h \
28         BufferView2.C \
29         BufferView_pimpl.C \
30         BufferView_pimpl.h \
31         Bullet.C \
32         Bullet.h \
33         Chktex.C \
34         Chktex.h \
35         ColorHandler.C \
36         ColorHandler.h \
37         CutAndPaste.C \
38         CutAndPaste.h \
39         DepTable.C \
40         DepTable.h \
41         FloatList.C \
42         FloatList.h \
43         Floating.C \
44         Floating.h \
45         FontInfo.C \
46         FontInfo.h \
47         FontLoader.C \
48         FontLoader.h \
49         LColor.C \
50         LColor.h \
51         LString.h \
52         LaTeX.C \
53         LaTeX.h \
54         LaTeXFeatures.C \
55         LaTeXFeatures.h \
56         Lsstream.h \
57         LyXAction.C \
58         LyXAction.h \
59         LyXSendto.C \
60         LyXView.C \
61         LyXView.h \
62         Makefile.in \
63         MenuBackend.C \
64         MenuBackend.h \
65         Painter.C \
66         Painter.h \
67         PainterBase.C \
68         PainterBase.h \
69         ParagraphParameters.C \
70         ParagraphParameters.h \
71         ParameterStruct.h \
72         PrinterParams.h \
73         Sectioning.h \
74         Sectioning.C \
75         ShareContainer.h \
76         Spacing.C \
77         Spacing.h \
78         TextCache.C \
79         TextCache.h \
80         ToolbarDefaults.C \
81         ToolbarDefaults.h \
82         UpdateInset.C \
83         UpdateInset.h \
84         Variables.C \
85         Variables.h \
86         WorkArea.C \
87         WorkArea.h \
88         broken_headers.h \
89         buffer.C \
90         buffer.h \
91         bufferlist.C \
92         bufferlist.h \
93         bufferparams.C \
94         bufferparams.h \
95         bufferview_funcs.C \
96         bufferview_funcs.h \
97         chset.C \
98         chset.h \
99         commandtags.h \
100         config.h.in \
101         converter.C \
102         converter.h \
103         counters.C \
104         counters.h \
105         debug.C \
106         debug.h \
107         encoding.C \
108         encoding.h \
109         exporter.C \
110         exporter.h \
111         ext_l10n.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         gettext.C \
120         gettext.h \
121         importer.C \
122         importer.h \
123         intl.C \
124         intl.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.C \
134         layout.h \
135         lyx_cb.C \
136         lyx_cb.h \
137         lyx_gui.C \
138         lyx_gui.h \
139         lyx_gui_misc.C \
140         lyx_gui_misc.h \
141         lyx_main.C \
142         lyx_main.h \
143         lyx_sty.C \
144         lyx_sty.h \
145         lyxcursor.C \
146         lyxcursor.h \
147         lyxfont.C \
148         lyxfont.h \
149         lyxfind.C \
150         lyxfind.h \
151         lyxfunc.C \
152         lyxfunc.h \
153         lyxlex.C \
154         lyxlex.h \
155         lyxlex_pimpl.C \
156         lyxlex_pimpl.h \
157         lyxlookup.C \
158         lyxlookup.h \
159         lyxparagraph.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         print_form.C \
178         print_form.h \
179         screen.C \
180         sp_form.C \
181         sp_form.h \
182         spellchecker.C \
183         spellchecker.h \
184         stl_string_fwd.h \
185         tabular.C \
186         tabular.h \
187         tabular-old.C \
188         tex-accent.C \
189         tex-accent.h \
190         tex-defs.h \
191         tex-strings.C \
192         tex-strings.h \
193         texrow.C \
194         texrow.h \
195         text.C \
196         text2.C \
197         tracer.C \
198         tracer.h \
199         trans.C \
200         trans.h \
201         trans_decl.h \
202         trans_mgr.C \
203         trans_mgr.h \
204         undo.C \
205         undo.h \
206         vc-backend.C \
207         vc-backend.h \
208         version.h \
209         vms_defines.h \
210         vspace.C \
211         vspace.h
212
213 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
214         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
215         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
216         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
217         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
218           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
219
220 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
221         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
222
223 dist-hook:
224         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`