mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-28 00:16:55 +00:00
22 lines
459 B
Makefile
22 lines
459 B
Makefile
OBJ_JAVA=bin_java.o
|
|
|
|
SHARED2_JAVA=$(addprefix ../,${SHARED_JAVA})
|
|
|
|
STATIC_OBJ+=${OBJ_JAVA}
|
|
ifeq ($(WITHNONPIC),1)
|
|
STATIC_OBJ+=${SHARED2_JAVA}
|
|
endif
|
|
|
|
SHARED_OBJ+=${SHARED_JAVA}
|
|
TARGET_JAVA=bin_java.${EXT_SO}
|
|
|
|
ifeq ($(WITHPIC),1)
|
|
ALL_TARGETS+=${TARGET_JAVA}
|
|
|
|
${TARGET_JAVA}: ${OBJ_JAVA}
|
|
${CC} $(call libname,bin_java) ${CFLAGS} ${OBJ_JAVA} \
|
|
$(LINK) $(LDFLAGS) ${SHARED2_JAVA} \
|
|
${SHLR}/java/libr_java.${EXT_AR} \
|
|
${SHLR}/sdb/src/libsdb.${EXT_AR}
|
|
endif
|