]> git.saurik.com Git - apple/system_cmds.git/blame - dynamic_pager.tproj/Makefile
system_cmds-433.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / Makefile
CommitLineData
916eb79e
A
1Project = dynamic_pager
2Install_Dir = /sbin
1815bff5
A
3
4CFILES = dynamic_pager.c
916eb79e
A
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 = -no-cpp-precomp -DNO_DIRECT_RPC
12
13Extra_LD_Flags = -framework CoreFoundation -framework IOKit
14Extra_MIG_Flags = -no-cpp-precomp -R -untyped -DNO_DIRECT_RPC
15
16include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
17
18Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
19
20after_install:
21ifeq "$(Embedded)" "YES"
22 /usr/libexec/PlistBuddy -x \
23 -c "Add :Disabled bool true" \
24 "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"
25endif