From 158ffd405e3dace1c79cbbd6994d5b4936bfcd99 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 13 May 2006 02:34:25 +0000 Subject: pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list --- applets/Makefile | 2 +- archival/Makefile | 2 +- archival/libunarchive/Makefile | 2 +- console-tools/Makefile | 2 +- coreutils/Makefile | 2 +- coreutils/libcoreutils/Makefile | 2 +- debianutils/Makefile | 2 +- e2fsprogs/Makefile | 2 +- editors/Makefile | 2 +- findutils/Makefile | 2 +- init/Makefile | 2 +- libbb/Makefile | 2 +- libpwdgrp/Makefile | 2 +- loginutils/Makefile | 2 +- miscutils/Makefile | 2 +- modutils/Makefile | 2 +- networking/Makefile | 2 +- networking/libiproute/Makefile | 2 +- networking/udhcp/Makefile | 36 ++++++++++++++++++++++++++++++++++++ procps/Makefile | 2 +- shell/Makefile | 2 +- sysklogd/Makefile | 2 +- util-linux/Makefile | 2 +- 23 files changed, 58 insertions(+), 22 deletions(-) create mode 100644 networking/udhcp/Makefile diff --git a/applets/Makefile b/applets/Makefile index 1552799..0d892f5 100644 --- a/applets/Makefile +++ b/applets/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/applets APPLETS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/archival/Makefile b/archival/Makefile index 2cb5ebc..66da4af 100644 --- a/archival/Makefile +++ b/archival/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif ARCHIVAL_DIR:=./ srcdir=$(top_srcdir)/archival -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/archival/libunarchive/Makefile b/archival/libunarchive/Makefile index 3f0ebce..9ab1cac 100644 --- a/archival/libunarchive/Makefile +++ b/archival/libunarchive/Makefile @@ -25,7 +25,7 @@ top_builddir=../.. endif srcdir=$(top_srcdir)/archival/libunarchive LIBUNARCHIVE_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/console-tools/Makefile b/console-tools/Makefile index 202b534..87a242b 100644 --- a/console-tools/Makefile +++ b/console-tools/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/console/tools CONSOLETOOLS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/coreutils/Makefile b/coreutils/Makefile index f7fdc4b..c29f3a9 100644 --- a/coreutils/Makefile +++ b/coreutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/coreutils SHELLUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/coreutils/libcoreutils/Makefile b/coreutils/libcoreutils/Makefile index e8bc65d..fabde2d 100644 --- a/coreutils/libcoreutils/Makefile +++ b/coreutils/libcoreutils/Makefile @@ -25,7 +25,7 @@ top_builddir=../.. endif srcdir=$(top_srcdir)/coreutils/libcoreutils LIBCOREUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in diff --git a/debianutils/Makefile b/debianutils/Makefile index 614bfbe..3d240b7 100644 --- a/debianutils/Makefile +++ b/debianutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/debianutils DEBIANUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/e2fsprogs/Makefile b/e2fsprogs/Makefile index a42290e..0efa9bb 100644 --- a/e2fsprogs/Makefile +++ b/e2fsprogs/Makefile @@ -13,7 +13,7 @@ endif srcdir=$(top_srcdir)/e2fsprogs E2FSPROGS_DIR:=./ include $(top_builddir)/.config -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include Makefile.in all: $(libraries-y) -include $(top_builddir)/.depend diff --git a/editors/Makefile b/editors/Makefile index 941c4c7..2279009 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/editors EDITOR_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/findutils/Makefile b/findutils/Makefile index b02d69c..f152c81 100644 --- a/findutils/Makefile +++ b/findutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/findutils FINDUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/init/Makefile b/init/Makefile index 828971a..63816f6 100644 --- a/init/Makefile +++ b/init/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/init INIT_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include $(srcdir)/Makefile.in all: $(libraries-y) diff --git a/libbb/Makefile b/libbb/Makefile index 1d4f547..98b144c 100644 --- a/libbb/Makefile +++ b/libbb/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/libbb LIBBB_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/libpwdgrp/Makefile b/libpwdgrp/Makefile index 270cf53..630a768 100644 --- a/libpwdgrp/Makefile +++ b/libpwdgrp/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/libpwgrp LIBPWDGRP_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/loginutils/Makefile b/loginutils/Makefile index bbf2813..b81f429 100644 --- a/loginutils/Makefile +++ b/loginutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/loginutils LOGINUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/miscutils/Makefile b/miscutils/Makefile index 64cd56e..91b31ec 100644 --- a/miscutils/Makefile +++ b/miscutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/miscutils MISCUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/modutils/Makefile b/modutils/Makefile index fa7a2a3..65090c5 100644 --- a/modutils/Makefile +++ b/modutils/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/modutils MODUTILS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/networking/Makefile b/networking/Makefile index 98bd7f8..c3f2d79 100644 --- a/networking/Makefile +++ b/networking/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/networking NETWORKING_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/networking/libiproute/Makefile b/networking/libiproute/Makefile index 96b1449..2fafae7 100644 --- a/networking/libiproute/Makefile +++ b/networking/libiproute/Makefile @@ -25,7 +25,7 @@ top_builddir=../.. endif srcdir=$(top_srcdir)/networking/libiproute LIBIPROUTE_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/networking/udhcp/Makefile b/networking/udhcp/Makefile new file mode 100644 index 0000000..dbea9d4 --- /dev/null +++ b/networking/udhcp/Makefile @@ -0,0 +1,36 @@ +# Makefile for busybox +# +# Copyright (C) 1999-2004 by Erik Andersen +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# 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_srcdir)/Rules.mak +include $(top_builddir)/.config +include Makefile.in +all: $(libraries-y) +-include $(top_builddir)/.depend + +clean: + rm -f *.o *.a $(AR_TARGET) + diff --git a/procps/Makefile b/procps/Makefile index 179371a..1db6ffa 100644 --- a/procps/Makefile +++ b/procps/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/procps PROCPS_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/shell/Makefile b/shell/Makefile index c29ec34..9590f52 100644 --- a/shell/Makefile +++ b/shell/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/shell SHELL_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/sysklogd/Makefile b/sysklogd/Makefile index e6594f0..0ae4f1d 100644 --- a/sysklogd/Makefile +++ b/sysklogd/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/sysklogd SYSKLOGD_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) diff --git a/util-linux/Makefile b/util-linux/Makefile index de51b75..9a53470 100644 --- a/util-linux/Makefile +++ b/util-linux/Makefile @@ -12,7 +12,7 @@ top_builddir=.. endif srcdir=$(top_srcdir)/util-linux UTILLINUX_DIR:=./ -include $(top_builddir)/Rules.mak +include $(top_srcdir)/Rules.mak include $(top_builddir)/.config include Makefile.in all: $(libraries-y) -- cgit v1.1