Doing up some housekeeping around the used CFLAGS. To be more generic put the default declaration for additional warning CFLAGS into configure.ac and clean up the Makefile.am's. There are the default CFLAGS variable that is a global variable if not re adjusted inside the different targets. The second variable for CFLAGS is the AM_CFLAGS definition that is used inside a Makefile as a global variable. There is also the possibility to graduate the CFLAGS for a single target. But currently there are nothing more than one target within each Makefile so we can set for now the target specific CFLAGS to the AM_CFLAGS. A new variable called WARNING_CFLAGS is inside the configure.ac created, this variable holds all the warnings flags inside. The Makefile.am's are taking the values and is setting the variable AM_CFLAGS which is used in the target specific CFLAGS. Also the options 'DWITH_POSIX' and 'D_GNU_SOURCE' are now appended to the CFLAGS if the configure script is detecting a *-[uc]linux* system.
libcoap: A C implementation of IETF Constrained Application Protocol (RFC 7252)
Copyright (C) 2010--2015 by Olaf Bergmann bergmann@tzi.org
ABOUT LIBCOAP
libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwith, or network packet sizes. This protocol, CoAP, is standardized by the IETF as RFC 7252. For further information related to CoAP, see http://coap.technology.
PACKAGE CONTENTS
This directory contains a protocol parser and basic networking functions for platform with support for malloc() and BSD-style sockets. The examples directory contains a client and a server to demonstrate the use of this library.
LICENSE INFORMATION
This library is published as open-source software without any warranty of any kind. Use is permitted under the terms of the GNU General Public License (GPL), Version 2 or higher, OR the revised BSD license. Please refer to LICENSE.GPL oder LICENSE.BSD for further details.