]> git.saurik.com Git - apple/xnu.git/blame - osfmk/UserNotification/Makefile
xnu-2422.1.72.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
1c79356b
A
9MIG_TYPES = \
10 UNDTypes.defs
11
12MIG_DEFS = \
13 UNDRequest.defs \
14 UNDReply.defs
15
16DATAFILES = \
17 UNDTypes.h \
18 ${MIG_TYPES} \
19 ${MIG_DEFS}
20
9bccf70c
A
21INSTALL_MI_LIST =
22
23INSTALL_MI_LCL_LIST = ${DATAFILES}
1c79356b
A
24
25INSTALL_MI_GEN_LIST =
26
27INSTALL_MI_DIR = UserNotification
28
29EXPORT_MI_LIST = \
30 KUNCUserNotifications.h \
31 ${DATAFILES}
32
33EXPORT_MI_GEN_LIST =
34
35EXPORT_MI_DIR = UserNotification
36
37#
38# Build path
39#
40INCFLAGS_MAKEFILE= -I..
41
42MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
43MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
44
45MIG_KUHDRS = \
46 UNDRequest.h
47
48MIG_KUSRC = \
49 UNDRequest.c
50
51MIG_KSHDRS = \
52 UNDReplyServer.h
53
54MIG_KSSRC = \
55 UNDReplyServer.c
56
57COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
58
39236c6e
A
59do_build_all:: $(COMP_FILES)
60
1c79356b 61${COMP_FILES} : ${MIG_TYPES}
39236c6e 62
1c79356b
A
63${MIG_KUSRC} : \
64 %.c : %.defs
2d21ac55
A
65 @echo MIG $@
66 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
1c79356b
A
67 -user $*.c \
68 -header $*.h \
69 -server /dev/null \
70 -sheader /dev/null \
71 $<
72
73${MIG_KSSRC}: \
74 %Server.c : %.defs
2d21ac55
A
75 @echo MIG $@
76 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
1c79356b
A
77 -user /dev/null \
78 -header /dev/null \
79 -server $*Server.c \
80 -sheader $*Server.h \
81 $<
82
1c79356b
A
83include $(MakeInc_rule)
84include $(MakeInc_dir)