]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
fixes because of SUN CC warnings, bmtable now compiled with C compilator, countChar...
[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 LYX_DIR = $(datadir)/$(PACKAGE)
11 INCLUDES = -I${top_srcdir}/images
12 localedir = $(datadir)/locale
13 lyx_SOURCES = \
14         BackStack.h \
15         BufferView.C \
16         BufferView.h \
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         LString.h \
32         LaTeX.C \
33         LaTeX.h \
34         LaTeXFeatures.C \
35         LaTeXFeatures.h \
36         LaTeXLog.C \
37         Literate.C \
38         Literate.h \
39         LyXAction.C \
40         LyXAction.h \
41         LyXSendto.C \
42         LyXView.C \
43         LyXView.h \
44         Makefile.in \
45         PaperLayout.C \
46         ParagraphExtra.C \
47         Spacing.C \
48         Spacing.h \
49         TableLayout.C \
50         bibforms.h \
51         bmtable.c \
52         bmtable.h \
53         broken_headers.h \
54         buffer.C \
55         buffer.h \
56         bufferlist.C \
57         bufferlist.h \
58         bufferparams.C \
59         bufferparams.h \
60         bullet_forms.C \
61         bullet_forms.h \
62         bullet_forms_cb.C \
63         chset.C \
64         chset.h \
65         combox.C \
66         combox.h \
67         commandtags.h \
68         config.h.in \
69         credits.C \
70         credits.h \
71         credits_form.C \
72         credits_form.h \
73         debug.C \
74         debug.h \
75         figure.h \
76         filedlg.C \
77         filedlg.h \
78         form1.C \
79         form1.h \
80         gettext.h \
81         include_form.h \
82         intl.C \
83         intl.h \
84         kbmap.C \
85         kbmap.h \
86         lastfiles.C \
87         lastfiles.h \
88         latexoptions.C \
89         latexoptions.h \
90         layout.C \
91         layout.h \
92         layout_forms.C \
93         layout_forms.h \
94         lyx.C \
95         lyx.h \
96         lyx_cb.C \
97         lyx_cb.h \
98         lyx_gui.C \
99         lyx_gui.h \
100         lyx_gui_misc.C \
101         lyx_gui_misc.h \
102         lyx_main.C \
103         lyx_main.h \
104         lyx_sendfax.C \
105         lyx_sendfax.h \
106         lyx_sendfax_main.C \
107         lyx_sty.C \
108         lyx_sty.h \
109         lyxcursor.h \
110         lyxdraw.C \
111         lyxdraw.h \
112         lyxfont.C \
113         lyxfont.h \
114         lyxfr0.C \
115         lyxfr0.h \
116         lyxfr1.C \
117         lyxfr1.h \
118         lyxfunc.C \
119         lyxfunc.h \
120         lyxlex.C \
121         lyxlex.h \
122         lyxlookup.C \
123         lyxlookup.h \
124         lyxparagraph.h \
125         lyxrc.C \
126         lyxrc.h \
127         lyxrow.h \
128         lyxscreen.h \
129         lyxserver.C \
130         lyxserver.h \
131         lyxtext.h \
132         lyxvc.C \
133         lyxvc.h \
134         main.C \
135         menus.C \
136         menus.h \
137         minibuffer.C \
138         minibuffer.h \
139         nt_defines.h \
140         os2_defines.h \
141         os2_errortable.h \
142         paragraph.C \
143         print_form.C \
144         print_form.h \
145         screen.C \
146         sp_form.C \
147         sp_form.h \
148         spellchecker.C \
149         spellchecker.h \
150         stl_string_fwd.h \
151         table.C \
152         table.h \
153         tex-accent.C \
154         tex-accent.h \
155         tex-defs.h \
156         tex-strings.C \
157         tex-strings.h \
158         texoptions.C \
159         texrow.C \
160         texrow.h \
161         text.C \
162         text2.C \
163         toolbar.C \
164         toolbar.h \
165         trans.C \
166         trans.h \
167         trans_decl.h \
168         trans_mgr.C \
169         trans_mgr.h \
170         undo.C \
171         undo.h \
172         vc-backend.C \
173         vc-backend.h \
174         version.h \
175         vms_defines.h \
176         vspace.C \
177         vspace.h
178
179 lyx_main.o: lyx_main.C lyx_main.h config.h version.h debug.h gettext.h \
180         lyx_gui.h lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
181         bufferlist.h support/FileInfo.h lastfiles.h intl.h \
182         lyxserver.h layout.h gettext.h
183         $(CXXCOMPILE) -DLYX_DIR=\"$(LYX_DIR)\" -DTOP_SRCDIR=\"$(top_srcdir)\" \
184         -c $(top_srcdir)/src/lyx_main.C
185
186 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
187         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
188
189 dist-hook:
190         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`