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@
37 # Support for rebuilding configure and Makefile.config
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@
53 ASCIIDOC_FLAGS = @ASCIIDOC_FLAGS@
62 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
63 GUILE_CFLAGS = @GUILE_CFLAGS@
64 INTLBISON = @INTLBISON@
67 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
70 LOCALEDIR = @LOCALEDIR@
71 LUA_CFLAGS = @LUA_CFLAGS@
73 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
75 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
77 PERL_CFLAGS = @PERL_CFLAGS@
78 PERL_LIBS = @PERL_LIBS@
80 PYTHON_CFLAGS = @PYTHON_CFLAGS@
81 PYTHON_LIBS = @PYTHON_LIBS@
83 RUBY_CFLAGS = @RUBY_CFLAGS@
84 RUBY_LIBS = @RUBY_LIBS@
86 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
87 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
93 # :r !grep AC_SUBST\(CONFIG_ configure.in | sed 's/.*(\(.*\))$/\1 = @\1@/' | sort | uniq
94 CONFIG_256_COLORS = @CONFIG_256_COLORS@
95 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
96 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
97 CONFIG_BEOS = @CONFIG_BEOS@
98 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
99 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
100 CONFIG_BZIP2 = @CONFIG_BZIP2@
101 CONFIG_CGI = @CONFIG_CGI@
102 CONFIG_COOKIES = @CONFIG_COOKIES@
103 CONFIG_CSS = @CONFIG_CSS@
104 CONFIG_DATA = @CONFIG_DATA@
105 CONFIG_DEBUG = @CONFIG_DEBUG@
106 CONFIG_DOM = @CONFIG_DOM@
107 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
108 CONFIG_EXMODE = @CONFIG_EXMODE@
109 CONFIG_FASTMEM = @CONFIG_FASTMEM@
110 CONFIG_FINGER = @CONFIG_FINGER@
111 CONFIG_FORMHIST = @CONFIG_FORMHIST@
112 CONFIG_FSP = @CONFIG_FSP@
113 CONFIG_FTP = @CONFIG_FTP@
114 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
115 CONFIG_GNUTLS = @CONFIG_GNUTLS@
116 CONFIG_GOPHER = @CONFIG_GOPHER@
117 CONFIG_GUILE = @CONFIG_GUILE@
118 CONFIG_GZIP = @CONFIG_GZIP@
119 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
120 CONFIG_INTERLINK = @CONFIG_INTERLINK@
121 CONFIG_IPV6 = @CONFIG_IPV6@
122 CONFIG_JW = @CONFIG_JW@
123 CONFIG_LEDS = @CONFIG_LEDS@
124 CONFIG_LUA = @CONFIG_LUA@
125 CONFIG_MAILCAP = @CONFIG_MAILCAP@
126 CONFIG_MARKS = @CONFIG_MARKS@
127 CONFIG_MD5 = @CONFIG_MD5@
128 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
129 CONFIG_MOUSE = @CONFIG_MOUSE@
130 CONFIG_NLS = @CONFIG_NLS@
131 CONFIG_NNTP = @CONFIG_NNTP@
132 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
133 CONFIG_OPENSSL = @CONFIG_OPENSSL@
134 CONFIG_OS2 = @CONFIG_OS2@
135 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
136 CONFIG_PERL = @CONFIG_PERL@
137 CONFIG_POD2HTML = @CONFIG_POD2HTML@
138 CONFIG_PYTHON = @CONFIG_PYTHON@
139 CONFIG_RISCOS = @CONFIG_RISCOS@
140 CONFIG_RUBY = @CONFIG_RUBY@
141 CONFIG_SCANNER = @CONFIG_SCANNER@
142 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
143 CONFIG_SHA1 = @CONFIG_SHA1@
144 CONFIG_SMALL = @CONFIG_SMALL@
145 CONFIG_SMB = @CONFIG_SMB@
146 CONFIG_SM_SCRIPTING = @CONFIG_SM_SCRIPTING@
147 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
148 CONFIG_SSL = @CONFIG_SSL@
149 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
150 CONFIG_UNIX = @CONFIG_UNIX@
151 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
152 CONFIG_WIN32 = @CONFIG_WIN32@
153 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
154 CONFIG_XMLTO = @CONFIG_XMLTO@
158 CPPFLAGS = @CPPFLAGS@
163 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
165 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
167 MAKE_COLOR = @MAKE_COLOR@
171 ### This is here because Makefile.config is usually the first thing
172 ### we get and sometimes the all rule can be implicit, yet we want
173 ### it always as the default one. So this should make sure it always