blob: 8c837e8f24dae1deed4c0ca33aa5f5cdaeb2fd89 (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
include $(top_srcdir)/config/include-Makefile.am
bin_PROGRAMS =
if LINUX
bin_PROGRAMS += dmesg
endif
usrbinexec_PROGRAMS = flock ipcrm ipcs renice setsid
if LINUX
usrbinexec_PROGRAMS += cytune setarch
endif
cytune_SOURCES = cytune.c cyclades.h
if LINUX
sbin_PROGRAMS = ctrlaltdel
endif
usrsbinexec_PROGRAMS = readprofile
if LINUX
usrsbinexec_PROGRAMS += tunelp rtcwake
endif
tunelp_SOURCES = tunelp.c lp.h
dist_man_MANS = flock.1 readprofile.1 \
ctrlaltdel.8 cytune.8 dmesg.1 ipcrm.1 ipcs.1 renice.1 \
setsid.1 tunelp.8 setarch.8 rtcwake.8
info_TEXINFOS = ipc.texi
if BUILD_ARCH
bin_PROGRAMS += arch
dist_man_MANS += arch.1
endif
RDEV_LINKS =
if BUILD_RDEV
usrsbinexec_PROGRAMS += rdev
RDEV_LINKS += ramsize vidmode rootflags
dist_man_MANS += rdev.8
endif
SETARCH_LINKS = linux32 linux64
if ARCH_S390
SETARCH_LINKS += s390 s390x
endif
if ARCH_I86
SETARCH_LINKS += i386
endif
if ARCH_86_64
SETARCH_LINKS += i386 x86_64
endif
if ARCH_PPC
SETARCH_LINKS += ppc ppc64 ppc32
endif
if ARCH_SPARC
SETARCH_LINKS += sparc sparc64 sparc32 sparc32bash
endif
if ARCH_MIPS
SETARCH_LINKS += mips mips64 mips32
endif
if ARCH_IA64
SETARCH_LINKS += i386 ia64
endif
if ARCH_HPPA
SETARCH_LINKS += parisc parisc64 parisc32
endif
RDEV_MAN_LINKS = $(RDEV_LINKS:=.8)
SETARCH_MAN_LINKS = $(SETARCH_LINKS:=.8)
man_MANS = $(RDEV_MAN_LINKS) $(SETARCH_MAN_LINKS)
CLEANFILES = $(man_MANS)
$(RDEV_MAN_LINKS): rdev.8
echo ".so rdev.8" > $@
$(SETARCH_MAN_LINKS): setarch.8
echo ".so setarch.8" > $@
install-exec-hook:
for I in $(RDEV_LINKS); do \
cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev $$I ; \
done
for I in $(SETARCH_LINKS); do \
cd $(DESTDIR)$(usrbinexecdir) && ln -sf setarch $$I ; \
done
uninstall-hook:
for I in $(RDEV_LINKS); do \
rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \
done
for I in $(SETARCH_LINKS); do \
rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \
done
|