]> git.lyx.org Git - features.git/blob - src/Makefile.am
small cleanups, mostly from John
[features.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 ## libfrontends is given twice on the link line because it needs stuff
7 ## from FRONTEND_GUILIB and inversely. If you do not like it, feel
8 ## free to provide another solution... Maybe signals would solve that
9 ## magically, but I do not understand them much (JMarc)
10 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
11         graphics/libgraphics.la \
12         frontends/libfrontends.la \
13         support/libsupport.la \
14         @INCLUDED_SIGC@
15 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
16         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
17 #lyx_LDFLAGS=-Wl,-O1
18 EXTRA_DIST = config.h.in stamp-h.in cheaders
19 ETAGS_ARGS = --lang=c++
20 BOOST_INCLUDES = -I$(top_srcdir)/boost
21 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
22 localedir = $(datadir)/locale
23 lyx_SOURCES = \
24         BufferView.C \
25         BufferView.h \
26         BufferView2.C \
27         BufferView_pimpl.C \
28         BufferView_pimpl.h \
29         Bullet.C \
30         Bullet.h \
31         Chktex.C \
32         Chktex.h \
33         ColorHandler.C \
34         ColorHandler.h \
35         CutAndPaste.C \
36         CutAndPaste.h \
37         DepTable.C \
38         DepTable.h \
39         FloatList.C \
40         FloatList.h \
41         Floating.C \
42         Floating.h \
43         FontInfo.C \
44         FontInfo.h \
45         FontLoader.C \
46         FontLoader.h \
47         LColor.C \
48         LColor.h \
49         LString.h \
50         LaTeX.C \
51         LaTeX.h \
52         LaTeXFeatures.C \
53         LaTeXFeatures.h \
54         Lsstream.h \
55         LyXAction.C \
56         LyXAction.h \
57         LyXSendto.C \
58         LyXView.C \
59         LyXView.h \
60         Makefile.in \
61         MenuBackend.C \
62         MenuBackend.h \
63         Painter.C \
64         Painter.h \
65         PainterBase.C \
66         PainterBase.h \
67         ParagraphParameters.C \
68         ParagraphParameters.h \
69         ParameterStruct.h \
70         PrinterParams.h \
71         Sectioning.h \
72         Sectioning.C \
73         ShareContainer.h \
74         Spacing.C \
75         Spacing.h \
76         TextCache.C \
77         TextCache.h \
78         ToolbarDefaults.C \
79         ToolbarDefaults.h \
80         UpdateInset.C \
81         UpdateInset.h \
82         Variables.C \
83         Variables.h \
84         WorkArea.C \
85         WorkArea.h \
86         broken_headers.h \
87         buffer.C \
88         buffer.h \
89         bufferlist.C \
90         bufferlist.h \
91         bufferparams.C \
92         bufferparams.h \
93         bufferview_funcs.C \
94         bufferview_funcs.h \
95         chset.C \
96         chset.h \
97         commandtags.h \
98         config.h.in \
99         converter.C \
100         converter.h \
101         counters.C \
102         counters.h \
103         debug.C \
104         debug.h \
105         encoding.C \
106         encoding.h \
107         exporter.C \
108         exporter.h \
109         ext_l10n.h \
110         figure.h \
111         figure_form.C \
112         figure_form.h \
113         figureForm.C \
114         figureForm.h \
115         font.C \
116         font.h \
117         gettext.C \
118         gettext.h \
119         importer.C \
120         importer.h \
121         intl.C \
122         intl.h \
123         kbmap.C \
124         kbmap.h \
125         kbsequence.C \
126         kbsequence.h \
127         language.C \
128         language.h \
129         lastfiles.C \
130         lastfiles.h \
131         layout.C \
132         layout.h \
133         lyx_cb.C \
134         lyx_cb.h \
135         lyx_gui.C \
136         lyx_gui.h \
137         lyx_gui_misc.C \
138         lyx_gui_misc.h \
139         lyx_main.C \
140         lyx_main.h \
141         lyx_sty.C \
142         lyx_sty.h \
143         lyxcursor.C \
144         lyxcursor.h \
145         lyxfont.C \
146         lyxfont.h \
147         lyxfind.C \
148         lyxfind.h \
149         lyxfunc.C \
150         lyxfunc.h \
151         lyxlex.C \
152         lyxlex.h \
153         lyxlex_pimpl.C \
154         lyxlex_pimpl.h \
155         lyxlookup.C \
156         lyxlookup.h \
157         lyxparagraph.h \
158         lyxrc.C \
159         lyxrc.h \
160         lyxrow.C \
161         lyxrow.h \
162         lyxscreen.h \
163         lyxserver.C \
164         lyxserver.h \
165         lyxtext.h \
166         lyxvc.C \
167         lyxvc.h \
168         main.C \
169         minibuffer.C \
170         minibuffer.h \
171         nt_defines.h \
172         os2_defines.h \
173         os2_errortable.h \
174         paragraph.C \
175         print_form.C \
176         print_form.h \
177         screen.C \
178         sp_form.C \
179         sp_form.h \
180         spellchecker.C \
181         spellchecker.h \
182         stl_string_fwd.h \
183         tabular.C \
184         tabular.h \
185         tabular-old.C \
186         tex-accent.C \
187         tex-accent.h \
188         tex-strings.C \
189         tex-strings.h \
190         texrow.C \
191         texrow.h \
192         text.C \
193         text2.C \
194         tracer.C \
195         tracer.h \
196         trans.C \
197         trans.h \
198         trans_decl.h \
199         trans_mgr.C \
200         trans_mgr.h \
201         undo.C \
202         undo.h \
203         vc-backend.C \
204         vc-backend.h \
205         version.h \
206         vms_defines.h \
207         vspace.C \
208         vspace.h
209
210 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
211         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
212         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
213         lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
214         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
215           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
216
217 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
218         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
219
220 dist-hook:
221         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`