Define datarootdir in Makefile.config.in, for better Autoconf compatibility.
[elinks.git] / Makefile.config.in
blob98afd5b5c775bcfde6120ea9ecfcc766caafe484
1 # This is the automake's playground of our cool build system.
3 # TODO: Make part of it autogenerated based on AC_SUBST() or something.
5 SHELL = @SHELL@
7 TOPPATH    = $(shell cd $(top_builddir) && pwd)
8 RELPATH    = $(subst $(TOPPATH)/,,$(CURDIR)/)
9 PATHPREFIX = $(if $(patsubst /%,,@top_srcdir@),$(top_builddir)/)
10 top_srcdir = $(PATHPREFIX)@top_srcdir@
12 ifeq (@top_srcdir@,.)
13 srcdir =
14 else
15 srcdir = $(top_srcdir)/$(RELPATH)
16 endif
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datarootdir = @datarootdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
34 DESTDIR =
37 # Support for rebuilding configure and Makefile.config
38 ACLOCAL = @ACLOCAL@
39 AUTOCONF = @AUTOCONF@
40 AUTOHEADER = @AUTOHEADER@
42 # The INSTALL substituted by configure can be either absolute or
43 # relative to the top build directory.  Adjust it so that it can
44 # be used in build subdirectories.
45 INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
46 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
47 INSTALL_DATA = @INSTALL_DATA@
48 INSTALL_SCRIPT = @INSTALL_SCRIPT@
49 UNINSTALL = rm -f
51 host = @host@
53 ASCIIDOC = @ASCIIDOC@
54 ASCIIDOC_FLAGS = @ASCIIDOC_FLAGS@
55 AWK = @AWK@
56 CATALOGS = @CATALOGS@
57 CC = @CC@
58 CG_COMMIT_ID = @CG_COMMIT_ID@
59 CONFDIR = @CONFDIR@
60 GLIBC21 = @GLIBC21@
61 GMOFILES = @GMOFILES@
62 GMSGFMT = @GMSGFMT@
63 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
64 GUILE_CFLAGS = @GUILE_CFLAGS@
65 INTLBISON = @INTLBISON@
66 INTLLIBS = @INTLLIBS@
67 INTLOBJS = @INTLOBJS@
68 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
69 JW = @JW@
70 LIBDIR = @LIBDIR@
71 LOCALEDIR = @LOCALEDIR@
72 LUA_CFLAGS = @LUA_CFLAGS@
73 LUA_LIBS = @LUA_LIBS@
74 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
75 MSGFMT = @MSGFMT@
76 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
77 PACKAGE = @PACKAGE@
78 PERL_CFLAGS = @PERL_CFLAGS@
79 PERL_LIBS = @PERL_LIBS@
80 POD2HTML = @POD2HTML@
81 PYTHON_CFLAGS = @PYTHON_CFLAGS@
82 PYTHON_LIBS = @PYTHON_LIBS@
83 RANLIB = @RANLIB@
84 RUBY_CFLAGS = @RUBY_CFLAGS@
85 RUBY_LIBS = @RUBY_LIBS@
86 SPARSE = @SPARSE@
87 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
88 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
89 VERSION = @VERSION@
90 XMLTO = @XMLTO@
91 X_CFLAGS = @X_CFLAGS@
92 XGETTEXT = @XGETTEXT@
94 #Warning: this one is not in configure.in so following line will not generate it
95 CONFIG_NLS = @CONFIG_NLS@
97 # :r !grep '(CONFIG_[A-Z0-9_]\+[^A-Z0-9_]' configure.in | sed 's/^.*(\(CONFIG_[A-Z0-9_]\+\)[^A-Z0-9_].*$/\1 = @\1@/' | sort | uniq
99 CONFIG_256_COLORS = @CONFIG_256_COLORS@
100 CONFIG_88_COLORS = @CONFIG_88_COLORS@
101 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
102 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
103 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
104 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
105 CONFIG_BZIP2 = @CONFIG_BZIP2@
106 CONFIG_CGI = @CONFIG_CGI@
107 CONFIG_COOKIES = @CONFIG_COOKIES@
108 CONFIG_CSS = @CONFIG_CSS@
109 CONFIG_DATA = @CONFIG_DATA@
110 CONFIG_DEBUG = @CONFIG_DEBUG@
111 CONFIG_DOC = @CONFIG_DOC@
112 CONFIG_DOM = @CONFIG_DOM@
113 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
114 CONFIG_ECMASCRIPT_SEE = @CONFIG_ECMASCRIPT_SEE@
115 CONFIG_ECMASCRIPT_SMJS = @CONFIG_ECMASCRIPT_SMJS@
116 CONFIG_EXMODE = @CONFIG_EXMODE@
117 CONFIG_FASTMEM = @CONFIG_FASTMEM@
118 CONFIG_FINGER = @CONFIG_FINGER@
119 CONFIG_FORMHIST = @CONFIG_FORMHIST@
120 CONFIG_FSP = @CONFIG_FSP@
121 CONFIG_FTP = @CONFIG_FTP@
122 CONFIG_GC = @CONFIG_GC@
123 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
124 CONFIG_GNUTLS = @CONFIG_GNUTLS@
125 CONFIG_GNUTLS_OPENSSL_COMPAT = @CONFIG_GNUTLS_OPENSSL_COMPAT@
126 CONFIG_GOPHER = @CONFIG_GOPHER@
127 CONFIG_GPM = @CONFIG_GPM@
128 CONFIG_GZIP = @CONFIG_GZIP@
129 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
130 CONFIG_IDN = @CONFIG_IDN@
131 CONFIG_INTERLINK = @CONFIG_INTERLINK@
132 CONFIG_IPV6 = @CONFIG_IPV6@
133 CONFIG_JW = @CONFIG_JW@
134 CONFIG_LEDS = @CONFIG_LEDS@
135 CONFIG_LZMA = @CONFIG_LZMA@
136 CONFIG_MAILCAP = @CONFIG_MAILCAP@
137 CONFIG_MANUAL = @CONFIG_MANUAL@
138 CONFIG_MARKS = @CONFIG_MARKS@
139 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
140 CONFIG_MOUSE = @CONFIG_MOUSE@
141 CONFIG_NNTP = @CONFIG_NNTP@
142 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
143 CONFIG_OPENSSL = @CONFIG_OPENSSL@
144 CONFIG_OS_BEOS = @CONFIG_OS_BEOS@
145 CONFIG_OS_OS2 = @CONFIG_OS_OS2@
146 CONFIG_OS_RISCOS = @CONFIG_OS_RISCOS@
147 CONFIG_OS_UNIX = @CONFIG_OS_UNIX@
148 CONFIG_OS_WIN32 = @CONFIG_OS_WIN32@
149 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
150 CONFIG_POD2HTML = @CONFIG_POD2HTML@
151 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
152 CONFIG_SCRIPTING_GUILE = @CONFIG_SCRIPTING_GUILE@
153 CONFIG_SCRIPTING_LUA = @CONFIG_SCRIPTING_LUA@
154 CONFIG_SCRIPTING_PERL = @CONFIG_SCRIPTING_PERL@
155 CONFIG_SCRIPTING_PYTHON = @CONFIG_SCRIPTING_PYTHON@
156 CONFIG_SCRIPTING_RUBY = @CONFIG_SCRIPTING_RUBY@
157 CONFIG_SCRIPTING_SPIDERMONKEY = @CONFIG_SCRIPTING_SPIDERMONKEY@
158 CONFIG_SMALL = @CONFIG_SMALL@
159 CONFIG_SMB = @CONFIG_SMB@
160 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
161 CONFIG_SSL = @CONFIG_SSL@
162 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
163 CONFIG_TRUE_COLOR = @CONFIG_TRUE_COLOR@
164 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
165 CONFIG_UTF8 = @CONFIG_UTF8@
166 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
167 CONFIG_XMLTO = @CONFIG_XMLTO@
168 CONFIG_GSSAPI = @CONFIG_GSSAPI@
170 DEFS = @DEFS@
171 CFLAGS = @CFLAGS@
172 CPPFLAGS = @CPPFLAGS@
173 LDFLAGS = @LDFLAGS@
174 LIBS = @LIBS@
177 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
179 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
181 MAKE_COLOR = @MAKE_COLOR@
183 LIB_O_NAME = lib.o
185 ### This is here because Makefile.config is usually the first thing
186 ### we get and sometimes the all rule can be implicit, yet we want
187 ### it always as the default one. So this should make sure it always
188 ### comes first.
189 all: