aboutsummaryrefslogtreecommitdiff
path: root/flow/src/main/native/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'flow/src/main/native/posix/Makefile')
-rw-r--r--flow/src/main/native/posix/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/flow/src/main/native/posix/Makefile b/flow/src/main/native/posix/Makefile
deleted file mode 100644
index 22338e5..0000000
--- a/flow/src/main/native/posix/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# Build native binaries for flow.
-# This makefile is intended for linux-based operating systems.
-
-TARGET?=libflow.so
-MAJOR_VERSION=2
-
-CC=$(CROSS_COMPILE)gcc
-CFLAGS= -O2 -fPIC -Wall
-LD=$(CROSS_COMPILE)ld
-LDFLAGS=-shared -Wl,-soname,$(TARGET).$(MAJOR_VERSION)
-INCLUDES?=../include/ /usr/lib/jvm/java-7-oracle/include/ /usr/lib/jvm/java-7-oracle/include/linux/
-
-OBJECTS=flow.o flow_jni.o
-
-all: $(TARGET)
-
-$(TARGET): $(OBJECTS)
- $(CC) $(LDFLAGS) -o $@ $^
-
-%.o: %.c
- $(CC) $(CFLAGS) $(addprefix -I, $(INCLUDES)) -o $@ -c $<
-
-clean:
- rm -f *.o
- rm -f *.so
-
-.PHONY: clean