WIP FPC-III support
[linux/fpc-iii.git] / tools / perf / jvmti / Build
blob202cadaaf097bdbb0135bca174f7fa92bf208aa9
1 jvmti-y += libjvmti.o
2 jvmti-y += jvmti_agent.o
4 # For strlcpy
5 jvmti-y += libstring.o libctype.o
7 CFLAGS_jvmti         = -fPIC -DPIC -I$(JDIR)/include -I$(JDIR)/include/linux
8 CFLAGS_REMOVE_jvmti  = -Wmissing-declarations
9 CFLAGS_REMOVE_jvmti += -Wstrict-prototypes
10 CFLAGS_REMOVE_jvmti += -Wextra
11 CFLAGS_REMOVE_jvmti += -Wwrite-strings
13 CFLAGS_libstring.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
15 $(OUTPUT)jvmti/libstring.o: ../lib/string.c FORCE
16         $(call rule_mkdir)
17         $(call if_changed_dep,cc_o_c)
19 $(OUTPUT)jvmti/libctype.o: ../lib/ctype.c FORCE
20         $(call rule_mkdir)
21         $(call if_changed_dep,cc_o_c)