]> git.saurik.com Git - apple/xnu.git/blame - iokit/User/Makefile
xnu-344.2.tar.gz
[apple/xnu.git] / iokit / User / 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
6
7include $(MakeInc_cmd)
8include $(MakeInc_def)
9
10COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
11
12do_all:
13 @echo "[ $(SOURCE) ] Starting do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
14 ($(MKDIR) $(COMPOBJROOT)/User; \
15 cd $(COMPOBJROOT)/User; \
16 ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \
17 TARGET=$(TARGET) \
18 do_build_all \
19 ); \
20 echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
21
22
23do_build_all: do_all
24
25do_install:
26 @echo "[ $(SOURCE) ] Starting do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
27 ($(MKDIR) $(COMPOBJROOT)/User; \
28 cd $(COMPOBJROOT)/User; \
29 ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \
30 TARGET=$(TARGET) \
31 do_build_install \
32 ); \
33 echo "[ $(SOURCE) ] Returning do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
34
35do_build_install: do_install
36
37include $(MakeInc_rule)
38include $(MakeInc_dir)