]> git.saurik.com Git - apple/xnu.git/blob - bsd/kern/Makefile
xnu-1699.22.73.tar.gz
[apple/xnu.git] / bsd / kern / 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 include $(MakeInc_cmd)
7 include $(MakeInc_def)
8
9 INSTALL_SHARE_MISC_LIST = \
10 trace.codes
11
12 include $(MakeInc_rule)
13 include $(MakeInc_dir)
14
15 SHARE_MISC_DIR = usr/share/misc
16
17 INSTALL_SHARE_MISC_FILES = \
18 $(addprefix $(DSTROOT)/$(SHARE_MISC_DIR)/, $(INSTALL_SHARE_MISC_LIST))
19
20 $(INSTALL_SHARE_MISC_FILES): $(DSTROOT)/$(SHARE_MISC_DIR)/% : %
21 @echo Installing $< in $(dir $@)
22 $(_v) $(MKDIR) $(DSTROOT)/$(SHARE_MISC_DIR); \
23 $(RM) $(RMFLAGS) $@; \
24 $(INSTALL) $(INSTALL_FLAGS) $< $(dir $@);
25
26 do_build_install: $(INSTALL_SHARE_MISC_FILES)