2014-03-18 00:15:10 +01:00
|
|
|
CORE_OBJ_JAVA=core_java.o
|
|
|
|
|
2014-03-18 01:36:54 +01:00
|
|
|
#CORE_SHARED_JAVA=../../shlr/java/code.o
|
|
|
|
#CORE_SHARED_JAVA+=../../shlr/java/class.o
|
|
|
|
#CORE_SHARED_JAVA+=../../shlr/java/ops.o
|
2014-03-18 00:15:10 +01:00
|
|
|
|
|
|
|
CORE_SHARED2_JAVA=$(addprefix ../,${CORE_SHARED_JAVA})
|
2014-03-18 00:44:18 +01:00
|
|
|
CORE_OBJ_JAVA+=${CORE_SHARED2_JAVA}
|
|
|
|
CORE_SHARED2_JAVA=
|
2014-03-15 23:18:32 -05:00
|
|
|
|
2014-03-18 00:15:10 +01:00
|
|
|
STATIC_OBJ+=${CORE_OBJ_JAVA}
|
2014-03-18 00:44:18 +01:00
|
|
|
#SHARED_OBJ+=${CORE_OBJ_JAVA}
|
2014-03-18 00:15:10 +01:00
|
|
|
CORE_TARGET_JAVA=core_java.${EXT_SO}
|
2017-05-10 00:34:05 +02:00
|
|
|
LDFLAGS+=$(LINK)
|
2014-03-15 23:18:32 -05:00
|
|
|
|
2015-04-14 17:11:52 +02:00
|
|
|
ifeq ($(WITHPIC),1)
|
2014-03-18 00:15:10 +01:00
|
|
|
ALL_TARGETS+=${CORE_TARGET_JAVA}
|
2016-06-06 17:30:07 +02:00
|
|
|
DEPS+=r_crypto
|
2017-05-10 00:34:05 +02:00
|
|
|
include $(STOP)/java/deps.mk
|
2014-03-15 23:18:32 -05:00
|
|
|
|
2014-03-18 00:15:10 +01:00
|
|
|
${CORE_TARGET_JAVA}: ${CORE_OBJ_JAVA}
|
2017-05-10 00:34:05 +02:00
|
|
|
echo ${CORE_OBJ_JAVA}
|
|
|
|
${CC} $(call libname,core_java) ${CFLAGS} $(LDFLAGS) \
|
2014-03-18 00:05:44 +01:00
|
|
|
-o core_java.${EXT_SO} \
|
2016-06-06 17:30:07 +02:00
|
|
|
${CORE_OBJ_JAVA} ${CORE_SHARED2_JAVA} \
|
2017-05-10 00:34:05 +02:00
|
|
|
$(SHLR)/java/libr_java.$(EXT_AR) \
|
|
|
|
$(SHLR)/sdb/src/libsdb.$(EXT_AR) \
|
2016-06-06 17:30:07 +02:00
|
|
|
-L$(LIBR)/crypto -lr_crypto
|
2015-04-14 17:11:52 +02:00
|
|
|
endif
|