Bump to jdk 13.
[nativez] / config.make
1
2 TARGET ?= linux-amd64
3
4 JAVA_HOME ?= /usr/local/jdk-11.0.2
5 JAVAFX_HOME ?= /usr/local/javafx-sdk-11.0.2
6 FFMPEG_HOME ?= /opt/ffmpeg/4.0
7
8 JAVAC ?= javac
9 JAR ?= jar
10 JMOD ?= jmod
11
12 JAVACFLAGS += -source 11
13
14 # Linux options
15 linux-amd64_CPPFLAGS = \
16         -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
17 linux-amd64_CFLAGS = -fPIC -Os -Wall
18 linux-amd64_CC = cc
19 linux-amd64_LD = ld
20
21 linux-amd64_SO = .so
22 linux-amd64_LIB = lib
23
24 # Windows options
25 windows-amd64_CPPFLAGS = \
26         -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
27         -DHAVE_ALIGNED_MALLOC \
28         -DWIN32
29 windows-amd64_CFLAGS = -Os -Wall
30 windows-amd64_CC = x86_64-w64-mingw32-gcc
31 windows-amd64_LD = x86_64-w64-mingw32-ld
32 windows-amd64_LDFLAGS = -Wl,--subsystem,windows
33
34 windows-amd64_SO = .dll
35 windows-amd64_LIB =