]> git.lyx.org Git - features.git/blob - src/Makefile.am
Merging BRANCH_MVC back into HEAD.
[features.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         bmtable.c \
89         bmtable.h \
90         broken_headers.h \
91         buffer.C \
92         buffer.h \
93         bufferlist.C \
94         bufferlist.h \
95         bufferparams.C \
96         bufferparams.h \
97         bufferview_funcs.C \
98         bufferview_funcs.h \
99         chset.C \
100         chset.h \
101         combox.C \
102         combox.h \
103         commandtags.h \
104         config.h.in \
105         converter.C \
106         converter.h \
107         counters.C \
108         counters.h \
109         debug.C \
110         debug.h \
111         encoding.C \
112         encoding.h \
113         exporter.C \
114         exporter.h \
115         ext_l10n.h \
116         figure.h \
117         font.C \
118         font.h \
119         form1.C \
120         form1.h \
121         gettext.C \
122         gettext.h \
123         importer.C \
124         importer.h \
125         intl.C \
126         intl.h \
127         kbmap.C \
128         kbmap.h \
129         kbsequence.C \
130         kbsequence.h \
131         language.C \
132         language.h \
133         lastfiles.C \
134         lastfiles.h \
135         layout.C \
136         layout.h \
137         lyx.C \
138         lyx.h \
139         lyx_cb.C \
140         lyx_cb.h \
141         lyx_gui.C \
142         lyx_gui.h \
143         lyx_gui_misc.C \
144         lyx_gui_misc.h \
145         lyx_main.C \
146         lyx_main.h \
147         lyx_sty.C \
148         lyx_sty.h \
149         lyxcursor.C \
150         lyxcursor.h \
151         lyxfont.C \
152         lyxfont.h \
153         lyxfind.C \
154         lyxfind.h \
155         lyxfunc.C \
156         lyxfunc.h \
157         lyxlex.C \
158         lyxlex.h \
159         lyxlex_pimpl.C \
160         lyxlex_pimpl.h \
161         lyxlookup.C \
162         lyxlookup.h \
163         lyxparagraph.h \
164         lyxrc.C \
165         lyxrc.h \
166         lyxrow.C \
167         lyxrow.h \
168         lyxscreen.h \
169         lyxserver.C \
170         lyxserver.h \
171         lyxtext.h \
172         lyxvc.C \
173         lyxvc.h \
174         main.C \
175         minibuffer.C \
176         minibuffer.h \
177         nt_defines.h \
178         os2_defines.h \
179         os2_errortable.h \
180         paragraph.C \
181         print_form.C \
182         print_form.h \
183         screen.C \
184         sp_form.C \
185         sp_form.h \
186         spellchecker.C \
187         spellchecker.h \
188         stl_string_fwd.h \
189         tabular.C \
190         tabular.h \
191         tabular-old.C \
192         tex-accent.C \
193         tex-accent.h \
194         tex-defs.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         vc-backend.C \
211         vc-backend.h \
212         version.h \
213         vms_defines.h \
214         vspace.C \
215         vspace.h
216
217 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
218         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
219         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
220         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
221         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
222           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
223
224 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
225         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
226
227 dist-hook:
228         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`