]> granicus.if.org Git - sudo/commitdiff
Fix building with non-BSD versions of make such as GNU make.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 16:18:06 +0000 (12:18 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Apr 2010 16:18:06 +0000 (12:18 -0400)
Requires VPATH support, which should be in any non-neolithic make.

compat/Makefile.in
plugins/sample/Makefile.in
plugins/sudoers/Makefile.in
src/Makefile.in

index 8fa1ac45685288e2802b68d226a4298bde60fb7d..402d27e0a960cf27741507f9aa52df4243726e6a 100644 (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@
index d0d4ca91abf706fb34eda24305f4dadf9d23e042..8d975c2413cd4a6603035787a0d0b4eda22f1223 100644 (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
index 60de3842fcae3cd4570cba224e926ff066e208e9..d42ea815b5194728978dcd7f40dbb33cfc39df91 100644 (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@
index a396f0d55bd866e188d436e5c95d564bacb47ec5..1d9fb81f3655c0d29b8763efe136a94bb10cd0d5 100644 (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