]> git.lyx.org Git - features.git/blob - src/Makefile.am
remove bibforms from Makefile
[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 @FRONTEND_GUILIB@ \
13         frontends/libfrontends.la \
14         frontends/support/libfrontendsupport.la support/libsupport.la \
15         @INCLUDED_SIGC@
16 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
17         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
18 #lyx_LDFLAGS=-Wl,-O1
19 EXTRA_DIST = config.h.in stamp-h.in cheaders
20 ETAGS_ARGS = --lang=c++
21 BOOST_INCLUDES = -I$(top_srcdir)/boost
22 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
23 localedir = $(datadir)/locale
24 lyx_SOURCES = \
25         BackStack.h \
26         BufferView.C \
27         BufferView.h \
28         BufferView2.C \
29         BufferView_pimpl.C \
30         BufferView_pimpl.h \
31         Bullet.C \
32         Bullet.h \
33         Chktex.C \
34         Chktex.h \
35         ColorHandler.C \
36         ColorHandler.h \
37         CutAndPaste.C \
38         CutAndPaste.h \
39         DepTable.C \
40         DepTable.h \
41         FloatList.C \
42         FloatList.h \
43         Floating.C \
44         Floating.h \
45         FontInfo.C \
46         FontInfo.h \
47         FontLoader.C \
48         FontLoader.h \
49         LColor.C \
50         LColor.h \
51         LString.h \
52         LaTeX.C \
53         LaTeX.h \
54         LaTeXFeatures.C \
55         LaTeXFeatures.h \
56         Lsstream.h \
57         LyXAction.C \
58         LyXAction.h \
59         LyXSendto.C \
60         LyXView.C \
61         LyXView.h \
62         Makefile.in \
63         MenuBackend.C \
64         MenuBackend.h \
65         Painter.C \
66         Painter.h \
67         PainterBase.C \
68         PainterBase.h \
69         PrinterParams.h \
70         Sectioning.h \
71         Sectioning.C \
72         Spacing.C \
73         Spacing.h \
74         TextCache.C \
75         TextCache.h \
76         ToolbarDefaults.C \
77         ToolbarDefaults.h \
78         UpdateInset.C \
79         UpdateInset.h \
80         Variables.C \
81         Variables.h \
82         WorkArea.C \
83         WorkArea.h \
84         bmtable.c \
85         bmtable.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         combox.C \
98         combox.h \
99         commandtags.h \
100         config.h.in \
101         converter.C \
102         converter.h \
103         counters.C \
104         counters.h \
105         credits.C \
106         credits.h \
107         credits_form.C \
108         credits_form.h \
109         debug.C \
110         debug.h \
111         encoding.C \
112         encoding.h \
113         exporter.C \
114         exporter.h \
115         ext_l10n.h \
116         figure.h \
117         filedlg.C \
118         filedlg.h \
119         font.C \
120         font.h \
121         form1.C \
122         form1.h \
123         gettext.C \
124         gettext.h \
125         importer.C \
126         importer.h \
127         include_form.h \
128         intl.C \
129         intl.h \
130         kbmap.C \
131         kbmap.h \
132         kbsequence.C \
133         kbsequence.h \
134         language.C \
135         language.h \
136         lastfiles.C \
137         lastfiles.h \
138         layout.C \
139         layout.h \
140         layout_forms.C \
141         layout_forms.h \
142         lyx.C \
143         lyx.h \
144         lyx_cb.C \
145         lyx_cb.h \
146         lyx_gui.C \
147         lyx_gui.h \
148         lyx_gui_misc.C \
149         lyx_gui_misc.h \
150         lyx_main.C \
151         lyx_main.h \
152         lyx_sty.C \
153         lyx_sty.h \
154         lyxcursor.C \
155         lyxcursor.h \
156         lyxfont.C \
157         lyxfont.h \
158         lyxfr0.C \
159         lyxfr0.h \
160         lyxfr1.C \
161         lyxfr1.h \
162         lyxfunc.C \
163         lyxfunc.h \
164         lyxlex.C \
165         lyxlex.h \
166         lyxlex_pimpl.C \
167         lyxlex_pimpl.h \
168         lyxlookup.C \
169         lyxlookup.h \
170         lyxparagraph.h \
171         lyxrc.C \
172         lyxrc.h \
173         lyxrow.C \
174         lyxrow.h \
175         lyxscreen.h \
176         lyxserver.C \
177         lyxserver.h \
178         lyxtext.h \
179         lyxvc.C \
180         lyxvc.h \
181         main.C \
182         minibuffer.C \
183         minibuffer.h \
184         nt_defines.h \
185         os2_defines.h \
186         os2_errortable.h \
187         paragraph.C \
188         print_form.C \
189         print_form.h \
190         screen.C \
191         sp_form.C \
192         sp_form.h \
193         spellchecker.C \
194         spellchecker.h \
195         stl_string_fwd.h \
196         tabular.C \
197         tabular.h \
198         tabular-old.C \
199         tex-accent.C \
200         tex-accent.h \
201         tex-defs.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         vc-backend.C \
218         vc-backend.h \
219         version.h \
220         vms_defines.h \
221         vspace.C \
222         vspace.h
223
224 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
225         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
226         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
227         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
228         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
229           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
230
231 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
232         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
233
234 dist-hook:
235         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`