build system overhaul
[oweals/busybox.git] / e2fsprogs / 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 lib-y:=
8
9 lib-$(CONFIG_CHATTR)     += chattr.o
10 libs-$(CONFIG_CHATTR)    += e2p/
11
12 lib-$(CONFIG_E2FSCK)     += e2fsck.o util.o
13 libs-$(CONFIG_E2FSCK)    += blkid/ ext2fs/ uuid/
14
15 lib-$(CONFIG_FSCK)       += fsck.o util.o
16 libs-$(CONFIG_FSCK)      += blkid/ ext2fs/ uuid/
17
18 lib-$(CONFIG_LSATTR)     += lsattr.o
19 libs-$(CONFIG_LSATTR)    += e2p/
20
21 lib-$(CONFIG_MKE2FS)     += mke2fs.o util.o
22 libs-$(CONFIG_MKE2FS)    += e2p/ blkid/ ext2fs/ uuid/
23
24 lib-$(CONFIG_TUNE2FS)    += tune2fs.o util.o
25 libs-$(CONFIG_TUNE2FS)   += e2p/ blkid/ ext2fs/ uuid/
26
27 CFLAGS += -include e2fsprogs/e2fsbb.h