]> git.saurik.com Git - apple/xnu.git/blame - osfmk/UserNotification/Makefile
xnu-344.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
9bccf70c
A
33INSTALL_MI_LIST =
34
35INSTALL_MI_LCL_LIST = ${DATAFILES}
1c79356b
A
36
37INSTALL_MI_GEN_LIST =
38
39INSTALL_MI_DIR = UserNotification
40
41EXPORT_MI_LIST = \
42 KUNCUserNotifications.h \
43 ${DATAFILES}
44
45EXPORT_MI_GEN_LIST =
46
47EXPORT_MI_DIR = UserNotification
48
49#
50# Build path
51#
52INCFLAGS_MAKEFILE= -I..
53
54MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
55MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
56
57MIG_KUHDRS = \
58 UNDRequest.h
59
60MIG_KUSRC = \
61 UNDRequest.c
62
63MIG_KSHDRS = \
64 UNDReplyServer.h
65
66MIG_KSSRC = \
67 UNDReplyServer.c
68
69COMP_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
92include $(MakeInc_rule)
93include $(MakeInc_dir)