]> git.saurik.com Git - apple/system_cmds.git/blob - getty.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / getty.tproj / Makefile
1 Project = getty
2 Install_Dir = /usr/libexec
3
4 HFILES = extern.h gettytab.h pathnames.h
5 CFILES = chat.c init.c main.c subr.c
6 MANPAGES = getty.8 gettytab.5 ttys.5
7
8 Embedded = $(shell tconf --test TARGET_OS_EMBEDDED)
9 ifeq ($(Embedded),YES)
10 LAUNCHD_PLISTS = com.apple.getty.plist
11 endif
12
13 Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
14 Extra_LD_Flags = -dead_strip
15
16 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
17
18 ifeq ($(Embedded),YES)
19 after_install:
20 plutil -convert binary1 "$(DSTROOT)/System/Library/LaunchDaemons/$(LAUNCHD_PLISTS)"
21 endif