Eric Andersen | 4bcdd72 | 2001-10-24 05:26:42 +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> |
Eric Andersen | 4bcdd72 | 2001-10-24 05:26:42 +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. |
Eric Andersen | 4bcdd72 | 2001-10-24 05:26:42 +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)/applets |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 14 | APPLETS_DIR:=./ |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 15 | include $(top_builddir)/Rules.mak |
16 | include $(top_builddir)/.config | ||||
17 | include $(srcdir)/Makefile.in | ||||
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 18 | all: $(libraries-y) |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 19 | -include $(top_builddir).depend |
Eric Andersen | 4bcdd72 | 2001-10-24 05:26:42 +0000 | [diff] [blame] | 20 | |
21 | clean: | ||||
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 22 | rm -f *.o *.a $(AR_TARGET) |
Eric Andersen | 4bcdd72 | 2001-10-24 05:26:42 +0000 | [diff] [blame] | 23 |