Install in PREFIX/share/libcoap/examples the source for coap-client.c and coap-server.c with a standalone Makefile for ease of standalone code development. Add in configure option --enable-examples-source. Included is a README, LICENSE and COPYING.