blob: d1f2741106245132a313cc857a59e52f0ae73a6b [file] [log] [blame]
Eric Andersen85208e22002-04-12 12:05:57 +00001# Makefile for busybox
2#
Mike Frysinger0d4ee682005-09-24 06:01:57 +00003# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
Eric Andersen85208e22002-04-12 12:05:57 +00004#
Mike Frysinger0d4ee682005-09-24 06:01:57 +00005# Licensed under the GPL v2, see the file LICENSE in this tarball.
Eric Andersen85208e22002-04-12 12:05:57 +00006
Eric Andersen7daa0762004-10-08 07:46:08 +00007srcdir=$(top_srcdir)/sysklogd
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +00008objdir=$(top_builddir)/sysklogd
Eric Andersen85208e22002-04-12 12:05:57 +00009
Eric Andersen85208e22002-04-12 12:05:57 +000010SYSKLOGD-$(CONFIG_KLOGD) += klogd.o
11SYSKLOGD-$(CONFIG_LOGGER) += logger.o
12SYSKLOGD-$(CONFIG_LOGREAD) += logread.o
13SYSKLOGD-$(CONFIG_SYSLOGD) += syslogd.o
14
Eric Andersen85208e22002-04-12 12:05:57 +000015
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000016SYSKLOGD_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SYSKLOGD-y))
17SYSKLOGD_SRC-a:=$(wildcard $(srcdir)/*.c)
18APPLET_SRC-y+=$(SYSKLOGD_SRC-y)
19APPLET_SRC-a+=$(SYSKLOGD_SRC-a)
20
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000021sysklogd_OBJ:= $(patsubst %,$(objdir)/%,$(SYSKLOGD-y))
Eric Andersen85208e22002-04-12 12:05:57 +000022