2006-12-06 17:26:54 -06:00
|
|
|
include $(top_srcdir)/config/include-Makefile.am
|
|
|
|
|
2010-07-28 15:40:04 -05:00
|
|
|
SHLIBS_DIRS =
|
|
|
|
|
|
|
|
if BUILD_LIBUUID
|
|
|
|
SHLIBS_DIRS += shlibs/uuid
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_LIBBLKID
|
|
|
|
SHLIBS_DIRS += shlibs/blkid
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_LIBMOUNT
|
|
|
|
SHLIBS_DIRS += shlibs/mount
|
|
|
|
endif
|
|
|
|
|
2010-10-21 08:00:47 -05:00
|
|
|
MAN_DIRS = man/ru
|
|
|
|
|
2007-05-15 13:46:08 -05:00
|
|
|
SUBDIRS = \
|
2007-01-03 15:20:44 -06:00
|
|
|
include \
|
2006-12-06 17:26:54 -06:00
|
|
|
disk-utils \
|
|
|
|
fdisk \
|
|
|
|
getopt \
|
2007-11-28 05:27:00 -06:00
|
|
|
lib \
|
2010-07-28 15:40:04 -05:00
|
|
|
$(SHLIBS_DIRS) \
|
2010-10-21 08:00:47 -05:00
|
|
|
$(MAN_DIRS) \
|
2006-12-06 17:26:54 -06:00
|
|
|
login-utils \
|
|
|
|
misc-utils \
|
|
|
|
po \
|
|
|
|
schedutils \
|
|
|
|
sys-utils \
|
2011-03-02 06:44:02 -06:00
|
|
|
term-utils \
|
2007-01-04 07:23:48 -06:00
|
|
|
text-utils \
|
|
|
|
tests
|
2006-12-06 17:26:54 -06:00
|
|
|
|
2008-11-26 05:42:35 -06:00
|
|
|
|
2011-02-26 08:37:20 -06:00
|
|
|
RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
|
2008-11-26 05:42:35 -06:00
|
|
|
-name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
|
|
|
|
|
2007-11-04 09:54:27 -06:00
|
|
|
if LINUX
|
|
|
|
SUBDIRS += \
|
|
|
|
hwclock \
|
|
|
|
partx
|
|
|
|
endif
|
|
|
|
|
2010-12-10 10:28:32 -06:00
|
|
|
if BUILD_INIT
|
|
|
|
SUBDIRS += simpleinit
|
|
|
|
endif
|
|
|
|
|
2008-11-14 10:40:25 -06:00
|
|
|
if BUILD_MOUNT
|
|
|
|
SUBDIRS += mount
|
|
|
|
endif
|
|
|
|
|
2009-02-18 08:06:49 -06:00
|
|
|
if BUILD_FSCK
|
2010-08-19 08:33:45 -05:00
|
|
|
if BUILD_LIBBLKID
|
2009-02-18 08:06:49 -06:00
|
|
|
SUBDIRS += fsck
|
|
|
|
endif
|
2010-08-19 08:33:45 -05:00
|
|
|
endif
|
2009-02-18 08:06:49 -06:00
|
|
|
|
2006-12-06 17:26:54 -06:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2007-05-15 13:46:28 -05:00
|
|
|
EXTRA_DIST = \
|
2007-01-04 04:57:07 -06:00
|
|
|
autogen.sh \
|
2007-05-15 13:46:27 -05:00
|
|
|
README.devel \
|
2007-08-14 05:27:55 -05:00
|
|
|
README.licensing \
|
2007-08-20 07:37:52 -05:00
|
|
|
DEPRECATED \
|
2007-07-26 08:21:50 -05:00
|
|
|
licenses \
|
|
|
|
example.files \
|
2007-06-15 03:17:51 -05:00
|
|
|
po/update-potfiles \
|
2007-07-03 16:16:13 -05:00
|
|
|
tools \
|
|
|
|
docs
|
2007-02-08 05:38:25 -06:00
|
|
|
|
2006-12-06 17:26:58 -06:00
|
|
|
|
|
|
|
distclean-local:
|
2007-05-15 13:46:30 -05:00
|
|
|
-find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
|
2006-12-06 17:26:58 -06:00
|
|
|
rm -rf autom4te.cache
|
2007-01-03 15:20:44 -06:00
|
|
|
|
2008-11-26 05:42:35 -06:00
|
|
|
|
|
|
|
checkincludes:
|
2008-11-26 06:42:16 -06:00
|
|
|
@find * $(RCS_FIND_IGNORE) \
|
2008-11-26 05:42:35 -06:00
|
|
|
-name '*.[hcS]' -type f -print | sort -u \
|
|
|
|
| xargs $(top_srcdir)/tools/checkincludes.pl
|
|
|
|
|
2008-11-26 06:42:16 -06:00
|
|
|
checkconfig:
|
|
|
|
@find * $(RCS_FIND_IGNORE) \
|
|
|
|
-name '*.[hcS]' -type f -print | sort -u \
|
|
|
|
| xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
|
|
|
|
|
2008-11-26 05:42:35 -06:00
|
|
|
|
2009-11-05 16:37:15 -06:00
|
|
|
ENABLE_ALL = --enable-static-programs \
|
2007-12-11 11:47:34 -06:00
|
|
|
--enable-elvtune --enable-init --enable-kill --enable-last \
|
2007-05-15 13:46:23 -05:00
|
|
|
--enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
|
2008-11-14 10:40:25 -06:00
|
|
|
--enable-login-utils --enable-write --enable-arch --enable-mount
|
2009-09-16 14:25:38 -05:00
|
|
|
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group $(ENABLE_ALL)
|