build-sys: move BUILD_SCHEDUTILS to top-level Makefile

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-06-20 13:51:26 +02:00
parent 85d5acb8d2
commit 58a111bdb2
2 changed files with 4 additions and 5 deletions

View File

@ -27,7 +27,6 @@ SUBDIRS = \
login-utils \
misc-utils \
po \
schedutils \
sys-utils \
term-utils \
text-utils \
@ -53,6 +52,10 @@ if BUILD_FSCK
SUBDIRS += fsck
endif
if BUILD_SCHEDUTILS
SUBDIRS += schedutils
endif
AUTOMAKE_OPTIONS = gnu
ACLOCAL_AMFLAGS = -I m4

View File

@ -1,7 +1,5 @@
include $(top_srcdir)/config/include-Makefile.am
if BUILD_SCHEDUTILS
srcs_common = $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/procutils.c
usrbin_exec_PROGRAMS = chrt
@ -22,5 +20,3 @@ usrbin_exec_PROGRAMS += taskset
taskset_SOURCES = taskset.c $(top_srcdir)/lib/cpuset.c $(srcs_common)
dist_man_MANS += taskset.1
endif
endif