OSDN Git Service

- use absolute path for top_builddir and top_srcdir.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 2 Mar 2006 17:33:25 +0000 (17:33 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 2 Mar 2006 17:33:25 +0000 (17:33 -0000)
  Fixes make trying to include the very same file in an endless loop.

24 files changed:
applets/Makefile
archival/Makefile
archival/libunarchive/Makefile
console-tools/Makefile
coreutils/Makefile
coreutils/libcoreutils/Makefile
debianutils/Makefile
e2fsprogs/Makefile
editors/Makefile
findutils/Makefile
init/Makefile
libbb/Makefile
libpwdgrp/Makefile
loginutils/Makefile
miscutils/Makefile
modutils/Makefile
networking/Makefile
networking/libiproute/Makefile
networking/udhcp/Makefile
procps/Makefile
scripts/config/Makefile
shell/Makefile
sysklogd/Makefile
util-linux/Makefile

index 03491d2..1552799 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/applets
 APPLETS_DIR:=./
 include $(top_builddir)/Rules.mak
index d5d950e..2cb5ebc 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 ARCHIVAL_DIR:=./
 srcdir=$(top_srcdir)/archival
 include $(top_builddir)/Rules.mak
index e985fa4..3f0ebce 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
+ifndef top_srcdir
 top_srcdir=../..
+endif
+ifndef top_builddir
 top_builddir=../..
+endif
 srcdir=$(top_srcdir)/archival/libunarchive
 LIBUNARCHIVE_DIR:=./
 include $(top_builddir)/Rules.mak
index 5250e76..202b534 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/console/tools
 CONSOLETOOLS_DIR:=./
 include $(top_builddir)/Rules.mak
index d3f745a..f7fdc4b 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/coreutils
 SHELLUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index 0a1c80a..e8bc65d 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
+ifndef top_srcdir
 top_srcdir=../..
+endif
+ifndef top_builddir
 top_builddir=../..
+endif
 srcdir=$(top_srcdir)/coreutils/libcoreutils
 LIBCOREUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index 41da6c4..614bfbe 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/debianutils
 DEBIANUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index e6299e6..a42290e 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/e2fsprogs
 E2FSPROGS_DIR:=./
 include $(top_builddir)/.config
index 7c2e4ef..941c4c7 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/editors
 EDITOR_DIR:=./
 include $(top_builddir)/Rules.mak
index ffafd38..b02d69c 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/findutils
 FINDUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index d31aad1..828971a 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/init
 INIT_DIR:=./
 include $(top_builddir)/Rules.mak
index 6e6a398..1d4f547 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/libbb
 LIBBB_DIR:=./
 include $(top_builddir)/Rules.mak
index 2af51d7..270cf53 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/libpwgrp
 LIBPWDGRP_DIR:=./
 include $(top_builddir)/Rules.mak
index ebaa828..bbf2813 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/loginutils
 LOGINUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index 8640dec..64cd56e 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/miscutils
 MISCUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index 2e0585f..fa7a2a3 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/modutils
 MODUTILS_DIR:=./
 include $(top_builddir)/Rules.mak
index d0427d4..98bd7f8 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/networking
 NETWORKING_DIR:=./
 include $(top_builddir)/Rules.mak
index d3aefaa..96b1449 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
+ifndef top_srcdir
 top_srcdir=../..
+endif
+ifndef top_builddir
 top_builddir=../..
+endif
 srcdir=$(top_srcdir)/networking/libiproute
 LIBIPROUTE_DIR:=./
 include $(top_builddir)/Rules.mak
index 3d32db5..7c027ed 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
+ifndef top_srcdir
 top_srcdir=../..
+endif
+ifndef top_builddir
 top_builddir=../..
+endif
 srcdir=$(top_srcdir)/networking/udhcp
 UDHCP_DIR:=./
 include $(top_builddir)/Rules.mak
index 3be6247..179371a 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/procps
 PROCPS_DIR:=./
 include $(top_builddir)/Rules.mak
index 8983ee5..716e130 100644 (file)
@@ -2,8 +2,12 @@
 #
 # Copyright (C) 2002 Erik Andersen <andersen@codepoet.org>
 
+ifndef top_srcdir
 top_srcdir=../..
+endif
+ifndef top_builddir
 top_builddir=../..
+endif
 srcdir=$(top_srcdir)/scripts/config
 include $(top_srcdir)/Rules.mak
 
index 5c56a27..c29ec34 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/shell
 SHELL_DIR:=./
 include $(top_builddir)/Rules.mak
index 788958a..e6594f0 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/sysklogd
 SYSKLOGD_DIR:=./
 include $(top_builddir)/Rules.mak
index 33e5ffe..de51b75 100644 (file)
@@ -4,8 +4,12 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+ifndef top_srcdir
 top_srcdir=..
+endif
+ifndef top_builddir
 top_builddir=..
+endif
 srcdir=$(top_srcdir)/util-linux
 UTILLINUX_DIR:=./
 include $(top_builddir)/Rules.mak