mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
path_to_top -> top_builddir
This commit is contained in:
parent
db99a74777
commit
c88afeb1c2
4
Makefile
4
Makefile
@ -1,5 +1,5 @@
|
||||
path_to_top=.
|
||||
-include $(path_to_top)/Makefile.config
|
||||
top_builddir=.
|
||||
-include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = doc po src
|
||||
CLEAN = features.log
|
||||
|
@ -6,15 +6,14 @@
|
||||
SHELL = @SHELL@
|
||||
|
||||
CURPATH = $(shell pwd)
|
||||
TOPPATH = $(shell cd $(path_to_top) && pwd)
|
||||
TOPPATH = $(shell cd $(top_builddir) && pwd)
|
||||
RELPATH = $(shell echo '$(CURPATH)' | sed 's,$(TOPPATH),,;s,^/,,;s,\([a-z0-9]\)$$,\1/,')
|
||||
|
||||
PATHSCRIPT = case '@top_srcdir@' in /*) ;; *) echo $(path_to_top)/;; esac
|
||||
PATHSCRIPT = case '@top_srcdir@' in /*) ;; *) echo $(top_builddir)/;; esac
|
||||
PATHPREFIX = $(shell $(PATHSCRIPT))
|
||||
|
||||
top_srcdir = $(PATHPREFIX)@top_srcdir@
|
||||
srcdir = $(top_srcdir)/$(RELPATH)
|
||||
top_builddir = $(path_to_top)
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
|
@ -1249,10 +1249,10 @@ srcdir2="$(cd "$srcdir" && pwd)"
|
||||
if test "$srcdir2" != "$builddir"; then
|
||||
for i in $(make -C "$srcdir" list | grep Makefile); do
|
||||
$MKINSTALLDIRS "$builddir/$(dirname $i)"
|
||||
grep path_to_top= "$srcdir/$i" > "$builddir/$i"
|
||||
grep top_builddir= "$srcdir/$i" > "$builddir/$i"
|
||||
case "$srcdir" in
|
||||
/*) echo "include $srcdir/$i" >> "$builddir/$i" ;;
|
||||
*) echo "include \$(path_to_top)/$srcdir/$i" >> "$builddir/$i" ;;
|
||||
*) echo "include \$(top_builddir)/$srcdir/$i" >> "$builddir/$i" ;;
|
||||
esac
|
||||
echo "creating $builddir/$i"
|
||||
done
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = man
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = man1 man5
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
elinks.1: $(srcdir)/elinks.1.in $(top_srcdir)/configure.in
|
||||
cd $(top_srcdir) && \
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
MAN5 = $(srcdir)/elinks.conf.5 $(srcdir)/elinkskeys.5
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
# Where to install the catalog files.
|
||||
localedir = $(datadir)/locale
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_BOOKMARKS) += bookmarks
|
||||
SUBDIRS-$(CONFIG_COOKIES) += cookies
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_LEDS) += leds.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = backend
|
||||
OBJS = bookmarks.o dialogs.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_XBEL_BOOKMARKS) += xbel.o
|
||||
OBJS = common.o default.o
|
||||
|
4
src/cache/Makefile
vendored
4
src/cache/Makefile
vendored
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = cache.o dialogs.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = cmdline.o conf.o dialogs.o home.o kbdbind.o options.o opttypes.o timer.o urlhist.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = cookies.o dialogs.o parser.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_EXMODE) += exmode.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_CSS) += css
|
||||
SUBDIRS-$(CONFIG_DOM) += dom sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = apply.o css.o parser.o property.o scanner.o stylesheet.o value.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = navigator.o node.o renderer.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = parser
|
||||
OBJS = frames.o parser.o renderer.o tables.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = forms.o general.o link.o parse.o stack.o table.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = renderer.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = html
|
||||
OBJS = sgml.o parser.o scanner.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = html.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
SUBDIRS = spidermonkey
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
OBJS = document.o form.o location.o navigator.o unibar.o window.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_BZIP2) += bzip2.o
|
||||
OBJS-$(CONFIG_GZIP) += gzip.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = formhist.o dialogs.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = globhist.o dialogs.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_NLS) += gettext
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
localedir = $(datadir)/locale
|
||||
builddir = $(top_builddir)/src/intl/gettext
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_INTERLINK) += interlink.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = backend
|
||||
OBJS = dialogs.o mime.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_MAILCAP) += mailcap.o
|
||||
OBJS-$(CONFIG_MIMETYPES) += mimetypes.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_SSL) += ssl
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
INCLUDES += $(X_CFLAGS)
|
||||
|
||||
SUBDIRS-$(CONFIG_BEOS) += beos
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = beos.o overrides.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = os2.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = riscos.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = unix.o bsd.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = win32.o overrides.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_BITTORRENT) += bittorrent
|
||||
SUBDIRS-$(CONFIG_FINGER) += finger
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
# Needed for the digest MD5 sum calculation.
|
||||
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_CGI) += cgi.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = finger.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = ftp.o parse.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = gopher.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = blacklist.o codes.o http.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = nntp.o connection.o response.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = rewrite.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = smb.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_GUILE) += guile
|
||||
SUBDIRS-$(CONFIG_LUA) += lua
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(GUILE_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(LUA_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(PERL_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(PYTHON_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
INCLUDES += $(RUBY_CFLAGS)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = download.o history.o location.o session.o task.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_MOUSE) += mouse.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
# Reverse a CONFIG_* string
|
||||
# Usage $(call not,$(CONFIG_FOO))
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS = dump text
|
||||
OBJS = action.o timer.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = dump.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
path_to_top=../../..
|
||||
include $(path_to_top)/Makefile.config
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_MARKS) += marks.o
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user