2001-10-24 05:00:29 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
2005-09-24 07:16:29 +00:00
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
2002-04-12 12:05:57 +00:00
|
|
|
#
|
2005-09-24 07:16:29 +00:00
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
2001-03-19 19:24:06 +00:00
|
|
|
|
2006-03-02 17:33:25 +00:00
|
|
|
ifndef top_srcdir
|
2004-10-08 07:46:08 +00:00
|
|
|
top_srcdir=..
|
2006-03-02 17:33:25 +00:00
|
|
|
endif
|
|
|
|
ifndef top_builddir
|
2004-10-08 07:46:08 +00:00
|
|
|
top_builddir=..
|
2006-03-02 17:33:25 +00:00
|
|
|
endif
|
2004-10-08 07:46:08 +00:00
|
|
|
srcdir=$(top_srcdir)/libbb
|
2002-04-12 12:05:57 +00:00
|
|
|
LIBBB_DIR:=./
|
2006-07-06 20:02:47 +00:00
|
|
|
|
|
|
|
# Ensure "all" is still the default target when make is run by itself in
|
|
|
|
# libbb, even if the files we include define rules for targets.
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
2006-05-13 02:33:09 +00:00
|
|
|
include $(top_srcdir)/Rules.mak
|
2004-10-08 07:46:08 +00:00
|
|
|
include $(top_builddir)/.config
|
2002-04-12 12:05:57 +00:00
|
|
|
include Makefile.in
|
|
|
|
all: $(libraries-y)
|
2004-10-08 07:46:08 +00:00
|
|
|
-include $(top_builddir)/.depend
|
2001-03-19 19:24:06 +00:00
|
|
|
|
|
|
|
clean:
|
2002-04-12 12:05:57 +00:00
|
|
|
rm -f *.o *.a $(AR_TARGET)
|
|
|
|
|