Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +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> |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +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/libiproute |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 27 | LIBIPROUTE_DIR:=./ |
Mike Frysinger | d9b6b84 | 2006-05-13 02:33:41 +0000 | [diff] [blame] | 28 | include $(top_srcdir)/Rules.mak |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 29 | include $(top_builddir)/.config |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +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 |
Glenn L McGrath | 9a2d272 | 2002-11-10 01:33:55 +0000 | [diff] [blame] | 33 | |
| 34 | clean: |
| 35 | rm -f *.o *.a $(AR_TARGET) |
| 36 | |