lyx_mirror/src/Makefile.am

296 lines
4.7 KiB
Makefile
Raw Normal View History

include $(top_srcdir)/config/common.am
DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-tmp
MAINTAINERCLEANFILES += $(srcdir)/config.h.in
if BUILD_CLIENT_SUBDIR
CLIENT = client
endif
SUBDIRS = mathed insets graphics support frontends . $(CLIENT) tex2lyx
EXTRA_DIST = config.h.in stamp-h.in version.C.in \
Sectioning.h \
Sectioning.C \
Variables.C \
Variables.h \
paper.h \
pch.h
LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
frontends/libfrontends.la
LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
graphics/libgraphics.la \
support/libsupport.la
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
bin_PROGRAMS = lyx
noinst_PROGRAMS = $(FRONTENDS_PROGS)
EXTRA_PROGRAMS = lyx-qt4
lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
lyx_qt4_SOURCES = main.C
lyx$(EXEEXT): $(FRONTENDS_PROGS)
rm -f $@
$(LN_S) $< $@
#lyx_LDFLAGS=-Wl,-O1
BUILT_SOURCES = $(PCH_FILE) version.C
AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
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
lyx_SOURCES = \
Bidi.C \
Bidi.h \
BufferView.C \
BufferView.h \
Bullet.C \
Bullet.h \
BranchList.C \
BranchList.h \
Chktex.C \
Chktex.h \
Store colors as rgb values in branches. * src/frontends/xforms/Color.[Ch]: move to src * src/Color.[Ch] (getRGBColor): move to src/frontends/*/lyx_gui.C * src/BranchList.h (Branch::color_): change type to lyx::RGBColor * src/BranchList.[Ch] (Branch): new constrcutor, set color_ to LColor::background (getColor, setColor): adapt to type change of color_ * src/bufferparams.C (BufferParams::writeFile): adapt to type change of branch color * src/frontends/lyx_gui.h * src/frontends/gtk/lyx_gui.C * src/frontends/qt2/lyx_gui.C * src/frontends/qt4/lyx_gui.C * src/frontends/xforms/lyx_gui.C (getRGBColor): move from src/Color.[Ch] here * src/frontends/gtk/lyx_gui.C * src/frontends/xforms/lyx_gui.C (hexname): use getRGBColor * src/frontends/gtk/GDocument.C (update): adapt to type change of branch color (apply): add comment about color chooser * src/frontends/qt2/QDocumentDialog.C (updateBranchView): adapt to type change of branch color (toggleBranchColor): ditto * src/frontends/qt2/lcolorcache.[Ch] * src/frontends/qt4/lcolorcache.[Ch] (rgb2qcolor): new utility function * src/frontends/qt4/QBranches.C (QBranches::update): adapt to type change of branch color (QBranches::on_colorPB_clicked): ditto * src/frontends/xforms/FormDocument.C (get_current_color): adapt to type change of branch color (FormDocument::branch_update): * src/frontends/xforms/FormPreferences.C (FormPreferences::Colors::LoadBrowse): adapt to RGBColor changes * src/frontends/xforms/FormPreferences.h: remove unneeded RGBColor forward declaration * src/frontends/xforms/XWorkArea.C (XWorkArea::XWorkArea): adapt to RGBColor changes * src/frontends/xforms/Makefile.am: remove Color.[Ch] * src/frontends/xforms/FormColorpicker.[Ch]: adapt to RGBColor changes * src/frontends/xforms/xformsImage.C: adapt to RGBColor changes * src/frontends/controllers/ControlDocument.C (ControlDocument::dispatchParams): adapt to type change of branch color * src/Makefile.am: add Color.[Ch] git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:04:05 +00:00
Color.C \
Color.h \
Add a cache for converted image files. This needs to be enabled in the preferences file with \use_converter_cache true. It is disabled by default, and no GUI support for changing the preferences is yet implemented. * src/insets/insetgraphics.C (InsetGraphics::prepareFile): Use image file cache * src/insets/ExternalSupport.C (updateExternal): Use image file cache * src/exporter.C (Exporter::Export): Do not use image file cache * src/graphics/GraphicsCacheItem.C (CacheItem::Impl::imageConverted): Add the converted file to the image file cache (CacheItem::Impl::convertToDisplayFo): Use image file cache * src/converter.C (Converters::convert): Use image file cache if the caller allowed that * src/converter.h (Converters::convert): Adjust arguments * src/Makefile.am: Add new files * src/support/lyxlib.h (chmod): new function (copy): add mode argument * src/support/copy.C (chmod): new function (copy): implement mode argument * src/support/mkdir.C (lyx::support::mkdir): Add warning if permissions are ignored * src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and \use_converter_cache * src/ConverterCache.[Ch]: New image file cache * src/importer.C (Importer::Import): Do nut use the image file cache * src/lyx_main.C (LyX::init): Initialize the image file cache * src/mover.[Ch] (Mover::do_copy): Add mode argument (SpecialisedMover::do_copy): ditto * configure.ac: Check for chmod * development/cmake/ConfigureChecks.cmake: ditto * development/cmake/config.h.cmake: ditto * development/scons/SConstruct: ditto * development/scons/scons_manifest.py: Add new files git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
ConverterCache.C \
ConverterCache.h \
CutAndPaste.C \
CutAndPaste.h \
DepTable.C \
DepTable.h \
FloatList.C \
FloatList.h \
Floating.C \
Floating.h \
FontIterator.C \
FontIterator.h \
FuncStatus.C \
FuncStatus.h \
InsetList.C \
InsetList.h \
LColor.C \
LColor.h \
LaTeX.C \
LaTeX.h \
LaTeXFeatures.C \
LaTeXFeatures.h \
LyXAction.C \
LyXAction.h \
MenuBackend.C \
MenuBackend.h \
ParagraphList.h \
ParagraphList_fwd.h \
ParagraphParameters.C \
ParagraphParameters.h \
PrinterParams.C \
PrinterParams.h \
RowList_fwd.h \
Spacing.C \
Spacing.h \
Thesaurus.C \
Thesaurus.h \
ToolbarBackend.C \
ToolbarBackend.h \
UpdateFlags.h \
WordLangTuple.h \
author.C \
author.h \
boost.C \
box.h \
box.C \
buffer.C \
buffer.h \
buffer_funcs.C \
buffer_funcs.h \
bufferlist.C \
bufferlist.h \
bufferparams.C \
bufferparams.h \
bufferview_funcs.C \
bufferview_funcs.h \
changes.C \
changes.h \
chset.C \
chset.h \
config.h.in \
converter.C \
converter.h \
counters.C \
counters.h \
coordcache.C \
coordcache.h \
cursor.C \
cursor.h \
cursor_slice.C \
cursor_slice.h \
debug.C \
debug.h \
dimension.C \
dimension.h \
dociterator.C \
dociterator.h \
dispatchresult.h \
encoding.C \
encoding.h \
errorlist.C \
errorlist.h \
exporter.C \
exporter.h \
gettext.C \
gettext.h \
factory.h \
factory.C \
format.C \
format.h \
funcrequest.h \
funcrequest.C \
graph.C \
graph.h \
importer.C \
importer.h \
intl.C \
intl.h \
insetiterator.C \
insetiterator.h \
kbmap.C \
kbmap.h \
kbsequence.C \
kbsequence.h \
language.C \
language.h \
session.C \
session.h \
layout.h \
lengthcommon.C \
lengthcommon.h \
lfuns.h \
lyx_cb.C \
lyx_cb.h \
lyx_main.C \
lyx_main.h \
lyx_sty.C \
lyx_sty.h \
lyxfont.C \
lyxfont.h \
lyxfind.C \
lyxfind.h \
lyxfunc.C \
lyxfunc.h \
lyxgluelength.C \
lyxgluelength.h \
lyxlayout.C \
lyxlayout.h \
lyxlayout_ptr_fwd.h \
lyxlength.C \
lyxlength.h \
lyxlex.C \
lyxlex.h \
lyxlex_pimpl.C \
lyxlex_pimpl.h \
lyxrc.C \
lyxrc.h \
lyxrow.C \
lyxrow.h \
lyxserver.C \
lyxserver.h \
lyxsocket.C \
lyxsocket.h \
lyxtext.h \
lyxtextclass.C \
lyxtextclass.h \
lyxtextclasslist.C \
lyxtextclasslist.h \
lyxvc.C \
lyxvc.h \
messages.C \
messages.h \
metricsinfo.C \
metricsinfo.h \
mover.C \
mover.h \
output.C \
output.h \
outputparams.C \
outputparams.h \
output_docbook.C \
output_docbook.h \
output_latex.C \
output_latex.h \
output_plaintext.C \
output_plaintext.h \
paper.h \
paragraph.C \
paragraph.h \
paragraph_funcs.C \
paragraph_funcs.h \
paragraph_pimpl.C \
paragraph_pimpl.h \
pariterator.C \
pariterator.h \
$(ASPELL) $(PSPELL) $(ISPELL) SpellBase.C \
SpellBase.h \
rowpainter.C \
rowpainter.h \
sgml.C \
sgml.h \
tabular.C \
tabular.h \
tex-accent.C \
tex-accent.h \
tex-strings.C \
tex-strings.h \
texrow.C \
texrow.h \
text.C \
text2.C \
text3.C \
TocBackend.C \
TocBackend.h \
toc.C \
toc.h \
trans.C \
trans.h \
trans_decl.h \
trans_mgr.C \
trans_mgr.h \
undo.C \
undo.h \
vc-backend.C \
vc-backend.h \
version.C \
version.h \
vspace.C \
vspace.h
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 > $@