move usage_compressed.h generation into applets/
[oweals/busybox.git] / applets / Kbuild
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 obj-y:=
8 obj-y   += applets.o
9 obj-y   += busybox.o
10
11 # Generated file needs additional love
12
13 applets/applets.o: include/usage_compressed.h
14
15 hostprogs-y += usage
16 always := $(hostprogs-y)
17 HOSTCFLAGS_usage.o = -I$(srctree)/include
18
19 include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
20         @echo '  GEN     include/usage_compressed.h'
21         @$(srctree)/applets/usage_compressed include/usage_compressed.h applets