]> git.saurik.com Git - apple/system_cmds.git/blame_incremental - dynamic_pager.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / Makefile
... / ...
CommitLineData
1Project = dynamic_pager
2Install_Dir = /sbin
3
4CFILES = dynamic_pager.c
5SERVERDEFS = default_pager_alerts.defs \
6 backing_store_triggers.defs
7USERDEFS = backing_store_alerts.defs
8MANPAGES = dynamic_pager.8
9LAUNCHD_PLISTS = com.apple.dynamic_pager.plist
10
11Extra_CC_Flags = -mdynamic-no-pic -Wall -Werror
12Extra_LD_Flags = -dead_strip
13
14Extra_CC_Flags += -DNO_DIRECT_RPC
15
16Extra_Frameworks += -framework CoreFoundation -framework IOKit
17Extra_MIG_Flags = -R -untyped -DNO_DIRECT_RPC
18
19include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
20
21Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
22
23after_install:
24ifeq "$(Embedded)" "YES"
25 /usr/libexec/PlistBuddy -x \
26 -c "Add :Disabled bool true" \
27 "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"
28endif
29 plutil -convert binary1 "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"