Mercurial > emacs
view etc/Makefile @ 56104:a450e67752ed
(Vimage_types): Move from xdisp.c.
(Vimage_type_cache): New variable.
(define_image_type): New argument indicating whether an image library was
loaded; cache loaded status and return t on success, nil otherwise.
(CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros.
(w32_delayed_load): New function to load an image library from a list of
possible filenames.
(init_xpm_functions, init_png_functions, init_jpeg_functions)
(init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
(CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument.
(Finit_image_library): New function, extracted from `init_image'. Try to
initialize an image library on demand and cache whether we were successful
or not.
(syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add
recognized image types to Vimage_types. Export `init-image-library'.
(init_image): Remove initialization of all image types, except xbm and pbm.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 14 Jun 2004 20:47:25 +0000 |
parents | 695cf19ef79e |
children | a4a7460bb10b 375f2633d815 |
line wrap: on
line source
DESTDIR= LIBDIR=/usr/local/lib BINDIR=/usr/local/bin MANDIR=/usr/man/man1 MANEXT=1 all: mostlyclean: -rm -f core *.dvi *.log clean distclean maintainer-clean: -rm -f DOC* core *.dvi *.log SOURCES = [0-9A-QS-Z]* README *.[ch16] emacs.* etags.* ledit.l ms-* \ spook-lines tasks.texi termcap.* ulimit.hack *.tex unlock: chmod u+w $(SOURCES) relock: chmod u-w $(SOURCES) # ${etcdir}/e/eterm is used by ../lisp/term.el. # TERMINFO systems use terminfo files compiled by the Terminfo Compiler (tic). # These files are binary, and depend on the version of tic, but they seem # to be system-independent and backwardly compatible. # So there should be no need to recompile the distributed binary version. TIC=tic e/eterm: e/eterm.ti TERMINFO=`pwd`; export TERMINFO; $(TIC) e/eterm.ti # arch-tag: 4261f003-cf77-4478-a10a-5284e9d8f797