mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
b2e59f8576
With Autoconf 2.60a, the default values of datadir, infodir, and
mandir refer to ${datarootdir}. If Makefile.config.in does not define
datarootdir, Autoconf detects this and expands ${datarootdir} when it
substitutes expressions like @datadir@, but it also outputs the
following warning:
config.status: creating Makefile.config
config.status: WARNING: /home/Kalle/src/elinks/Makefile.config.in seems to ignore the --datarootdir setting
According to a comment in config.status, "This hack should be removed
a few years after 2.60." So it seems best to prepare for that now by
defining datarootdir = @datarootdir@ in Makefile.config.in. Earlier
versions of Autoconf may leave that line unexpanded; but because the
makefiles do not directly refer to ${datarootdir}, there's no harm.
(cherry picked from commit 388b1b0efd
)
177 lines
4.7 KiB
Makefile
177 lines
4.7 KiB
Makefile
# This is the automake's playground of our cool build system.
|
|
#
|
|
# TODO: Make part of it autogenerated based on AC_SUBST() or something.
|
|
|
|
SHELL = @SHELL@
|
|
|
|
TOPPATH = $(shell cd $(top_builddir) && pwd)
|
|
RELPATH = $(subst $(TOPPATH)/,,$(CURDIR)/)
|
|
PATHPREFIX = $(if $(patsubst /%,,@top_srcdir@),$(top_builddir)/)
|
|
top_srcdir = $(PATHPREFIX)@top_srcdir@
|
|
|
|
ifeq (@top_srcdir@,.)
|
|
srcdir =
|
|
else
|
|
srcdir = $(top_srcdir)/$(RELPATH)
|
|
endif
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datarootdir = @datarootdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
|
|
DESTDIR =
|
|
|
|
|
|
# Support for rebuilding configure and Makefile.config
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
# The INSTALL substituted by configure can be either absolute or
|
|
# relative to the top build directory. Adjust it so that it can
|
|
# be used in build subdirectories.
|
|
INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
host = @host@
|
|
|
|
ASCIIDOC = @ASCIIDOC@
|
|
ASCIIDOC_FLAGS = @ASCIIDOC_FLAGS@
|
|
AWK = @AWK@
|
|
CATALOGS = @CATALOGS@
|
|
CC = @CC@
|
|
GIT = @GIT@
|
|
CONFDIR = @CONFDIR@
|
|
GLIBC21 = @GLIBC21@
|
|
GMOFILES = @GMOFILES@
|
|
GMSGFMT = @GMSGFMT@
|
|
GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
|
|
GUILE_CFLAGS = @GUILE_CFLAGS@
|
|
INTLBISON = @INTLBISON@
|
|
INTLLIBS = @INTLLIBS@
|
|
INTLOBJS = @INTLOBJS@
|
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
|
JW = @JW@
|
|
LIBDIR = @LIBDIR@
|
|
LOCALEDIR = @LOCALEDIR@
|
|
LUA_CFLAGS = @LUA_CFLAGS@
|
|
LUA_LIBS = @LUA_LIBS@
|
|
MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
|
|
PACKAGE = @PACKAGE@
|
|
PERL_CFLAGS = @PERL_CFLAGS@
|
|
PERL_LIBS = @PERL_LIBS@
|
|
POD2HTML = @POD2HTML@
|
|
PYTHON_CFLAGS = @PYTHON_CFLAGS@
|
|
PYTHON_LIBS = @PYTHON_LIBS@
|
|
RANLIB = @RANLIB@
|
|
RUBY_CFLAGS = @RUBY_CFLAGS@
|
|
RUBY_LIBS = @RUBY_LIBS@
|
|
SPARSE = @SPARSE@
|
|
SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
|
|
SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
|
|
VERSION = @VERSION@
|
|
XMLTO = @XMLTO@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
XGETTEXT = @XGETTEXT@
|
|
|
|
# :r !grep AC_SUBST\(CONFIG_ configure.in | sed 's/.*(\(.*\))$/\1 = @\1@/' | sort | uniq
|
|
CONFIG_256_COLORS = @CONFIG_256_COLORS@
|
|
CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
|
|
CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
|
|
CONFIG_BEOS = @CONFIG_BEOS@
|
|
CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
|
|
CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
|
|
CONFIG_BZIP2 = @CONFIG_BZIP2@
|
|
CONFIG_CGI = @CONFIG_CGI@
|
|
CONFIG_COOKIES = @CONFIG_COOKIES@
|
|
CONFIG_CSS = @CONFIG_CSS@
|
|
CONFIG_DATA = @CONFIG_DATA@
|
|
CONFIG_DEBUG = @CONFIG_DEBUG@
|
|
CONFIG_DOM = @CONFIG_DOM@
|
|
CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
|
|
CONFIG_EXMODE = @CONFIG_EXMODE@
|
|
CONFIG_FASTMEM = @CONFIG_FASTMEM@
|
|
CONFIG_FINGER = @CONFIG_FINGER@
|
|
CONFIG_FORMHIST = @CONFIG_FORMHIST@
|
|
CONFIG_FSP = @CONFIG_FSP@
|
|
CONFIG_FTP = @CONFIG_FTP@
|
|
CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
|
|
CONFIG_GNUTLS = @CONFIG_GNUTLS@
|
|
CONFIG_GOPHER = @CONFIG_GOPHER@
|
|
CONFIG_GUILE = @CONFIG_GUILE@
|
|
CONFIG_GZIP = @CONFIG_GZIP@
|
|
CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
|
|
CONFIG_INTERLINK = @CONFIG_INTERLINK@
|
|
CONFIG_IPV6 = @CONFIG_IPV6@
|
|
CONFIG_JW = @CONFIG_JW@
|
|
CONFIG_LEDS = @CONFIG_LEDS@
|
|
CONFIG_LUA = @CONFIG_LUA@
|
|
CONFIG_MAILCAP = @CONFIG_MAILCAP@
|
|
CONFIG_MARKS = @CONFIG_MARKS@
|
|
CONFIG_MD5 = @CONFIG_MD5@
|
|
CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
|
|
CONFIG_MOUSE = @CONFIG_MOUSE@
|
|
CONFIG_NLS = @CONFIG_NLS@
|
|
CONFIG_NNTP = @CONFIG_NNTP@
|
|
CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
|
|
CONFIG_OPENSSL = @CONFIG_OPENSSL@
|
|
CONFIG_OS2 = @CONFIG_OS2@
|
|
CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
|
|
CONFIG_PERL = @CONFIG_PERL@
|
|
CONFIG_POD2HTML = @CONFIG_POD2HTML@
|
|
CONFIG_PYTHON = @CONFIG_PYTHON@
|
|
CONFIG_RISCOS = @CONFIG_RISCOS@
|
|
CONFIG_RUBY = @CONFIG_RUBY@
|
|
CONFIG_SCANNER = @CONFIG_SCANNER@
|
|
CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
|
|
CONFIG_SHA1 = @CONFIG_SHA1@
|
|
CONFIG_SMALL = @CONFIG_SMALL@
|
|
CONFIG_SMB = @CONFIG_SMB@
|
|
CONFIG_SM_SCRIPTING = @CONFIG_SM_SCRIPTING@
|
|
CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
|
|
CONFIG_SSL = @CONFIG_SSL@
|
|
CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
|
|
CONFIG_UNIX = @CONFIG_UNIX@
|
|
CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
|
|
CONFIG_WIN32 = @CONFIG_WIN32@
|
|
CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
|
|
CONFIG_XMLTO = @CONFIG_XMLTO@
|
|
|
|
DEFS = @DEFS@
|
|
CFLAGS = @CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
|
|
|
|
INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
MAKE_COLOR = @MAKE_COLOR@
|
|
|
|
LIB_O_NAME = lib.o
|
|
|
|
### This is here because Makefile.config is usually the first thing
|
|
### we get and sometimes the all rule can be implicit, yet we want
|
|
### it always as the default one. So this should make sure it always
|
|
### comes first.
|
|
all:
|
|
|