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@
41 # The INSTALL substituted by configure can be either absolute or
42 # relative to the top build directory. Adjust it so that it can
43 # be used in build subdirectories.
44 INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
45 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
46 INSTALL_DATA = @INSTALL_DATA@
47 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 ASCIIDOC_FLAGS = @ASCIIDOC_FLAGS@
56 CG_COMMIT_ID = @CG_COMMIT_ID@
61 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
62 GUILE_CFLAGS = @GUILE_CFLAGS@
63 INTLBISON = @INTLBISON@
66 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
69 LOCALEDIR = @LOCALEDIR@
70 LUA_CFLAGS = @LUA_CFLAGS@
72 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
74 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
76 PERL_CFLAGS = @PERL_CFLAGS@
77 PERL_LIBS = @PERL_LIBS@
79 PYTHON_CFLAGS = @PYTHON_CFLAGS@
80 PYTHON_LIBS = @PYTHON_LIBS@
82 RUBY_CFLAGS = @RUBY_CFLAGS@
83 RUBY_LIBS = @RUBY_LIBS@
85 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
86 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
92 # :r !grep AC_SUBST\(CONFIG_ configure.in | sed 's/.*(\(.*\))$/\1 = @\1@/' | sort | uniq
93 CONFIG_256_COLORS = @CONFIG_256_COLORS@
94 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
95 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
96 CONFIG_BEOS = @CONFIG_BEOS@
97 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
98 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
99 CONFIG_BZIP2 = @CONFIG_BZIP2@
100 CONFIG_CGI = @CONFIG_CGI@
101 CONFIG_COOKIES = @CONFIG_COOKIES@
102 CONFIG_CSS = @CONFIG_CSS@
103 CONFIG_DATA = @CONFIG_DATA@
104 CONFIG_DEBUG = @CONFIG_DEBUG@
105 CONFIG_DOM = @CONFIG_DOM@
106 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
107 CONFIG_EXMODE = @CONFIG_EXMODE@
108 CONFIG_FASTMEM = @CONFIG_FASTMEM@
109 CONFIG_FINGER = @CONFIG_FINGER@
110 CONFIG_FORMHIST = @CONFIG_FORMHIST@
111 CONFIG_FSP = @CONFIG_FSP@
112 CONFIG_FTP = @CONFIG_FTP@
113 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
114 CONFIG_GNUTLS = @CONFIG_GNUTLS@
115 CONFIG_GOPHER = @CONFIG_GOPHER@
116 CONFIG_GUILE = @CONFIG_GUILE@
117 CONFIG_GZIP = @CONFIG_GZIP@
118 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
119 CONFIG_INTERLINK = @CONFIG_INTERLINK@
120 CONFIG_IPV6 = @CONFIG_IPV6@
121 CONFIG_JW = @CONFIG_JW@
122 CONFIG_LEDS = @CONFIG_LEDS@
123 CONFIG_LUA = @CONFIG_LUA@
124 CONFIG_MAILCAP = @CONFIG_MAILCAP@
125 CONFIG_MARKS = @CONFIG_MARKS@
126 CONFIG_MD5 = @CONFIG_MD5@
127 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
128 CONFIG_MOUSE = @CONFIG_MOUSE@
129 CONFIG_NLS = @CONFIG_NLS@
130 CONFIG_NNTP = @CONFIG_NNTP@
131 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
132 CONFIG_OPENSSL = @CONFIG_OPENSSL@
133 CONFIG_OS2 = @CONFIG_OS2@
134 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
135 CONFIG_PERL = @CONFIG_PERL@
136 CONFIG_POD2HTML = @CONFIG_POD2HTML@
137 CONFIG_PYTHON = @CONFIG_PYTHON@
138 CONFIG_RISCOS = @CONFIG_RISCOS@
139 CONFIG_RUBY = @CONFIG_RUBY@
140 CONFIG_SCANNER = @CONFIG_SCANNER@
141 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
142 CONFIG_SHA1 = @CONFIG_SHA1@
143 CONFIG_SMALL = @CONFIG_SMALL@
144 CONFIG_SMB = @CONFIG_SMB@
145 CONFIG_SM_SCRIPTING = @CONFIG_SM_SCRIPTING@
146 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
147 CONFIG_SSL = @CONFIG_SSL@
148 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
149 CONFIG_UNIX = @CONFIG_UNIX@
150 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
151 CONFIG_WIN32 = @CONFIG_WIN32@
152 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
153 CONFIG_XMLTO = @CONFIG_XMLTO@
157 CPPFLAGS = @CPPFLAGS@
162 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
164 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
166 MAKE_COLOR = @MAKE_COLOR@
170 ### This is here because Makefile.config is usually the first thing
171 ### we get and sometimes the all rule can be implicit, yet we want
172 ### it always as the default one. So this should make sure it always