]> git.lyx.org Git - features.git/blob - src/Makefile.am
636f6721116252212428a35945259a94ffc146d4
[features.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_const.h \
54         broken_headers.h \
55         buffer.C \
56         buffer.h \
57         bufferlist.C \
58         bufferlist.h \
59         bufferparams.C \
60         bufferparams.h \
61         bullet_forms.C \
62         bullet_forms.h \
63         bullet_forms_cb.C \
64         chset.C \
65         chset.h \
66         combox.C \
67         combox.h \
68         commandtags.h \
69         config.h.in \
70         credits.C \
71         credits.h \
72         credits_form.C \
73         credits_form.h \
74         debug.C \
75         debug.h \
76         figure.h \
77         filedlg.C \
78         filedlg.h \
79         form1.C \
80         form1.h \
81         gettext.h \
82         include_form.h \
83         intl.C \
84         intl.h \
85         kbmap.C \
86         kbmap.h \
87         lastfiles.C \
88         lastfiles.h \
89         latexoptions.C \
90         latexoptions.h \
91         layout.C \
92         layout.h \
93         layout_forms.C \
94         layout_forms.h \
95         lyx.C \
96         lyx.h \
97         lyx_cb.C \
98         lyx_cb.h \
99         lyx_gui.C \
100         lyx_gui.h \
101         lyx_gui_misc.C \
102         lyx_gui_misc.h \
103         lyx_main.C \
104         lyx_main.h \
105         lyx_sendfax.C \
106         lyx_sendfax.h \
107         lyx_sendfax_main.C \
108         lyx_sty.C \
109         lyx_sty.h \
110         lyxcursor.h \
111         lyxdraw.C \
112         lyxdraw.h \
113         lyxfont.C \
114         lyxfont.h \
115         lyxfr0.C \
116         lyxfr0.h \
117         lyxfr1.C \
118         lyxfr1.h \
119         lyxfunc.C \
120         lyxfunc.h \
121         lyxlex.C \
122         lyxlex.h \
123         lyxlookup.C \
124         lyxlookup.h \
125         lyxparagraph.h \
126         lyxrc.C \
127         lyxrc.h \
128         lyxrow.h \
129         lyxscreen.h \
130         lyxserver.C \
131         lyxserver.h \
132         lyxtext.h \
133         lyxvc.C \
134         lyxvc.h \
135         main.C \
136         menus.C \
137         menus.h \
138         minibuffer.C \
139         minibuffer.h \
140         nt_defines.h \
141         os2_defines.h \
142         os2_errortable.h \
143         paragraph.C \
144         print_form.C \
145         print_form.h \
146         screen.C \
147         sp_form.C \
148         sp_form.h \
149         spellchecker.C \
150         spellchecker.h \
151         stl_string_fwd.h \
152         table.C \
153         table.h \
154         tex-accent.C \
155         tex-accent.h \
156         tex-defs.h \
157         tex-strings.C \
158         tex-strings.h \
159         texoptions.C \
160         texrow.C \
161         texrow.h \
162         text.C \
163         text2.C \
164         toolbar.C \
165         toolbar.h \
166         trans.C \
167         trans.h \
168         trans_decl.h \
169         trans_mgr.C \
170         trans_mgr.h \
171         undo.C \
172         undo.h \
173         vc-backend.C \
174         vc-backend.h \
175         version.h \
176         vms_defines.h \
177         vspace.C \
178         vspace.h
179
180 lyx_main.o: lyx_main.C lyx_main.h config.h version.h debug.h gettext.h \
181         lyx_gui.h lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
182         bufferlist.h support/FileInfo.h lastfiles.h intl.h \
183         lyxserver.h layout.h gettext.h
184         $(CXXCOMPILE) -DLYX_DIR=\"$(LYX_DIR)\" -DTOP_SRCDIR=\"$(top_srcdir)\" \
185         -c $(top_srcdir)/src/lyx_main.C
186
187 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
188         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
189
190 dist-hook:
191         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`