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