4 specific (prop:windows) {
5 link_options += /EXPORT:main
9 no_hidden_visibility = 1
12 verbatim (gnuace, top) {
13 no_hidden_visibility = 1
16 verbatim (make, macros) {
17 ifeq ($(shell uname -s), Darwin)
18 CPPFLAGS += -DTARGET_MAC
19 LDFLAGS += -lpindwarf -lpinpthread -Wl,-exported_symbols_list -Wl,$(PIN_ROOT)/source/include/pin/pintool.exp
22 CPPFLAGS += -DTARGET_LINUX
23 LDLIBS += -ldwarf -lelf
24 LDFLAGS += -Wl,-Bsymbolic -Wl,--version-script=$(PIN_ROOT)/source/include/pin/pintool.ver
28 verbatim (gnuace, macros) {
29 ifeq ($(shell uname -s), Darwin)
30 CPPFLAGS += -DTARGET_MAC
31 LDFLAGS += -lpindwarf -lpinpthread -Wl,-exported_symbols_list -Wl,$(PIN_ROOT)/source/include/pin/pintool.exp
34 CPPFLAGS += -DTARGET_LINUX -Wl,--hash-style=sysv
36 LDFLAGS += -Wl,-Bsymbolic -Wl,--version-script=$(PIN_ROOT)/source/include/pin/pintool.ver
43 link_options += /ENTRY:Ptrace_DllMainCRTStartup@12
46 specific (vc10, vc11, vc12) {
47 EntryPointSymbol = Ptrace_DllMainCRTStartup@12
53 link_options += /ENTRY:Ptrace_DllMainCRTStartup
56 specific (vc10, vc11, vc12) {
57 EntryPointSymbol = Ptrace_DllMainCRTStartup