blob: 9a53470a42ff670733eb37443c17332ddd0d0c0e [file] [log] [blame]
Eric Andersenbdfd0d72001-10-24 05:00:29 +00001# Makefile for busybox
2#
Mike Frysingerf547d672005-04-21 01:49:05 +00003# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
Eric Andersenbdfd0d72001-10-24 05:00:29 +00004#
Mike Frysinger62f18e12005-09-24 07:16:29 +00005# Licensed under the GPL v2, see the file LICENSE in this tarball.
Eric Andersenbdfd0d72001-10-24 05:00:29 +00006
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +00007ifndef top_srcdir
Eric Andersen7daa0762004-10-08 07:46:08 +00008top_srcdir=..
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +00009endif
10ifndef top_builddir
Mike Frysingerf547d672005-04-21 01:49:05 +000011top_builddir=..
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +000012endif
Eric Andersen7daa0762004-10-08 07:46:08 +000013srcdir=$(top_srcdir)/util-linux
Eric Andersen85208e22002-04-12 12:05:57 +000014UTILLINUX_DIR:=./
Mike Frysinger39440e52006-05-13 02:33:09 +000015include $(top_srcdir)/Rules.mak
Eric Andersen7daa0762004-10-08 07:46:08 +000016include $(top_builddir)/.config
Eric Andersen85208e22002-04-12 12:05:57 +000017include Makefile.in
18all: $(libraries-y)
Eric Andersen7daa0762004-10-08 07:46:08 +000019-include $(top_builddir)/.depend
Eric Andersenbdfd0d72001-10-24 05:00:29 +000020
21clean:
Eric Andersen85208e22002-04-12 12:05:57 +000022 rm -f *.o *.a $(AR_TARGET)