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