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