- use absolute path for top_builddir and top_srcdir.

Fixes make trying to include the very same file in an endless loop.
This commit is contained in:
Bernhard Reutner-Fischer 2006-03-02 17:33:25 +00:00
parent c0bb308389
commit 022eb311d5
24 changed files with 96 additions and 0 deletions

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/applets srcdir=$(top_srcdir)/applets
APPLETS_DIR:=./ APPLETS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
ARCHIVAL_DIR:=./ ARCHIVAL_DIR:=./
srcdir=$(top_srcdir)/archival srcdir=$(top_srcdir)/archival
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -17,8 +17,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
ifndef top_srcdir
top_srcdir=../.. top_srcdir=../..
endif
ifndef top_builddir
top_builddir=../.. top_builddir=../..
endif
srcdir=$(top_srcdir)/archival/libunarchive srcdir=$(top_srcdir)/archival/libunarchive
LIBUNARCHIVE_DIR:=./ LIBUNARCHIVE_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/console/tools srcdir=$(top_srcdir)/console/tools
CONSOLETOOLS_DIR:=./ CONSOLETOOLS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/coreutils srcdir=$(top_srcdir)/coreutils
SHELLUTILS_DIR:=./ SHELLUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -17,8 +17,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
ifndef top_srcdir
top_srcdir=../.. top_srcdir=../..
endif
ifndef top_builddir
top_builddir=../.. top_builddir=../..
endif
srcdir=$(top_srcdir)/coreutils/libcoreutils srcdir=$(top_srcdir)/coreutils/libcoreutils
LIBCOREUTILS_DIR:=./ LIBCOREUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/debianutils srcdir=$(top_srcdir)/debianutils
DEBIANUTILS_DIR:=./ DEBIANUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/e2fsprogs srcdir=$(top_srcdir)/e2fsprogs
E2FSPROGS_DIR:=./ E2FSPROGS_DIR:=./
include $(top_builddir)/.config include $(top_builddir)/.config

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/editors srcdir=$(top_srcdir)/editors
EDITOR_DIR:=./ EDITOR_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/findutils srcdir=$(top_srcdir)/findutils
FINDUTILS_DIR:=./ FINDUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/init srcdir=$(top_srcdir)/init
INIT_DIR:=./ INIT_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/libbb srcdir=$(top_srcdir)/libbb
LIBBB_DIR:=./ LIBBB_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/libpwgrp srcdir=$(top_srcdir)/libpwgrp
LIBPWDGRP_DIR:=./ LIBPWDGRP_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/loginutils srcdir=$(top_srcdir)/loginutils
LOGINUTILS_DIR:=./ LOGINUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/miscutils srcdir=$(top_srcdir)/miscutils
MISCUTILS_DIR:=./ MISCUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/modutils srcdir=$(top_srcdir)/modutils
MODUTILS_DIR:=./ MODUTILS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/networking srcdir=$(top_srcdir)/networking
NETWORKING_DIR:=./ NETWORKING_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -17,8 +17,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
ifndef top_srcdir
top_srcdir=../.. top_srcdir=../..
endif
ifndef top_builddir
top_builddir=../.. top_builddir=../..
endif
srcdir=$(top_srcdir)/networking/libiproute srcdir=$(top_srcdir)/networking/libiproute
LIBIPROUTE_DIR:=./ LIBIPROUTE_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -17,8 +17,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
ifndef top_srcdir
top_srcdir=../.. top_srcdir=../..
endif
ifndef top_builddir
top_builddir=../.. top_builddir=../..
endif
srcdir=$(top_srcdir)/networking/udhcp srcdir=$(top_srcdir)/networking/udhcp
UDHCP_DIR:=./ UDHCP_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/procps srcdir=$(top_srcdir)/procps
PROCPS_DIR:=./ PROCPS_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -2,8 +2,12 @@
# #
# Copyright (C) 2002 Erik Andersen <andersen@codepoet.org> # Copyright (C) 2002 Erik Andersen <andersen@codepoet.org>
ifndef top_srcdir
top_srcdir=../.. top_srcdir=../..
endif
ifndef top_builddir
top_builddir=../.. top_builddir=../..
endif
srcdir=$(top_srcdir)/scripts/config srcdir=$(top_srcdir)/scripts/config
include $(top_srcdir)/Rules.mak include $(top_srcdir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/shell srcdir=$(top_srcdir)/shell
SHELL_DIR:=./ SHELL_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/sysklogd srcdir=$(top_srcdir)/sysklogd
SYSKLOGD_DIR:=./ SYSKLOGD_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak

View File

@ -4,8 +4,12 @@
# #
# Licensed under the GPL v2, see the file LICENSE in this tarball. # Licensed under the GPL v2, see the file LICENSE in this tarball.
ifndef top_srcdir
top_srcdir=.. top_srcdir=..
endif
ifndef top_builddir
top_builddir=.. top_builddir=..
endif
srcdir=$(top_srcdir)/util-linux srcdir=$(top_srcdir)/util-linux
UTILLINUX_DIR:=./ UTILLINUX_DIR:=./
include $(top_builddir)/Rules.mak include $(top_builddir)/Rules.mak