1 # This is the automake's playground of our cool build system.
4 # TODO: Make part of it autogenerated based on AC_SUBST() or something.
9 TOPPATH = $(shell cd $(top_builddir) && pwd)
10 RELPATH = $(shell echo '$(CURPATH)' | sed 's,$(TOPPATH),,;s,^/,,;s,\([a-z0-9]\)$$,\1/,')
12 PATHSCRIPT = case '@top_srcdir@' in /*) ;; *) echo $(top_builddir)/;; esac
13 PATHPREFIX = $(shell $(PATHSCRIPT))
15 top_srcdir = $(PATHPREFIX)@top_srcdir@
17 SRCPATH = $(shell cd $(top_srcdir)/$(RELPATH) && pwd)
18 ifeq ($(SRCPATH),$(CURPATH))
21 srcdir = $(top_srcdir)/$(RELPATH)
24 exec_prefix = @exec_prefix@
28 libexecdir = @libexecdir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
36 includedir = @includedir@
41 # Support for rebuilding configure and Makefile.config
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 TEST_LIB=$(top_srcdir)/test/libtest.sh
60 CG_COMMIT_ID = @CG_COMMIT_ID@
65 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
66 GUILE_CFLAGS = @GUILE_CFLAGS@
67 INTLBISON = @INTLBISON@
70 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
73 LOCALEDIR = @LOCALEDIR@
74 LUA_CFLAGS = @LUA_CFLAGS@
76 MKINSTALLDIRS = $(PATHPREFIX)@MKINSTALLDIRS@
78 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
80 PERL_CFLAGS = @PERL_CFLAGS@
81 PERL_LIBS = @PERL_LIBS@
83 PYTHON_CFLAGS = @PYTHON_CFLAGS@
84 PYTHON_LIBS = @PYTHON_LIBS@
86 RUBY_CFLAGS = @RUBY_CFLAGS@
87 RUBY_LIBS = @RUBY_LIBS@
89 SPIDERMONKEY_CFLAGS = @SPIDERMONKEY_CFLAGS@
90 SPIDERMONKEY_LIBS = @SPIDERMONKEY_LIBS@
96 # :r !grep AC_SUBST\(CONFIG_ configure.in | sed 's/.*(\(.*\))$/\1 = @\1@/' | sort | uniq
97 CONFIG_256_COLORS = @CONFIG_256_COLORS@
98 CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
99 CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
100 CONFIG_BEOS = @CONFIG_BEOS@
101 CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
102 CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
103 CONFIG_BZIP2 = @CONFIG_BZIP2@
104 CONFIG_CGI = @CONFIG_CGI@
105 CONFIG_COOKIES = @CONFIG_COOKIES@
106 CONFIG_CSS = @CONFIG_CSS@
107 CONFIG_DATA = @CONFIG_DATA@
108 CONFIG_DEBUG = @CONFIG_DEBUG@
109 CONFIG_DOM = @CONFIG_DOM@
110 CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
111 CONFIG_EXMODE = @CONFIG_EXMODE@
112 CONFIG_FASTMEM = @CONFIG_FASTMEM@
113 CONFIG_FINGER = @CONFIG_FINGER@
114 CONFIG_FORMHIST = @CONFIG_FORMHIST@
115 CONFIG_FTP = @CONFIG_FTP@
116 CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
117 CONFIG_GNUTLS = @CONFIG_GNUTLS@
118 CONFIG_GOPHER = @CONFIG_GOPHER@
119 CONFIG_GUILE = @CONFIG_GUILE@
120 CONFIG_GZIP = @CONFIG_GZIP@
121 CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
122 CONFIG_INTERLINK = @CONFIG_INTERLINK@
123 CONFIG_IPV6 = @CONFIG_IPV6@
124 CONFIG_JW = @CONFIG_JW@
125 CONFIG_LEDS = @CONFIG_LEDS@
126 CONFIG_LUA = @CONFIG_LUA@
127 CONFIG_MAILCAP = @CONFIG_MAILCAP@
128 CONFIG_MARKS = @CONFIG_MARKS@
129 CONFIG_MD5 = @CONFIG_MD5@
130 CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
131 CONFIG_MOUSE = @CONFIG_MOUSE@
132 CONFIG_NLS = @CONFIG_NLS@
133 CONFIG_NNTP = @CONFIG_NNTP@
134 CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
135 CONFIG_OPENSSL = @CONFIG_OPENSSL@
136 CONFIG_OS2 = @CONFIG_OS2@
137 CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
138 CONFIG_PERL = @CONFIG_PERL@
139 CONFIG_POD2HTML = @CONFIG_POD2HTML@
140 CONFIG_PYTHON = @CONFIG_PYTHON@
141 CONFIG_RISCOS = @CONFIG_RISCOS@
142 CONFIG_RUBY = @CONFIG_RUBY@
143 CONFIG_SCANNER = @CONFIG_SCANNER@
144 CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
145 CONFIG_SHA1 = @CONFIG_SHA1@
146 CONFIG_SMALL = @CONFIG_SMALL@
147 CONFIG_SMB = @CONFIG_SMB@
148 CONFIG_SM_SCRIPTING = @CONFIG_SM_SCRIPTING@
149 CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
150 CONFIG_SSL = @CONFIG_SSL@
151 CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
152 CONFIG_UNIX = @CONFIG_UNIX@
153 CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
154 CONFIG_WIN32 = @CONFIG_WIN32@
155 CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
156 CONFIG_XMLTO = @CONFIG_XMLTO@
160 CPPFLAGS = @CPPFLAGS@
165 INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
167 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
169 MAKE_COLOR = @MAKE_COLOR@
172 ### This is here because Makefile.config is usually the first thing
173 ### we get and sometimes the all rule can be implicit, yet we want
174 ### it always as the default one. So this should make sure it always