Last change
on this file since 3128 was 821, checked in by Bruno Cornec, 18 years ago |
Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)
|
File size:
843 bytes
|
Line | |
---|
1 | # Makefile for busybox
|
---|
2 | #
|
---|
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
---|
4 | #
|
---|
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball.
|
---|
6 |
|
---|
7 | SYSKLOGD_AR:=sysklogd.a
|
---|
8 | ifndef $(SYSKLOGD_DIR)
|
---|
9 | SYSKLOGD_DIR:=$(top_builddir)/sysklogd/
|
---|
10 | endif
|
---|
11 | srcdir=$(top_srcdir)/sysklogd
|
---|
12 |
|
---|
13 | SYSKLOGD-y:=
|
---|
14 | SYSKLOGD-$(CONFIG_KLOGD) += klogd.o
|
---|
15 | SYSKLOGD-$(CONFIG_LOGGER) += logger.o
|
---|
16 | SYSKLOGD-$(CONFIG_LOGREAD) += logread.o
|
---|
17 | SYSKLOGD-$(CONFIG_SYSLOGD) += syslogd.o
|
---|
18 |
|
---|
19 | ifneq ($(strip $(SYSKLOGD-y)),)
|
---|
20 | libraries-y+=$(SYSKLOGD_DIR)$(SYSKLOGD_AR)
|
---|
21 | endif
|
---|
22 |
|
---|
23 | SYSKLOGD_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SYSKLOGD-y))
|
---|
24 | SYSKLOGD_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
25 | APPLET_SRC-y+=$(SYSKLOGD_SRC-y)
|
---|
26 | APPLET_SRC-a+=$(SYSKLOGD_SRC-a)
|
---|
27 |
|
---|
28 | $(SYSKLOGD_DIR)$(SYSKLOGD_AR): $(patsubst %,$(SYSKLOGD_DIR)%, $(SYSKLOGD-y))
|
---|
29 | $(do_ar)
|
---|
30 |
|
---|
31 | $(SYSKLOGD_DIR)%.o: $(srcdir)/%.c
|
---|
32 | $(compile.c)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.