]> git.saurik.com Git - apple/shell_cmds.git/blame - w/Makefile
shell_cmds-118.tar.gz
[apple/shell_cmds.git] / w / Makefile
CommitLineData
41a2c555
A
1Project = w
2Install_Dir = /usr/bin
44bd5ea7
A
3
4HFILES = extern.h
44bd5ea7 5CFILES = fmt.c proc_compare.c pr_time.c w.c
41a2c555 6MANPAGES = uptime.1 w.1
44bd5ea7 7
41a2c555 8Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
44bd5ea7 9
41a2c555
A
10Extra_CC_Flags = -Wall -mdynamic-no-pic \
11 -no-cpp-precomp -Wno-error -DHAVE_KVM=0 -DHAVE_UTMPX=1
12Extra_LD_Flags = -dead_strip
13ifeq ($(Embedded),NO)
14Extra_LD_Flags += -lresolv
15endif
44bd5ea7 16
41a2c555 17include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
44bd5ea7 18
41a2c555
A
19after_install:
20 $(LN) $(DSTROOT)/$(Install_Dir)/w $(DSTROOT)/$(Install_Dir)/uptime