]> git.saurik.com Git - apple/xnu.git/blame - iokit/User/Makefile
xnu-2050.48.11.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
2d21ac55
A
10ifneq ($(MACHINE_CONFIG), DEFAULT)
11export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)
12else
13export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
14endif
1c79356b
A
15
16do_all:
17 @echo "[ $(SOURCE) ] Starting do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
18 ($(MKDIR) $(COMPOBJROOT)/User; \
19 cd $(COMPOBJROOT)/User; \
20 ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \
21 TARGET=$(TARGET) \
22 do_build_all \
23 ); \
24 echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
25
26
27do_build_all: do_all
28
29do_install:
30 @echo "[ $(SOURCE) ] Starting do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
31 ($(MKDIR) $(COMPOBJROOT)/User; \
32 cd $(COMPOBJROOT)/User; \
33 ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \
34 TARGET=$(TARGET) \
35 do_build_install \
36 ); \
37 echo "[ $(SOURCE) ] Returning do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
38
39do_build_install: do_install
40
41include $(MakeInc_rule)
42include $(MakeInc_dir)