]> git.saurik.com Git - apple/xnu.git/blame - osfmk/UserNotification/Makefile
xnu-1699.22.73.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
1c79356b
A
11INSTINC_SUBDIRS_I386 =
12
2d21ac55
A
13INSTINC_SUBDIRS_ARM =
14
1c79356b
A
15EXPINC_SUBDIRS =
16
1c79356b
A
17EXPINC_SUBDIRS_I386 =
18
2d21ac55
A
19EXPINC_SUBDIRS_ARM =
20
1c79356b
A
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
2d21ac55
A
75 @echo MIG $@
76 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
1c79356b
A
77 -user $*.c \
78 -header $*.h \
79 -server /dev/null \
80 -sheader /dev/null \
81 $<
82
83${MIG_KSSRC}: \
84 %Server.c : %.defs
2d21ac55
A
85 @echo MIG $@
86 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
1c79356b
A
87 -user /dev/null \
88 -header /dev/null \
89 -server $*Server.c \
90 -sheader $*Server.h \
91 $<
92
93
94include $(MakeInc_rule)
95include $(MakeInc_dir)