Update to version 0.2.3
[umurmur.git] / src / Makefile
index 6294682cbd0cfac5354aa38afa5c4a250188b863..fc82e2aa122869fc5259944797e5d164211970e2 100644 (file)
@@ -3,29 +3,24 @@ SRCS:=client.c main.c messages.c pds.c server.c ssl.c log.c conf.c crypt.c \
 
 OBJS:=$(patsubst %.c, %.o, $(SRCS))
 
-# If PolarSSL is in a nonstandard place. Usually not available in e.g. Fedora.
-# POLARSSL_LIB:=../../../../polarssl/polarssl-0.12.1/library/libpolarssl.a
-# POLARSSL_INCLUDE:=../../../../polarssl/polarssl-0.12.1/include
-
 # **** Stuff used for debugging ******
 # For Valgrind OpenSSL
 #EXTRA_CFLAGS:=$(CFLAGS) -I/data/export/proj/openssl/include/
 #EXTRA_LDFLAGS:=$(LDFLAGS) -L/data/export/proj/openssl/lib/ -lcrypto -lssl
 
-# PolarSSL
-# CFLAGS:=$(CFLAGS) -DUSE_POLARSSL -I$(POLARSSL_INCLUDE)
-# CFLAGS:=$(CFLAGS) -I$(POLARSSL_INCLUDE)
-# LDFLAGS:=$(LDFLAGS) -L $(POLARSSL_LIB) -lconfig
-
 # Debug
-CFLAGS:=$(CFLAGS) -DDEBUG -g
-# ********** END ************
+CFLAGS:=$(CFLAGS) -DDEBUG -g
+# ********** Debug stuff END ************
 
 
 # Build support and link to PolarSSL
-# EXTRA_CFLAGS:=-DUSE_POLARSSL -I$(POLARSSL_INCLUDE)
+# If PolarSSL is in a nonstandard place.
+POLARSSL_LIB:=../../../polarssl/polarssl-0.12.1/library/libpolarssl.a
+SSL_LIB:=$(POLARSSL_LIB) # If statically linking
+POLARSSL_INCLUDE:=../../../polarssl/polarssl-0.12.1/include
+EXTRA_CFLAGS:=-DUSE_POLARSSL -I$(POLARSSL_INCLUDE)
 # EXTRA_LDLAGS:=-lpolarssl
-# SSL_LIB:=$(POLARSSL_LIB) # If statically linking
+
 
 # OpenSSL - usually installed at a standard place
 # EXTRA_CFLAGS:=