2003-03-19 09:13:01 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
2004-03-15 08:29:22 +00:00
|
|
|
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
2003-03-19 09:13:01 +00:00
|
|
|
#
|
2006-01-15 14:04:57 +00:00
|
|
|
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
2003-03-19 09:13:01 +00:00
|
|
|
|
2004-10-08 07:46:08 +00:00
|
|
|
srcdir=$(top_srcdir)/coreutils/libcoreutils
|
2006-03-01 22:54:48 +00:00
|
|
|
objdir=$(top_builddir)/coreutils/libcoreutils
|
2003-03-19 09:13:01 +00:00
|
|
|
|
2006-03-01 22:54:48 +00:00
|
|
|
LIBCOREUTILS-$(CONFIG_MKFIFO) += getopt_mk_fifo_nod
|
|
|
|
LIBCOREUTILS-$(CONFIG_MKNOD) += getopt_mk_fifo_nod
|
|
|
|
LIBCOREUTILS-$(CONFIG_INSTALL) += cp_mv_stat
|
|
|
|
LIBCOREUTILS-$(CONFIG_CP) += cp_mv_stat
|
|
|
|
LIBCOREUTILS-$(CONFIG_MV) += cp_mv_stat
|
2006-01-15 14:04:57 +00:00
|
|
|
|
|
|
|
LIBCOREUTILS-y:=$(sort $(LIBCOREUTILS-y))
|
|
|
|
|
2006-03-01 22:54:48 +00:00
|
|
|
LIBCOREUTILS_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBCOREUTILS-y))
|
2006-01-15 14:04:57 +00:00
|
|
|
LIBCOREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
|
|
|
LIBRARY_SRC-y+=$(LIBCOREUTILS_SRC-y)
|
|
|
|
LIBRARY_SRC-a+=$(LIBCOREUTILS_SRC-a)
|
2003-03-19 09:13:01 +00:00
|
|
|
|
2006-03-01 22:54:48 +00:00
|
|
|
coreutils_libcoreutils_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBCOREUTILS-y))
|