Try to clear up Makefile
authorfatbob313 <martin@fatbob.nu>
Wed, 17 Feb 2010 16:12:58 +0000 (16:12 +0000)
committerfatbob313 <martin@fatbob.nu>
Wed, 17 Feb 2010 16:12:58 +0000 (16:12 +0000)
src/Makefile

index 6294682cbd0cfac5354aa38afa5c4a250188b863..39db9ef377a365ba202d772ef869ae2af3a85619 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 ************
+# ********** Debug stuff END ************
 
 
 # Build support and link to PolarSSL
+# 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:=