# Name of the plugin.
name=libcoap
category=Third Party

# Any string is allowable here.  Generally it is either: Production Ready, Test Tool, or Requires Extending
qualityString=Sample Code
quality=test

architecture=unix,simulation-ezsp

# Description of the plugin.
description=This is a plugin of the libcoap library.  Libcoap was implemented as a reference implementation for COAP.  

# List of .c files that need to be compiled and linked in.
sourceFiles=src/address.c, src/async.c, src/block.c, src/coap_io.c, src/coap_time.c, src/coap-debug.c, src/encode.c, src/hashkey.c, src/mem.c, src/net.c, src/option.c, src/pdu.c, src/resource.c, src/str.c, src/subscribe.c, src/uri.c

setup(additionalFiles) {
  # Libcoap include paths
  PATH(ABSOLUTE):$LIBCOAP
  PATH(ABSOLUTE):$LIBCOAP/include/coap
}

setup(macros){
  -DWITH_POSIX
  -D_GNU_SOURCE
}
