Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
2 | # | ||||
Mike Frysinger | 62f18e1 | 2005-09-24 07:16:29 +0000 | [diff] [blame] | 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 4 | # |
Mike Frysinger | 62f18e1 | 2005-09-24 07:16:29 +0000 | [diff] [blame] | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 6 | |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame] | 7 | ifndef top_srcdir |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 8 | top_srcdir=.. |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame] | 9 | endif |
10 | ifndef top_builddir | ||||
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 11 | top_builddir=.. |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame] | 12 | endif |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 13 | srcdir=$(top_srcdir)/debianutils |
Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 14 | DEBIANUTILS_DIR:=./ |
Mike Frysinger | 39440e5 | 2006-05-13 02:33:09 +0000 | [diff] [blame] | 15 | include $(top_srcdir)/Rules.mak |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 16 | include $(top_builddir)/.config |
17 | include $(srcdir)/Makefile.in | ||||
Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 18 | all: $(libraries-y) |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 19 | -include $(top_builddir)/.depend |
Glenn L McGrath | 8f0722a | 2002-11-11 03:00:12 +0000 | [diff] [blame] | 20 | |
21 | clean: | ||||
22 | rm -f *.o *.a $(AR_TARGET) | ||||
23 |