mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
07a79e75f5
version of make (3.71.1).
29 lines
989 B
Makefile
29 lines
989 B
Makefile
# Makefile for busybox
|
|
#
|
|
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
|
#
|
|
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
|
|
|
srcdir:=$(top_srcdir)/coreutils/libcoreutils
|
|
objdir:=$(top_builddir)/coreutils/libcoreutils
|
|
|
|
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
|
|
|
|
LIBCOREUTILS-y:=$(sort $(LIBCOREUTILS-y))
|
|
|
|
LIBCOREUTILS_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBCOREUTILS-y))
|
|
LIBCOREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
|
LIBRARY_SRC-y+=$(LIBCOREUTILS_SRC-y)
|
|
LIBRARY_SRC-a+=$(LIBCOREUTILS_SRC-a)
|
|
|
|
coreutils_libcoreutils_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBCOREUTILS-y))
|
|
|
|
$(coreutils_libcoreutils_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c
|
|
$(objdir)/libcoreutils.a: $(coreutils_libcoreutils_OBJ$(os))
|
|
libraries-y:=$(libraries-y) $(objdir)/libcoreutils.a
|
|
|