if BUILD_SCHEDUTILS

usrbin_exec_PROGRAMS += chrt
dist_man_MANS += schedutils/chrt.1
chrt_SOURCES = schedutils/chrt.c
chrt_LDADD = $(LDADD) libcommon.la

if BUILD_IONICE
usrbin_exec_PROGRAMS += ionice
dist_man_MANS += schedutils/ionice.1
ionice_SOURCES = schedutils/ionice.c
ionice_LDADD = $(LDADD) libcommon.la
endif

if BUILD_TASKSET
usrbin_exec_PROGRAMS += taskset
dist_man_MANS += schedutils/taskset.1
taskset_SOURCES = schedutils/taskset.c
taskset_LDADD = $(LDADD) libcommon.la
endif

endif # BUILD_SCHEDUTILS
