summaryrefslogtreecommitdiffstats
path: root/tools/perf/jvmti/Build
blob: 1e148bbdf820f69efcd97fa07ec4befb993b1751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
jvmti-y += libjvmti.o
jvmti-y += jvmti_agent.o

# For strlcpy
jvmti-y += libstring.o

CFLAGS_jvmti         = -fPIC -DPIC -I$(JDIR)/include -I$(JDIR)/include/linux
CFLAGS_REMOVE_jvmti  = -Wmissing-declarations
CFLAGS_REMOVE_jvmti += -Wstrict-prototypes
CFLAGS_REMOVE_jvmti += -Wextra
CFLAGS_REMOVE_jvmti += -Wwrite-strings

CFLAGS_libstring.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"

$(OUTPUT)jvmti/libstring.o: ../lib/string.c FORCE
	$(call rule_mkdir)
	$(call if_changed_dep,cc_o_c)