]> git.saurik.com Git - apple/xnu.git/blob - iokit/User/Makefile
xnu-123.5.tar.gz
[apple/xnu.git] / iokit / User / Makefile
1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6
7 include $(MakeInc_cmd)
8 include $(MakeInc_def)
9
10 COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
11
12 do_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
23 do_build_all: do_all
24
25 do_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
35 do_build_install: do_install
36
37 include $(MakeInc_rule)
38 include $(MakeInc_dir)