]> git.ipfire.org Git - thirdparty/util-linux.git/blob - Makefile.am
build-sys: don't support external (e2fsprogs) libblkid
[thirdparty/util-linux.git] / Makefile.am
1 include $(top_srcdir)/config/include-Makefile.am
2
3 SHLIBS_DIRS =
4
5 if BUILD_LIBUUID
6 SHLIBS_DIRS += shlibs/uuid
7 endif
8
9 if BUILD_LIBBLKID
10 SHLIBS_DIRS += shlibs/blkid
11 endif
12
13 if BUILD_LIBMOUNT
14 SHLIBS_DIRS += shlibs/mount
15 endif
16
17 MAN_DIRS = man/ru
18
19 SUBDIRS = \
20 include \
21 disk-utils \
22 fdisk \
23 getopt \
24 lib \
25 $(SHLIBS_DIRS) \
26 $(MAN_DIRS) \
27 login-utils \
28 misc-utils \
29 po \
30 schedutils \
31 sys-utils \
32 term-utils \
33 text-utils \
34 tests
35
36
37 RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
38 -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
39
40 if BUILD_HWCLOCK
41 SUBDIRS += hwclock
42 endif
43
44 if LINUX
45 SUBDIRS += partx
46 endif
47
48 if BUILD_INIT
49 SUBDIRS += simpleinit
50 endif
51
52 if BUILD_MOUNT
53 SUBDIRS += mount
54 endif
55
56 if BUILD_FSCK
57 SUBDIRS += fsck
58 endif
59
60 ACLOCAL_AMFLAGS = -I m4
61
62 EXTRA_DIST = \
63 autogen.sh \
64 README.devel \
65 README.licensing \
66 DEPRECATED \
67 licenses \
68 example.files \
69 po/update-potfiles \
70 tools \
71 docs
72
73
74 distclean-local:
75 -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
76 rm -rf autom4te.cache
77
78
79 checkincludes:
80 @find * $(RCS_FIND_IGNORE) \
81 -name '*.[hcS]' -type f -print | sort -u \
82 | xargs $(top_srcdir)/tools/checkincludes.pl
83
84 checkconfig:
85 @find * $(RCS_FIND_IGNORE) \
86 -name '*.[hcS]' -type f -print | sort -u \
87 | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
88
89
90 ENABLE_ALL = --enable-static-programs \
91 --enable-elvtune --enable-init --enable-kill --enable-last \
92 --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
93 --enable-login-utils --enable-write --enable-arch --enable-mount
94
95 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group $(ENABLE_ALL)