X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2FMakefile;h=0d8fe7764dcc150570c9668974569f7e6c0ee9ee;hb=454ad122eb158b4391e2690fe6a7e127d24c525b;hp=6294682cbd0cfac5354aa38afa5c4a250188b863;hpb=848c75d6739da336409a1192ee3db04bc8a47e39;p=umurmur.git diff --git a/src/Makefile b/src/Makefile index 6294682..0d8fe77 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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:=