tizen 2.0
[framework/base/util-linux-ng.git] / Makefile.am
1 include $(top_srcdir)/config/include-Makefile.am
2
3 SUBDIRS = \
4         include \
5         disk-utils \
6         fdisk \
7         getopt \
8         lib \
9         shlibs \
10         login-utils \
11         misc-utils \
12         po \
13         schedutils \
14         sys-utils \
15         text-utils \
16         tests
17
18
19 RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
20                 -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
21
22 if LINUX
23 SUBDIRS += \
24         hwclock \
25         partx
26 endif
27
28 if BUILD_MOUNT
29 SUBDIRS += mount
30 endif
31
32 if BUILD_FSCK
33 SUBDIRS += fsck
34 endif
35
36 ACLOCAL_AMFLAGS = -I m4
37
38 EXTRA_DIST = \
39                 autogen.sh \
40                 README.devel \
41                 README.licensing \
42                 DEPRECATED \
43                 licenses \
44                 example.files \
45                 po/update-potfiles \
46                 tools \
47                 docs
48
49
50 distclean-local:
51         -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
52         rm -rf autom4te.cache
53
54
55 checkincludes:
56         @find * $(RCS_FIND_IGNORE) \
57                 -name '*.[hcS]' -type f -print | sort -u \
58                 | xargs $(top_srcdir)/tools/checkincludes.pl
59
60 checkconfig:
61         @find * $(RCS_FIND_IGNORE) \
62                 -name '*.[hcS]' -type f -print | sort -u \
63                 | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
64
65
66 ENABLE_ALL = --enable-static-programs --with-fsprobe=builtin \
67  --enable-elvtune --enable-init --enable-kill --enable-last \
68  --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
69  --enable-login-utils --enable-write --enable-arch --enable-mount
70 DISTCHECK_CONFIGURE_FLAGS = --disable-use-tty-group $(ENABLE_ALL)