]> git.saurik.com Git - apple/xnu.git/blob - osfmk/kern/template.mk
xnu-201.tar.gz
[apple/xnu.git] / osfmk / kern / template.mk
1 #
2 # @OSF_FREE_COPYRIGHT@
3 #
4 #
5 # HISTORY
6 #
7 # Revision 1.1.1.1 1998/09/22 21:05:32 wsanchez
8 # Import of Mac OS X kernel (~semeria)
9 #
10 # Revision 1.1.1.1 1998/03/07 02:25:56 wsanchez
11 # Import of OSF Mach kernel (~mburg)
12 #
13 # Revision 1.1.4.1 1995/02/23 17:32:24 alanl
14 # Taken from DIPC2_SHARED. Add -X to MIG ala norma/template.mk
15 # [1995/02/22 20:46:31 alanl]
16 #
17 # Revision 1.1.2.1 1994/08/04 02:26:22 mmp
18 # Initial revision: NORMA_TASK split out from NORMA_INTERNAL and
19 # moved here from norma/template.mk.
20 # [1994/08/03 20:29:11 mmp]
21 #
22 # $EndLog$
23
24 VPATH = ..:../..
25
26 MIGFLAGS = -MD ${IDENT} -X
27 MIGKSFLAGS = -DKERNEL_SERVER
28 MIGKUFLAGS = -DKERNEL_USER
29
30 NORMA_TASK_FILES = \
31 norma_task_server.h \
32 norma_task_server.c
33
34 NORMA_TASK_USER_FILES = \
35 norma_task.h \
36 norma_task_user.c
37
38 OTHERS = ${NORMA_TASK_FILES} ${NORMA_TASK_USER_FILES}
39
40 INCFLAGS = -I.. -I../..
41 MDINCFLAGS = -I.. -I../..
42
43 DEPENDENCIES =
44
45 .include <${RULES_MK}>
46
47 .ORDER: ${NORMA_TASK_FILES}
48
49 ${NORMA_TASK_FILES}: kern/norma_task.defs
50 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
51 -header /dev/null \
52 -user /dev/null \
53 -sheader norma_task_server.h \
54 -server norma_task_server.c \
55 ${kern/norma_task.defs:P}
56
57 .ORDER: ${NORMA_TASK_USER_FILES}
58
59 ${NORMA_TASK_USER_FILES}: kern/norma_task.defs
60 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
61 -header norma_task.h \
62 -user norma_task_user.c \
63 -server /dev/null \
64 ${kern/norma_task.defs:P}
65
66 .if exists(depend.mk)
67 .include "depend.mk"
68 .endif