]> git.saurik.com Git - apple/xnu.git/blob - osfmk/UserNotification/Makefile
xnu-123.5.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 INSTINC_SUBDIRS =
10
11 INSTINC_SUBDIRS_PPC =
12
13 INSTINC_SUBDIRS_I386 =
14
15 EXPINC_SUBDIRS =
16
17 EXPINC_SUBDIRS_PPC =
18
19 EXPINC_SUBDIRS_I386 =
20
21 MIG_TYPES = \
22 UNDTypes.defs
23
24 MIG_DEFS = \
25 UNDRequest.defs \
26 UNDReply.defs
27
28 DATAFILES = \
29 UNDTypes.h \
30 ${MIG_TYPES} \
31 ${MIG_DEFS}
32
33 INSTALL_MI_LIST = ${DATAFILES}
34
35 INSTALL_MI_GEN_LIST =
36
37 INSTALL_MI_DIR = UserNotification
38
39 EXPORT_MI_LIST = \
40 KUNCUserNotifications.h \
41 ${DATAFILES}
42
43 EXPORT_MI_GEN_LIST =
44
45 EXPORT_MI_DIR = UserNotification
46
47 #
48 # Build path
49 #
50 INCFLAGS_MAKEFILE= -I..
51
52 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
53 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
54
55 MIG_KUHDRS = \
56 UNDRequest.h
57
58 MIG_KUSRC = \
59 UNDRequest.c
60
61 MIG_KSHDRS = \
62 UNDReplyServer.h
63
64 MIG_KSSRC = \
65 UNDReplyServer.c
66
67 COMP_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
90 include $(MakeInc_rule)
91 include $(MakeInc_dir)