1 Project = dynamic_pager
4 CFILES = dynamic_pager.c
5 SERVERDEFS = default_pager_alerts.defs \
6 backing_store_triggers.defs
7 USERDEFS = backing_store_alerts.defs
8 MANPAGES = dynamic_pager.8
9 LAUNCHD_PLISTS = com.apple.dynamic_pager.plist
11 Extra_CC_Flags = -no-cpp-precomp -DNO_DIRECT_RPC
13 Extra_LD_Flags = -framework CoreFoundation -framework IOKit
14 Extra_MIG_Flags = -no-cpp-precomp -R -untyped -DNO_DIRECT_RPC
16 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
18 Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
21 ifeq "$(Embedded)" "YES"
22 /usr/libexec/PlistBuddy -x \
23 -c "Add :Disabled bool true" \
24 "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"