]> git.ipfire.org Git - thirdparty/util-linux.git/blob - Makefile.am
tools: add checkincludes.pl (from linux kernel)
[thirdparty/util-linux.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 login-utils \
10 misc-utils \
11 po \
12 schedutils \
13 sys-utils \
14 text-utils \
15 tests
16
17
18 RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
19 -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
20
21 if LINUX
22 SUBDIRS += \
23 hwclock \
24 partx
25 endif
26
27 if BUILD_MOUNT
28 SUBDIRS += mount
29 endif
30
31 ACLOCAL_AMFLAGS = -I m4
32
33 EXTRA_DIST = \
34 autogen.sh \
35 README.devel \
36 README.licensing \
37 DEPRECATED \
38 licenses \
39 example.files \
40 po/update-potfiles \
41 tools \
42 docs
43
44
45 distclean-local:
46 -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
47 rm -rf autom4te.cache
48
49
50 checkincludes:
51 -find * $(RCS_FIND_IGNORE) \
52 -name '*.[hcS]' -type f -print | sort -u \
53 | xargs $(top_srcdir)/tools/checkincludes.pl
54
55
56 ENABLE_ALL = --enable-static-programs \
57 --enable-elvtune --enable-init --enable-kill --enable-last \
58 --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
59 --enable-login-utils --enable-write --enable-arch --enable-mount
60 DISTCHECK_CONFIGURE_FLAGS = --disable-use-tty-group $(ENABLE_ALL)