summaryrefslogtreecommitdiff
path: root/schedutils/Makefile.am
blob: dc33175376f688611b8432a70a5344ff9479e2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include $(top_srcdir)/config/include-Makefile.am

if BUILD_SCHEDUTILS

srcs_common = $(top_srcdir)/lib/strutils.c

usrbin_exec_PROGRAMS = chrt
dist_man_MANS = chrt.1

chrt_SOURCES = chrt.c $(srcs_common)

if HAVE_IOPRIO_GET
if HAVE_IOPRIO_SET
usrbin_exec_PROGRAMS += ionice
ionice_SOURCES = ionice.c $(srcs_common)
dist_man_MANS += ionice.1
endif
endif

if HAVE_SCHED_GETAFFINITY
usrbin_exec_PROGRAMS += taskset
taskset_SOURCES = taskset.c $(top_srcdir)/lib/cpuset.c $(srcs_common)
dist_man_MANS += taskset.1
endif

endif