blob: 63816f6aa42d1d58bf22206106f0a5a501840f74 [file] [log] [blame]
Eric Andersenbdfd0d72001-10-24 05:00:29 +00001# Makefile for busybox
2#
Mike Frysinger62f18e12005-09-24 07:16:29 +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
Eric Andersen7daa0762004-10-08 07:46:08 +000011top_builddir=..
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +000012endif
Eric Andersen7daa0762004-10-08 07:46:08 +000013srcdir=$(top_srcdir)/init
Eric Andersen85208e22002-04-12 12:05:57 +000014INIT_DIR:=./
Mike Frysinger39440e52006-05-13 02:33:09 +000015include $(top_srcdir)/Rules.mak
Eric Andersen7daa0762004-10-08 07:46:08 +000016include $(top_builddir)/.config
17include $(srcdir)/Makefile.in
Eric Andersen85208e22002-04-12 12:05:57 +000018all: $(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)
Eric Andersenbdfd0d72001-10-24 05:00:29 +000023