aboutsummaryrefslogtreecommitdiff
path: root/java/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-01 07:46:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-01 07:46:45 +0000
commit2a07626aa8dcf601eb575cac4c8817fa0e8e245e (patch)
tree997369d285ee134226b75c47e211296bb92e332b /java/Makefile
parent91275548528859f882c87c2131d3c96a0abd5938 (diff)
moved to the java module
Diffstat (limited to 'java/Makefile')
-rw-r--r--java/Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/java/Makefile b/java/Makefile
deleted file mode 100644
index 1c69e6ee3..000000000
--- a/java/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-
-TARGET = libjavacurl.so
-
-OBJS = javacurl.o
-
-CC = gcc
-CFLAGS = -c
-CPPFLAGS = -I/usr/j2se/include -I/usr/local/include -I/usr/j2se/include/solaris
-
-# Linux might use -shared -Wl,-soname,libnative.so instead of -G
-LDFLAGS = -G -lcurl -ldl -L/usr/local/ssl/lib -lssl -lcrypto
-
-all: CurlGlue.h CurlGlue.class javacurl.o $(TARGET) test.class
-
-test:
- java test
-
-javacurl.o: javacurl.c CurlGlue.h
- $(CC) $(CPPFLAGS) $(CFLAGS) $<
-
-CurlGlue.h: CurlGlue.java CurlGlue.class
- javah CurlGlue
- touch CurlGlue.h
-
-test.class: CurlGlue.class javacurl.o
- javac test.java
-
-CurlGlue.class: CurlGlue.java
- javac $<
-
-$(TARGET): $(OBJS)
- $(CC) -o $(TARGET) $(LDFLAGS) $(OBJS)
-
-clean:
- rm -f javacurl.o CurlGlue.h CurlGlue.class