Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
| 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
| 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. |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 6 | |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame] | 7 | ifndef top_srcdir |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +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 |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 11 | top_builddir=.. |
Bernhard Reutner-Fischer | 022eb31 | 2006-03-02 17:33:25 +0000 | [diff] [blame] | 12 | endif |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 13 | srcdir=$(top_srcdir)/e2fsprogs |
| 14 | E2FSPROGS_DIR:=./ |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 15 | include $(top_builddir)/.config |
Bernhard Reutner-Fischer | 5c071bc | 2005-10-05 07:40:46 +0000 | [diff] [blame] | 16 | include $(top_builddir)/Rules.mak |
Mike Frysinger | d89e5e6 | 2005-04-24 05:15:12 +0000 | [diff] [blame] | 17 | include Makefile.in |
| 18 | all: $(libraries-y) |
| 19 | -include $(top_builddir)/.depend |
| 20 | |
| 21 | clean: |
Mike Frysinger | e037622 | 2005-06-11 00:12:12 +0000 | [diff] [blame] | 22 | rm -f *.o *.a */*.o $(AR_TARGET) |