]> git.saurik.com Git - apple/system_cmds.git/blob - reboot.tproj/Makefile
47332e7e3f08d4faf3ddf58ed39041a8123997b6
[apple/system_cmds.git] / reboot.tproj / Makefile
1 Project = reboot
2 Install_Dir = /sbin
3
4 CFILES = reboot.c
5 MANPAGES = reboot.8
6
7 Embedded = $(shell tconf --test TARGET_OS_EMBEDDED)
8 ifeq ($(Embedded),NO)
9 USERDEFS = kextmanager.defs
10 endif
11
12 Extra_CC_Flags = -Wall -Werror
13 Extra_LD_Flags = -dead_strip
14
15 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
16
17 after_install:
18 $(LN) -f $(DSTROOT)/$(Install_Dir)/reboot $(DSTROOT)$(Install_Dir)/halt
19 $(LN) -fs reboot.8 $(DSTROOT)/usr/share/man/man8/halt.8