mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
58fb5ed722
OpenJDK version 9 for Genode, contains the interpreter version of the HotSpot virtual machine. fixes #2791
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
LIBS = libc
|
|
SHARED_LIB = yes
|
|
JDK_BASE = $(call select_from_ports,jdk)/src/app/jdk/jdk/src/java.base
|
|
JDK_GENERATED = $(call select_from_ports,jdk_generated)/src/app/jdk
|
|
|
|
SRC_C = bsd_close.c \
|
|
net_util.c \
|
|
net_util_md.c \
|
|
InetAddress.c \
|
|
Inet4Address.c \
|
|
Inet4AddressImpl.c \
|
|
Inet6Address.c \
|
|
InetAddressImplFactory.c \
|
|
PlainSocketImpl.c
|
|
|
|
INC_DIR += $(JDK_GENERATED)/include/java.base \
|
|
$(JDK_BASE)/share/native/include \
|
|
$(JDK_BASE)/share/native/libjava \
|
|
$(JDK_BASE)/share/native/libnet \
|
|
$(JDK_BASE)/share/native/libnio \
|
|
$(JDK_BASE)/share/native/libnio/ch \
|
|
$(JDK_BASE)/unix/native/include \
|
|
$(JDK_BASE)/unix/native/libjava \
|
|
$(JDK_BASE)/unix/native/libnet \
|
|
$(JDK_BASE)/unix/native/libnio
|
|
|
|
CC_C_OPT = -D_ALLBSD_SOURCE -include netinet/in.h
|
|
CC_OPT_net_util_md += -include sys/socket.h
|
|
|
|
vpath %.c $(JDK_BASE)/unix/native/libnet
|
|
vpath %.c $(JDK_BASE)/share/native/libnet
|
|
vpath %.c $(JDK_BASE)/macosx/native/libnet
|