2015-02-08 12:35:34 +01:00
|
|
|
#
|
|
|
|
# OpenSSL definitions
|
|
|
|
#
|
2018-02-26 00:19:44 +01:00
|
|
|
# OPENSSL_VERSION=openssl-1.0.1i
|
2015-10-18 09:47:06 +02:00
|
|
|
USE_CONTRIB_OPENSSL=0
|
2014-08-19 19:30:32 +02:00
|
|
|
|
2015-02-08 12:35:34 +01:00
|
|
|
# GnuTLS definitions
|
2018-02-26 00:19:44 +01:00
|
|
|
# GNUTLS_VERSION=3.3.9
|
|
|
|
|
2015-04-26 14:26:20 +02:00
|
|
|
USE_CONTRIB_GNUTLS=0
|
2015-02-08 11:42:01 +01:00
|
|
|
|
2015-02-08 12:35:34 +01:00
|
|
|
# Compiler to use
|
2018-02-26 00:19:44 +01:00
|
|
|
# CC=clang
|
|
|
|
# CC=mips-openwrt-linux-uclibc-gcc
|
|
|
|
# LD=mips-openwrt-linux-uclibc-ld
|
|
|
|
# AR=mips-openwrt-linux-uclibc-ar
|
|
|
|
# CC=clang
|
2015-02-08 12:35:34 +01:00
|
|
|
|
2016-03-04 22:32:01 +01:00
|
|
|
COMPDEFS=-DWITH_CW_LOG
|
|
|
|
COMPDEFS+=-DWITH_CW_LOG_DEBUG
|
2016-03-12 09:28:35 +01:00
|
|
|
|
2018-02-26 00:19:44 +01:00
|
|
|
|
|
|
|
# LIBCW settings
|
|
|
|
|
|
|
|
# WITH_GNUTLS
|
|
|
|
# compile in support for GnuTLS
|
|
|
|
#
|
|
|
|
WITH_GNUTLS=1
|
|
|
|
|
|
|
|
# Compile in openssl support
|
|
|
|
WITH_OPENSSL=1
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
LIBDIR=lib
|
|
|
|
|
2018-03-18 21:48:34 +01:00
|
|
|
CFLAGS := -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -pedantic -std=c90 -Wall
|
2018-02-26 00:19:44 +01:00
|
|
|
|