2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2004-05-28 07:14:58 +00:00
|
|
|
DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-tmp
|
2002-03-13 18:24:44 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES += $(srcdir)/config.h.in
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
if BUILD_CLIENT_SUBDIR
|
|
|
|
CLIENT = client
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = mathed insets graphics support frontends . $(CLIENT) tex2lyx
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2004-06-09 13:14:36 +00:00
|
|
|
EXTRA_DIST = config.h.in stamp-h.in version.C.in \
|
2003-05-08 18:05:07 +00:00
|
|
|
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
|
|
|
|
2005-01-31 10:42:26 +00:00
|
|
|
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM)
|
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
|
|
|
|
2001-10-03 15:49:32 +00:00
|
|
|
BUILT_SOURCES = version.C
|
2002-03-25 22:07:48 +00:00
|
|
|
|
2004-12-04 14:50:25 +00:00
|
|
|
AM_CPPFLAGS = $(PCH_FLAGS) $(BOOST_INCLUDES)
|
2004-08-15 21:45:30 +00:00
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
if USE_ASPELL
|
|
|
|
ASPELL = aspell.C aspell_local.h
|
|
|
|
endif
|
|
|
|
if USE_PSPELL
|
|
|
|
PSPELL = pspell.C pspell.h
|
|
|
|
endif
|
|
|
|
if USE_ISPELL
|
|
|
|
ISPELL = ispell.C ispell.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_SOURCES = \
|
2003-10-23 13:28:49 +00:00
|
|
|
Bidi.C \
|
|
|
|
Bidi.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
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 \
|
2004-03-01 10:46:58 +00:00
|
|
|
FontIterator.C \
|
|
|
|
FontIterator.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 \
|
|
|
|
LyXAction.C \
|
|
|
|
LyXAction.h \
|
2000-07-24 13:53:19 +00:00
|
|
|
MenuBackend.C \
|
|
|
|
MenuBackend.h \
|
2003-09-09 23:10:07 +00:00
|
|
|
ParagraphList_fwd.h \
|
2001-03-06 14:07:14 +00:00
|
|
|
ParagraphParameters.C \
|
|
|
|
ParagraphParameters.h \
|
2003-09-06 23:01:26 +00:00
|
|
|
PrinterParams.C \
|
2000-06-12 11:27:15 +00:00
|
|
|
PrinterParams.h \
|
2003-09-09 23:10:07 +00:00
|
|
|
RowList_fwd.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
Spacing.C \
|
|
|
|
Spacing.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-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
|
|
|
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 \
|
|
|
|
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 \
|
2004-08-14 14:03:42 +00:00
|
|
|
coordcache.C \
|
|
|
|
coordcache.h \
|
2003-09-17 16:44:51 +00:00
|
|
|
cursor.C \
|
|
|
|
cursor.h \
|
2003-12-15 11:36:19 +00:00
|
|
|
cursor_slice.C \
|
|
|
|
cursor_slice.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 \
|
2004-03-01 17:12:09 +00:00
|
|
|
dociterator.C \
|
|
|
|
dociterator.h \
|
2003-10-29 10:47:21 +00:00
|
|
|
dispatchresult.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 \
|
2004-03-27 12:42:10 +00:00
|
|
|
insetiterator.C \
|
|
|
|
insetiterator.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 \
|
2004-03-01 17:12:09 +00:00
|
|
|
lfuns.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 \
|
|
|
|
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 \
|
2003-10-13 12:25:11 +00:00
|
|
|
lyxsocket.C \
|
|
|
|
lyxsocket.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
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 \
|
2004-10-26 18:39:13 +00:00
|
|
|
mover.C \
|
|
|
|
mover.h \
|
2003-11-05 12:06:20 +00:00
|
|
|
output.C \
|
|
|
|
output.h \
|
2004-06-03 13:08:50 +00:00
|
|
|
outputparams.C \
|
2003-11-05 12:06:20 +00:00
|
|
|
outputparams.h \
|
|
|
|
output_docbook.C \
|
|
|
|
output_docbook.h \
|
|
|
|
output_latex.C \
|
|
|
|
output_latex.h \
|
|
|
|
output_linuxdoc.C \
|
|
|
|
output_linuxdoc.h \
|
|
|
|
output_plaintext.C \
|
|
|
|
output_plaintext.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 \
|
2003-11-10 09:06:48 +00:00
|
|
|
paragraph_funcs.C \
|
|
|
|
paragraph_funcs.h \
|
2001-06-25 00:06:33 +00:00
|
|
|
paragraph_pimpl.C \
|
|
|
|
paragraph_pimpl.h \
|
2004-03-28 22:00:22 +00:00
|
|
|
pariterator.C \
|
|
|
|
pariterator.h \
|
2005-05-02 13:35:30 +00:00
|
|
|
$(ASPELL) $(PSPELL) $(ISPELL) SpellBase.C \
|
2002-08-04 23:11:50 +00:00
|
|
|
SpellBase.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 \
|
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 \
|
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
|
|
|
|
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 > $@
|