]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
LyX Drinkers United: patch 2
[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 \
13         support/libsupport.la \
14         @INCLUDED_SIGC@
15 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
16         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
17 #lyx_LDFLAGS=-Wl,-O1
18 EXTRA_DIST = config.h.in stamp-h.in cheaders
19 ETAGS_ARGS = --lang=c++
20 BOOST_INCLUDES = -I$(top_srcdir)/boost
21 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
22 localedir = $(datadir)/locale
23 lyx_SOURCES = \
24         BufferView.C \
25         BufferView.h \
26         BufferView2.C \
27         BufferView_pimpl.C \
28         BufferView_pimpl.h \
29         Bullet.C \
30         Bullet.h \
31         Chktex.C \
32         Chktex.h \
33         ColorHandler.C \
34         ColorHandler.h \
35         CutAndPaste.C \
36         CutAndPaste.h \
37         DepTable.C \
38         DepTable.h \
39         FloatList.C \
40         FloatList.h \
41         Floating.C \
42         Floating.h \
43         FontInfo.C \
44         FontInfo.h \
45         FontLoader.C \
46         FontLoader.h \
47         LColor.C \
48         LColor.h \
49         LString.h \
50         LaTeX.C \
51         LaTeX.h \
52         LaTeXFeatures.C \
53         LaTeXFeatures.h \
54         Lsstream.h \
55         LyXAction.C \
56         LyXAction.h \
57         LyXSendto.C \
58         LyXView.C \
59         LyXView.h \
60         Makefile.in \
61         MenuBackend.C \
62         MenuBackend.h \
63         Painter.C \
64         Painter.h \
65         PainterBase.C \
66         PainterBase.h \
67         ParagraphParameters.C \
68         ParagraphParameters.h \
69         ParameterStruct.h \
70         PrinterParams.h \
71         Sectioning.h \
72         Sectioning.C \
73         ShareContainer.h \
74         Spacing.C \
75         Spacing.h \
76         TextCache.C \
77         TextCache.h \
78         ToolbarDefaults.C \
79         ToolbarDefaults.h \
80         UpdateInset.C \
81         UpdateInset.h \
82         Variables.C \
83         Variables.h \
84         WorkArea.C \
85         WorkArea.h \
86         broken_headers.h \
87         buffer.C \
88         buffer.h \
89         bufferlist.C \
90         bufferlist.h \
91         bufferparams.C \
92         bufferparams.h \
93         bufferview_funcs.C \
94         bufferview_funcs.h \
95         chset.C \
96         chset.h \
97         commandtags.h \
98         config.h.in \
99         converter.C \
100         converter.h \
101         counters.C \
102         counters.h \
103         debug.C \
104         debug.h \
105         encoding.C \
106         encoding.h \
107         exporter.C \
108         exporter.h \
109         ext_l10n.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         kbmap.C \
125         kbmap.h \
126         kbsequence.C \
127         kbsequence.h \
128         language.C \
129         language.h \
130         lastfiles.C \
131         lastfiles.h \
132         layout.C \
133         layout.h \
134         lyx_cb.C \
135         lyx_cb.h \
136         lyx_gui.C \
137         lyx_gui.h \
138         lyx_gui_misc.C \
139         lyx_gui_misc.h \
140         lyx_main.C \
141         lyx_main.h \
142         lyx_sty.C \
143         lyx_sty.h \
144         lyxcursor.C \
145         lyxcursor.h \
146         lyxfont.C \
147         lyxfont.h \
148         lyxfind.C \
149         lyxfind.h \
150         lyxfunc.C \
151         lyxfunc.h \
152         lyxlex.C \
153         lyxlex.h \
154         lyxlex_pimpl.C \
155         lyxlex_pimpl.h \
156         lyxlookup.C \
157         lyxlookup.h \
158         lyxrc.C \
159         lyxrc.h \
160         lyxrow.C \
161         lyxrow.h \
162         lyxscreen.h \
163         lyxserver.C \
164         lyxserver.h \
165         lyxtext.h \
166         lyxvc.C \
167         lyxvc.h \
168         main.C \
169         minibuffer.C \
170         minibuffer.h \
171         nt_defines.h \
172         os2_defines.h \
173         os2_errortable.h \
174         paragraph.C \
175         paragraph.h \
176         paragraph_pimpl.C \
177         paragraph_pimpl.h \
178         print_form.C \
179         print_form.h \
180         screen.C \
181         sp_form.C \
182         sp_form.h \
183         spellchecker.C \
184         spellchecker.h \
185         stl_string_fwd.h \
186         tabular.C \
187         tabular.h \
188         tabular-old.C \
189         tex-accent.C \
190         tex-accent.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         undostack.C \
207         undostack.h \
208         vc-backend.C \
209         vc-backend.h \
210         version.h \
211         vms_defines.h \
212         vspace.C \
213         vspace.h
214
215 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
216         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
217         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
218         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
219         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
220           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
221
222 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
223         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
224
225 dist-hook:
226         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`