1 include $(top_srcdir)/config/include-Makefile.am
10 sbin_PROGRAMS += agetty
16 sbin_PROGRAMS += simpleinit shutdown initctl
17 man_MANS += fastboot.8 fasthalt.8 halt.8 reboot.8 simpleinit.8 shutdown.8 \
22 simpleinit_LDADD = -lcrypt
28 usrbinexec_PROGRAMS += last
35 usrbinexec_PROGRAMS += chfn chsh
36 usrsbinexec_PROGRAMS += vipw
37 man_MANS += chfn.1 chsh.1 login.1 vipw.8 vigr.8
39 chfn_SOURCES = chfn.c islocal.c setpwnam.c
40 chsh_SOURCES = chsh.c islocal.c setpwnam.c
42 chfn_LDADD = ../lib/libenv.a
43 chsh_LDADD = ../lib/libenv.a
44 login_LDADD = ../lib/libsetproctitle.a
49 usrbinexec_PROGRAMS += newgrp
53 login_LDADD += -lcrypt
54 newgrp_LDADD += -lcrypt
58 chfn_LDADD += -lpam -lpam_misc
59 chsh_LDADD += -lpam -lpam_misc
60 login_LDADD += -lpam -lpam_misc
61 login_SOURCES = login.c
63 login_SOURCES = login.c checktty.c
68 chfn_SOURCES += selinux_utils.c
69 chfn_LDADD += -lselinux
70 chsh_SOURCES += selinux_utils.c
71 chsh_LDADD += -lselinux
72 vipw_LDADD += -lselinux
77 cd $(DESTDIR)$(usrsbinexecdir) && ln -sf vipw vigr
82 usrbinexec_PROGRAMS += mesg
88 usrbinexec_PROGRAMS += wall
89 wall_SOURCES = wall.c ttymsg.c
94 chgrp tty $(DESTDIR)$(usrbinexecdir)/wall
95 chmod g+s $(DESTDIR)$(usrbinexecdir)/wall
104 cd $(DESTDIR)$(sbindir) && ln -sf shutdown reboot
105 cd $(DESTDIR)$(sbindir) && ln -sf shutdown fastboot
106 cd $(DESTDIR)$(sbindir) && ln -sf shutdown halt
107 cd $(DESTDIR)$(sbindir) && ln -sf shutdown fasthalt
108 cd $(DESTDIR)$(sbindir) && ln -sf initctl need
109 cd $(DESTDIR)$(sbindir) && ln -sf initctl display-services
110 cd $(DESTDIR)$(sbindir) && ln -sf initctl provide
111 cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 need.8
112 cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 display-services.8
113 cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 provide.8