2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
|
|
|
DISTCLEANFILES += config.h libintl.h
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES += $(srcdir)/config.h.in
|
|
|
|
|
2003-02-10 16:31:38 +00:00
|
|
|
SUBDIRS = mathed insets graphics support frontends tex2lyx
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2003-05-08 18:05:07 +00:00
|
|
|
EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
|
|
|
|
Sectioning.h \
|
|
|
|
Sectioning.C \
|
|
|
|
Variables.C \
|
|
|
|
Variables.h \
|
2003-08-30 17:09:51 +00:00
|
|
|
paper.h
|
2003-05-08 18:05:07 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
|
2003-09-09 18:27:24 +00:00
|
|
|
frontends/libfrontends.la
|
2001-09-09 22:02:19 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
|
2002-03-20 19:06:32 +00:00
|
|
|
graphics/libgraphics.la \
|
|
|
|
support/libsupport.la
|
2002-03-12 17:15:44 +00:00
|
|
|
|
2003-05-07 16:22:01 +00:00
|
|
|
if USE_INCLUDED_BOOST
|
2002-05-29 16:21:03 +00:00
|
|
|
BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
|
|
|
|
../boost/libs/signals/src/libboostsignals.la
|
2003-05-07 16:22:01 +00:00
|
|
|
else
|
|
|
|
BOOST_LIBS = -lboost_regex -lboost_signals
|
|
|
|
endif
|
2002-05-25 00:19:56 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
|
2002-03-25 11:15:27 +00:00
|
|
|
|
2003-09-09 18:27:24 +00:00
|
|
|
bin_PROGRAMS = lyx
|
2003-08-02 20:01:52 +00:00
|
|
|
noinst_PROGRAMS = $(FRONTENDS_PROGS)
|
2003-09-02 10:29:05 +00:00
|
|
|
EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
|
2003-08-02 20:01:52 +00:00
|
|
|
|
|
|
|
lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
|
2003-09-09 18:27:24 +00:00
|
|
|
frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
|
2003-08-02 21:29:24 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
lyx_xforms_SOURCES = main.C
|
|
|
|
|
|
|
|
lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
|
|
|
|
frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
|
|
|
|
lyx_qt_SOURCES = main.C
|
|
|
|
|
2003-09-02 10:29:05 +00:00
|
|
|
lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
|
|
|
|
frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
|
|
|
|
lyx_gtk_SOURCES = main.C
|
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
lyx$(EXEEXT): $(FRONTENDS_PROGS)
|
|
|
|
rm -f $@
|
|
|
|
$(LN_S) $< $@
|
2003-05-20 08:44:01 +00:00
|
|
|
|
2000-08-03 21:17:52 +00:00
|
|
|
#lyx_LDFLAGS=-Wl,-O1
|
2002-03-12 17:15:44 +00:00
|
|
|
|
2003-03-10 19:18:42 +00:00
|
|
|
INCLUDES = $(BOOST_INCLUDES)
|
2002-03-25 22:07:48 +00:00
|
|
|
|
2001-10-03 15:49:32 +00:00
|
|
|
BUILT_SOURCES = version.C
|
2002-03-25 22:07:48 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_SOURCES = \
|
|
|
|
BufferView.C \
|
|
|
|
BufferView.h \
|
2000-04-08 17:02:02 +00:00
|
|
|
BufferView_pimpl.C \
|
|
|
|
BufferView_pimpl.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
Bullet.C \
|
|
|
|
Bullet.h \
|
2003-08-17 11:28:23 +00:00
|
|
|
BranchList.C \
|
|
|
|
BranchList.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
Chktex.C \
|
|
|
|
Chktex.h \
|
2000-04-10 14:29:05 +00:00
|
|
|
CutAndPaste.C \
|
|
|
|
CutAndPaste.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
DepTable.C \
|
|
|
|
DepTable.h \
|
2000-06-28 13:35:52 +00:00
|
|
|
FloatList.C \
|
|
|
|
FloatList.h \
|
2000-12-31 05:32:33 +00:00
|
|
|
Floating.C \
|
2000-06-28 13:35:52 +00:00
|
|
|
Floating.h \
|
2002-01-09 09:36:35 +00:00
|
|
|
FuncStatus.C \
|
|
|
|
FuncStatus.h \
|
2002-08-11 15:03:52 +00:00
|
|
|
InsetList.C \
|
|
|
|
InsetList.h \
|
2000-02-10 17:53:36 +00:00
|
|
|
LColor.C \
|
|
|
|
LColor.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
LaTeX.C \
|
|
|
|
LaTeX.h \
|
|
|
|
LaTeXFeatures.C \
|
|
|
|
LaTeXFeatures.h \
|
2003-05-22 18:59:10 +00:00
|
|
|
latexrunparams.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
LyXAction.C \
|
|
|
|
LyXAction.h \
|
2000-07-24 13:53:19 +00:00
|
|
|
MenuBackend.C \
|
|
|
|
MenuBackend.h \
|
2002-08-20 19:41:13 +00:00
|
|
|
paragraph_funcs.C \
|
|
|
|
paragraph_funcs.h \
|
2002-08-12 00:15:19 +00:00
|
|
|
ParagraphList.h \
|
2001-03-06 14:07:14 +00:00
|
|
|
ParagraphParameters.C \
|
|
|
|
ParagraphParameters.h \
|
|
|
|
ParameterStruct.h \
|
2003-09-06 23:01:26 +00:00
|
|
|
PrinterParams.C \
|
2000-06-12 11:27:15 +00:00
|
|
|
PrinterParams.h \
|
2003-03-26 11:04:29 +00:00
|
|
|
RowList.h \
|
2001-03-06 14:07:14 +00:00
|
|
|
ShareContainer.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
Spacing.C \
|
|
|
|
Spacing.h \
|
2000-02-04 09:38:32 +00:00
|
|
|
TextCache.C \
|
|
|
|
TextCache.h \
|
2001-07-29 10:42:11 +00:00
|
|
|
Thesaurus.C \
|
|
|
|
Thesaurus.h \
|
2003-04-02 18:08:05 +00:00
|
|
|
ToolbarBackend.C \
|
|
|
|
ToolbarBackend.h \
|
2002-08-11 20:00:02 +00:00
|
|
|
WordLangTuple.h \
|
2003-03-26 01:20:25 +00:00
|
|
|
aspell.C \
|
|
|
|
aspell_local.h \
|
2003-02-08 19:18:01 +00:00
|
|
|
author.C \
|
|
|
|
author.h \
|
2002-08-20 21:50:08 +00:00
|
|
|
boost.C \
|
2001-12-17 14:25:04 +00:00
|
|
|
box.h \
|
2002-01-07 14:36:10 +00:00
|
|
|
box.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
broken_headers.h \
|
|
|
|
buffer.C \
|
|
|
|
buffer.h \
|
2003-06-20 12:46:28 +00:00
|
|
|
buffer_funcs.C \
|
|
|
|
buffer_funcs.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
bufferlist.C \
|
|
|
|
bufferlist.h \
|
|
|
|
bufferparams.C \
|
|
|
|
bufferparams.h \
|
2000-04-12 14:20:08 +00:00
|
|
|
bufferview_funcs.C \
|
|
|
|
bufferview_funcs.h \
|
2003-02-08 19:18:01 +00:00
|
|
|
changes.C \
|
|
|
|
changes.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
chset.C \
|
|
|
|
chset.h \
|
2003-03-23 02:25:21 +00:00
|
|
|
lfuns.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
config.h.in \
|
2000-08-30 03:40:51 +00:00
|
|
|
converter.C \
|
|
|
|
converter.h \
|
2002-08-06 22:40:59 +00:00
|
|
|
counters.C \
|
|
|
|
counters.h \
|
1999-12-13 15:31:52 +00:00
|
|
|
debug.C \
|
1999-10-07 18:44:17 +00:00
|
|
|
debug.h \
|
2003-05-19 17:03:12 +00:00
|
|
|
dimension.C \
|
|
|
|
dimension.h \
|
2000-07-04 20:32:37 +00:00
|
|
|
encoding.C \
|
|
|
|
encoding.h \
|
2003-05-20 16:51:31 +00:00
|
|
|
errorlist.C \
|
|
|
|
errorlist.h \
|
2000-08-30 03:40:51 +00:00
|
|
|
exporter.C \
|
|
|
|
exporter.h \
|
2000-10-11 21:06:43 +00:00
|
|
|
gettext.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
gettext.h \
|
2002-08-27 10:14:56 +00:00
|
|
|
factory.h \
|
|
|
|
factory.C \
|
2003-05-20 08:07:43 +00:00
|
|
|
format.C \
|
|
|
|
format.h \
|
2002-08-12 15:43:40 +00:00
|
|
|
funcrequest.h \
|
2002-08-13 17:43:40 +00:00
|
|
|
funcrequest.C \
|
2003-05-20 08:07:43 +00:00
|
|
|
graph.C \
|
|
|
|
graph.h \
|
2000-10-23 12:16:05 +00:00
|
|
|
importer.C \
|
|
|
|
importer.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
intl.C \
|
|
|
|
intl.h \
|
2001-09-01 21:26:34 +00:00
|
|
|
iterators.C \
|
|
|
|
iterators.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
kbmap.C \
|
|
|
|
kbmap.h \
|
2000-02-04 09:38:32 +00:00
|
|
|
kbsequence.C \
|
|
|
|
kbsequence.h \
|
2000-03-10 13:22:20 +00:00
|
|
|
language.C \
|
|
|
|
language.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lastfiles.C \
|
|
|
|
lastfiles.h \
|
|
|
|
layout.h \
|
2001-12-02 23:47:06 +00:00
|
|
|
lengthcommon.C \
|
|
|
|
lengthcommon.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_cb.C \
|
|
|
|
lyx_cb.h \
|
|
|
|
lyx_main.C \
|
|
|
|
lyx_main.h \
|
|
|
|
lyx_sty.C \
|
|
|
|
lyx_sty.h \
|
2000-06-08 23:16:16 +00:00
|
|
|
lyxcursor.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxcursor.h \
|
|
|
|
lyxfont.C \
|
|
|
|
lyxfont.h \
|
2001-03-06 10:20:33 +00:00
|
|
|
lyxfind.C \
|
|
|
|
lyxfind.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxfunc.C \
|
|
|
|
lyxfunc.h \
|
2001-12-02 23:47:06 +00:00
|
|
|
lyxgluelength.C \
|
|
|
|
lyxgluelength.h \
|
2001-12-28 13:26:54 +00:00
|
|
|
lyxlayout.C \
|
|
|
|
lyxlayout.h \
|
2002-06-27 07:57:59 +00:00
|
|
|
lyxlayout_ptr_fwd.h \
|
2001-12-02 23:47:06 +00:00
|
|
|
lyxlength.C \
|
2001-12-04 16:32:15 +00:00
|
|
|
lyxlength.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxlex.C \
|
|
|
|
lyxlex.h \
|
2000-04-08 17:02:02 +00:00
|
|
|
lyxlex_pimpl.C \
|
|
|
|
lyxlex_pimpl.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxrc.C \
|
|
|
|
lyxrc.h \
|
2000-06-08 23:16:16 +00:00
|
|
|
lyxrow.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxrow.h \
|
2003-04-01 16:55:48 +00:00
|
|
|
lyxrow_funcs.C \
|
|
|
|
lyxrow_funcs.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxserver.C \
|
|
|
|
lyxserver.h \
|
|
|
|
lyxtext.h \
|
2001-12-28 13:26:54 +00:00
|
|
|
lyxtextclass.C \
|
|
|
|
lyxtextclass.h \
|
|
|
|
lyxtextclasslist.C \
|
|
|
|
lyxtextclasslist.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyxvc.C \
|
|
|
|
lyxvc.h \
|
2003-04-23 19:27:11 +00:00
|
|
|
messages.C \
|
|
|
|
messages.h \
|
2003-03-21 14:20:48 +00:00
|
|
|
metricsinfo.C \
|
|
|
|
metricsinfo.h \
|
2003-08-02 21:29:24 +00:00
|
|
|
paper.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
paragraph.C \
|
2001-06-25 00:06:33 +00:00
|
|
|
paragraph.h \
|
|
|
|
paragraph_pimpl.C \
|
|
|
|
paragraph_pimpl.h \
|
2002-08-04 23:11:50 +00:00
|
|
|
SpellBase.h \
|
|
|
|
ispell.C \
|
2002-08-09 00:42:12 +00:00
|
|
|
ispell.h \
|
2002-08-04 23:11:50 +00:00
|
|
|
pspell.C \
|
2002-08-09 00:42:12 +00:00
|
|
|
pspell.h \
|
2003-02-26 17:04:10 +00:00
|
|
|
rowpainter.C \
|
|
|
|
rowpainter.h \
|
2002-08-09 00:42:12 +00:00
|
|
|
sgml.C \
|
|
|
|
sgml.h \
|
2000-04-21 15:16:22 +00:00
|
|
|
tabular.C \
|
|
|
|
tabular.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
tex-accent.C \
|
|
|
|
tex-accent.h \
|
|
|
|
tex-strings.C \
|
|
|
|
tex-strings.h \
|
|
|
|
texrow.C \
|
|
|
|
texrow.h \
|
|
|
|
text.C \
|
|
|
|
text2.C \
|
2002-08-20 13:00:25 +00:00
|
|
|
text3.C \
|
2003-06-27 13:13:04 +00:00
|
|
|
textcursor.C \
|
|
|
|
textcursor.h \
|
2003-04-02 00:51:46 +00:00
|
|
|
text_funcs.C \
|
|
|
|
text_funcs.h \
|
2002-07-21 15:51:07 +00:00
|
|
|
toc.C \
|
|
|
|
toc.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
trans.C \
|
|
|
|
trans.h \
|
|
|
|
trans_decl.h \
|
|
|
|
trans_mgr.C \
|
|
|
|
trans_mgr.h \
|
1999-11-15 12:01:38 +00:00
|
|
|
undo.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
undo.h \
|
2001-07-06 15:57:54 +00:00
|
|
|
undo_funcs.C \
|
|
|
|
undo_funcs.h \
|
1999-11-09 23:52:04 +00:00
|
|
|
vc-backend.C \
|
|
|
|
vc-backend.h \
|
2001-10-03 15:49:32 +00:00
|
|
|
version.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
version.h \
|
|
|
|
vspace.C \
|
2003-05-20 08:07:43 +00:00
|
|
|
vspace.h
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-28 05:01:47 +00:00
|
|
|
dist-hook:
|
|
|
|
cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`
|
2003-08-02 21:29:24 +00:00
|
|
|
|
|
|
|
version.C: stamp-version
|
|
|
|
@:
|
|
|
|
|
|
|
|
stamp-version: version.C-tmp
|
|
|
|
if cmp -s $< version.C ; then \
|
|
|
|
: ;\
|
|
|
|
else \
|
|
|
|
rm -f version.C ;\
|
|
|
|
cp $< version.C ;\
|
|
|
|
fi
|
|
|
|
echo timestamp > $@
|