Fix building with non-BSD versions of make such as GNU make.
Requires VPATH support, which should be in any non-neolithic make.
This commit is contained in:
@@ -26,6 +26,9 @@ top_srcdir = @top_srcdir@
|
|||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
compat = $(top_srcdir)/compat
|
compat = $(top_srcdir)/compat
|
||||||
|
|
||||||
|
# For out of tree builds
|
||||||
|
VPATH = $(srcdir)
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
|
@@ -25,6 +25,9 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
|
# For out of tree builds
|
||||||
|
VPATH = $(srcdir)
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@ --tag=disable-static
|
LIBTOOL = @LIBTOOL@ --tag=disable-static
|
||||||
|
@@ -31,6 +31,9 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
|
# For out of tree builds
|
||||||
|
VPATH = $(srcdir):$(srcdir)/auth:$(top_srcdir)/src
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
|
@@ -25,6 +25,9 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
|
# For out of tree builds
|
||||||
|
VPATH = $(srcdir)
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@ --tag=disable-static
|
LIBTOOL = @LIBTOOL@ --tag=disable-static
|
||||||
|
Reference in New Issue
Block a user