aboutsummaryrefslogtreecommitdiff
path: root/coreutils/libcoreutils/Makefile.in
blob: 700341c97d0db22edd6774fd02180e5b7a3679de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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))