1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-26 01:15:37 +00:00

More build speed ups by using native make for more stuff

Nearly halves traversal of an empty tree.
This commit is contained in:
Jonas Fonseca 2006-01-14 16:01:37 +01:00 committed by Jonas Fonseca
parent 89f59dab70
commit ec9383b575

View File

@ -4,20 +4,17 @@
SHELL = @SHELL@ SHELL = @SHELL@
TOPPATH = $(shell cd $(top_builddir) && pwd) TOPPATH = $(shell cd $(top_builddir) && pwd)
RELPATH = $(shell echo '$(CURDIR)' | sed 's,$(TOPPATH),,;s,^/,,;s,\([a-z0-9]\)$$,\1/,') RELPATH = $(subst $(TOPPATH)/,,$(CURDIR)/)
PATHPREFIX = $(if $(patsubst /%,,@top_srcdir@),$(top_builddir)/)
PATHSCRIPT = case '@top_srcdir@' in /*) ;; *) echo $(top_builddir)/;; esac
PATHPREFIX = $(shell $(PATHSCRIPT))
top_srcdir = $(PATHPREFIX)@top_srcdir@ top_srcdir = $(PATHPREFIX)@top_srcdir@
SRCPATH = $(shell cd $(top_srcdir)/$(RELPATH) && pwd) ifeq (@top_srcdir@,.)
ifeq ($(SRCPATH),$(CURDIR))
srcdir = srcdir =
else else
srcdir = $(top_srcdir)/$(RELPATH) srcdir = $(top_srcdir)/$(RELPATH)
endif endif
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@