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:
Todd C. Miller
2010-04-30 12:18:06 -04:00
parent f42cf76d8a
commit 5e9ec6a365
4 changed files with 12 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ top_srcdir = @top_srcdir@
incdir = $(top_srcdir)/include
compat = $(top_srcdir)/compat
# For out of tree builds
VPATH = $(srcdir)
# Compiler & tools to use
CC = @CC@
LIBTOOL = @LIBTOOL@

View File

@@ -25,6 +25,9 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
incdir = $(top_srcdir)/include
# For out of tree builds
VPATH = $(srcdir)
# Compiler & tools to use
CC = @CC@
LIBTOOL = @LIBTOOL@ --tag=disable-static

View File

@@ -31,6 +31,9 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
incdir = $(top_srcdir)/include
# For out of tree builds
VPATH = $(srcdir):$(srcdir)/auth:$(top_srcdir)/src
# Compiler & tools to use
CC = @CC@
LIBTOOL = @LIBTOOL@

View File

@@ -25,6 +25,9 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
incdir = $(top_srcdir)/include
# For out of tree builds
VPATH = $(srcdir)
# Compiler & tools to use
CC = @CC@
LIBTOOL = @LIBTOOL@ --tag=disable-static