From: David Woodhouse Date: Mon, 29 Sep 2008 08:52:44 +0000 (+0100) Subject: commit makefile hacks for openssl testing X-Git-Tag: v0.90~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63f364a36fbba7871b90debeb512f80e75e86bb0;p=platform%2Fupstream%2Fopenconnect.git commit makefile hacks for openssl testing --- diff --git a/Makefile b/Makefile index b8d4829..7b894b0 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,17 @@ else CFLAGS := -O2 -g -Wall endif -CFLAGS += -I/usr/include/openssl #-I/usr/include/libxml2 -LDFLAGS += -lssl +#M32 := -m32 +#OPENSSL := /home/dwmw2/working/openssl-0.9.8f + +ifdef OPENSSL +CFLAGS += -I$(OPENSSL)/include $(M32) +LDFLAGS += -lz $(OPENSSL)/libssl.so.* $(OPENSSL)/libcrypto.so.* $(M32) +else +CFLAGS += -I/usr/include/openssl $(M32) +LDFLAGS += -lssl $(M32) +endif + OBJECTS := main.o tun.o dtls.o ssl.o mainloop.o