]> git.ipfire.org Git - thirdparty/util-linux.git/blob - schedutils/Makemodule.am
build-sys: convert schedutils/ to module
[thirdparty/util-linux.git] / schedutils / Makemodule.am
1 if BUILD_SCHEDUTILS
2
3 usrbin_exec_PROGRAMS += chrt
4 dist_man_MANS += schedutils/chrt.1
5
6 sched_common = \
7 lib/strutils.c \
8 lib/procutils.c
9
10 chrt_SOURCES = \
11 schedutils/chrt.c \
12 $(sched_common)
13
14 if BUILD_IONICE
15 usrbin_exec_PROGRAMS += ionice
16 ionice_SOURCES = \
17 schedutils/ionice.c \
18 $(sched_common)
19
20 dist_man_MANS += schedutils/ionice.1
21 endif
22
23 if BUILD_TASKSET
24 usrbin_exec_PROGRAMS += taskset
25 taskset_SOURCES = \
26 schedutils/taskset.c \
27 lib/cpuset.c \
28 $(sched_common)
29
30 dist_man_MANS += schedutils/taskset.1
31 endif
32
33 endif # BUILD_SCHEDUTILS