Russ Dill | 1977a60 | 2002-10-14 21:47:07 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
Russ Dill | 1977a60 | 2002-10-14 21:47:07 +0000 | [diff] [blame] | 4 | # |
| 5 | # This program is free software; you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License as published by |
| 7 | # the Free Software Foundation; either version 2 of the License, or |
| 8 | # (at your option) any later version. |
| 9 | # |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | # General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU General Public License |
| 16 | # along with this program; if not, write to the Free Software |
| 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | # |
| 19 | |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame^] | 20 | ifndef top_srcdir |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 21 | top_srcdir=../.. |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame^] | 22 | endif |
| 23 | ifndef top_builddir |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 24 | top_builddir=../.. |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame^] | 25 | endif |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 26 | srcdir=$(top_srcdir)/networking/udhcp |
Russ Dill | 1977a60 | 2002-10-14 21:47:07 +0000 | [diff] [blame] | 27 | UDHCP_DIR:=./ |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 28 | include $(top_builddir)/Rules.mak |
| 29 | include $(top_builddir)/.config |
Russ Dill | 1977a60 | 2002-10-14 21:47:07 +0000 | [diff] [blame] | 30 | include Makefile.in |
| 31 | all: $(libraries-y) |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 32 | -include $(top_builddir)/.depend |
Russ Dill | 1977a60 | 2002-10-14 21:47:07 +0000 | [diff] [blame] | 33 | |
| 34 | clean: |
| 35 | rm -f *.o *.a $(AR_TARGET) |
| 36 | |