]> git.saurik.com Git - apple/xnu.git/blame - bsd/dev/dtrace/scripts/Makefile
xnu-3247.1.106.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / scripts / Makefile
CommitLineData
39236c6e
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
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
9INSTALL_DTRACE_SCRIPTS_LIST = \
10 darwin.d \
11 errno.d \
12 io.d \
13 ip.d \
14 regs_x86_64.d \
15 sched.d \
16 signal.d \
17 socket.d \
18 tcp.d \
19 unistd.d
20
3e170ce0 21ifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),)
39236c6e
A
22INSTALL_DTRACE_SCRIPTS_LIST += mptcp.d
23endif
24
25INSTALL_DTRACE_SCRIPTS_FILES = \
26 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_SCRIPTS_LIST))
27
28$(INSTALL_DTRACE_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : %
29 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)
30 @echo INSTALL $(@F)
31 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
32
fe8ab488 33do_textfiles_install:: $(INSTALL_DTRACE_SCRIPTS_FILES)
39236c6e
A
34
35include $(MakeInc_rule)
36include $(MakeInc_dir)
37
38