2016-11-02 21:35:49 +08:00
|
|
|
jvmti-y += libjvmti.o
|
|
|
|
jvmti-y += jvmti_agent.o
|
|
|
|
|
2019-09-03 02:37:21 +08:00
|
|
|
# For strlcpy
|
2019-10-08 17:38:41 +08:00
|
|
|
jvmti-y += libstring.o libctype.o
|
2019-09-03 02:37:21 +08:00
|
|
|
|
2016-11-02 21:35:49 +08:00
|
|
|
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
|
2019-09-03 02:37:21 +08:00
|
|
|
|
|
|
|
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)
|
2019-10-08 17:38:41 +08:00
|
|
|
|
|
|
|
$(OUTPUT)jvmti/libctype.o: ../lib/ctype.c FORCE
|
|
|
|
$(call rule_mkdir)
|
|
|
|
$(call if_changed_dep,cc_o_c)
|