]> git.saurik.com Git - apple/xnu.git/blame - osfmk/UserNotification/Makefile
xnu-3789.1.32.tar.gz
[apple/xnu.git] / osfmk / UserNotification / Makefile
CommitLineData
1c79356b
A
1export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
1c79356b
A
9MIG_TYPES = \
10 UNDTypes.defs
11
12MIG_DEFS = \
13 UNDRequest.defs \
14 UNDReply.defs
15
3e170ce0 16PRIVATE_DATAFILES = \
1c79356b
A
17 UNDTypes.h \
18 ${MIG_TYPES} \
19 ${MIG_DEFS}
20
3e170ce0
A
21KERNELFILES = \
22 KUNCUserNotifications.h \
23 ${PRIVATE_DATAFILES}
9bccf70c 24
3e170ce0
A
25INSTALL_MI_LIST =
26INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
1c79356b
A
27
28INSTALL_MI_GEN_LIST =
29
30INSTALL_MI_DIR = UserNotification
31
3e170ce0 32EXPORT_MI_LIST = ${KERNELFILES}
1c79356b
A
33
34EXPORT_MI_GEN_LIST =
35
36EXPORT_MI_DIR = UserNotification
37
38#
39# Build path
39037602 40#
1c79356b
A
41INCFLAGS_MAKEFILE= -I..
42
43MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
44MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
45
46MIG_KUHDRS = \
47 UNDRequest.h
48
49MIG_KUSRC = \
50 UNDRequest.c
51
52MIG_KSHDRS = \
53 UNDReplyServer.h
54
55MIG_KSSRC = \
56 UNDReplyServer.c
57
39037602 58COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
1c79356b 59
39236c6e
A
60do_build_all:: $(COMP_FILES)
61
1c79356b 62${COMP_FILES} : ${MIG_TYPES}
39236c6e 63
1c79356b
A
64${MIG_KUSRC} : \
65 %.c : %.defs
39037602 66 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
2d21ac55 67 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
1c79356b
A
68 -user $*.c \
69 -header $*.h \
70 -server /dev/null \
71 -sheader /dev/null \
72 $<
73
74${MIG_KSSRC}: \
75 %Server.c : %.defs
39037602 76 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
2d21ac55 77 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
1c79356b
A
78 -user /dev/null \
79 -header /dev/null \
80 -server $*Server.c \
81 -sheader $*Server.h \
82 $<
83
1c79356b
A
84include $(MakeInc_rule)
85include $(MakeInc_dir)