]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
b04ce5912b01d6801bb8dc29036e00fddcbd0179
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets support
3 DISTCLEANFILES = libintl.h config.h
4 MAINTAINERCLEANFILES = Makefile.in config.h.in
5 bin_PROGRAMS = lyx
6 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la support/libsupport.la
7 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS)
8 EXTRA_DIST = config.h.in stamp-h.in cheaders
9 ETAGS_ARGS = --c++
10 INCLUDES = -I${top_srcdir}/images
11 localedir = $(datadir)/locale
12 lyx_SOURCES = \
13         BackStack.h \
14         BufferView.C \
15         BufferView.h \
16         BufferView2.C \
17         Bullet.C \
18         Bullet.h \
19         Chktex.C \
20         Chktex.h \
21         DepTable.C \
22         DepTable.h \
23         FontInfo.C \
24         FontInfo.h \
25         FontLoader.C \
26         FontLoader.h \
27         ImportLaTeX.C \
28         ImportLaTeX.h \
29         ImportNoweb.C \
30         ImportNoweb.h \
31         LColor.C \
32         LColor.h \
33         LString.h \
34         LaTeX.C \
35         LaTeX.h \
36         LaTeXFeatures.C \
37         LaTeXFeatures.h \
38         LaTeXLog.C \
39         Literate.C \
40         Literate.h \
41         LyXAction.C \
42         LyXAction.h \
43         LyXSendto.C \
44         LyXView.C \
45         LyXView.h \
46         Makefile.in \
47         Painter.C \
48         Painter.h \
49         PainterBase.C \
50         PainterBase.h \
51         PaperLayout.C \
52         ParagraphExtra.C \
53         Spacing.C \
54         Spacing.h \
55         TableLayout.C \
56         TextCache.C \
57         TextCache.h \
58         ToolbarDefaults.C \
59         ToolbarDefaults.h \
60         UpdateInset.C \
61         UpdateInset.h \
62         WorkArea.C \
63         WorkArea.h \
64         bibforms.h \
65         bmtable.c \
66         bmtable.h \
67         broken_headers.h \
68         buffer.C \
69         buffer.h \
70         bufferlist.C \
71         bufferlist.h \
72         bufferparams.C \
73         bufferparams.h \
74         bullet_forms.C \
75         bullet_forms.h \
76         bullet_forms_cb.C \
77         chset.C \
78         chset.h \
79         combox.C \
80         combox.h \
81         commandtags.h \
82         config.h.in \
83         credits.C \
84         credits.h \
85         credits_form.C \
86         credits_form.h \
87         debug.C \
88         debug.h \
89         direction.h \
90         figure.h \
91         filedlg.C \
92         filedlg.h \
93         font.C \
94         font.h \
95         form1.C \
96         form1.h \
97         gettext.h \
98         include_form.h \
99         intl.C \
100         intl.h \
101         kbmap.C \
102         kbmap.h \
103         kbsequence.C \
104         kbsequence.h \
105         language.C \
106         language.h \
107         lastfiles.C \
108         lastfiles.h \
109         latexoptions.C \
110         latexoptions.h \
111         layout.C \
112         layout.h \
113         layout_forms.C \
114         layout_forms.h \
115         lyx.C \
116         lyx.h \
117         lyx_cb.C \
118         lyx_cb.h \
119         lyx_gui.C \
120         lyx_gui.h \
121         lyx_gui_misc.C \
122         lyx_gui_misc.h \
123         lyx_main.C \
124         lyx_main.h \
125         lyx_sendfax.C \
126         lyx_sendfax.h \
127         lyx_sendfax_main.C \
128         lyx_sty.C \
129         lyx_sty.h \
130         lyxcursor.h \
131         lyxfont.C \
132         lyxfont.h \
133         lyxfr0.C \
134         lyxfr0.h \
135         lyxfr1.C \
136         lyxfr1.h \
137         lyxfunc.C \
138         lyxfunc.h \
139         lyxlex.C \
140         lyxlex.h \
141         lyxlookup.C \
142         lyxlookup.h \
143         lyxparagraph.h \
144         lyxrc.C \
145         lyxrc.h \
146         lyxrow.h \
147         lyxscreen.h \
148         lyxserver.C \
149         lyxserver.h \
150         lyxtext.h \
151         lyxvc.C \
152         lyxvc.h \
153         main.C \
154         menus.C \
155         menus.h \
156         minibuffer.C \
157         minibuffer.h \
158         nt_defines.h \
159         os2_defines.h \
160         os2_errortable.h \
161         paragraph.C \
162         print_form.C \
163         print_form.h \
164         screen.C \
165         sp_form.C \
166         sp_form.h \
167         spellchecker.C \
168         spellchecker.h \
169         stl_string_fwd.h \
170         table.C \
171         table.h \
172         tex-accent.C \
173         tex-accent.h \
174         tex-defs.h \
175         tex-strings.C \
176         tex-strings.h \
177         texoptions.C \
178         texrow.C \
179         texrow.h \
180         text.C \
181         text2.C \
182         toolbar.C \
183         toolbar.h \
184         tracer.C \
185         tracer.h \
186         trans.C \
187         trans.h \
188         trans_decl.h \
189         trans_mgr.C \
190         trans_mgr.h \
191         undo.C \
192         undo.h \
193         vc-backend.C \
194         vc-backend.h \
195         version.h \
196         vms_defines.h \
197         vspace.C \
198         vspace.h
199
200 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
201         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
202         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
203         lyxserver.h layout.h gettext.h kbmap.h 
204         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
205           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
206
207 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
208         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
209
210 dist-hook:
211         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`