]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
The forms resize patch, and small updates
[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         BackStack.h \
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.h \
44         FontInfo.C \
45         FontInfo.h \
46         FontLoader.C \
47         FontLoader.h \
48         ImportLaTeX.C \
49         ImportLaTeX.h \
50         ImportNoweb.C \
51         ImportNoweb.h \
52         LColor.C \
53         LColor.h \
54         LString.h \
55         LaTeX.C \
56         LaTeX.h \
57         LaTeXFeatures.C \
58         LaTeXFeatures.h \
59         LaTeXLog.C \
60         Lsstream.h \
61         LyXAction.C \
62         LyXAction.h \
63         LyXSendto.C \
64         LyXView.C \
65         LyXView.h \
66         Makefile.in \
67         MenuBackend.C \
68         MenuBackend.h \
69         Painter.C \
70         Painter.h \
71         PainterBase.C \
72         PainterBase.h \
73         PrinterParams.h \
74         Sectioning.h \
75         Sectioning.C \
76         Spacing.C \
77         Spacing.h \
78         TextCache.C \
79         TextCache.h \
80         Timeout.C \
81         Timeout.h \
82         ToolbarDefaults.C \
83         ToolbarDefaults.h \
84         UpdateInset.C \
85         UpdateInset.h \
86         Variables.C \
87         Variables.h \
88         WorkArea.C \
89         WorkArea.h \
90         bibforms.h \
91         bmtable.c \
92         bmtable.h \
93         broken_headers.h \
94         buffer.C \
95         buffer.h \
96         bufferlist.C \
97         bufferlist.h \
98         bufferparams.C \
99         bufferparams.h \
100         bufferview_funcs.C \
101         bufferview_funcs.h \
102         chset.C \
103         chset.h \
104         combox.C \
105         combox.h \
106         commandtags.h \
107         config.h.in \
108         converter.C \
109         converter.h \
110         counters.C \
111         counters.h \
112         credits.C \
113         credits.h \
114         credits_form.C \
115         credits_form.h \
116         debug.C \
117         debug.h \
118         encoding.C \
119         encoding.h \
120         exporter.C \
121         exporter.h \
122         ext_l10n.h \
123         figure.h \
124         filedlg.C \
125         filedlg.h \
126         font.C \
127         font.h \
128         form1.C \
129         form1.h \
130         gettext.C \
131         gettext.h \
132         include_form.h \
133         intl.C \
134         intl.h \
135         kbmap.C \
136         kbmap.h \
137         kbsequence.C \
138         kbsequence.h \
139         language.C \
140         language.h \
141         lastfiles.C \
142         lastfiles.h \
143         layout.C \
144         layout.h \
145         layout_forms.C \
146         layout_forms.h \
147         log_form.C \
148         log_form.h \
149         lyx.C \
150         lyx.h \
151         lyx_cb.C \
152         lyx_cb.h \
153         lyx_gui.C \
154         lyx_gui.h \
155         lyx_gui_misc.C \
156         lyx_gui_misc.h \
157         lyx_main.C \
158         lyx_main.h \
159         lyx_sendfax.C \
160         lyx_sendfax.h \
161         lyx_sendfax_main.C \
162         lyx_sty.C \
163         lyx_sty.h \
164         lyxcursor.C \
165         lyxcursor.h \
166         lyxfont.C \
167         lyxfont.h \
168         lyxfr0.C \
169         lyxfr0.h \
170         lyxfr1.C \
171         lyxfr1.h \
172         lyxfunc.C \
173         lyxfunc.h \
174         lyxlex.C \
175         lyxlex.h \
176         lyxlex_pimpl.C \
177         lyxlex_pimpl.h \
178         lyxlookup.C \
179         lyxlookup.h \
180         lyxparagraph.h \
181         lyxrc.C \
182         lyxrc.h \
183         lyxrow.C \
184         lyxrow.h \
185         lyxscreen.h \
186         lyxserver.C \
187         lyxserver.h \
188         lyxtext.h \
189         lyxvc.C \
190         lyxvc.h \
191         main.C \
192         minibuffer.C \
193         minibuffer.h \
194         nt_defines.h \
195         os2_defines.h \
196         os2_errortable.h \
197         paragraph.C \
198         print_form.C \
199         print_form.h \
200         screen.C \
201         sp_form.C \
202         sp_form.h \
203         spellchecker.C \
204         spellchecker.h \
205         stl_string_fwd.h \
206         tabular.C \
207         tabular.h \
208         tex-accent.C \
209         tex-accent.h \
210         tex-defs.h \
211         tex-strings.C \
212         tex-strings.h \
213         texrow.C \
214         texrow.h \
215         text.C \
216         text2.C \
217         tracer.C \
218         tracer.h \
219         trans.C \
220         trans.h \
221         trans_decl.h \
222         trans_mgr.C \
223         trans_mgr.h \
224         undo.C \
225         undo.h \
226         vc-backend.C \
227         vc-backend.h \
228         version.h \
229         vms_defines.h \
230         vspace.C \
231         vspace.h
232
233 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
234         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
235         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
236         lyxserver.h layout.h gettext.h kbmap.h 
237         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
238           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
239
240 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
241         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
242
243 dist-hook:
244         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`