]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
Fix configure bug with gettext
[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         form1.C \
94         form1.h \
95         gettext.h \
96         include_form.h \
97         intl.C \
98         intl.h \
99         kbmap.C \
100         kbmap.h \
101         kbsequence.C \
102         kbsequence.h \
103         language.C \
104         language.h \
105         lastfiles.C \
106         lastfiles.h \
107         latexoptions.C \
108         latexoptions.h \
109         layout.C \
110         layout.h \
111         layout_forms.C \
112         layout_forms.h \
113         lyx.C \
114         lyx.h \
115         lyx_cb.C \
116         lyx_cb.h \
117         lyx_gui.C \
118         lyx_gui.h \
119         lyx_gui_misc.C \
120         lyx_gui_misc.h \
121         lyx_main.C \
122         lyx_main.h \
123         lyx_sendfax.C \
124         lyx_sendfax.h \
125         lyx_sendfax_main.C \
126         lyx_sty.C \
127         lyx_sty.h \
128         lyxcursor.h \
129         lyxfont.C \
130         lyxfont.h \
131         lyxfr0.C \
132         lyxfr0.h \
133         lyxfr1.C \
134         lyxfr1.h \
135         lyxfunc.C \
136         lyxfunc.h \
137         lyxlex.C \
138         lyxlex.h \
139         lyxlookup.C \
140         lyxlookup.h \
141         lyxparagraph.h \
142         lyxrc.C \
143         lyxrc.h \
144         lyxrow.h \
145         lyxscreen.h \
146         lyxserver.C \
147         lyxserver.h \
148         lyxtext.h \
149         lyxvc.C \
150         lyxvc.h \
151         main.C \
152         menus.C \
153         menus.h \
154         minibuffer.C \
155         minibuffer.h \
156         nt_defines.h \
157         os2_defines.h \
158         os2_errortable.h \
159         paragraph.C \
160         print_form.C \
161         print_form.h \
162         screen.C \
163         sp_form.C \
164         sp_form.h \
165         spellchecker.C \
166         spellchecker.h \
167         stl_string_fwd.h \
168         table.C \
169         table.h \
170         tex-accent.C \
171         tex-accent.h \
172         tex-defs.h \
173         tex-strings.C \
174         tex-strings.h \
175         texoptions.C \
176         texrow.C \
177         texrow.h \
178         text.C \
179         text2.C \
180         toolbar.C \
181         toolbar.h \
182         tracer.C \
183         tracer.h \
184         trans.C \
185         trans.h \
186         trans_decl.h \
187         trans_mgr.C \
188         trans_mgr.h \
189         undo.C \
190         undo.h \
191         vc-backend.C \
192         vc-backend.h \
193         version.h \
194         vms_defines.h \
195         vspace.C \
196         vspace.h
197
198 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
199         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
200         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
201         lyxserver.h layout.h gettext.h kbmap.h 
202         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
203           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
204
205 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
206         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
207
208 dist-hook:
209         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`