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@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
31 includedir = @includedir@
36 # Support for rebuilding configure and Makefile.config
39 AUTOHEADER = @AUTOHEADER@
42 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
43 INSTALL_DATA = @INSTALL_DATA@
44 INSTALL_SCRIPT = @INSTALL_SCRIPT@
46 TEST_LIB=$(top_srcdir)/test/libtest.sh
55 CG_COMMIT_ID = @CG_COMMIT_ID@
60 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
61 GUILE_CFLAGS = @GUILE_CFLAGS@
62 INTLBISON = @INTLBISON@
65 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
68 LOCALEDIR = @LOCALEDIR@
69 LUA_CFLAGS = @LUA_CFLAGS@
71 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
73 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
75 PERL_CFLAGS = @PERL_CFLAGS@
76 PERL_LIBS = @PERL_LIBS@
78 PYTHON_CFLAGS = @PYTHON_CFLAGS@
79 PYTHON_LIBS = @PYTHON_LIBS@
81 RUBY_CFLAGS = @RUBY_CFLAGS@
82 RUBY_LIBS = @RUBY_LIBS@
84 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
85 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
91 #Warning: this one is not in configure.in so following line will not generate it
92 CONFIG_NLS = @CONFIG_NLS@
94 # :r !grep '(CONFIG_[A-Z0-9_]\+[^A-Z0-9_]' configure.in | sed 's/^.*(\(CONFIG_[A-Z0-9_]\+\)[^A-Z0-9_].*$/\1 = @\1@/' | sort | uniq
96 CONFIG_256_COLORS = @CONFIG_256_COLORS@
97 CONFIG_88_COLORS = @CONFIG_88_COLORS@
98 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
99 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
100 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
101 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
102 CONFIG_BZIP2 = @CONFIG_BZIP2@
103 CONFIG_CGI = @CONFIG_CGI@
104 CONFIG_COOKIES = @CONFIG_COOKIES@
105 CONFIG_CSS = @CONFIG_CSS@
106 CONFIG_DATA = @CONFIG_DATA@
107 CONFIG_DEBUG = @CONFIG_DEBUG@
108 CONFIG_DOC = @CONFIG_DOC@
109 CONFIG_DOM = @CONFIG_DOM@
110 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
111 CONFIG_ECMASCRIPT_SEE = @CONFIG_ECMASCRIPT_SEE@
112 CONFIG_ECMASCRIPT_SMJS = @CONFIG_ECMASCRIPT_SMJS@
113 CONFIG_EXMODE = @CONFIG_EXMODE@
114 CONFIG_FASTMEM = @CONFIG_FASTMEM@
115 CONFIG_FINGER = @CONFIG_FINGER@
116 CONFIG_FORMHIST = @CONFIG_FORMHIST@
117 CONFIG_FTP = @CONFIG_FTP@
118 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
119 CONFIG_GNUTLS = @CONFIG_GNUTLS@
120 CONFIG_GNUTLS_OPENSSL_COMPAT = @CONFIG_GNUTLS_OPENSSL_COMPAT@
121 CONFIG_GOPHER = @CONFIG_GOPHER@
122 CONFIG_GPM = @CONFIG_GPM@
123 CONFIG_GZIP = @CONFIG_GZIP@
124 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
125 CONFIG_IDN = @CONFIG_IDN@
126 CONFIG_INTERLINK = @CONFIG_INTERLINK@
127 CONFIG_IPV6 = @CONFIG_IPV6@
128 CONFIG_JW = @CONFIG_JW@
129 CONFIG_LEDS = @CONFIG_LEDS@
130 CONFIG_MAILCAP = @CONFIG_MAILCAP@
131 CONFIG_MANUAL = @CONFIG_MANUAL@
132 CONFIG_MARKS = @CONFIG_MARKS@
133 CONFIG_MD5 = @CONFIG_MD5@
134 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
135 CONFIG_MOUSE = @CONFIG_MOUSE@
136 CONFIG_NNTP = @CONFIG_NNTP@
137 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
138 CONFIG_OPENSSL = @CONFIG_OPENSSL@
139 CONFIG_OS_BEOS = @CONFIG_OS_BEOS@
140 CONFIG_OS_OS2 = @CONFIG_OS_OS2@
141 CONFIG_OS_RISCOS = @CONFIG_OS_RISCOS@
142 CONFIG_OS_UNIX = @CONFIG_OS_UNIX@
143 CONFIG_OS_WIN32 = @CONFIG_OS_WIN32@
144 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
145 CONFIG_POD2HTML = @CONFIG_POD2HTML@
146 CONFIG_SCANNER = @CONFIG_SCANNER@
147 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
148 CONFIG_SCRIPTING_GUILE = @CONFIG_SCRIPTING_GUILE@
149 CONFIG_SCRIPTING_LUA = @CONFIG_SCRIPTING_LUA@
150 CONFIG_SCRIPTING_PERL = @CONFIG_SCRIPTING_PERL@
151 CONFIG_SCRIPTING_PYTHON = @CONFIG_SCRIPTING_PYTHON@
152 CONFIG_SCRIPTING_RUBY = @CONFIG_SCRIPTING_RUBY@
153 CONFIG_SCRIPTING_SPIDERMONKEY = @CONFIG_SCRIPTING_SPIDERMONKEY@
154 CONFIG_SHA1 = @CONFIG_SHA1@
155 CONFIG_SMALL = @CONFIG_SMALL@
156 CONFIG_SMB = @CONFIG_SMB@
157 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
158 CONFIG_SSL = @CONFIG_SSL@
159 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
160 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
161 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
162 CONFIG_XMLTO = @CONFIG_XMLTO@
166 CPPFLAGS = @CPPFLAGS@
171 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
173 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
175 MAKE_COLOR = @MAKE_COLOR@
179 ### This is here because Makefile.config is usually the first thing
180 ### we get and sometimes the all rule can be implicit, yet we want
181 ### it always as the default one. So this should make sure it always