]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
small cleanup
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets graphics 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
7 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
8         graphics/libgraphics.la \
9         frontends/libfrontends.la \
10         support/libsupport.la \
11         @INCLUDED_SIGC@
12 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(SIGC_LIBS) \
13         $(PSPELL_LIBS) @AIKSAURUS_LIBS@
14
15 #lyx_LDFLAGS=-Wl,-O1
16 EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
17         Sectioning.h \
18         Sectioning.C \
19         Variables.C \
20         Variables.h \
21         counters.C \
22         counters.h
23  
24 ETAGS_ARGS = --lang=c++
25 BOOST_INCLUDES = -I$(top_srcdir)/boost
26 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
27 localedir = $(datadir)/locale
28 BUILT_SOURCES = version.C
29 lyx_SOURCES = \
30         BufferView.C \
31         BufferView.h \
32         BufferView2.C \
33         BufferView_pimpl.C \
34         BufferView_pimpl.h \
35         Bullet.C \
36         Bullet.h \
37         Chktex.C \
38         Chktex.h \
39         ColorHandler.C \
40         ColorHandler.h \
41         CutAndPaste.C \
42         CutAndPaste.h \
43         DepTable.C \
44         DepTable.h \
45         FloatList.C \
46         FloatList.h \
47         Floating.C \
48         Floating.h \
49         FontInfo.C \
50         FontInfo.h \
51         FontLoader.C \
52         FontLoader.h \
53         LColor.C \
54         LColor.h \
55         LString.h \
56         LaTeX.C \
57         LaTeX.h \
58         LaTeXFeatures.C \
59         LaTeXFeatures.h \
60         Lsstream.h \
61         LyXAction.C \
62         LyXAction.h \
63         LyXSendto.C \
64         LyXView.C \
65         LyXView.h \
66         Makefile.in \
67         MenuBackend.C \
68         MenuBackend.h \
69         Painter.C \
70         Painter.h \
71         PainterBase.C \
72         PainterBase.h \
73         ParagraphParameters.C \
74         ParagraphParameters.h \
75         ParameterStruct.h \
76         PrinterParams.h \
77         ShareContainer.h \
78         Spacing.C \
79         Spacing.h \
80         TextCache.C \
81         TextCache.h \
82         Thesaurus.C \
83         Thesaurus.h \
84         ToolbarDefaults.C \
85         ToolbarDefaults.h \
86         UpdateInset.C \
87         UpdateInset.h \
88         WorkArea.C \
89         WorkArea.h \
90         XFormsView.C \
91         XFormsView.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         chset.C \
102         chset.h \
103         commandtags.h \
104         config.h.in \
105         converter.C \
106         converter.h \
107         debug.C \
108         debug.h \
109         encoding.C \
110         encoding.h \
111         exporter.C \
112         exporter.h \
113         figure.h \
114         figure_form.C \
115         figure_form.h \
116         figureForm.C \
117         figureForm.h \
118         font.C \
119         font.h \
120         func_status.h \
121         gettext.C \
122         gettext.h \
123         importer.C \
124         importer.h \
125         intl.C \
126         intl.h \
127         iterators.C \
128         iterators.h \
129         kbmap.C \
130         kbmap.h \
131         kbsequence.C \
132         kbsequence.h \
133         language.C \
134         language.h \
135         lastfiles.C \
136         lastfiles.h \
137         layout.C \
138         layout.h \
139         lengthcommon.C \
140         lengthcommon.h \
141         lyx_cb.C \
142         lyx_cb.h \
143         lyx_gui.C \
144         lyx_gui.h \
145         lyx_gui_misc.C \
146         lyx_gui_misc.h \
147         lyx_main.C \
148         lyx_main.h \
149         lyx_sty.C \
150         lyx_sty.h \
151         lyxcursor.C \
152         lyxcursor.h \
153         lyxfont.C \
154         lyxfont.h \
155         lyxfind.C \
156         lyxfind.h \
157         lyxfunc.C \
158         lyxfunc.h \
159         lyxgluelength.C \
160         lyxgluelength.h \
161         lyxlength.C \
162         lyxlength.h \
163         lyxlex.C \
164         lyxlex.h \
165         lyxlex_pimpl.C \
166         lyxlex_pimpl.h \
167         lyxlookup.C \
168         lyxlookup.h \
169         lyxrc.C \
170         lyxrc.h \
171         lyxrow.C \
172         lyxrow.h \
173         lyxscreen.h \
174         lyxserver.C \
175         lyxserver.h \
176         lyxtext.h \
177         lyxvc.C \
178         lyxvc.h \
179         main.C \
180         minibuffer.C \
181         minibuffer.h \
182         nt_defines.h \
183         os2_defines.h \
184         os2_errortable.h \
185         paragraph.C \
186         paragraph.h \
187         paragraph_pimpl.C \
188         paragraph_pimpl.h \
189         print_form.C \
190         print_form.h \
191         screen.C \
192         sp_base.h \
193         sp_spell.C \
194         sp_ispell.h \
195         sp_pspell.h \
196         stl_string_fwd.h \
197         tabular.C \
198         tabular.h \
199         tabular-old.C \
200         tex-accent.C \
201         tex-accent.h \
202         tex-strings.C \
203         tex-strings.h \
204         texrow.C \
205         texrow.h \
206         text.C \
207         text2.C \
208         tracer.C \
209         tracer.h \
210         trans.C \
211         trans.h \
212         trans_decl.h \
213         trans_mgr.C \
214         trans_mgr.h \
215         undo.C \
216         undo.h \
217         undo_funcs.C \
218         undo_funcs.h \
219         undostack.C \
220         undostack.h \
221         vc-backend.C \
222         vc-backend.h \
223         version.C \
224         version.h \
225         vms_defines.h \
226         vspace.C \
227         vspace.h
228
229 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
230         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
231         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
232         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h 
233         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
234           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
235
236 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
237         support/os.h frontends/GUIRunTime.h
238         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
239
240 dist-hook:
241         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`