]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Allow including of files with different class than the parent file
[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/support/libfrontendsupport.la support/libsupport.la \
15         @INCLUDED_SIGC@
16 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
17         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
18 #lyx_LDFLAGS=-Wl,-O1
19 EXTRA_DIST = config.h.in stamp-h.in cheaders
20 ETAGS_ARGS = --lang=c++
21 BOOST_INCLUDES = -I$(top_srcdir)/boost
22 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
23 localedir = $(datadir)/locale
24 lyx_SOURCES = \
25         BufferView.C \
26         BufferView.h \
27         BufferView2.C \
28         BufferView_pimpl.C \
29         BufferView_pimpl.h \
30         Bullet.C \
31         Bullet.h \
32         Chktex.C \
33         Chktex.h \
34         ColorHandler.C \
35         ColorHandler.h \
36         CutAndPaste.C \
37         CutAndPaste.h \
38         DepTable.C \
39         DepTable.h \
40         FloatList.C \
41         FloatList.h \
42         Floating.C \
43         Floating.h \
44         FontInfo.C \
45         FontInfo.h \
46         FontLoader.C \
47         FontLoader.h \
48         LColor.C \
49         LColor.h \
50         LString.h \
51         LaTeX.C \
52         LaTeX.h \
53         LaTeXFeatures.C \
54         LaTeXFeatures.h \
55         Lsstream.h \
56         LyXAction.C \
57         LyXAction.h \
58         LyXSendto.C \
59         LyXView.C \
60         LyXView.h \
61         Makefile.in \
62         MenuBackend.C \
63         MenuBackend.h \
64         Painter.C \
65         Painter.h \
66         PainterBase.C \
67         PainterBase.h \
68         ParagraphParameters.C \
69         ParagraphParameters.h \
70         ParameterStruct.h \
71         PrinterParams.h \
72         Sectioning.h \
73         Sectioning.C \
74         ShareContainer.h \
75         Spacing.C \
76         Spacing.h \
77         TextCache.C \
78         TextCache.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         bmtable.c \
88         bmtable.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         combox.C \
101         combox.h \
102         commandtags.h \
103         config.h.in \
104         converter.C \
105         converter.h \
106         counters.C \
107         counters.h \
108         debug.C \
109         debug.h \
110         encoding.C \
111         encoding.h \
112         exporter.C \
113         exporter.h \
114         ext_l10n.h \
115         figure.h \
116         font.C \
117         font.h \
118         form1.C \
119         form1.h \
120         gettext.C \
121         gettext.h \
122         importer.C \
123         importer.h \
124         intl.C \
125         intl.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.C \
137         lyx.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         lyxparagraph.h \
163         lyxrc.C \
164         lyxrc.h \
165         lyxrow.C \
166         lyxrow.h \
167         lyxscreen.h \
168         lyxserver.C \
169         lyxserver.h \
170         lyxtext.h \
171         lyxvc.C \
172         lyxvc.h \
173         main.C \
174         minibuffer.C \
175         minibuffer.h \
176         nt_defines.h \
177         os2_defines.h \
178         os2_errortable.h \
179         paragraph.C \
180         print_form.C \
181         print_form.h \
182         screen.C \
183         sp_form.C \
184         sp_form.h \
185         spellchecker.C \
186         spellchecker.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-defs.h \
194         tex-strings.C \
195         tex-strings.h \
196         texrow.C \
197         texrow.h \
198         text.C \
199         text2.C \
200         tracer.C \
201         tracer.h \
202         trans.C \
203         trans.h \
204         trans_decl.h \
205         trans_mgr.C \
206         trans_mgr.h \
207         undo.C \
208         undo.h \
209         vc-backend.C \
210         vc-backend.h \
211         version.h \
212         vms_defines.h \
213         vspace.C \
214         vspace.h
215
216 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
217         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
218         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
219         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
220         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
221           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
222
223 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
224         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
225
226 dist-hook:
227         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`