]> git.saurik.com Git - apple/xnu.git/blob - osfmk/default_pager/Makefile.template
xnu-201.tar.gz
[apple/xnu.git] / osfmk / default_pager / Makefile.template
1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6
7 include $(MakeInc_cmd)
8 include $(MakeInc_def)
9
10 MIGKSFLAGS = -DKERNEL_SERVER
11 MIGKUFLAGS = -DKERNEL_USER -maxonstack 1024
12
13 DEFAULT_PAGER_FILES = default_pager_object_server.h default_pager_object_server.c
14
15 DEFAULT_PAGER_ALERTS = default_pager_alerts.h default_pager_alerts.c
16
17
18 OTHERS = ${DEFAULT_PAGER_FILES} ${DEFAULT_PAGER_ALERTS}
19
20 .ORDER: ${DEFAULT_PAGER_FILES} ${DEFAULT_PAGER_ALERTS}
21
22 ${DEFAULT_PAGER_FILES}: default_pager_object.defs
23 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
24 -header /dev/null \
25 -user /dev/null \
26 -sheader default_pager_object_server.h \
27 -server default_pager_object_server.c \
28 $<
29
30 ${DEFAULT_PAGER_ALERTS}: default_pager_alerts.defs
31 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
32 -header default_pager_alerts.h \
33 -user default_pager_alerts.c \
34 -sheader /dev/null \
35 -server /dev/null \
36 $<
37
38
39
40 include $(MakeInc_rule)
41 include $(MakeInc_dir)
42
43