]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
encoding + etc patch from dekel
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets 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 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
7         support/libsupport.la @FRONTEND_GUILIB@ frontends/libfrontends.la \
8         @INCLUDED_SIGC@
9 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
10         @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
11 EXTRA_DIST = config.h.in stamp-h.in cheaders
12 ETAGS_ARGS = --lang=c++
13 INCLUDES = -I${top_srcdir}/images $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
14 localedir = $(datadir)/locale
15 lyx_SOURCES = \
16         BackStack.h \
17         BufferView.C \
18         BufferView.h \
19         BufferView2.C \
20         BufferView_pimpl.C \
21         BufferView_pimpl.h \
22         Bullet.C \
23         Bullet.h \
24         Chktex.C \
25         Chktex.h \
26         ColorHandler.C \
27         ColorHandler.h \
28         CutAndPaste.C \
29         CutAndPaste.h \
30         DepTable.C \
31         DepTable.h \
32         FloatList.C \
33         FloatList.h \
34         Floating.h \
35         FontInfo.C \
36         FontInfo.h \
37         FontLoader.C \
38         FontLoader.h \
39         ImportLaTeX.C \
40         ImportLaTeX.h \
41         ImportNoweb.C \
42         ImportNoweb.h \
43         LColor.C \
44         LColor.h \
45         LString.h \
46         LaTeX.C \
47         LaTeX.h \
48         LaTeXFeatures.C \
49         LaTeXFeatures.h \
50         LaTeXLog.C \
51         Literate.C \
52         Literate.h \
53         LyXAction.C \
54         LyXAction.h \
55         LyXSendto.C \
56         LyXView.C \
57         LyXView.h \
58         Makefile.in \
59         Painter.C \
60         Painter.h \
61         PainterBase.C \
62         PainterBase.h \
63         PaperLayout.C \
64         ParagraphExtra.C \
65         PrinterParams.h \
66         Sectioning.h \
67         Sectioning.C \
68         Spacing.C \
69         Spacing.h \
70         TableLayout.C \
71         TextCache.C \
72         TextCache.h \
73         Timeout.C \
74         Timeout.h \
75         ToolbarDefaults.C \
76         ToolbarDefaults.h \
77         UpdateInset.C \
78         UpdateInset.h \
79         Variables.C \
80         Variables.h \
81         WorkArea.C \
82         WorkArea.h \
83         bibforms.h \
84         bmtable.c \
85         bmtable.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         bullet_forms.C \
96         bullet_forms.h \
97         bullet_forms_cb.C \
98         chset.C \
99         chset.h \
100         combox.C \
101         combox.h \
102         commandtags.h \
103         config.h.in \
104         counters.C \
105         counters.h \
106         credits.C \
107         credits.h \
108         credits_form.C \
109         credits_form.h \
110         debug.C \
111         debug.h \
112         encoding.C \
113         encoding.h \
114         figure.h \
115         filedlg.C \
116         filedlg.h \
117         font.C \
118         font.h \
119         form1.C \
120         form1.h \
121         gettext.h \
122         include_form.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         layout_forms.C \
136         layout_forms.h \
137         log_form.C \
138         log_form.h \
139         lyx.C \
140         lyx.h \
141         lyx_cb.C \
142         lyx_cb.h \
143         lyx_gui.C \
144         lyx_gui.h \
145         lyx_gui_misc.C \
146         lyx_gui_misc.h \
147         lyx_main.C \
148         lyx_main.h \
149         lyx_sendfax.C \
150         lyx_sendfax.h \
151         lyx_sendfax_main.C \
152         lyx_sty.C \
153         lyx_sty.h \
154         lyxcursor.C \
155         lyxcursor.h \
156         lyxfont.C \
157         lyxfont.h \
158         lyxfr0.C \
159         lyxfr0.h \
160         lyxfr1.C \
161         lyxfr1.h \
162         lyxfunc.C \
163         lyxfunc.h \
164         lyxlex.C \
165         lyxlex.h \
166         lyxlex_pimpl.C \
167         lyxlex_pimpl.h \
168         lyxlookup.C \
169         lyxlookup.h \
170         lyxparagraph.h \
171         lyxrc.C \
172         lyxrc.h \
173         lyxrow.C \
174         lyxrow.h \
175         lyxscreen.h \
176         lyxserver.C \
177         lyxserver.h \
178         lyxtext.h \
179         lyxvc.C \
180         lyxvc.h \
181         main.C \
182         menus.C \
183         menus.h \
184         minibuffer.C \
185         minibuffer.h \
186         nt_defines.h \
187         os2_defines.h \
188         os2_errortable.h \
189         paragraph.C \
190         print_form.C \
191         print_form.h \
192         screen.C \
193         sp_form.C \
194         sp_form.h \
195         spellchecker.C \
196         spellchecker.h \
197         stl_string_fwd.h \
198         table.C \
199         table.h \
200         tabular.C \
201         tabular.h \
202         tex-accent.C \
203         tex-accent.h \
204         tex-defs.h \
205         tex-strings.C \
206         tex-strings.h \
207         texrow.C \
208         texrow.h \
209         text.C \
210         text2.C \
211         toolbar.C \
212         toolbar.h \
213         tracer.C \
214         tracer.h \
215         trans.C \
216         trans.h \
217         trans_decl.h \
218         trans_mgr.C \
219         trans_mgr.h \
220         undo.C \
221         undo.h \
222         vc-backend.C \
223         vc-backend.h \
224         version.h \
225         vms_defines.h \
226         vspace.C \
227         vspace.h
228
229 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
230         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
231         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
232         lyxserver.h layout.h gettext.h kbmap.h 
233         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
234           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
235
236 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
237         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
238
239 dist-hook:
240         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`