]> git.lyx.org Git - features.git/blob - src/Makefile.am
df75096cf28055e05476d33be0ffaec34f99ca4c
[features.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 ## 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         frontends/libfrontends.la @FRONTEND_GUILIB@ \
12         frontends/libfrontends.la support/libsupport.la @INCLUDED_SIGC@
13 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
14         @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
15 EXTRA_DIST = config.h.in stamp-h.in cheaders
16 ETAGS_ARGS = --lang=c++
17 INCLUDES = $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
18 localedir = $(datadir)/locale
19 lyx_SOURCES = \
20         BackStack.h \
21         BufferView.C \
22         BufferView.h \
23         BufferView2.C \
24         BufferView_pimpl.C \
25         BufferView_pimpl.h \
26         Bullet.C \
27         Bullet.h \
28         Chktex.C \
29         Chktex.h \
30         ColorHandler.C \
31         ColorHandler.h \
32         CutAndPaste.C \
33         CutAndPaste.h \
34         DepTable.C \
35         DepTable.h \
36         FloatList.C \
37         FloatList.h \
38         Floating.h \
39         FontInfo.C \
40         FontInfo.h \
41         FontLoader.C \
42         FontLoader.h \
43         ImportLaTeX.C \
44         ImportLaTeX.h \
45         ImportNoweb.C \
46         ImportNoweb.h \
47         LColor.C \
48         LColor.h \
49         LString.h \
50         LaTeX.C \
51         LaTeX.h \
52         LaTeXFeatures.C \
53         LaTeXFeatures.h \
54         LaTeXLog.C \
55         Literate.C \
56         Literate.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         PaperLayout.C \
70         ParagraphExtra.C \
71         PrinterParams.h \
72         Sectioning.h \
73         Sectioning.C \
74         Spacing.C \
75         Spacing.h \
76         TableLayout.C \
77         TextCache.C \
78         TextCache.h \
79         Timeout.C \
80         Timeout.h \
81         ToolbarDefaults.C \
82         ToolbarDefaults.h \
83         UpdateInset.C \
84         UpdateInset.h \
85         Variables.C \
86         Variables.h \
87         WorkArea.C \
88         WorkArea.h \
89         bibforms.h \
90         bmtable.c \
91         bmtable.h \
92         broken_headers.h \
93         buffer.C \
94         buffer.h \
95         bufferlist.C \
96         bufferlist.h \
97         bufferparams.C \
98         bufferparams.h \
99         bufferview_funcs.C \
100         bufferview_funcs.h \
101         bullet_forms.C \
102         bullet_forms.h \
103         bullet_forms_cb.C \
104         chset.C \
105         chset.h \
106         combox.C \
107         combox.h \
108         commandtags.h \
109         config.h.in \
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         figure.h \
121         filedlg.C \
122         filedlg.h \
123         font.C \
124         font.h \
125         form1.C \
126         form1.h \
127         gettext.h \
128         include_form.h \
129         intl.C \
130         intl.h \
131         kbmap.C \
132         kbmap.h \
133         kbsequence.C \
134         kbsequence.h \
135         language.C \
136         language.h \
137         lastfiles.C \
138         lastfiles.h \
139         layout.C \
140         layout.h \
141         layout_forms.C \
142         layout_forms.h \
143         log_form.C \
144         log_form.h \
145         lyx.C \
146         lyx.h \
147         lyx_cb.C \
148         lyx_cb.h \
149         lyx_gui.C \
150         lyx_gui.h \
151         lyx_gui_misc.C \
152         lyx_gui_misc.h \
153         lyx_main.C \
154         lyx_main.h \
155         lyx_sendfax.C \
156         lyx_sendfax.h \
157         lyx_sendfax_main.C \
158         lyx_sty.C \
159         lyx_sty.h \
160         lyxcursor.C \
161         lyxcursor.h \
162         lyxfont.C \
163         lyxfont.h \
164         lyxfr0.C \
165         lyxfr0.h \
166         lyxfr1.C \
167         lyxfr1.h \
168         lyxfunc.C \
169         lyxfunc.h \
170         lyxlex.C \
171         lyxlex.h \
172         lyxlex_pimpl.C \
173         lyxlex_pimpl.h \
174         lyxlookup.C \
175         lyxlookup.h \
176         lyxparagraph.h \
177         lyxrc.C \
178         lyxrc.h \
179         lyxrow.C \
180         lyxrow.h \
181         lyxscreen.h \
182         lyxserver.C \
183         lyxserver.h \
184         lyxtext.h \
185         lyxvc.C \
186         lyxvc.h \
187         main.C \
188         menus.C \
189         menus.h \
190         minibuffer.C \
191         minibuffer.h \
192         nt_defines.h \
193         os2_defines.h \
194         os2_errortable.h \
195         paragraph.C \
196         print_form.C \
197         print_form.h \
198         screen.C \
199         sp_form.C \
200         sp_form.h \
201         spellchecker.C \
202         spellchecker.h \
203         stl_string_fwd.h \
204         table.C \
205         table.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\*`