]>
Commit | Line | Data |
---|---|---|
39236c6e A |
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_DTRACE_SCRIPTS_LIST = \ | |
10 | darwin.d \ | |
11 | errno.d \ | |
12 | io.d \ | |
13 | ip.d \ | |
39236c6e A |
14 | sched.d \ |
15 | signal.d \ | |
16 | socket.d \ | |
17 | tcp.d \ | |
18 | unistd.d | |
19 | ||
39037602 A |
20 | INSTALL_DTRACE_LIBEXEC_LIST = \ |
21 | log_unnest_badness.d | |
22 | ||
3e170ce0 | 23 | ifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) |
39236c6e A |
24 | INSTALL_DTRACE_SCRIPTS_LIST += mptcp.d |
25 | endif | |
26 | ||
39037602 A |
27 | |
28 | ifeq ($(CURRENT_ARCH_CONFIG),ARM64) | |
29 | INSTALL_DTRACE_SCRIPTS_LIST += regs_arm64.d | |
30 | else ifeq ($(CURRENT_ARCH_CONFIG),ARM) | |
31 | INSTALL_DTRACE_SCRIPTS_LIST += regs_arm.d | |
32 | else | |
33 | INSTALL_DTRACE_SCRIPTS_LIST += regs_x86_64.d | |
34 | endif | |
35 | ||
39236c6e A |
36 | INSTALL_DTRACE_SCRIPTS_FILES = \ |
37 | $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_SCRIPTS_LIST)) | |
38 | ||
39 | $(INSTALL_DTRACE_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % | |
40 | $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) | |
41 | @echo INSTALL $(@F) | |
42 | $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ | |
43 | ||
39037602 A |
44 | INSTALL_DTRACE_LIBEXEC_FILES = \ |
45 | $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) | |
39236c6e | 46 | |
39037602 A |
47 | $(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % |
48 | $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) | |
49 | @echo INSTALL $(@F) | |
50 | $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ | |
39236c6e | 51 | |
39037602 | 52 | do_textfiles_install:: $(INSTALL_DTRACE_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) |
39236c6e | 53 | |
39037602 A |
54 | include $(MakeInc_rule) |
55 | include $(MakeInc_dir) |