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.
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@
15 srcdir = $(top_srcdir)/$(RELPATH)
19 exec_prefix = @exec_prefix@
23 libexecdir = @libexecdir@
24 datarootdir = @datarootdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
38 # Support for rebuilding configure and Makefile.config
41 AUTOHEADER = @AUTOHEADER@
43 # The INSTALL substituted by configure can be either absolute or
44 # relative to the top build directory. Adjust it so that it can
45 # be used in build subdirectories.
46 INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 ASCIIDOC = @PYTHON@ $(top_srcdir)/doc/tools/asciidoc/asciidoc.py
54 ASCIIDOC_FLAGS = --unsafe
65 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
66 GUILE_CFLAGS = @GUILE_CFLAGS@
67 INTLBISON = @INTLBISON@
70 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
73 LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
74 LOCALEDIR = @LOCALEDIR@
75 LUA_CFLAGS = @LUA_CFLAGS@
77 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
79 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
81 PERL_CFLAGS = @PERL_CFLAGS@
82 PERL_LIBS = @PERL_LIBS@
84 PYTHON_CFLAGS = @PYTHON_CFLAGS@
85 PYTHON_LIBS = @PYTHON_LIBS@
87 RUBY_CFLAGS = @RUBY_CFLAGS@
88 RUBY_LIBS = @RUBY_LIBS@
90 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
91 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
92 TRE_CFLAGS = @TRE_CFLAGS@
99 #Warning: this one is not in configure.in so following line will not generate it
100 CONFIG_NLS = @CONFIG_NLS@
102 # :r !grep '(CONFIG_[A-Z0-9_]\+[^A-Z0-9_]' configure.in | sed 's/^.*(\(CONFIG_[A-Z0-9_]\+\)[^A-Z0-9_].*$/\1 = @\1@/' | sort | uniq
104 CONFIG_256_COLORS = @CONFIG_256_COLORS@
105 CONFIG_88_COLORS = @CONFIG_88_COLORS@
106 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
107 CONFIG_DOXYGEN = @CONFIG_DOXYGEN@
108 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
109 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
110 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
111 CONFIG_BZIP2 = @CONFIG_BZIP2@
112 CONFIG_CGI = @CONFIG_CGI@
113 CONFIG_COOKIES = @CONFIG_COOKIES@
114 CONFIG_CSS = @CONFIG_CSS@
115 CONFIG_DATA = @CONFIG_DATA@
116 CONFIG_DEBUG = @CONFIG_DEBUG@
117 CONFIG_DOC = @CONFIG_DOC@
118 CONFIG_DOM = @CONFIG_DOM@
119 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
120 CONFIG_ECMASCRIPT_SMJS = @CONFIG_ECMASCRIPT_SMJS@
121 CONFIG_ECMASCRIPT_SMJS_HEARTBEAT = @CONFIG_ECMASCRIPT_SMJS_HEARTBEAT@
122 CONFIG_EXMODE = @CONFIG_EXMODE@
123 CONFIG_FASTMEM = @CONFIG_FASTMEM@
124 CONFIG_FINGER = @CONFIG_FINGER@
125 CONFIG_FORMHIST = @CONFIG_FORMHIST@
126 CONFIG_FSP = @CONFIG_FSP@
127 CONFIG_FTP = @CONFIG_FTP@
128 CONFIG_GC = @CONFIG_GC@
129 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
130 CONFIG_GNUTLS = @CONFIG_GNUTLS@
131 CONFIG_GNUTLS_OPENSSL_COMPAT = @CONFIG_GNUTLS_OPENSSL_COMPAT@
132 CONFIG_GOPHER = @CONFIG_GOPHER@
133 CONFIG_GPM = @CONFIG_GPM@
134 CONFIG_GZIP = @CONFIG_GZIP@
135 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
136 CONFIG_IDN = @CONFIG_IDN@
137 CONFIG_INTERLINK = @CONFIG_INTERLINK@
138 CONFIG_IPV6 = @CONFIG_IPV6@
139 CONFIG_JW = @CONFIG_JW@
140 CONFIG_LEDS = @CONFIG_LEDS@
141 CONFIG_LZMA = @CONFIG_LZMA@
142 CONFIG_MAILCAP = @CONFIG_MAILCAP@
143 CONFIG_MANUAL = @CONFIG_MANUAL@
144 CONFIG_MARKS = @CONFIG_MARKS@
145 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
146 CONFIG_MOUSE = @CONFIG_MOUSE@
147 CONFIG_NNTP = @CONFIG_NNTP@
148 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
149 CONFIG_OPENSSL = @CONFIG_OPENSSL@
150 CONFIG_OS_BEOS = @CONFIG_OS_BEOS@
151 CONFIG_OS_OS2 = @CONFIG_OS_OS2@
152 CONFIG_OS_RISCOS = @CONFIG_OS_RISCOS@
153 CONFIG_OS_UNIX = @CONFIG_OS_UNIX@
154 CONFIG_OS_WIN32 = @CONFIG_OS_WIN32@
155 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
156 CONFIG_POD2HTML = @CONFIG_POD2HTML@
157 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
158 CONFIG_SCRIPTING_GUILE = @CONFIG_SCRIPTING_GUILE@
159 CONFIG_SCRIPTING_LUA = @CONFIG_SCRIPTING_LUA@
160 CONFIG_SCRIPTING_PERL = @CONFIG_SCRIPTING_PERL@
161 CONFIG_SCRIPTING_PYTHON = @CONFIG_SCRIPTING_PYTHON@
162 CONFIG_SCRIPTING_RUBY = @CONFIG_SCRIPTING_RUBY@
163 CONFIG_SCRIPTING_SPIDERMONKEY = @CONFIG_SCRIPTING_SPIDERMONKEY@
164 CONFIG_SMALL = @CONFIG_SMALL@
165 CONFIG_SMB = @CONFIG_SMB@
166 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
167 CONFIG_SSL = @CONFIG_SSL@
168 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
169 CONFIG_TRUE_COLOR = @CONFIG_TRUE_COLOR@
170 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
171 CONFIG_UTF8 = @CONFIG_UTF8@
172 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
173 CONFIG_XMLTO = @CONFIG_XMLTO@
174 CONFIG_GSSAPI = @CONFIG_GSSAPI@
178 CPPFLAGS = @CPPFLAGS@
183 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
185 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
187 MAKE_COLOR = @MAKE_COLOR@
191 ### This is here because Makefile.config is usually the first thing
192 ### we get and sometimes the all rule can be implicit, yet we want
193 ### it always as the default one. So this should make sure it always