projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5cc25
)
commit makefile hacks for openssl testing
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 29 Sep 2008 08:52:44 +0000
(09:52 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 29 Sep 2008 08:52:44 +0000
(09:52 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
b8d4829
..
7b894b0
100644
(file)
--- 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