mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added Linux hints
This commit is contained in:
parent
62056a644f
commit
a086e99bae
@ -6,7 +6,9 @@ OBJS = javacurl.o
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -c
|
CFLAGS = -c
|
||||||
CPPFLAGS = -I/usr/j2se/include -I/usr/local/include -I/usr/j2se/include/solaris
|
CPPFLAGS = -I/usr/j2se/include -I/usr/local/include -I/usr/j2se/include/solaris
|
||||||
LDFLAGS = -lcurl -ldl -L/usr/local/ssl/lib -lssl -lcrypto
|
|
||||||
|
# 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
|
all: CurlGlue.h CurlGlue.class javacurl.o $(TARGET) test.class
|
||||||
|
|
||||||
@ -27,7 +29,7 @@ CurlGlue.class: CurlGlue.java
|
|||||||
javac $<
|
javac $<
|
||||||
|
|
||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
$(CC) -G -o $(TARGET) $(LDFLAGS) $(OBJS)
|
$(CC) -o $(TARGET) $(LDFLAGS) $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f javacurl.o CurlGlue.h CurlGlue.class
|
rm -f javacurl.o CurlGlue.h CurlGlue.class
|
||||||
|
Loading…
Reference in New Issue
Block a user