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