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