]> git.saurik.com Git - apple/xnu.git/blob - osfmk/UserNotification/Makefile
xnu-344.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 =
34
35 INSTALL_MI_LCL_LIST = ${DATAFILES}
36
37 INSTALL_MI_GEN_LIST =
38
39 INSTALL_MI_DIR = UserNotification
40
41 EXPORT_MI_LIST = \
42 KUNCUserNotifications.h \
43 ${DATAFILES}
44
45 EXPORT_MI_GEN_LIST =
46
47 EXPORT_MI_DIR = UserNotification
48
49 #
50 # Build path
51 #
52 INCFLAGS_MAKEFILE= -I..
53
54 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
55 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
56
57 MIG_KUHDRS = \
58 UNDRequest.h
59
60 MIG_KUSRC = \
61 UNDRequest.c
62
63 MIG_KSHDRS = \
64 UNDReplyServer.h
65
66 MIG_KSSRC = \
67 UNDReplyServer.c
68
69 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
70
71 ${COMP_FILES} : ${MIG_TYPES}
72
73 ${MIG_KUSRC} : \
74 %.c : %.defs
75 ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
76 -user $*.c \
77 -header $*.h \
78 -server /dev/null \
79 -sheader /dev/null \
80 $<
81
82 ${MIG_KSSRC}: \
83 %Server.c : %.defs
84 ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
85 -user /dev/null \
86 -header /dev/null \
87 -server $*Server.c \
88 -sheader $*Server.h \
89 $<
90
91
92 include $(MakeInc_rule)
93 include $(MakeInc_dir)