]>
Commit | Line | Data |
---|---|---|
916eb79e A |
1 | Project = dynamic_pager |
2 | Install_Dir = /sbin | |
1815bff5 A |
3 | |
4 | CFILES = dynamic_pager.c | |
916eb79e A |
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 | |
10 | ||
ef8ad44b A |
11 | Extra_CC_Flags = -mdynamic-no-pic -Wall -Werror |
12 | Extra_LD_Flags = -dead_strip | |
916eb79e | 13 | |
ef8ad44b A |
14 | Extra_CC_Flags += -DNO_DIRECT_RPC |
15 | ||
16 | Extra_Frameworks += -framework CoreFoundation -framework IOKit | |
17 | Extra_MIG_Flags = -R -untyped -DNO_DIRECT_RPC | |
916eb79e A |
18 | |
19 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make | |
20 | ||
21 | Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) | |
ef8ad44b | 22 | |
916eb79e A |
23 | after_install: |
24 | ifeq "$(Embedded)" "YES" | |
25 | /usr/libexec/PlistBuddy -x \ | |
26 | -c "Add :Disabled bool true" \ | |
27 | "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist" | |
28 | endif | |
ef8ad44b | 29 | plutil -convert binary1 "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist" |