blob: df7f3899304ba86d7e76bb163f3223dcdc7baa04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Common settings for flow native build
# =====================================
# Name of the library to produce
#
NAME=flow
# Library versions
#
MAJOR=3# public API changes
MINOR=0# backwards-compatible changes
MICRO=0# bugfixes
# Directory where the library will be installed (without /lib)
#
PREFIX?=/usr/lib/jni
# Compiler and linker settings
#
# Set CROSS_COMPILE to a gcc triplet
# when cross-compiling
#
CC=$(CROSS_COMPILE)gcc
LD=$(CROSS_COMPILE)ld
CFLAGS= -O2 -fPIC -Wall
LDFLAGS=
# JNI include directory
#
JNI_INCLUDE?=$(JAVA_HOME)/include
# Include directories
#
INCLUDES=./include
# Objects that will be compiled from respective .c files
#
OBJECTS=flow_jni.o posix/flow.o
|