Add a buildsystem to tinycbor

The top-level Makefile will build the library, the cbordump tool and possibly
install them. Along with the buildsystem, tinycbor also gets a pkgconfig file
and a version number.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Thiago Macieira
2015-09-16 12:11:19 -07:00
parent 92d8c69e70
commit 12b8960dde
4 changed files with 163 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: TinyCBOR
Description: A tiny CBOR encoder and decoder library
Version: @version@
Libs: -L${libdir} -ltinycbor
Cflags: -I${includedir}/tinycbor