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