Local netbeans changes, 11.3 and jdk location.
[zcl] / config.make.in
1
2 TARGET ?= linux-amd64
3
4 JAVA_HOME ?= /usr/local/jdk-13+33
5 JAVAFX_HOME ?= /home/notzed/src/jfx/build/sdk
6
7 JAVACFLAGS += -source 13
8 JAVACFLAGS += --add-exports jdk.incubator.foreign/jdk.incubator.foreign.unsafe=notzed.zcl
9
10 JAVA ?= $(JAVA_HOME)/bin/java
11 JAVAC ?= $(JAVA_HOME)/bin/javac
12 JAR ?= $(JAVA_HOME)/bin/jar
13 JMOD ?= $(JAVA_HOME)/bin/jmod
14
15 # Linux options
16 linux-amd64_CPPFLAGS = \
17         -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
18 linux-amd64_CFLAGS = -fPIC -Os -Wall
19 linux-amd64_CC = cc
20 linux-amd64_LD = ld
21
22 linux-amd64_SO = .so
23 linux-amd64_LIB = lib
24
25 # Windows options
26 windows-amd64_CPPFLAGS = \
27         -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
28         -DHAVE_ALIGNED_MALLOC \
29         -DWIN32
30 windows-amd64_CFLAGS = -Os -Wall
31 windows-amd64_CC = x86_64-w64-mingw32-gcc
32 windows-amd64_LD = x86_64-w64-mingw32-ld
33 windows-amd64_LDFLAGS = -Wl,--subsystem,windows
34
35 windows-amd64_SO = .dll
36 windows-amd64_LIB =