forked from vusec/vuzzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (28 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##############################################################
#
# DO NOT EDIT THIS FILE!
#
##############################################################
# If the tool is built out of the kit, PIN_ROOT must be specified in the make invocation and point to the kit root.
ifdef PIN_ROOT
CONFIG_ROOT := $(PIN_ROOT)/source/tools/Config
$(info ## Using Pin from: $$PIN_ROOT ($(PIN_ROOT)).)
else
PIN_ROOT := ./pin
CONFIG_ROOT := $(PIN_ROOT)/source/tools/Config
$(info ## Using local Pin ($(PIN_ROOT)).)
endif
include $(CONFIG_ROOT)/makefile.config
include Makefile.rules
ifeq ($(wildcard $(TOOLS_ROOT)/Config/makefile.default.rules),)
$(warning Cannot include makefile.default.rules. This is caused because Pin assumes our code is located under PIN_ROOT. Fix this by running:)
$(warning sed -i.bak 's/PIN_ROOT :=/PIN_ROOT ?=/' "$(CONFIG_ROOT)/makefile.unix.config")
$(error Aborting)
else
include $(TOOLS_ROOT)/Config/makefile.default.rules
endif
##############################################################
#
# DO NOT EDIT THIS FILE!
#
##############################################################