Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
Mike Frysinger | 0d4ee68 | 2005-09-24 06:01:57 +0000 | [diff] [blame] | 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 4 | # |
Mike Frysinger | 0d4ee68 | 2005-09-24 06:01:57 +0000 | [diff] [blame] | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 6 | |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 7 | srcdir=$(top_srcdir)/sysklogd |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 8 | objdir=$(top_builddir)/sysklogd |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 9 | |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 10 | SYSKLOGD-$(CONFIG_KLOGD) += klogd.o |
| 11 | SYSKLOGD-$(CONFIG_LOGGER) += logger.o |
| 12 | SYSKLOGD-$(CONFIG_LOGREAD) += logread.o |
| 13 | SYSKLOGD-$(CONFIG_SYSLOGD) += syslogd.o |
| 14 | |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 15 | |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 16 | SYSKLOGD_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SYSKLOGD-y)) |
| 17 | SYSKLOGD_SRC-a:=$(wildcard $(srcdir)/*.c) |
| 18 | APPLET_SRC-y+=$(SYSKLOGD_SRC-y) |
| 19 | APPLET_SRC-a+=$(SYSKLOGD_SRC-a) |
| 20 | |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 21 | sysklogd_OBJ:= $(patsubst %,$(objdir)/%,$(SYSKLOGD-y)) |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 22 | |