additional Darwin flags that I guess should be used at all times
[MKUltra.git] / mku-defs.Linux
blob07963c6d06c83917b6603a8be8e4a4f61a8357db
1 # -*- Mode: makefile; -*- #
3 so_ext := so
4 so_sfx := .$(so_ext)
5 so_pfx := lib
7 o_ext := o
8 o_sfx := .$(o_ext)
10 exe_ext :=
11 exe_sfx :=
13 pkg_config_path := /usr/lib64/pkgconfig
15 boost_mt :=
17 CXXFLAGS += -fPIC
19 LDFLAGS += -Wl,-rpath=.
21 ifeq (JAVA,$(JAVA))
22 JAVA_HOME ?= /usr/lib/jvm/java-1.8.0-openjdk
23 jvmdir = $(JAVA_HOME)/jre/lib/amd64/server
25 CXXFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
26 LDFLAGS += -L$(jvmdir) -Wl,-rpath,$(jvmdir)
27 LDLIBS += -ljvm
28 endif