summaryrefslogtreecommitdiff
path: root/schedutils/Makefile.am
blob: 1a3debf795fe9ba9817f5c007dec5c367e4ff953 (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
27
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)
chrt_LDADD = -L$(top_builddir)/gnulib -lgnu

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